@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;300;500&display=swap');

* {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    box-sizing: border-box;
}

body {
    background: #202020;
}

:root{
    --yellow: #ddb165;
}

header {
    background-color: rgba(0,0,0,0.8);
    width: 100%;
    position: fixed;
    top: 0;
}

#header-container {
    max-width: 1280px;
    height: 75px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 15px;
}

header nav ul#header-menu__desktop {
    padding: 0;
    list-style: none;
    display: flex;
    gap: 15px;
}

header nav ul#header-menu__desktop li a{
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.4s ease;
}

header nav ul#header-menu__desktop li a:hover{
    color: var(--yellow);
}

header #header-menu-mobile-button {
    display: none;
    cursor: pointer;
}

header .header-menu-mobile-checkbox {
    display: none;
}

header .header-menu-mobile-checkbox:checked ~ #header-menu-mobile-button span:first-child {
    opacity: 0;
}

header .header-menu-mobile-checkbox:checked ~ #header-menu-mobile-button span:last-child {
    transform: rotate(-45deg);
    margin-top: -9px;
}

header .header-menu-mobile-checkbox:checked ~ #header-menu-mobile-button span:nth-child(2) {
    transform: rotate(45deg);
    margin-top: -4px;
    
}

header #header-menu-mobile-button span {
    width: 35px;
    height: 4px;
    border-radius: 8px;
    background-color: #FFFFFF;
    display: block;
    margin-bottom: 5px;
    transition: all 0.2s ease;
}

@media (max-width: 768px) {
    header nav {
        display: none;
    }

    header nav {
        position: fixed;
        width: 100vw;
        height: 100vh;
        left: 0;
        top: 0;
        background: #000;
    }

    header .header-menu-mobile-checkbox:checked ~ nav {
        display: flex;
        align-items: center;
    }

    header nav ul#header-menu__desktop {
        padding: 0;
        list-style: none;
        display: block;
        text-align: center;
        margin: 0 auto;
        
    }

    header nav ul#header-menu__desktop  li {
        margin-bottom: 30px;
    }

    header nav ul#header-menu__desktop li a{
        font-size: 22px;
    }

    header #header-menu-mobile-button {
        display: block;
        position: fixed;
        right: 15px;
        z-index: 9999;
    }
}

#banner {
    width: 100%;
    height: 500px;
    background: url('../images/banner_principal.jpg') center center no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#banner h1 {
    color: var(--yellow);
    font-weight: 500;
    text-align: center;
    margin-bottom: 15px;
    font-size: 2.4em;
}

#banner p {
    color: #FFFFFF;
    font-weight: 500;
    text-align: center;
    font-size: 1.4em;
    display: block;
    max-width: 400px;
    margin-bottom: 15px;
}

.link-border {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    border: 3px solid  var(--yellow);
    padding: 5px 8px;
    color: #FFFFFF;
    font-weight: 300;
    text-align: center;
    font-size: 1.1em;
    font-weight: 500;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.7);
}

.link-border:hover {
    border: 3px solid  #FFFFFF;
    transition: all 0.3s ease-in-out;
}

#empresa {
    margin-top: -80px;
    padding: 15px;
}

.container-divided {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
}

.container-divided-image {
    width: 50%;
    background: url('../images/empresa.jpg') center center no-repeat;
}

.container-divided-text {
    width: 50%;
    background-color: var(--yellow);
    padding: 25px;
}

.container-divided-text h2 {
    color: #FFFFFF;
    font-weight: 500;
    text-align: left;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.container-divided-text p {
    color: #FFFFFF;
    font-weight: 300;
    text-align: left;
    font-size: 1em;
}

#projetos {
    margin-bottom: 50px;
}

.projetos-title {
    width: 100%;
    height: 280px;
    background: #FFFFFF;
    text-align: center;
    margin-top: -80px;
    padding-top: 100px;
}

.projetos-title h2 {
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 1.5em;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 3px solid var(--yellow);
}

.projetos-title p {
    font-weight: 300;
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .container-divided-image {
        display: none;
    }
    
    .container-divided-text {
        width: 100%;
    }
}

.projetos-items {
    max-width: 1280px;
    padding: 15px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    -ms-grid-columns: 1fr 1fr 1fr;
    grid-column-gap: 15px;
    grid-row-gap: 15px;
    -ms-grid-columns: repeat(3, 30%);
    margin-top: -80px;
    justify-content: center;
}

.projetos-item {
    flex-grow: 1;
    width: 100%;
}

.projetos-item img {
    width: 100%;
}

.projetos-item:empty {
    height: 0;
}

.projetos-item h3 {
    background-color: var(--yellow);
    width: 100%;
    text-align: center;
    padding: 15px 10px;
    color: #FFF;
}

@media (max-width: 768px) {
    .projetos-items {
        max-width: 1280px;
        padding: 15px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        -ms-grid-columns: 1fr 1fr;
        grid-column-gap: 15px;
        grid-row-gap: 15px;
        -ms-grid-columns: repeat(3, 30%);
        margin-top: -80px;
        justify-content: center;
    }
}

@media (max-width: 530px) {
    .projetos-items {
        max-width: 1280px;
        padding: 15px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr;
        -ms-grid-columns: 1fr;
        grid-column-gap: 15px;
        grid-row-gap: 15px;
        -ms-grid-columns: repeat(3, 30%);
        margin-top: -80px;
        justify-content: center;
    }
}

#diferencial {
    background: url('images/diferencial.jpg') center center no-repeat;
    padding: 50px 15px;
}

.diferencial-content {
    max-width: 800px;
    background: rgba(0,0,0,0.8);
    padding: 35px 25px;
    margin: 0 auto;
}

.diferencial-content  h2 {
    color: #FFFFFF;
    font-weight: 500;
    text-align: left;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.diferencial-content  p {
    color: #FFFFFF;
    font-weight: 300;
    text-align: left;
    font-size: 1em;
}

#afazeres {
    margin-top: 30px;
    padding: 15px;
    margin-bottom: 30px;
}

.container-divided-image__afazeres {
    background: url('images/afazeres.jpg') center center no-repeat;
}

#contato {
    max-width: 1280px;
    margin: 0 auto;
    background: #c1913f;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFFFFF;
    position: sticky;
    top: 0;
}

.contanto-button {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    border: 3px solid  #FFFFFF;
    padding: 5px 8px;
    color: #FFFFFF;
    font-weight: 300;
    text-align: center;
    font-size: 0.9em;
    font-weight: 500;
    text-transform: uppercase;
}

.contato-atendimento {
    display: flex;
    text-decoration: none;
}

.contato-atendimento img {
    width: 25px;
    filter: invert(100%);
    height: 25px;
}

.contato-atendimento p {
    color: #FFFFFF;
    margin-top: 3px;
    margin-left: 8px;
}


@media (max-width: 768px) {
    #contato .phone {
        display: none;
    }

    .contanto-button {
        font-size: 0.7em;
    }
}

.contato-content {
    background-color: #000;
    color: #FFF;
    text-align: center;
    padding: 15px;
}