body {
    background-color: white;
    font-family: sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none !important;
}

h1,
h2,
h3,
h5 {
    color: #5B3D2F !important;
}


/* header */

.header {
    background-color: rgb(141, 169, 196);
    padding-inline: 16px;
    height: 100px;
}

.nav {
    max-width: 1280px;
    height: 70px;
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    position: relative;
    z-index: 9999;
    border: solid 3px black;
    font-size: 48px;
}

#servicos .image {
    background-position: center;
    background-size: 100%;
    width: 50%;
    height: 500px;
    transition: 1s;
}

#servicos .image:hover {
    background-position: center;
    background-size: 140%;
    transition: 1s;
}

#servicos .text {
    width: 50%;
    height: 500px;
    padding: 50px;
}

.nav-list {
    display: flex;
    gap: 32px;
    list-style: none;
    margin-top: -40px;
}

.nav-list a {
    font-size: 18px;
    color: white;
    padding-block: 16px;
}

.hamburger {
    display: none;
    border: none;
    background: none;
    border-top: 3px solid white;
    cursor: pointer;
    margin-top: -40px
}

.hamburger::before,
.hamburger::after {
    content: " ";
    display: block;
    width: 30px;
    height: 3px;
    background: white;
    margin-top: 5px;
}


/* banner */

.banner {
    width: 100%;
    height: 600px;
    position: relative;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.banner .active {
    display: block;
}

.banner .prev,
.banner .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color:  rgb(141, 169, 196, 0.5);
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

#banner .prev {
    left: 10px;
}

#banner .next {
    right: 10px;
}

.carousel-img {
    width: 100%;
    height: 600px;
    background-position: center;
    background-size: 100%;
}


/* servicos */

#servicos {
    width: 100%;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

#servicos h2 {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

#servicos ul {
    width: 45%;
    list-style: none;
}

#servicos ul li {
    margin: 10px 0;
    font-size: 20px;
}

.linha {
    justify-content: space-between;
    align-items: center;
    float: left;
    clear: both;
    width: 100%;
}


/* news */

#news {
    width: 100%;
    height: 500px;
    background-image: linear-gradient(0deg, rgb(141, 169, 196, 0.5) 32%, rgba(255, 255, 255, 1) 81%);
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

form {
    background-color: white;
    max-width: 500px;
    height: 450px;
    padding: 40px;
    border-radius: 20px;
}

#input_single {
    position: relative;
    margin: 20px 0;
    text-align: right;
}

#input_single label {
    position: absolute;
    left: 0;
    bottom: 5px;
    transition: all 0.5;
    color: black;
}

.input {
    width: 420px;
    border: 0;
    border-bottom: 2px solid black;
    padding: 5px;
    font-size: 17px;
    outline: none;
}

form #input_single .input:focus~label,
form #input_single .input:valid~label {
    transform: translateY(-24px);
    font-size: 12px;
    color: #5B3D2F;
}

.bnt {
    width: 100%;
    text-align: center;
}

form input[type=submit] {
    padding: 10px 40px;
    border: 0;
    border-radius: 10px;
    background-color: #5B3D2F;
    color: white;
    cursor: pointer;
}

.icon {
    position: fixed;
    bottom: 65px;
    right: 30px;
    font-size: 30px;
    background-color: #01e675;
    color: white;
    border-radius: 50%;
    padding: 10px;
    width: 50px;
    height: 50px;
    text-align: center;
    text-decoration: none;
    z-index: 100;
    box-shadow: 2px 2px 2px #c0bdbd;
}

.icon:hover {
    background-color: white;
    color: #029e3b;
    font-weight: 900;
    box-shadow: 2px 2px 20px #5fe690;
}


/* footer */

footer {
    width: 100%;
    color: white;
}

.footer_link {
    text-decoration: none;
}

#footer_content {
    background-color: rgb(141, 169, 196, 0.5);;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 1.5rem 1.5rem;
}

#footer_contects {
    margin-bottom: 0.75rem;
}

#footer_social_media {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.footer_link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 50%;
    transition: all 0.4s;
    color: rgb(141, 169, 196, 0.5) !important;
}

.footer_link i {
    font-size: 1.25rem;
}

.footer_link:hover {
    opacity: 0.8;
}

#instagram {
    background: white;
}


#facebook {
    background-color: white;
    border-radius: 1px #5B3D2F;
}


#whatsapp {
    background-color: white;
}


.footer_list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
}

.bnt_mapa {
    text-align: center;
    background-color: white;
    border: none;
    color: black;
    padding: 0px 1.25rem;
    font-size: 1.125rem;
    height: 100%;
    border-radius: 4px 4px 4px 4px;
    cursor: pointer;
    transition: all 0.4s;
}

.footer_list .footer_link {
    color: #808080;
}

#footer_subscribe {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#input_group button {
    background-color: #808080;
    border: none;
    color: white;
    padding: 0px 1.25rem;
    font-size: 1.125rem;
    height: 100%;
    border-radius: 0px 4px 4px 0px;
    cursor: pointer;
    transition: all 0.4s;
}

#input_group button:hover {
    opacity: 0.8;
}

#footer_contacts {
    text-align: center;
}

#footer_social_media {
    width: 100%;
    justify-content: center;
}

@media( max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1;
    }
    .nav-list {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #f5f5dc;
        clip-path: circle(100px at 90% -15%);
        transition: 1s ease-out;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        gap: 0;
        pointer-events: none;
        z-index: 9999;
        margin-top: 0 !important;
    }
    .nav-list a {
        text-decoration: none !important;
        color: black !important;
    }
    .active {
        clip-path: circle(1500px at 90% -15%);
        pointer-events: all;
    }
    #footer_content {
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
    }
    .linha {
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }
    #servicos .image {
        background-position: center;
        background-size: cover;
        width: 80%;
        height: 200px;
        transition: 1s;
        background-repeat: no-repeat;
    }
    #servicos .image:hover {
        background-position: center;
        background-size: 140%;
        transition: 1s;
    }
    #servicos .text {
        width: 100%;
        height: auto;
        padding: 50px 20px;
        text-align: center;
    }
    .revert {
        flex-direction: column-reverse;
    }
    .input {
        width: 370px;
        border: 0;
        border-bottom: 2px solid black;
        padding: 5px;
        font-size: 17px;
        outline: none;
    }
    .icon {
        position: fixed;
        bottom: 250px;
        right: 60px;
        background-color: #01e675;
    }
}

@media screen and (max-width: 426px) {
    #footer_content {
        grid-template-columns: repeat(1, 1fr);
        padding: 3rem 2rem;
    }
}