:root {
    --headerHeight: 100px;
    --footerHeight: 60px;
}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

header {
    position: fixed;
    width: 100%;
    height: var(--headerHeight);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}

.header-link{
    display: inline-flex;
    flex-direction: column;
    color: var(--greyDarkest);
    text-transform: uppercase;
    margin: 0 calc(var(--generalSpace) / 1.5);
    padding: calc(var(--generalSpace) / 2.5) 0;
    font-weight: 500;
    letter-spacing: 2px;
    transition: var(--transitionAll);
}

.header-link span {
    background-color: var(--blackText);
    width: calc(var(--generalSpace) / 3);
    height: calc(var(--generalSpace) / 3);
    border-radius: 50%;
    margin-top: 4px;
    align-self: center;
    opacity: 0;
    transition: var(--transitionAll);
}

.header-link:hover{
    text-decoration: none;
    color: var(--blackText);
}

.header-link.active{
    color: var(--blackText);
}

.header-link.active span {
    opacity: 1;
}

/* .header-link.active{
    font-weight: 700;
    color: var(--red);
    border-bottom: solid 2px var(--red);
} */

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 0 auto;
    padding-top: calc(var(--generalSpace) * 2);
}

#main-logo{
    width: 200px;
    padding-top: calc(var(--headerHeight));
}

#main-title{
    font-size: calc(var(--generalSpace) * 3);
    font-weight: 400;
    color: var(--greyDarkest);
    margin-bottom: calc(var(--generalSpace) * 3);
    text-align: center;
}

#main-bg{
    width: 100%;
    min-height: 70vh;
    background-position: top center;
    background-size: 50%;
    background-repeat: no-repeat;
    /* margin-bottom: calc(var(--generalSpace) * 4); */
}

#disclaimer{
    font-size: calc(var(--generalSpace) * 1.2);
    color: var(--greyDarkest);
    text-align: center;
    width: 90%;
    max-width: 900px;
    margin-bottom: calc(var(--generalSpace) * 4);
}

#disclaimer p{
    margin-top: 0;
    margin-bottom: calc(var(--generalSpace) * 1);
}

.section{
    width: 90%;
    max-width: 1000px;
    margin-bottom: calc(var(--generalSpace) * 4);
}

.section-title{
    font-size: calc(var(--generalSpace) * 2);
    font-weight: 500;
    color: var(--greyDarkest);
    text-align: center;
    margin-bottom: calc(var(--generalSpace) * 2);
}

#principal div, #comercios div, #deliveries div{
    display: flex;
    justify-content: center;
    align-items: center;
}

#principal img, #comercios img, #deliveries img{
    height: 75px;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: var(--footerHeight);
    background-color: var(--blue);
    color: white;
}

@media screen and (max-width: 600px) {
    .header-link{
        font-size: var(--normal);
        letter-spacing: 0;
    }

    #main-logo{
        width: 150px;
    }

    #main-title{
        font-size: calc(var(--generalSpace) * 1.5);
    }

    #main-bg{
        min-height: 40vh;
        background-size: 90%;
    }

    #disclaimer{
        font-size: calc(var(--generalSpace) * 0.9);
    }

    #principal img, #comercios img, #deliveries img{
        width: 200px;
        height: unset;
    }
}
