:root {
    --color1: #022996;
    --color2: #1B2737;
    --color3: #344967;
    --color4: #fff;
    --color5: #000;
    --color6: #F2E7A9;

    --text-weigth: 500;

    --titulo: 29px;
    --subtitulo: font-size: 20px;
    --text: 17px;
}


html {
    scroll-behavior: smooth;
}


#logo img {
    width: 120px;
}

#logo {
    width: 145px;
    padding-top: 30px;
}

#header {
    box-sizing: border-box;
    max-width: 1210px;
    margin: 0 auto;
    height: 70px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#menu {
    padding-top: 30px;
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    flex-direction: row;
}

#menu a {
    display: block;
    padding: 0.2rem;
    color: var(--color4);
    font-size: 18px;
}

#btn-mobile {
    display: none;
}

.buttton-header {
    padding: 0px 0px;
    width: 153px;
    background: var(--color4);
    border: none;
    border-radius: 8px;
}

.buttton-header a {
    color: var(--color1);
}

#text-button-header p {
    color: var(--color4);
}

/* container banner */

:root {
    --marquee-width: 80vw;
    --marquee-height: 50px;
    --marquee-elements-displayed: 5;
    --marquee-element-width: calc(var(--marquee-width) / var(--marquee-elements-displayed));
    --marquee-animation-duration: calc(var(--marquee-elements) * 3s);
}

.marquee {
    overflow: hidden;
    position: relative;
    background: #ffffff8a;
    margin-top: -3px;
    box-shadow: 0px 2px 12px #00000024;
}

.marquee:before,
.marquee:after {
    position: absolute;
    top: 0;
    width: 10rem;
    height: 100%;
    content: "";
    z-index: 1;
}

.marquee:before {
    left: 0;
    background: linear-gradient(to right, #00000000 0%, transparent 100%);
}

.marquee:after {
    right: 0;
    background: linear-gradient(to left, #00000000 0%, transparent 100%);
}

.marquee-content {
    list-style: none;
    height: 40px;
    display: flex;
    gap: 25px;
    animation: scrolling var(--marquee-animation-duration) linear infinite;
}

.marquee-content li p {
    font-size: 14px;
    color: #000000b3;
}

@keyframes scrolling {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-1 * var(--marquee-element-width) * var(--marquee-elements)));
    }
}

.marquee-content li {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: var(--marquee-element-width);
    white-space: nowrap;
}

.marquee-content li img {
    width: 84px;
}

@media (max-width: 600px) {
    html {
        font-size: 12px;
    }

    :root {
        --marquee-width: 100vw;
        --marquee-height: 16vh;
        --marquee-elements-displayed: 3;
    }

    .marquee:before,
    .marquee:after {
        width: 5rem;
    }
}

#p-button {
    color: #003795;
    font-size: 16px;
}


@media (max-width: 600px) {

    #button-header-mobile {
        display: none;
    }

    #header {
        max-width: 1210px;
        margin: 0 auto;
        background: var(--color2);
    }

    #menu {
        display: block;
        position: absolute;
        width: 100%;
        top: 00px;
        right: 0px;
        background: var(--color1);
        transition: 0.6s;
        z-index: 2;
        height: 0px;
        visibility: hidden;
        overflow-y: hidden;
        flex-direction: column;
    }

    #nav.active #menu {
        height: calc(100vh - 462px);
        visibility: visible;
        overflow-y: auto;
        display: flex;
        align-items: flex-start;
    }

    #menu a {
        padding: 1rem 0;
        margin: 0 1rem;
        border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    }

    #btn-mobile {
        display: flex;
        padding: 0.5rem 1rem;
        position: sticky;
        z-index: 15;
        font-size: 1rem;
        border: none;
        background: none;
        cursor: pointer;
        gap: 0.5rem;
        color: var(--color4);

    }

    #hamburger {
        border-top: 2px solid;
        width: 20px;
    }

    #hamburger::after,
    #hamburger::before {
        background: var(--color4);
        content: '';
        display: block;
        width: 20px;
        height: 2px;
        background: currentColor;
        margin-top: 5px;
        transition: 0.3s;
        position: relative;
    }

    #nav.active #hamburger {
        border-top-color: transparent;

    }

    #nav.active #hamburger::before {
        transform: rotate(135deg);
    }

    #nav.active #hamburger::after {
        transform: rotate(-135deg);
        top: -7px;

    }
}








