@font-face {
  font-family: 'Bod';
  src: url('/assets/BodoniSvtyTwoITCTT-Book-01.ttf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Bod';
  src: url('/assets/BodoniSvtyTwoITCTT-BookIta-02.ttf');
  font-weight: normal;
  font-style: italic;
}

/* * {
  transition: 0.25s ease-in-out;
} */

html,
body {
  background-color: #000;
  color: #f5f5f7;
  font-family: 'Bod', 'Libre Bodoni', serif;
  font-size: 18px;
}

.first-panel,
.second-panel,
.third-panel {
  overflow: hidden;
}

.first-panel {
  height: 100vh;
  width: 100%;
  /* background-image: url('https://heyheygorgeous.com/officialpartners.com/assets/OFFICIAL-HAMPTONS.gif');
  background-size: cover;
  background-position: center; */
}

.first-panel .overlay {
  background-color: rgba(0, 0, 0, 0.25);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

video {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: 0;
  width: 115vw;
}

.first-panel .overlay .logo-container {
  position: absolute;
  top: 45vh;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.logo {
  height: 100px;
  width: auto;
  /* filter: invert(1); */
}

.first-panel .overlay .arrow {
  height: 60px;
  object-fit: contain;
  filter: invert(0.9);
}

.first-panel .logo-single {
  height: 100vh;
  width: auto;
  z-index: 2;
  cursor: pointer;
}

.second-panel {
  height: 100vh;
  width: 100%;
  /* background-image: url('https://heyheygorgeous.com/officialpartners.com/assets/OFFICIAL-MIAMI.gif');
  background-size: cover; */
  line-height: 2.5;
  background-position: center;
  color: rgb(255, 248, 221);
  position: relative;
}

.second-panel .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10vw;
  font-size: 2em;
  position: absolute;
  width: 100vw;
}

.invert {
  filter: invert(0.9);
}

.second-panel .overlay .form {
  max-width: 800px;
  text-align: center;
}

.second-panel .overlay span {
  padding-left: 10px;
  padding-right: 10px;
  border-bottom: 2px solid rgb(254, 250, 234);
  cursor: pointer;
  font-style: italic;
}

.third-panel {
  /* height: 30vh; */
  width: 100%;
  /* background-image: url('https://heyheygorgeous.com/officialpartners.com/assets/OFFICIAL-NYC.gif');
  background-size: cover; */
  line-height: 2.5;
  background-position: center;
  position: relative;
}

.third-panel video {
  /* margin-top: -50vh; */
  opacity: 0.5;
}

.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 0.35em;
  line-height: 1.25;
  padding: 20px;
  opacity: 0.3;
}

.third-panel.full-screen video {
  margin-top: 0;
  opacity: 1;
}

.third-panel.full-screen {
  height: 100vh;
}

h1 {
  font-size: 1em !important;
  font-style: italic;
}

h1 span {
  font-style: normal;
}

.third-panel .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10vw;
  font-size: 2em;
  position: relative;
}

input::placeholder {
  text-align: center;
}

.third-panel .logo {
  width: 200px;
  height: auto;
  margin: -7.5px -12px 0;
}

.center {
  text-align: center;
}

.logos {
  width: 100vw;
  display: flex;
  justify-content: space-around;
  position: absolute;
  top: 10vh;
  left: 0;
  right: 0;
  font-size: 0.4em;
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
  letter-spacing: 8px;
}

.third-panel .logos img {
  display: block;
  margin: 0;
  margin-bottom: -10px;
}

.button {
  cursor: pointer;
  border: 1px solid #f5f5f7;
  padding: 0.25em;
  width: 300px;
  margin: 1.5em auto;
  line-height: 1.75;
  text-transform: uppercase;
  font-size: 0.75em;
}

textarea,
input {
  outline: none;
  border: none;
  background: transparent;
  width: 220px;
  color: #f5f5f7;
  border-bottom: 2px solid rgb(254, 250, 234);
  padding: 0 5px 0 10px;
  height: 50px;
  font-style: italic;
}

.landing.agent .second-panel,
.landing.agent .second-panel .overlay {
  font-size: 18px;
  min-height: 800px;
  line-height: 2;
}

.landing.agent .second-panel .title {
  margin-bottom: 10px;
}

.landing.agent .second-panel input {
  margin-bottom: 10px;
}

.landing.agent .second-panel input.wide {
  min-width: 360px;
}

.landing.agent .second-panel .form .radio {
  margin-top: 10px;
  margin-bottom: -30px;
}

@media screen and (max-width: 500px) {
  .landing.agent .second-panel,
  .landing.agent .second-panel .overlay {
    font-size: 16px;
    min-height: 800px;
  }

  .landing.agent .second-panel input {
    width: 100px;
    margin-bottom: 20px;
  }

  .landing.agent .second-panel input.wide {
    width: 100%;
    margin-bottom: 20px;
  }

  .landing.agent .second-panel .form .radio {
    margin-bottom: 5px;
  }

  .landing.agent .second-panel .overlay .form {
    line-height: 1.5;
  }

  .landing.agent .second-panel .overlay {
    padding: 20px inherit;
  }
}

.landing.agent .second-panel .overlay {
  background-color: rgba(0, 0, 0, 0.75);
}

.landing.agent .third-panel .overlay,
.landing.agent .third-panel {
  height: 400px;
}

.landing.agent .third-panel.full-screen .overlay,
.landing.agent .third-panel.full-screen {
  height: 100vh;
}

.landing.agent .second-panel .overlay textarea,
.landing.agent .second-panel .overlay input {
  height: 30px;
}

input.email {
  width: 250px;
}

textarea:focus,
input:focus {
  outline: none;
}

span {
  opacity: 0.4;
}

span.active {
  opacity: 1;
}

.mobile {
  display: none;
}

@media screen and (max-width: 800px) {
  body {
    font-size: 16px;
  }

  .mobile {
    display: block;
    height: 100vh;
    width: 100vw;
    object-fit: cover;
    object-position: center;
    z-index: 1;
  }

  video {
    display: none;
  }

  .first-panel .logo-single {
    height: 45vh;
    position: absolute;
    top: 27vh;
  }

  .first-panel .logo {
    height: 70px;
  }

  .first-panel .overlay .arrow {
    height: 40px;
  }

  .second-panel {
    background-image: url('https://heyheygorgeous.com/officialpartners.com/assets/OFFICIAL-MIAMI.jpg');
  }

  .second-panel .overlay {
    font-size: 1.25em;
    line-height: 2.5;
    padding: 20px;
    opacity: 1;
  }

  textarea,
  input {
    width: 150px;
  }

  input.email {
    width: 200px;
  }

  .third-panel {
    height: 100vh;
    background-image: url('https://heyheygorgeous.com/officialpartners.com/assets/OFFICIAL-NYC.jpg');
    background-size: cover;
  }

  .third-panel .logos {
    flex-direction: column;
    align-items: center;
    font-size: 0.25em;
  }

  .third-panel .logos img {
    width: 160px;
    margin-top: 20px;
  }

  .third-panel .logo {
    width: 130px;
    margin: -5px -12px 0;
  }

  .third-panel .msg {
    font-size: 0.75em;
    line-height: 1.75;
    margin-top: 10vh;
  }
}

.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  background-color: #333;

  border-radius: 100%;
  -webkit-animation: sk-scaleout 1s infinite ease-in-out;
  animation: sk-scaleout 1s infinite ease-in-out;
}

@-webkit-keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
    opacity: 0;
  }
}

@keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
}
