@import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:ital,wght@0,300..800;1,300..800&family=Sriracha&display=swap');

header {
    width: 100%;
    height: 70px;
    background-color: white;
    box-shadow: 0 0 8px #00000020;

    display: flex;
    align-items: center;
    justify-content: space-between;

    /* Keep header on top */
    position: sticky;
    top: 0;
    z-index: 999;

    font-family: "Host Grotesk", sans-serif;
}

#landing {
    width: 100%;
    box-shadow: 0 0 10px #00000030;

    display: flex;
    align-items: center;
    justify-content: space-between;

    /* Keep header on top */
    position: sticky;
    top: 70px;
    z-index: 998;

    font-family: "Host Grotesk", sans-serif;
}

header > img {
    display: flex;
    height: 75%;
    margin-left: 25px;
}

header > nav {
    display: flex;
    gap: 15px;
    margin-right: 25px;
}

header > nav > a {
    font-size: 18px;
    color: #414142;
    text-decoration: none;

    border-bottom: 1.5px solid rgba(0, 0, 0, 0);

    transition: border-bottom 0.4s ease;
}

header > nav > a:hover {
    color: #39B44A;
    border-bottom: 1.5px solid #39B44A;
}

main {
    font-family: "Host Grotesk", sans-serif;
}

#landing { 
    background-color: whitesmoke;
}

#landing > div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    max-width: 650px;
    height: auto;

    margin: 0 auto;
    padding: 30px;

    gap: 50px;
}

#landing > div > div {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    font-size: 24px;

    gap: 20px;
}

#landing > div > div > h1 {
    font-size: 50px;
    font-weight: 400;
}

#landing > div > img {
    display: flex;
    
    height: 300px;

    border-radius: 15px;
    box-shadow: 0 5px 8px #00000034;
}

#landing > div > div > a > button {
    background-color: #39B44A;
    border: none;
    color: white;
    padding: 16px 28px;
    border-radius: 99px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;

    transition: background-color 0.2s ease;
}

#landing > div > div > a > button:hover {
    background-color: #2b8a38;
    border: none;
    color: white;
}

#about {
    display: flex;
    flex-direction: column;
    padding: 20px 50px;
    max-width: 800px;
    margin: 0 auto;
    scroll-margin-top: 500px;
}

#about > div {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#about > div > h2 {
    font-size: 32px;
    margin-top: 20px;
}

#about > div > p {
    font-size: 18px;
    line-height: 22px;
}

#about > div > ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.feature {
    font-size: 24px;
    list-style-type: circle;
    list-style-position: inside;
}

.featureDesc {
    list-style-type: none;
    margin-left: 36px;
    margin-bottom: 15px;
    gap: 30px;
    line-height: 20px;
}

.featureList {
    list-style-type: circle;
    margin-left: 36px;
    margin-top: 15px;
    gap: 30px;
    line-height: 22px;
}

.featureBold {
    font-weight: bold;
    color: #39B44A;
}

#reviews {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    padding: 10px 20px;
    margin: 0 auto;
    margin-bottom: 150px;
    scroll-margin-top: 450px;
    align-items: center;
}

#reviews > div {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

#reviews > div > h2 {
    font-size: 32px;
    text-align: center;
}

#reviews > div > article {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 25px;
    border-radius: 15px;
    line-height: 20px;
    background-color: white;
    box-shadow: 0 4px 10px 2px #00000020;
    width: 350px;
    gap: 7px;
}

#reviews > div > article > h3 {
    font-size: 18px;
}

#reviews > div > article > h4 {
    font-size: 22px;
    color: #ffb80f;
}

#reviews > div > article > p {
    font-style: italic;
}

#reviewForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* background-color: #e4f3e7; */

    
    margin: 30px 0;

    border-top: 1px solid lightgray;
}

#reviewForm > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 15px;

    margin: 15px;
}

#reviewForm h2 {
    font-size: 28px;
}

#reviewForm .stars {
    font-size: 32px;
}

#reviewForm .star {
    cursor: pointer;
    transition: font-size 0.2s ease;
}

#reviewForm .star:hover {
    font-size: 40px;
}

.color {
    color: #ffb80f;
}

#reviewForm #reviewBoxes {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#reviewForm fieldset {
    display: flex;
    flex-direction: column;
    justify-content: center;

    /* width: 100%; */
    gap: 5px;
}

#reviewBoxes > fieldset > label {
    font-size: 20px;
}

#reviewBoxes input, #reviewBoxes textarea {
    display: flex;
    /* width: 100%; */
    border-radius: 99px;

    padding: 5px 15px;
    font-size: 18px;
    font-family: "Host Grotesk", sans-serif;
    resize: none;
    align-self: center;

    border: 1px solid gray;
    outline: none;

    transition: border 0.2s ease;
}

#reviewBoxes textarea {
    border-radius: 20px;
    height: 150px;   
}

#submitButton {
    font-weight: 400;
    background-color: white;
    color: black;

    transition: all 0.4s ease;
}

#submitButton:hover {
    border: 1px solid #39B44A;
    color: #39B44A;
}

.inputError {
    border: 1px solid #da3a3a !important;
}

.errorMessage {
    font-size: 0px;
    color: #da3a3a;

    transition: font-size 0.2s ease;
}

.errorMessage.error {
    font-size: 15px;
}

@media screen and (max-width: 546px) {
    header > nav {
        display: none;
    }

    #landing > div {
        gap: 20px;
    }

    #landing > div > img {
        height: 200px;
    }
        
    #landing > div > div {
        font-size: 18px;
        gap: 10px;
    }

    #landing > div > div > h1 {
        font-size: 26px;
    }

    #landing > div > div > a > button {
        padding: 12px 22px;
        font-size: 14px;
        margin-top: 5px;
    }

    #reviews > div > article {
        width: 250px;
    }
}