.bk-banner {
    width: 100%;
    margin-top: -70px;
    height: 304px;
    background-image: url(/img/capaServico.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.div-bk-banner {
    padding: 0px 5px;
}

.bk-banner h1 {
    font-size: 34px;
    color: white;
    line-height: 36px;
    padding: 9px 0px 5px;
    max-width: 310px;
}

.bk-banner h2 {
    color: white;
    padding-bottom: 10px;
    max-width: 298px;
    font-weight: 300;
    line-height: 24px;
}

/* container diferencial */


.container-diferencial {
    width: 95%;
    margin: 35px auto 9px;
}

.container-diferencial h2 {
    color: #000000;
    font-size: 28px;
    text-align: center;
}


/* container cards */


.div-cards-diretoria {
    display: flex;
    flex-wrap: wrap;
    max-width: 380px;
    justify-content: center;
    margin: 30px auto;
    width: 90%;
}

.div-cards-diretoria a {
    font-weight: 700;
    color: #0F2A24;
    font-size: 16px;
    cursor: pointer;
}

.div-cards-diretoria img {
    width: 25px;
}

.div-cards-diretoria div {
    box-shadow: 3px 3px 5px #0000001a;
    margin: 7px auto;
    border: 1px solid #0000004f;
    border-bottom-right-radius: 25px;
    background: rgba(217, 217, 217, 0.02);
    padding: 10px 10px;
}

#img-card-servico {
    width: 90px;
    padding: 10px;
}

.div-cards-diretoria div h3 {
    padding: 5px 0px 10px;
    font-size: 20px;
    font-weight: 700;

}

.div-cards-diretoria div p {
    font-size: 15px;
    line-height: 21px;
    padding-bottom: 15px;
}

/* CONTAINER FOOTER */


footer {
    background-color: var(--color5);
}

.div-footer-2 {
    display: flex;
    gap: 22px;
    padding-bottom: 18px;
}

.div-footer-1 img {
    width: 180px;
    padding: 14px 0px;
}

.div-footer-1 h2 {
    color: var(--color4);
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    max-width: 367px;
    padding-bottom: 13px;
}

.ul-text-footer-1 li a {
    color: var(--color4);
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    max-width: 367px;
}

.div-footer-1 ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.div-footer-text-2 h2 {
    color: var(--color4);
    font-size: 18px;
    padding-bottom: 5px;
}

.div-footer-text-2 ul a {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.div-footer-text-2 ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.div-footer-text-2 ul li {
    color: var(--color4);
    font-weight: 200;
    font-size: 18px;
}

.div-footer-text-3 ul {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.div-footer-text-3 ul li {
    font-size: 18px;
}

.div-footer-text-3 h2 {
    color: var(--color4);
    font-size: 18px;
    padding-bottom: 5px;
}

.div-footer-text-3 ul li {
    color: var(--color4);
    font-weight: 200;
}

.container-footer {
    width: 93%;
    margin: 1px auto;
}

.div-footer-1 {
    padding: 14px 0px;
}

footer h3 {
    color: var(--color4);
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    padding: 14px 0px 15px;
    border-top: 1px solid white;
}











.wrapper {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(52, 52, 52);
    background: linear-gradient(90deg,
            rgba(52, 52, 52, 1) 0%,
            rgba(97, 119, 255, 1) 0%,
            rgba(33, 57, 189, 1) 100%);
}

.wrapper a {
    display: inline-block;
    text-decoration: none;
    padding: 15px;
    background-color: #fff;
    border-radius: 3px;
    text-transform: uppercase;
    color: #585858;
    font-family: "Roboto", sans-serif;
}

.modal {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 20, 20, 0.963);
    transition: all 0.4s;
}

.modal:target {
    visibility: visible;
    opacity: 1;
}

.content {
    border-radius: 4px;
    position: relative;
    width: 500px;
    width: 88%;
    max-height: 600px;
    padding: 10px;
    background: #fff;
    overflow-y: scroll;
}

.content h1 {
    padding: 5px 0px 10px;
    font-size: 20px;
    font-weight: 700;
}

.content ul {
    list-style: inside;
}

.content p {
    font-size: 15px;
    line-height: 21px;
    padding-bottom: 15px;
}

.footer {
    margin: 10px 0px;
    display: flex;
}

.footer button {
    width: 45%;
    margin: 0 auto;
    border-radius: 5px;
    border: 1px solid #0000005e;
    padding: 8px 0px;
}

.footer button a {
    font-size: 18px;
    color: black;
}

#button-main {
    background-color: #009667;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--color2);
    font-size: 25px;
    text-decoration: none;
}

/* .footer-btn-close {
    width: 150px;
    padding: 10px;
    text-decoration: none;
    background-color: #cfcca8;
    color: #000000;
    border-radius: 3px;
} */




@media (min-width: 600px) {




















    .bk-banner {
        background-image: url(/img/capaServico.jpg);
    }

    .div-bk-banner {
        padding: 0px 5px;
        width: 1000px;
        margin: 0 auto;
    }

    .bk-banner h1 {
        font-size: 35px;
        color: var(--color4);
        font-weight: 500;
        max-width: 362px;
    }

    .bk-banner h2 {
        color: var(--color4);
        font-weight: 500;
        line-height: 19px;
    }

    /* container diferecias */

    .container-diferencial h2 {
        text-align: center;
        max-width: none;
    }

    .container-diferencial P {
        text-align: center;
        max-width: 616px;
        margin: 0 auto;
    }

    /* container cards */
    .div-cards-diretoria div h3 {
        padding: 0px 0px 11px;
        font-size: 22px;
    }

    .div-cards-diretoria {
        display: flex;
        flex-wrap: wrap;
        max-width: 1150px;
        justify-content: center;
    }

    .div-cards-diretoria a {
        font-size: 19px;
        cursor: pointer;
    }


    .div-cards-diretoria div {
        width: 330px;
        padding: 15px;
    }

    .div-container-card {
        width: 900px;
        flex-direction: row;
    }

    #img-card-servico {
        width: 90px;
        padding: 15px;
    }


    /* container modal */

    .content {
        max-width: 800px;
        padding: 60px;
    }

    /* container footer */

    .container-footer {
        margin: 1px auto;
        display: flex;
        justify-content: space-around;
        max-width: 1100px;
        padding: 25px 0px;
    }

    .div-footer-1 {
        padding: 0px 0px;
    }

    .div-footer-1 h2 {
        padding: 13px 0px;
    }

    footer h3 {
        width: 500px;
        margin: 0 auto;
    }

}