@import url("main.inc.css");

/*
This stylesheet handles styles specific for home.inc.php.
It is included by index.php.


***************************
** Begin Default Styling **
*/

#home .hero {
    background-image: url(../images/hero-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: calc(100vh - 100px);
    position: relative;
}

#home .hero > div:first-child {
    background-color: var(--color4);
    width: 95%;
    height: 100%;
    position: absolute;
    top: 10%;
    left: 0;
    opacity: .85;
}

#home .hero > div:last-child {
    color: var(--color3);
    width: 100%;
    padding-top: calc(10% + 96px);
    padding-bottom: 96px;
    padding-left: 10%;
    padding-right: 10%;
    position: relative;
}

#home .hero img {
    width: 100%;
    max-width: 667px;
    margin-bottom: 96px;
}

#home .hero h1 {
    max-width: 768px;
}

#home .content {
    padding-top: 120px; /* 96px + 24px for hero overflow */
    padding-left: 10%;
    padding-right: 10%;
}

#home .features {
    padding-top: 96px;
    padding-bottom: 96px;
}

#home .features li {
    display: flex;
}

#home .features li + li {
    margin-top: 48px;
}

#home .features svg {
    fill: var(--color2);
}

#home .features > li > svg {
    width: 60px;
}

#home .features > li > div {
    width: calc(100% - 60px); /* 60px is for svg bullet point width */
    padding-left: 24px;
}

#home .features em {
    display: block;
    font-family: var(--headingFont);
    font-size: 183.125%; /* 22pt */
    font-style: normal;
    font-weight: 600;
    margin-bottom: 24px;
}

#home .features .social-links {
    margin-top: 24px;
}

#home .content-container aside {
    background-color: var(--color5);
    padding-top: 96px;
    padding-bottom: 96px;
    padding-left: 10%;
    padding-right: 10%;
}

#home .content-container aside h3 {
    margin-bottom: 96px;
}

#home .content-container aside li + li {
    margin-top: 48px;
}

#home .classes {
    background-image: url(../images/classes-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding-top: 96px;
    padding-bottom: 96px;
    padding-left: 10%;
    padding-right: 10%;
}

#home .card-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 325px;
    margin-top: 96px;
    margin-left: auto;
    margin-right: auto;
}

#home .card {
    background-color: var(--color4);
    color: var(--color3);
    display: inline-block;
    width: 190px;
    padding-top: 48px;
    padding-bottom: 48px;
    padding-left: 24px;
    padding-right: 24px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 24px;
    border-bottom: 1px solid var(--color4);
    box-shadow: -3px 3px 10px var(--color4);
}

#home .card + .card {
    margin-top: 48px;
}

#home .card:hover, #home .card:focus {
    background-color: var(--color5);
    color: var(--color4);
    transition: var(--transition);
}

#home .card h4 {
    word-wrap: break-word;
}

#home .card em {
    font-family: var(--headingFont);
    font-size: 183.125%; /* 22pt */
    font-style: normal;
}

#home .card p {
    font-family: var(--bodyFont);
    font-size: 133.125%;
    font-weight: 400;
    margin-top: 48px;
}

#home .support {
    background-color: rgba(42,27,12,.85); /* color 4 with opacity */
    color: var(--color3);
    text-align: center;
    padding-top: 96px;
    padding-bottom: 96px;
    padding-left: 10%;
    padding-right: 10%;
}

#home .support .cta1 {
    margin-top: 96px;
}

/*
** End Default Styling **
*************************
*/

@media screen and (min-width: 1000px) {

    #home .hero > div:first-child {
        width: 90%;
        left: 24px;
    }

    #home .content-container {
        display: flex;
    }

    #home .content {
        width: 70%;
    }

    #home .content-container aside {
        width: 30%;
        padding-top: 120px; /* 96px + 24px for hero overflow */
        padding-left: 24px;
        padding-right: 24px;
    }

    #home .social-links a + a {
        margin-left: 24px;
    }

    #home .card-container {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        margin-left: unset;
        margin-right: unset;
    }

    #home .card {
        padding-top: 96px;
        padding-bottom: 96px;
        margin-left: unset;
        margin-right: unset;
    }

    #home .card + .card {
        margin-top: unset;
    }
    
} /* End of 1000px */

@media screen and (min-width: 1300px) {

    #home .card {
        width: 238px;
        padding-left: 48px;
        padding-right: 48px;
    }

    #home .classes {
        padding-top: 192px;
        padding-bottom: 192px;
    }

    #home .support {
        padding-top: 192px;
        padding-bottom: 192px;
    }

} /* End of 1300px */