body {
  height:100vh;
  display:flex;
  flex-direction:column;
  color: var(--font_color);
  background: var(--neutral_color_1) !important;
}

.ui-page-theme-a {
  background: var(--neutral_color_1) !important;
}

.ui-overlay-a, .ui-page-theme-a, .ui-page-theme-a .ui-panel-wrapper {
  text-shadow: none !important;
}

#main_row {
  flex-grow:1;
  margin:0 !important;
  height:100vh;
}

/** Extra info column **/

#col-extra-info {
  display:flex;
  flex-direction:column;
  background: var(--bg_color);
  padding: 0px 15px;
}

#col-extra-info > div:nth-child(1) {
  padding: 30px 15px 15px 15px;
}

#col-extra-info > div:nth-child(1) img {
  max-width:250px;
  width:100%;
  margin-bottom:30px;
}

#tagline {
  color: var(--font_color);
  margin-bottom:30px;
  font-size:24px;
  font-weight:300;
}

#cta_signup {
  color: white;
  background: var(--accent_color);
  border-radius:200px;
  width:100%;
  font-size: 16px;
  text-align:center;
  padding: 10px 0px;
  display:block;
  text-transform:uppercase;
  font-weight:300;
  margin-bottom: 15px;
  transition: all 0.3s ease-in-out;
}

#cta_signup:hover {
  opacity: 0.75;
  transition: all 0.3s ease-in-out;
  text-decoration:none;
}

#free-signup {
  color: var(--font_color);
  font-size: 18px;
  text-align:center;
  font-weight:300;
  width:100%;
}

#sexy_bg {
  flex-grow:1;
  background-position:bottom center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  width:100%;
  display:flex;
  flex-direction:column;
}

#sexy_bg div {
  background: var(--bg_color);
  background: var(--gradient_bg);
  flex-grow:1;
}

/** Swipe column **/

#col-swipe {
  background: var(--neutral_color_1);
  padding:0px;
  display:flex;
  flex-direction:column;
}

#blurred-profile {
  height:60vh;
  opacity:0.5;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}

#blurred-profile > div {
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  filter: blur(7px);
  flex-grow: 1;
  transition: all 0.3s ease-in-out;
}

/** Swipe UI **/

#swipe-section {
  display:flex;
  align-items:center;
  flex-direction:column;
  flex-grow:1;
}

#profile-container {
  width: 300px;
  margin-top:-350px;
  display: block;
  position: relative;
  list-style-type: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#profile-container .profile:first-child {
  display:block;
}

.profile {
  display: none;
  border-radius: 15px;
  box-shadow: 0 0 30px 0 rgba(0,0,0,0.15);
  width: 300px;
  height: 450px;
  position: absolute;
  cursor: grab !important;
  overflow:hidden;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  transition: all 0.3s ease-in-out;
}
.profile:hover {
  box-shadow: 0 0 60px 0 rgba(0,0,0,0.25);
  transition: all 0.3s ease-in-out;
}

.profile-overlay {
  height:450px;
  display:flex;
  flex-direction:column;
  justify-content: flex-end;
  background-image:var(--gradient_profile);
}

.profile-content {
  display:flex;
  padding:0 15px 30px 15px;
}

.online {
  max-height:10px;
  max-width:10px;
  height:10px;
  width:10px;
  min-height:10px;
  min-width:10px;
  background: #00FF2D;
  border-radius:10px;
  margin-right: 20px;
  transform: translateY(10px);
}

.pseudo {
  font-weight:800;
  font-size:26px;
  margin-bottom: 5px;
  color: var(--font_color);
}

.age {
  font-weight:300;
  font-size:20px;
  margin-left: 10px;
  color: var(--font_color);
}

.city {
  font-weight:300;
  text-transform:uppercase;
  font-size:16px;
  margin-bottom: 5px;
  color: var(--neutral_color_2);
}

.description {
  font-weight:300;
  font-size:16px;
  color: var(--font_color);
}

.rotate-left {
  transform: rotate(30deg) scale(0.8);
  transition: 1s;
  margin-left: 300px;
  cursor: e-resize;
  opacity: 0;
  z-index: 10;
}

.rotate-right {
  transform: rotate(-30deg) scale(0.8);
  transition: 1s;
  opacity: 0;
  margin-left: -300px;
  cursor: w-resize;
  z-index: 10;
}

.like {
  border-radius: 10px;
  padding: 5px 10px;
  background: green;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 20px;
  position: absolute;
  top: 20px;
  right: 30px;
  text-shadow: none;
}

.dislike {
  border-radius: 10px;
  padding: 5px 10px;
  background: red;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 20px;
  position: absolute;
  top: 20px;
  left: 30px;
  text-shadow: none;
}

#btn-wrapper {
  display:flex;
  margin-top:510px;
}

#btn-wrapper div {
  border-radius:100px;
  transition: all 0.3s ease-in-out;
  cursor:pointer;
}

#btn-wrapper div:hover {
  opacity:1;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 30px 0 rgba(0,0,0,0.15);
}

#btn-wrapper img {
  width:60px;
}

#dislike {
  background: var(--neutral_color_2);
  margin-right:60px;
}

#like {
  background: var(--accent_color);
}

#popup {
  height: 100vh;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: var(--popup_bg);
  overflow-x: hidden;
  transition: 0.5s;
  display:flex;
  justify-content:center;
  align-items: center;
}

#form-wrapper {
    max-width:400px;
    padding: 20px;
}

#swipe-msg, #signup-msg {
  display:none;
  color:var(--bg_color);
  text-align:center;
}

#swipe-msg h1, #signup-msg h1 {
  font-weight:bold;
}

#swipe-msg h2, #signup-msg h2 {
  font-weight:300;
  font-size: 22px;
  margin-bottom:20px;
}

#icon-popup {
  width:80px;
  background: var(--accent_color);
  border-radius: 100px;
  margin: 60px 0 20px 0;
}

#my-element {
  background:var(--bg_color);
  padding:7px 20px;
  border-radius:15px !important;
  color: var(--font_color);
}

@media (max-width:767px) {
  #tagline, #cta_signup, #free-signup, #sexy_bg {
    display:none;
  }

  #col-extra-info > div:nth-child(1) {
    padding: 15px 0px 15px 0px;
}

#col-extra-info > div:nth-child(1) img {
    max-width: 200px;
    margin-bottom: 0px;
}

#col-extra-info {
    text-align: center;
}

#blurred-profile {
    height: 45vh;
}

#profile-container {
    margin-top: -300px !important;
}

.profile-overlay, .profile {
    height: 400px !important
}

#btn-wrapper {
    margin-top: 430px;
}

#main_row {
    height: auto !important;
}

#popup {
  align-items: initial !important;
}

#icon-popup {
  opacity: 0 !important;
}

}
