* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

body {
    font-family: 'Titillium Web', sans-serif;
}

body.overflow {
    overflow: hidden;
}

.header {
    position: absolute;
    inset: 0;
    z-index: 3;
    height: 150px;
    padding: 40px;
    transition: 0.3s;
}

.header.desceu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    background: #fff;
    transition: none;
    pointer-events: none;
}

.header.subiu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: 0.3s ease-in-out;
    background: #fff;
    pointer-events: initial;
}
.header .logo svg {
    width: 85px;
    height: 85px;
}
.header.subiu .logo svg path {
    fill: black;
}
.header.subiu a {
    color: black;
}

.header .box-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .nav-list {
    display: block;
}

.header .nav-list.open {
    transition: opacity 0.4s;
    opacity: 1;
}

.header nav ul {
    display: flex;
    gap: 56px;
}

.header nav ul li {
    list-style: none;
}

.header nav ul li a {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 37px;
    letter-spacing: 0.2em;
    transition: all 250ms linear 0s;
}

.header nav ul li a:hover {
    color: #7f7969;
}

.header nav ul li.selected a {
    color: #7f7969;
    /* color: #cbc2a8; */
}

.header .logo-mobile {
    display: none;
}

.mobile-menu {
    cursor: pointer;
    display: none;
}

.mobile-menu div {
    width: 32px;
    height: 3px;
    background: #000;
    margin: 8px;
    transition: 0.3s;
}

.mobile-menu.active .line1 {
    transform: rotate(-45deg) translate(-8px, 8px);
}

.mobile-menu.active .line2 {
    opacity: 0;
}

.mobile-menu.active .line3 {
    transform: rotate(45deg) translate(-8px, -8px);
}

/* FOOTER */

.footer {
    background: #fff;
    position: fixed;
    height: 106px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    padding: 23px 40px;
}
.containter-infos-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    font-weight: 300;
    font-size: 18px;
    line-height: 30px;
}
.containter-infos-footer .infos-contact a {
    display: block;
    color: #000;
    transition: 0.4s ease;
}
.containter-infos-footer .infos-contact a:hover {
    color: #7f7969;
}
.containter-infos-footer .infos-address {
    text-align: center;
    color: #000;
}

.containter-infos-footer .infos-social-media {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}
.containter-infos-footer .infos-social-media img:first-child {
    width: 30px;
}
.containter-infos-footer .infos-social-media a:nth-child(2) img {
    width: 24px;
}

@media (max-width: 992px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        opacity: 1;
        background: #fff;
        transition: none;
    }
    .header .box-container {
        justify-content: space-between;
    }
    .header .logo svg path {
        fill: black;
    }
    .mobile-menu {
        align-self: flex-start;
        margin-left: 50px;
    }
    .header svg {
        display: block;
        height: 122px;
    }
    .header .logo-desktop {
        display: none;
    }
    .footer {
        position: inherit;
        height: inherit;
    }
    .containter-infos-footer {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    .containter-infos-footer .infos-social-media {
        justify-content: center;
    }

    .header .nav-list {
        position: absolute;
        top: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        background-color: #ffffffe0;
        z-index: 5;
        opacity: 0;
        pointer-events: none;
    }

    .header .nav-list.open {
        pointer-events: initial;
    }

    .header .nav-list ul {
        flex-direction: column;
        gap: 20px;
        padding-top: 117px;
        padding-right: 40px;
    }
    .header nav ul li {
        text-align: end;
    }
    .header nav ul li a {
        color: #000;
    }
    .mobile-menu {
        display: block;
        z-index: 999;
    }
    .nav-list.active {
        transform: translateY(0);
    }
}

.link-more-projects:hover {
    color: #7f7969;
}

@media (max-width: 768px) {
    .header,
    .footer {
        padding-inline: 20px;
    }
}
