#home {
    height: 100%;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    color: white;
    position: relative;

    font-size: 18px;
}

#home .container {
    height: 100%;

    display: flex;
    justify-content: space-between;

    flex-direction: column;
    align-items: stretch;
}



/* HEADER */
#home header {
    display: flex;
    justify-content: space-between;

    font-weight: 600;
}

#home .container img {
    width: 250px;
    align-self: flex-start;
}

#home header nav {
    width: 450px;
    display: flex;
    justify-content: space-between;
}

#home header nav a:last-of-type {
    margin-right: 0;
}



/* MAIN */
#home .main {
    text-align: center;
    margin-bottom: 50px;
}

#home .main  h1 {
    line-height: 1;
    margin: 0;

    font-size: 120px;
    text-align: center;

    position: relative;
    left: 0;
}

#home .main  p {
    font-weight: 600;
    margin: 25px 0;
}



/* FOOTER */
#home footer {
    color: white;

    display: flex;
    justify-content: space-around;

    margin-bottom: 80px;
    filter: opacity(0.8);
}

.home-item {
    display: flex;
    justify-content: flex-start;

    position: relative;
}

.home-item::after {
    content: '';

    width: 100%;
    height: 2px;

    position: absolute;
    bottom: -15px;
    left: 0;

    background-color: white;
    filter: opacity(0.5);
}

.home-item-text {
    line-height: 1;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.home-item > svg {
    font-size: 50px;

    margin-left: 50px;
}

#home .hamburger,
#home .close {
    font-size: 26px;
    line-height: 1;

    display: none;
}

#home .close {
    display: block;
}

#home .overlay {
    width: 100%;
    height: 100%;

    position: absolute;
    top: 0;
    left: 0;

    background-color: black;
    display: none;
}

#home .overlay-header img {
    width: 250px;
}

#home .overlay-header {
    padding: 29px 20px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#home .overlay-logo img {
    align-self: initial;
}

#home .overlay-nav {
    width: 100%;

    margin-top: 80px;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;

    font-weight: 600;
}

#home .overlay-nav a {
    margin-bottom: 50px;
}




/* MOBILE */

@media (max-width: 1024px) {
    #home .container {
        padding: 0 20px;
    }

    #home header {
        padding-bottom: 12px;
    }

    #home .hamburger {
        display: block;
    }

    #home header nav {
        display: none;
    }


    #home .main {
        margin-bottom: 0;
    }
    #home .main  h1 {
        font-size: 42px;
    }

    #home .main p {
        width: 80%;
        margin: 0 auto;
        font-size: 14px;
    }



    #home footer {
        margin-bottom: 30px;

        flex-direction: row;
        justify-content: space-between;
    }

    .home-item {
        align-items: flex-start;
    }

    .home-item::after {
    }

    .home-item-text {
        font-size: 14px;
    }

    .home-item > svg {
        font-size: 24px;
        align-self: flex-end;

        margin-left: 10px;
    }
}


