:root {
    --color-turquoise-blue: #33a1c9;
    --color-crimson-red: #DC143C;
    --color-mustard-yellow: #FFDB58;
    --color-charcoal-gray: #36454F;
    --color-warm-beige: #F5F5DC;
}

body {
    background-color: var(--color-warm-beige);
    color: var(--color-charcoal-gray);
}

a, .button, .cta {
    color: var(--color-turquoise-blue);
}

a:hover, .button:hover, .cta:hover {
    color: var(--color-crimson-red);
}

h1, h2, h3 {
    font-weight: 400;
    color: var(--color-charcoal-gray);
    margin-bottom: 1rem;
}

.highlight, .secondary-button {
    background-color: var(--color-mustard-yellow);
}

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* min-width: 200px; */
    font-size: 5vw;
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    scroll-behavior: smooth;
}

@media (min-width: 800px) {
    html {
        font-size: 3vw;
    }
}

@media (min-width: 1200px) {
    html {
        font-size: 36px;
    }
}

h1 {
    font-size: 2rem;
    line-height: 3rem;
    letter-spacing: -.1rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    letter-spacing: -.06rem;
}

h3 {
  margin-bottom: 1rem;
} 

nav {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0px auto;
  padding: 1rem 2em;
  background-color: var(--color-warm-beige);
  z-index: 1000;
}

.home {
  text-decoration: none;
}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
}

.menu > li {
  margin-right: 1rem;
  overflow: hidden;
}

.menu > li > a {
  text-decoration: none;
  transition: color 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 1rem;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  background-color: var(--color-turquoise-blue);
  display: block;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(45deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-45deg);
}

@media (max-width: 800px) {
  .menu-button-container {
    display: flex;
  }
  .menu {
    position: absolute;
    top: 1rem;
    margin-top: 50px;
    left: 1rem;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  #menu-toggle ~ .menu {
    border: 1px solid var(--color-mustard-yellow);
  }    
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu li {
    background-color: var(--color-warm-beige);
    height: 2.5em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5rem 0;
    width: 100%;
  }
  .menu > li:not(:last-child) {
    border-bottom: 1px solid #444;
  }
}


.fab {
    background-color: var(--color-turquoise-blue);
    color: white;
    position: fixed;
    text-decoration: none;
    top: .5rem;
    right: 1rem;
    border: none;
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
}

header, section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2em;
}

#hero {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 90vh;
    overflow: hidden;
    z-index: -2;
}

#hero h1 {
    margin-bottom: 20px;
    margin-top: 20vh;
}

#hero .subhero {
    line-height: 100%;
}

.hero-image {
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 85%;
    height: 85%;
    max-width: 85%;
    max-height: 85%;
    z-index: -1;
    object-fit: contain;
    object-position: right bottom;
}

/* @media (max-aspect-ratio: 1) and (min-width: 700px) {
    #hero .hero-image {
        width: auto;
        height: 85%;
    }
} */

.ai {
    color: var(--color-crimson-red);
}

.hidden {
  display: none;
}

section {
    min-height: 50vh;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  /* grid with the first element on the left and the next two on the right */
  gap: 1rem;
  margin-bottom: 1rem;
}

.feature-image {
    /* ocuppies the whole width of the grid */
    grid-column: 1 / 1;
    width: 20%;
    
    object-fit: contain;
    object-position: center;
}

@media (max-width: 799px) {
    .feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .feature-image {
        width: 50%;
    }
    #features .feature,
    #how-it-works .step {
        margin-bottom: 20px;
    }
}

#cta {
    /* Coral background */
    /* White text */
    text-align: center;
    padding: 60px 20px;
}


#cta h2,
#cta p,
#cta #waitlist,
#cta #waitlist-response {
    margin-bottom: 20px;
}

#cta form {
    display: inline-block;
}

#cta input[type="email"] {
    padding: 10px;
    margin-right: 10px;
    border: none;
    border-radius: 5px;
}

#cta button[type="submit"] {
    /* Soft Yellow for CTA buttons */
    /* Navy Blue text */
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
}

/* Footer */
footer {
    /* Navy Blue background */
    /* White text */
    text-align: center;
    padding: 20px 0;
}

/* Privacy Policy Page Styles */
.privacy-content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.privacy-content h1 {
    margin-bottom: 1rem;
    text-align: center;
}

.privacy-content .last-updated {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.privacy-content section {
    margin-bottom: 2.5rem;
}

.privacy-content h2 {
    margin-bottom: 1rem;
    color: #333;
}

.privacy-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.privacy-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .privacy-content {
        margin: 1rem auto;
    }
}
