/* Color Variables and CSS Reset (base styles) */
:root {
    /* Primary */
    --evergreen: rgba(24, 79, 44, 1);
    --evergreen-dark: rgb(24, 68, 44, 1);
    --evergreen-transparent: rgba(24, 79, 44, .8);
    --lime: rgba(206, 213, 74, 1);
    --lime-slightlylight: rgba(219, 224, 130, 1);
    --lime-light: rgba(227, 230, 150, 1);
    --lime-dark: rgba(197, 204, 59, 1);
    /* Secondary */
    --ruby: rgba(150, 23, 46, 1);
    --tangerine-light: rgba(255, 163, 88, 1);
    --tangerine: rgba(255, 136, 73, 1);
    --royal-blue: rgba(0, 82, 147, 1);
    --grey-transparent: rgba(17, 28, 36, .8);
}
html, body, h1, h2, h3 {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    color: white;
}
body {
    background-color: white;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
h1 {
    font-size: 4.2vw;
    font-weight: 800;
    text-shadow: 2px 3px 5px rgba(0,0,0,0.5);
}
h2 {
    font-size: 2.2vw;
    font-weight: 700;
    text-shadow: 2px 3px 5px rgba(0,0,0,0.5);
    padding-top: 20px;
}
h3 {
    font-size: 1vw;
    font-weight: 600;
    text-shadow: 2px 3px 5px rgba(0,0,0,0.5);
    padding-top: 20px;
}
.sectionTitle {
    text-align: center;
    color: black;
    font-size: 50px;
    font-weight: 800;
}
.sectionDesc {
    text-align: center;
    color: black;
    font-size: 20px;
    font-weight: 525;
    padding-top: 20px;
}

/* Navigation styles, responsive, always sticks to top, turns transparent on scroll */
#top-header {
    width: 100%;
    height: 100px;
    top: 0;
    position: sticky;
    background-color: var(--evergreen);
    transition: background-color .2s linear;
    z-index: 1;
    /*overflow: hidden;*/
}
#top-header > nav { /*  */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}
#header-logo {
    height: 80%;
    padding-left: 20px;
}
#header-logo > img {
    height: 100%;
}
#top-header > nav > ul {
    width: 100%;
    display: flex;
    justify-content: right;
    padding: 20px 15px;
}
#top-header > nav > ul > li {
    list-style: none;
    margin: 0 12px;
    /*white-space: nowrap;*/
}
#top-header > nav > ul > li > a {
    position: relative;
    font-size: 20px;
    font-weight: 500;
    padding: 6px 0;
    text-decoration: none;
    color: white;
}
#top-header > nav > ul > li > a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    height: 3px;
    width: 0;
    background: var(--lime);
    transition: all .4s ease;
}
#top-header > nav > ul > li > a:hover:before {
    width: 100%;
    left: 0;
}
.current-page:before {
    width: 100% !important;
    left: 0 !important;
}
#mobile-menu-checkbox {
    float: right;
    display: none;
}
#mobile-menu-icon {
    font-size: 30px;
    float: right;
    margin: 0 14px 0 14px;
    display: none;
}
#mobile-menu-icon > i {
    float: right;
}

/* Big block right when the home page opens */
#spread {
    width: 100%;
    height: calc(100vh - 100px);
    /* background-image set in view to allow changing in settings page */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.mainTitle {
    display: flex;
    flex-direction: row;
    gap: 25px;
}
#spread > a {
    height: 60px;
    width: 250px;
    margin-top: 30px;
    background-color: var(--tangerine);
    font-size: 25px;
    font-weight: 500;
    box-shadow: 2px 3px 5px rgba(0,0,0,0.5);
    text-decoration: none;
    color: black;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .2s linear;
}
#spread > a:hover {
    background-color: var(--tangerine-light);
}
#spread > a > i {
    padding-right: 10px;
}
.scrollDown {
    position: absolute;
    bottom: 10px;
    font-size: 23px;
    text-shadow: 2px 3px 5px rgba(0,0,0,0.5);
}
.scrollDown > span {
    font-weight: 550;
}
.scrollDown > i {
    color: white;
}

/* Footer styles */
.footerSpacer {
    flex: 1;
}
footer {
    width: 100%;
    height: 100px;
    background-color: #222222;
    display: flex;
    justify-content: center;
    color: #e3dee3
}
.footerContent {
    height: 100%;
    width: 100%;
    max-width: 1524px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.copyright {
    margin-left: 40px;
    font-size: 17px;
    display: flex;
    flex-direction: row;
}
.supportLink {
    font-size: 20px;
    font-weight: 650;
    color: inherit;
}
.socials {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-right: 40px;
    font-size: 40px;
}
.socialsRow {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.socials a {
    text-decoration: none;
    color: inherit;
}

/*@media only screen and (hover: none) and (pointer: coarse) {*/
/*@media (max-width: 1024px) {*/
@media (max-width: 1000px) {
    h1 {
        font-size: 10vw;
    }
    h2 {
        max-width: 80%;
        font-size: 4vw;
        text-align: center;
    }
    h3 {
        font-size: 2vw;
    }
    #top-header {
        height: 80px;
    }
    #top-header > nav > ul {
        position: fixed;
        width: 100%;
        height: 100vh;
        right: -100%;
        background-color: var(--evergreen-dark);
        top: 80px; /* TODO: Why 16px on top??? */
        text-align: center;
        transition: all .4s ease;
        flex-direction: column;
        padding: 0;
        margin: 0;
    }
    #top-header > nav > ul > li {
        display: block;
        font-size: 40px;
        margin-bottom: 20px;
    }
    #mobile-menu-container {
        width: 100%;
    }
    #mobile-menu-checkbox {
        float: right;
    }
    #mobile-menu-icon {
        display: block;
    }
    #mobile-menu-container:has(#mobile-menu-checkbox:checked) ~ ul {
        right: 0;
    }
    .mainTitle {
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: center;
    }
    #spread {
        background-position: 20% 50%;
        height: calc(100vh - 80px);
    }
    #spread > div:first-of-type > span {
        font-size: 40px;
        font-weight: 800;
        text-shadow: 2px 3px 5px rgba(0,0,0,0.5);
    }
    #spread > div:nth-of-type(2) {
        font-size: 20px;
        font-weight: 700;
        text-shadow: 2px 3px 5px rgba(0,0,0,0.5);
        padding-top: 40px;
    }

    #featuredProducts > span {
        color: black;
        font-size: 40px;
        font-weight: 800;
        line-height: 40px;
    }
    #info1 > .sectionTitle {
        font-size: 40px;
        line-height: 40px;
    }

    .copyright {
        margin-left: 14px;
        font-size: 15px;
    }
    .tooSmall {
        display: none;
    }
    .socials {
        margin-right: 15px;
        font-size: 25px;
        flex-direction: column;
        gap: 0;
    }
}


.fade-from-bottom {
    opacity: 0;
    animation: fade-from-bottom 1s ease forwards;
}

@keyframes fade-from-bottom {
    0% { opacity: 0; transform: translateY(60px); }
    100% { opacity: 1; transform: translateY(0); }
}
