* {
    font-family: 'Pally', sans-serif;
    font-optical-sizing: auto;

}

html {
    width: -webkit-fill-available;
}

body {
    background-color: #FCFAF6;
    margin: 0px;
}

nav {
    margin-left: 3.5rem;
    margin-top: 1rem;
}

.column-left {
    margin: 1.5rem;
    grid-area: hero-details;
}

h2 {
    font-size: 5rem;
    font-weight: 700;
    /* margin: 0.5rem; */
    margin-bottom: 2.1rem;
    line-height: 115%;
    color: #411966;
    text-align: start;
}

h3 {
    font-size: 1.4rem;
    font-weight: 400;
    color: #411966;
}

h4 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #411966;
}

p {
    font-size: 1.5rem;
    font-family: 'Neco', serif;
    font-weight: 200;
    color: #50168B;
}
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
        "hero-details video"
    ;
    padding: 2rem;
    background-color: #FCFAF6;
    height: 85vh;
    height: -webkit-fill-available;
    width: -webkit-fill-available;
    /* overflow: scroll; */
}
.details {
    background-color: #411966;
}
.details h2 {
    color: #FCFAF6;
}

img {
  width: 250px;
  height: 250px;  
}

.form {
    display: grid;
    grid-template-columns: 1fr;
    /* grid-template-rows: 1fr 1fr; */
    row-gap: 0.5rem;
    /* justify-content: space-evenly; */
    margin: 1rem 0rem;
}
 

video {
    border-radius: 10px;
}

.column-right {
    display: flex;
    /* background-color: #000; */
    flex-direction: column;
    margin: 1.5rem;
    /* justify-content: space-around; */
    align-items: center;
    /* flex-grow: 1; */
    grid-area: video;
    /* grid-row: span 2; */
}

button {
    width: 100%;
    padding: 1rem 3rem;
    color: #411966;
    background-color: #F1C924;
    border-radius: 10px;
    font-size: 1.2rem;
    font-family: 'Pally', sans-serif;
    font-weight: 300;
    border: none;
    cursor: pointer;
}

button:hover {
    /* border-style: dotted; */
    border-color: #411966;
}

.benefits {
    background-color: #411966;
    padding: 3.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.benefits div {
    font-weight: 200;
}

.benefit {
    color: #FCFAF6;
    text-align: center;
}

.benefit h3 {
    font-size: 1.4rem;
    font-weight: 200;
    color: #F1C924;
}

.research {
    padding: 2rem;
    background-color: #FCFAF6;
    height: 85vh;
    height: -webkit-fill-available;
    width: -webkit-fill-available;
}

.founder_story {
    background-color: #411966;
    padding: 3.5rem;
}



.checked {
    color: #F1C924;
  }

@media screen and (max-width: 967px) {
    .hero {
        height: auto;
        /* overflow: scroll; */
        /* width: 100%; */
        padding: 0.25rem;
        grid-template-columns: 1fr;
        grid-template-areas: 
            "hero-details"
            "video"
        ;
        /* column-gap: 1rem;  */
    }

    .form {
        grid-template-columns: 1fr; 
        row-gap: 0.25rem;
    }

    h2 {
        font-size: 3rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    h3 {
        font-size: 1.25rem;
    }

    .column-left {
        margin: 0.25rem;
    }


    .column-right {
        margin: 0.25rem;
        margin-bottom: 1rem;
    }

    nav {
        margin: 1rem;
        /* margin-top: 1rem;  */
        display: flex;
        /* justify-content: center; */
    }

    button {
        padding: 0.25rem 0.75rem;
        font-size: 1rem;
    }

    p {
        font-size: 1rem;
        text-align: center;

    }
}

@media screen and (max-width: 500px) {

    .benefits {
        padding: 0.5rem;
        flex-direction: column;
        justify-content: space-between;
    }
}
  #spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .loading-spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #6012B0;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }