/* Custom Styles */

h1, h2, h3, h4, h5, h6 {
    font-family: "ivypresto-headline", serif;
}

body, p {
    font-family: "aktiv-grotesk", sans-serif;
}

.left-overlay {
  margin-top: 0;
  margin-bottom: 32px;
  width: 90%;
  max-width: 600px;
  background: rgba(10, 40, 40, 0.85);
  border-radius: 32px;
  padding: 32px 12px 24px 12px;
  text-align: center;
  z-index: 2;
  word-break: break-word;
}

.left-headline {
  font-family: "ivypresto-headline", serif;
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 400;
}

.left-subhead {
  font-family: "ivymode", serif;
  font-size: 1.6rem;
  color: #fff;
  font-weight: 400;
}

.left-section {
  position: relative;
  overflow: hidden;
}

html, body, .main-area, .left-section {
  height: 100vh;
}

.main-area {
  display: flex;
  height: 100vh;
}

.left-section, .right-section {
  flex: 1 1 0;
  height: 100vh;
  min-width: 0;
  position: relative;
}

.right-section {
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.right-section .main-content {
  padding-top: 80px;
}

.right-section .display-table {
  margin-top: 60px;
  height: calc(100% - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.right-section .logo {
  position: absolute;
  top: 40px;
  height: 60px;
}

.right-section .logo img {
  height: 100%;
  width: auto;
}

@media (max-width: 900px) {
  .main-area {
    flex-direction: column;
    height: auto;
  }
  .left-section {
    position: relative;
    min-height: 320px;
    padding-bottom: 0;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: auto;
  }
  .right-section {
    width: 100%;
    height: auto;
    min-height: 320px;
    padding: 32px 5vw;
  }
  .left-overlay {
    margin: 16px auto 20px auto;
    width: 96vw;
    max-width: 98vw;
    z-index: 2;
  }
  .right-section .logo {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 32px auto 0 auto;
    height: 72px;
  }
}

@media (max-width: 600px) {
  .left-overlay {
    width: 96vw;
    max-width: 98vw;
    padding: 20px 6vw 16px 6vw;
    border-radius: 18px;
    margin-bottom:20px;
  }
  .left-headline {
    font-size: 2.5rem;
  }
  .left-subhead {
    font-size: 1.05rem;
  }
  .right-section .display-table {
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .right-section .main-content {
    align-items: center;
    text-align: center;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .main-content .email-input-area {
    width: 100% !important;
    height: auto !important;
    position: static !important;
    min-width: 0 !important;
  }
  .main-content .email-input-area .email-input,
  .main-content .email-input-area .submit-btn {
    position: static !important;
    width: 100% !important;
    display: block !important;
    margin: 0 0 10px 0 !important;
    box-sizing: border-box !important;
    height: 44px !important;
    border-radius: 4px !important;
  }
  .main-content .email-input-area .submit-btn {
    margin-bottom: 0 !important;
  }
  .main-content .title,
  .main-content h1.title {
    font-size: 3.5em !important;
    line-height: 1.1 !important;
  }
}

.display-table-cell {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  flex: 1 1 0;
  gap: 0;
}

#normal-countdown {
  margin-top: auto;
  margin-bottom: auto;
  width: 100%;
}

.display-table-cell-right {
  display: table-cell;
  vertical-align: middle;
}

.email-input,
.email-input::placeholder {
  font-family: "aktiv-grotesk", sans-serif;
  font-size: 1em;
}

.submit-btn {
  font-family: "aktiv-grotesk", sans-serif;
}

.post-desc {
  font-family: "aktiv-grotesk", sans-serif;
} 