/* ------------------------------------------ Index Page ------------------------------------------ */


/* Header */
.header{
    display: flex;
    justify-content: center;
    width: calc(100% - 100px);

    padding: 10px 50px 0;

    background-color: var(--primary);
}
.header .content{
    display: flex;
    justify-content: space-between;
    width: calc(100%);
    max-width: calc(1000px);
}
.header .logo{
    object-fit: cover;
    width: 100%;
    max-width: 100px;
    height: 100%;
    max-height: 100px;
}
.header .socials{
    display: flex;
    align-items: center;
    gap: 10px;
    
    height: fit-content;
    padding: 5px 10px;

    background-color: white;
    border-radius: 10px;
}
.header .socials .icon {
    max-width: 25px;
    max-height: 25px;
}
.header .socials .icon:hover{
    cursor: pointer;
}

/* Main hero */


.mainHero{
    display: flex;
    justify-content: center;
    align-items: center;
    
    width: calc(100% - 100px);
    padding: 50px 50px 100px;

    background-color: var(--primary);
}
.mainHero .content {
    display: flex;
    justify-content: space-between;

    width: calc(100%);
    max-width: calc(1000px);
}
.mainHero .text{
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    width: calc(60% - 20px);

    color: white;
}
.mainHero .cta-primary{
    font-size: 16px;
    font-family: 'IBM Plex Sans Regular';
    letter-spacing: 1px;
    text-decoration: none;

    padding: 15px 40px;

    color: white;
    background-color: var(--secondary);
    border-radius: 4px;
    box-shadow: 0 0 10px -4px black;
}
.mainHero .cta-primary:hover{
    cursor: pointer;
    background-color: var(--secondary_dark);
}
.mainHero .supportingContent{
    display: flex;
    flex-direction: column;
    align-items: center;

    width: calc(40% - 60px);
    min-width: calc(250px - 60px);
    max-width: calc(300px - 60px);
    height: fit-content;
    margin-left: 20px;

    padding: 40px 30px;
    background-color: white;
    border-radius: 10px;

    box-shadow: 0 0 10px -2px black;
}

.productCard{
    display: flex;
    flex-direction: column;

    width: calc(800px - 80px);
    height: fit-content;

    padding: 40px;

    border-radius: 5px;

    box-shadow: 0 0 10px -2px gray;

}
.productCard .highlights{
    padding: 0 0 0 20px;
    margin: 0 0 10px;
}
.productCard .cta{
    font-size: 14px;
    font-family: 'IBM Plex Sans Regular';
    letter-spacing: 1px;
    text-decoration: none;

    width: fit-content;
    padding: 15px 25px;
    margin-top: 10px;

    color: white;
    background-color: var(--secondary);
    border-radius: 10px;
}
.productCard .cta:hover{
    cursor: pointer;
    background-color: var(--secondary_dark);
}


/* Containers */
.container{
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 40px 20px;
    width: calc(100% - 40px);
}
.container .content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    width: calc(100%);
    max-width: calc(1000px);
}



/* Forms */

.smallForm{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.smallForm input{
    font-size: 16px;
    letter-spacing: 1px;

    font-family: 'IBM Plex Sans Regular';

    width: calc(100% - 20px - 2px);

    padding: 6px 10px;
    margin: 10px 0 20px;

    outline: none;
    border: 1px solid gray;
    border-radius: 4px;
    transition: 0.3s ease-in-out;
}
.smallForm input:focus{
    background-color: #eeeeee;
    border: 1px solid var(--primary);
}
.smallForm .errMsg{
    width: 100%;
    font-size: 16px;
    color: red;
}
.smallForm button{
    font-size: 16px;
    font-family: 'IBM Plex Sans Regular';
    letter-spacing: 1px;

    padding: 6px 20px;

    color: white;
    background-color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 5px;

    box-shadow: 0 0 10px -2px gray;
}
.smallForm button:hover{
    cursor: pointer;
    background-color: var(--primary_dark);
    border: 2px solid var(--primary_dark);
}

.subscribed_label{
    display: none;
    font-family: 'IBM Plex Sans Medium';
    margin: 20px 0;
    color: var(--secondary);
}



.largeForm{
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    width: calc(100%);
    margin: 20px 0;
}

.newsletterSignupWidget{
    display: flex;
    justify-content: flex-start;
    align-items: center;

    width: calc(100% - 40px - 2px);
    max-width: calc(1000px - 40px - 2px);

    padding: 20px 20px;
    margin: 20px 0;

    background-color: var(--primary);
    border: 1px solid gray;
    border-radius: 4px;
}
.newsletterSignupWidget input{
    font-size: 16px;
    letter-spacing: 1px;
    font-family: 'IBM Plex Sans Regular';

    width: calc(100% - 20px - 4px - 200px);
    padding: 9px 10px;

    outline: none;
    border: 1px solid gray;
    border-radius: 0;
    transition: 0.3s ease-in-out;
}
.newsletterSignupWidget input:focus{
    background-color: #eeeeee;
    border: 1px solid var(--secondary);
}
.newsletterSignupWidget button{
    font-size: 16px;

    width: calc(200px - 40px);
    height: calc(40px);

    padding: 5px 20px;

    color: white;

    background-color: var(--secondary);
    border: none;

}
.newsletterSignupWidget button:hover{
    cursor: pointer;
    background-color: var(--secondary_dark);
}


.largeForm .errMsg{
    font-size: 14px;
    color: red;
}





.footer{
    display: flex;
    flex-direction: column;

    align-items: center;

    width: calc(100% - 80px);

    padding: 100px 40px 20px;

    color: white;
    background-color: #0F172A;
}

.footer .slice {
    display: flex;
    justify-content: center;
    align-items: flex-start;

    width: calc(100%);
    padding: 20px 0;
    margin: 10px 0;
}

.footer .section{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(400px);
    background: none;
}
.footer .section .header{
    background: none;
}

.footer .section .logo{
    max-width: 100px;
    max-height: 100px;
}
.footer .section .link{
    font-size: 16px;
    text-decoration: none;
    font-family: 'IBM Plex Sans SemiBold';

    margin-bottom: 10px;
    color: gray;
}
.footer .section .links{
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    width: fit-content;
}
.footer .section .link:hover{
    cursor: pointer;
    color: var(--primary);
}
.footer .disclaimer{
    font-size: 14px;
}




/* Mobile */
@media only screen and (max-width: 1000px) {

    .header {
        width: calc(100% - 40px);
        padding: 10px 20px 0;
    }

    .mainHero{
        width: calc(100% - 40px);
        padding: 20px 20px 50px;
    }
    .mainHero .content{
        flex-direction: column;
        align-items: center;
    }
    .mainHero .content .text{
        width: calc(100%);
        margin-bottom: 20px;
    }
    .mainHero .content .supportingContent{
        align-items: center;
        width: calc(100% - 40px);
        max-width: calc(400px - 40px);
        padding: 20px;
        margin-left: 0;
    }

    .productCard{
        width: calc(100% - 60px);
        padding: 20px 30px;
    }

    .newsletterSignupWidget{
        width: calc(100% - 20px);
        padding: 20px 10px;
    }

    .newsletterSignupWidget input{
        width: calc(100% - 115px);
    }
    .newsletterSignupWidget button{
        font-size: 14px;
        width: calc(115px - 10px);
        padding: 5px 10px;
    }

}