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

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  font-family: system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: var(--yellow);
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -1.5%;
  font-size: 1.125rem;
  line-height: 1.5;
  cursor: url('assets/favicon.png'), auto;
}

img, picture {
  max-width: 100%;
  display: block;
}

input, button, textarea, select {
  font: inherit;
}

a {
    color: black;
    text-decoration: none;
    font-weight: 400;
}

a:hover {
    opacity: 70%;
}

:root {
  --yellow: #F9E686;
  --light-yellow: #FAEFB7;
  --dark-yellow: #FDCA20;
  --blue: #B5D1FC;
  --dark-blue: #2476F5;
  --gap: 1.5rem;
}

::selection {
    background-color: var(--dark-yellow);
}

/* Nav */
nav {
    padding: 1rem 2vw;
    display: flex;
    justify-content: space-between;
    background-color: var(--yellow);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 10;
    align-items: center;
}

nav ul {
    list-style-type: none;
    display: flex;
    gap: 3rem;
}

.brand {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -3%;
}

.primary-cta {
    border-radius: .75rem;
    background-color: var(--blue);
    padding: .375rem 1.5rem;
    font-weight: 700;
    border: 1px solid black;
    white-space: nowrap;
    color: black;
}

.primary-cta:hover {
    background-color: var(--dark-yellow);
}

.secondary-cta {
    padding: .375rem 1.5rem;
    border: 1px solid black;
    border-radius: .75rem;
    font-weight: 700;
    white-space: nowrap;
}

.secondary-cta:hover {
    opacity: 100%;
    background-color: var(--blue);
}

nav li {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.nav-flower {
    width: 2rem;
    display: none;
}

nav li:hover .nav-flower {
    display: block;
}

#top {
    position: absolute;
    top: 0;
}

.squiggle {
    stroke-width: 1px;
}

/* Hero */

section.hero {
    padding: 4rem 0;
    position: relative;
}

.marquee-outer {
    position: relative;
    overflow: hidden;
    display: flex;
    gap: var(--gap);
}

.marquee-inner {
    min-width: 100%;
    display: flex;
    gap: var(--gap);
    justify-content: space-around;
    flex-shrink: 0;
    animation: scroll 23s linear infinite;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - var(--gap)));
    }
}

.marquee-inner img {
    border-radius: .75rem;
    border: 2px solid black;
    max-width: 25vw;
}

.hero-text {
    padding: 0 2vw;
    max-width: 720px;
    margin: 4rem auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

h1, h2 {
    font-size: 4rem;
    line-height: 90%;
}


.floating-flower {
    position: absolute;
    z-index: 2;
    max-width: 80px;
    width: 6vw;
}

#hero-flower-1 {
    left: 10%;
    top: 3%;
}

#hero-flower-2 {
    transform: rotateZ(130deg);
    bottom: 20%;
    left: 10%;
}

#hero-flower-3 {
    transform: rotateZ(35deg);
    right: 5%;
    bottom: 38%;
}

#hero-flower-4 {
    transform: rotateZ(100deg);
    right: 24%;
    top: 3%;
}

/* WHO WE ARE */

section {
    padding: 4rem;
    position: relative;
}

.max-width-container {
    max-width: 1400px;
    margin: 0 auto;
}

.about-us-header img {
    border-radius: 1rem;
    border: 2px solid black;
    object-fit: cover;
    width: 50%;
    aspect-ratio: 4/5;
    object-position: 50% 0;
}

.about-us-header {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-us-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
}

.row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4.5rem;
    margin: 4rem 0;
    align-items: start;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

.card img {
    width: 180px;
}

h3 {
    font-weight: 1000;
    letter-spacing: -3%;
}

.card-text h3 {
    margin-bottom: 1rem;
}

/* TESTIMONIALS */
.testimonials.row {
    gap: 1.5rem;
}

.testimonial-card {
    background-color: white;
    padding: 2.5rem 2rem;
    border-radius: .75rem;
    border: 2px solid black;
    position: relative;
}

strong {
    font-weight: 1000;
}

.parent-name {
    font-weight: 1000;
    margin-top: 2rem;
}

#testimonial-flower-1 {
    transform: rotateZ(-100deg);
    bottom: -5%;
    right: 2%
}

#testimonial-flower-2 {
    transform: rotateZ(130deg);
    bottom: -5%;
    right: 3%;
}

#testimonial-flower-3 {
    transform: rotateZ(-35deg);
    bottom: -5%;
    right: 2%;
}

blockquote {
    font-size: 4rem;
    line-height: 4.5rem;
    opacity: 65%;
    margin: 4rem 0;
}

/* FAQ */
.faq-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    border-radius: .75rem;
    border: 2px solid black;
    background-color: white;
    max-width: 680px;
    width: 100%;
}

.faq-card {
    padding: 1.5rem;
    border-bottom: 2px solid black;
}

.faq-card:last-child {
    border-bottom: none;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    cursor: pointer;
}

.faq-header:hover {
    opacity: 70%;
}

.faq-header h3 {
    font-size: 1.125rem;
}

.chevron {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    transition: 300ms;
}

.chevron.rotate {
    transform: rotateZ(180deg);
}

.faq-answer {
    margin: .75rem 4rem 0 0;
    display: none;
}

.faq-answer.open {
    display: block;
}

.floating-flower.large {
    min-width: 150px;
    width: 40vw;
    top: -8rem;
    right: 15%;
}

/* CONTACT */
.contact-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.header-subheader {
    max-width: 660px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

/* CONTACT */

form {
    padding: 2.5rem 2rem;
    background-color: var(--light-yellow);
    border-radius: .75rem;
    border: 1px solid black;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    max-width: 100%;
}

input, textarea {
    border-radius: .25rem;
    border: 1px solid black;
    width: 100%;
    padding: .5rem;
}


.form-row {
    display: flex;
    gap: 2rem;
    width: 100%;
}

.form-field {
    display: flex;
    gap: 1rem;
    width: 100%;
    align-items: center;
}

.form-field.vertical {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
}

label {
    white-space: nowrap;
}

label.canwrap {
    white-space: wrap;
}

button.primary-cta {
    cursor: pointer;
}

input:focus, textarea:focus {
    border: 1px solid var(--dark-blue);
    outline: none;
}

/* EVERY CHILD IS AN ARTIST */
.poster {
    font-size: 15vw;
    line-height: 80%;
    text-align: center;
    font-style: normal;
    font-family: "Instrument Serif";
    max-width: 80%;
    margin: 0 auto;
}


#poster-flower-1 { /* Green */ 
    right: 10%;
    top: -5%;
    transform: rotateZ(-100deg);
}

#poster-flower-2 { /* Purple */
    transform: rotateZ(-150deg);
    top: -4%;
    left: 13%;
}

#poster-flower-3 { /* Blue */
    transform: rotateZ(-36deg);
    right: 17%;
    bottom: 20%;
}

#poster-flower-4 { /* Pink */
    transform: rotateZ(-100deg);
    bottom: -10%;
    left: 30%;
}

#poster-flower-5 { /* Red */
    top: 50%;
    left: 5%;
}

/* FOOTER */

footer {
    padding: 2rem;
}

address {
    font-style: normal;
    margin-bottom: 2rem;
}

/* RESPONSIVES */
@media screen and (max-width: 990px) {
    .testimonials.row {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        row-gap: 1rem;
    }
}

@media screen and (max-width: 823px) {
    .squiggle {
        stroke-width: 2px;
    }

    .floating-flower {
        width: 48px;
    }

    nav li:nth-child(1), nav li:nth-child(2), nav li:nth-child(3) {
        display: none;
    }

    .about-us-header {
        flex-direction: column;
        max-width: none;
    }

    .about-us-header img {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
    }

    .row {
        gap: 1.5rem;
    }

    section:not(.hero) {
        padding: 4rem 1.5rem;
    }

    .faq-list {
        border: 1px solid black;
    }

    .faq-card {
        border-bottom: 1px solid black;
    }

    .marquee-inner img, .about-us-header img {
        border: 1px solid black;
    }
    
    .faq-answer {
        margin: .75rem 2rem 0 0;
    }
}

@media screen and (max-width: 650px) {
    body {
        font-size: 1rem;
    }
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    blockquote {
        font-size: 2.5rem;
        line-height: 120%;
    }

    .brand {
        font-size: 1rem;
    }

    .secondary-cta {
        font-size: 1rem;
        padding: .25rem 1rem;
    }
    
    .row {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        grid-auto-flow: row;
    }

    form {
        gap: 1rem;
        width: 100%;
    }

    .form-row {
        gap: 1rem;
    }

    .form-field {
        flex-direction: column;
        align-items: flex-start;
        gap: .25rem;
    }

    .marquee-inner img {
        max-width: 40vw;
    }

    :root {
        --gap: .75rem;
    }

    #hero-flower-2 { /* Purple */
        bottom: 10%;
        left: 5%;
    }

    #hero-flower-3 /* Blue */ {
        bottom: 3%;
    }
}