* {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
}

body,
html {
    width: 100%;
    scroll-behavior: smooth;
}

.mobile-none {
    display: block;
}

.mobile {
    display: none;
}

.header-mobile {
    display: none;
}

.artigos-on {
    display: block;
}

.artigos-off {
    display: none;
}

section#home {
    background-image: url('/assets/background-oficial.jpg');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 9%;
    padding-bottom: 7%;
    padding-left: 10vw;
    padding-right: 10vw;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.6);

    #texto-home {
        padding: 0;
        text-align: justify;
    }

    #template {
        background-color: #002060;
        box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.6);
        width: 70%;
        height: 17rem;
        border-radius: 34px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        padding-left: 0;
        box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.6);
    }

    #polaroid {
        /* background-color: white;
        margin-left: 3vw;
        width: 29.5%;
        height: 67%;
        position: absolute; */

        img {
            background-color: white;
            padding: 14px;
            padding-bottom: 100px;
        }

    }

    #text-home {
        padding-right: 3vw;
        margin-left: 4rem;
        background-color: #002060;
    }

    #tittle-home {
        font-weight: bold;
        font-size: 1.5vw;
        margin-bottom: 0;
    }

    #subtittle-home {
        font-size: 0.9vw;
    }

    button {
        width: 12vw;
        margin-left: 0.7vw;
        margin-top: 4vh;
    }

    button#bt-na-home:hover {
        background-color: #002060;
        color: white;
    }


}

#artigos-mobile {
    display: none;
}

#artigos-desktop {
    background-color: #002060;
    min-height: 15vh;
    max-height: max-content;
    text-align: -webkit-center;
}

.grid-header {

    position: fixed;
    z-index: 999999;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #002060;
    border: 1px solid #002060;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 15px;
    font-family: Arial;
    font-weight: bold;
    color: white;
    display: grid;
    grid-template-columns: minmax(60px, 900px) minmax(52.02px, 52.02px) minmax(129.58px, 129.58px) minmax(72.86px, 72.86px) minmax(58.69px, 58.69px) minmax(64.55px, 64.55px);
    grid-gap: 37px;
    align-items: center;

    p {
        margin: 7px;
        margin-left: 7vw;
    }

    .div-header {
        border: 1px solid;
        border-radius: 15px;
        border: 0px solid transparent;
        transition: .4s;
        color: #002060;
    }

    button {
        border: 0px;
        background-color: #002060;
        color: white;
        transition: .4s;
        padding: 5px;
    }

    .div-header:hover {
        /* border-color: #CAEEFB; */
        border-radius: 15px;
        background-color: #CAEEFB;

        button {
            background-color: #CAEEFB;
            color: #002060;
        }
    }

    .active-nav {
        background-color: #CAEEFB;

        button {
            background-color: #CAEEFB;
            color: #002060;
        }
    }

    a {
        color: inherit;
        text-decoration: none;
    }
}

button#bt-na-home {
    border-radius: 12px 0px 12px 0px;
    width: 25vw;
    height: 5vh;
    background-color: white;
    border: 0px;
    color: #002060;
}


.titulo-pag {
    font-size: 18px;
    text-align: center;
    margin: auto;
    margin-top: 10px;
    overflow: visible;
    font-weight: bolder;
}

h2 {
    font-size: 18px;
    overflow: visible;
}

section#area-de-atuacao {

    div#back-area-atuacao {
        background-color: #002060;
        color: white;
        text-align: justify;
        padding-left: 6%;
        padding-right: 6%;
    }

    .titulo-pag {
        border-bottom: #CAEEFB solid;
        color: #CAEEFB;
        width: 230px;
    }

    .active {
        border-color: #CAEEFB;
        background-color: #CAEEFB;
        color: #002060;
        font-weight: bolder;
        box-shadow: 10px 10px 25px rgba(218, 244, 255, 0.4);
    }

    button {
        border-radius: 12px 0px 12px 0px;
        border: 1px solid;
        height: 2rem;
        background-color: white;
        color: #002060;
        overflow: visible;

        overflow-x: hidden;
        overflow-y: hidden;
    }

    button:hover {
        border-color: #CAEEFB;
        background-color: #CAEEFB;
        color: #002060;
    }

    div#row-bt1 {
        margin-left: 35px;
    }

    div#row-bt2 {
        margin-top: 30px;
        margin-left: 35px;
    }

    p1#titulo {
        font-size: 16px;
    }

    div#texto-atuacao {
        margin-top: 25px;
        margin-bottom: 20px;
        margin-left: 50px;
    }
}

section#curriculo {
    div#back-curriculo {
        background-color: white;
        color: #002060;
    }

    div#box-curriculo {
        border: #CAEEFB solid;
        border-radius: 50px 0px 50px 0px;
        background-color: #CAEEFB;
        color: #002060;
        padding: 20px;
        margin: 50px;
        margin-top: 20px;
        margin-bottom: 30px;
        box-shadow: 0 4px 8px rgb(0 0 0 / 50%);
    }

    .titulo-pag {
        border-bottom: #002060 solid;
        color: #002060;
        width: 140px;
    }

    div#formacao {
        /* margin-left: 180px; */
        text-align: justify;
        /* margin-top: 20px; */
        padding-left: 7%;
        padding-right: 3.5%;
        padding-top: 1.5%;
    }

    div#atividades {
        /* margin-left: 110px; */
        text-align: justify;
        /* margin-top: 20px; */
        padding-right: 7%;
        padding-top: 1%;
        padding-left: 3%;
    }

    h2 {
        font-weight: bold;
    }

}

section#artigos {

    a {
        color: blue !important;
        text-decoration: none !important;
    }

    a:visited {
        color: purple !important;
    }

    a:hover {
        color: red !important;
        text-decoration: underline !important;
    }

    a:active {
        color: #002060 !important;
    }

    div#back-artigos {
        background-color: #002060;
        min-height: 15vh;
        max-height: max-content;
        text-align: -webkit-center;
    }

    #colArt {
        padding-left: 20%;
        padding-right: 20%;
    }

    .titulo-pag {
        border-bottom: #CAEEFB solid;
        color: #CAEEFB;
        width: 110px;
        margin-bottom: 25px;
    }

    #title-artigos {
        color: #CAEEFB;
        border-bottom: #CAEEFB solid;
        width: 110px;
        border-radius: 0;
        font-size: 18px;
        font-weight: bolder;
        margin: 2vh 0px;
    }

    #title-artigos2 {
        color: #CAEEFB;
        border-bottom: #CAEEFB solid;
        width: 110px;
        border-radius: 0;
        font-size: 18px;
        font-weight: bolder;
        margin: 2vh 0px;
    }

    .box-image {
        background-color: white;
        color: black;
        height: 70vh !important;
        width: 58vw;
        margin-bottom: 38px;
        margin-top: 38px;

        p {
            margin: 5%;
            margin-top: 1%;
            text-align: justify;
        }

        h3 {
            margin: 5%;
            text-align: center;
            overflow: visible;
        }
    }

    button {
        border-radius: 12px 0px 12px 0px;
        border: 0;
        margin-left: 14px;
        width: 31.3%;
        height: 32px;
        background-color: white;
        color: #002060;
        overflow: visible;
    }

    button:hover {
        border-color: #CAEEFB;
        background-color: #CAEEFB;
        color: #002060;
    }

    .active {
        border-color: #CAEEFB;
        background-color: #CAEEFB;
        color: #002060;
        font-weight: bolder;
    }
}

section#s-rodape {
    h1 {
        font-size: 17px;
        margin-top: 38px;
        overflow: visible;
    }

    h2 {
        font-size: 16px;
        border-bottom: #002060 2px solid;
        width: 75px;
    }

    #text {
        margin-left: 150px;
        padding: 0;
        color: #002060;
    }

    #col-nome {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    #qrcode {
        padding: 0;
        border-right: #002060 3px solid;
    }

    #linha-contato {
        margin-top: 50px;
    }

    #col-contato {
        padding: 0;
    }

    #email-contato {
        display: flex;
        align-items: center;
        margin-bottom: 0rem;
        width: fit-content;
    }

    #email-contato::before {
        content: '';
        display: inline-block;
        background-size: 39px 39px;
        width: 40px;
        height: 40px;
        background-image: url("assets/icon_email.png");
        background-repeat: no-repeat;
        margin-right: 10px;
        margin-top: 10px;
    }

    #wpp-contato {
        display: flex;
        align-items: center;
        margin-left: 10px;
        margin-bottom: 0rem;
    }

    #wpp-contato::before {
        content: '';
        display: inline-block;
        background-size: 39px 39px;
        width: 40px;
        height: 40px;
        background-image: url("assets/icon_whatsapp.png");
        background-repeat: no-repeat;
        margin-right: 10px;
        margin-top: 10px;
    }
}

section#developed {

    font-size: 11px;

    div#div-dev {
        background-color: #383A40;
        color: white;
    }

    #copyright {
        margin-top: 18px;
        padding: 0;
    }

    #dev-thoth {
        display: flex;
        align-items: center;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 210px;
    }

    #dev-thoth::before {
        content: '';
        display: inline-block;
        background-size: 39px 39px;
        width: 70px;
        height: 40px;
        background-image: url("assets/logo_thoth.png");
        background-repeat: no-repeat;
        margin-right: 10px;
    }

}

a {
    color: inherit;
    text-decoration: none;
}

section#artigos {
    background-color: #002060;
}

.btn-artigo {
    width: 65% !important;
}

.header-mobile {

    background-color: #002060;
    color: white;

    width: 100vw;
    height: 50px;
    font-size: 12px;

    #button-mobile {
        background: none;
        margin-left: 19px;
        margin-top: 6px;
        border: 0;
    }

    .bt-mobile {
        padding: 0;
    }

    .tittle-header {
        margin-left: 50px;
        margin-top: 5px;
    }

    #button-mobile {
        background-image: url(assets/Icons/Menu.svg);
        background-repeat: no-repeat;
        margin-left: 18%;
        margin-top: 8%;
        background-color: #002060;
        border: none;
        overflow-x: hidden;
        overflow-y: hidden;
        width: 45px;
        height: 34px;
        background-size: 100% 100%;
    }
}

@media screen and (min-width: 900px) and (max-width: 1100px) {
    div#linha-email {
        flex-direction: column;
    }
}

@media screen and (min-width: 600px) and (max-width: 1000px) {
    section#home {

        p {
            margin-top: 0 !important;
        }

        .row {
            flex-direction: row !important;
        }

        #polaroid {
            text-align: center !important;

            img {
                width: 100%;
            }
        }

        #template {
            background-color: #002060;
            height: 280px;
            padding-top: 0 !important;
            border-radius: 0;
        }
    }

    .header-mobile {
        #button-mobile {
            background-image: url(assets/Icons/Menu.svg);
            background-repeat: no-repeat;
            margin-left: 18%;
            margin-top: 9%;
            background-color: #002060;
            border: none;
            overflow-x: hidden;
            overflow-y: hidden;
            width: 45px;
            height: 35px;
            background-size: 100% 100%;
        }
    }
}

@media screen and (min-width: 100px) and (max-width: 800px) {
    section#home {
        #polaroid {
            text-align: center !important;

            img {
                width: 100%;
            }
        }

        #template {
            background-color: #002060;
            width: 98%;
            height: 272px;
            padding-top: 3vw;
            border-radius: 0;
        }
    }
}

@media screen and (min-width: 100px) and (max-width: 700px) {
    #artigos-mobile {
        display: block;
        text-align: -webkit-center;
    }

    #artigos-desktop {
        display: none;
    }
}

@media screen and (min-width: 100px) and (max-width: 991px) {
    .mobile-none {
        display: none;
    }

    .mobile {
        display: block;
    }

    .header-mobile {
        position: fixed;
        z-index: 999999;
        display: block;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        overflow-x: hidden;
        overflow-y: hidden;

        height: 50px;

        p {
            margin-top: 1%;
        }

    }

    section#home {
        font-size: 1rem;
        padding-top: 16%;

        #title-mobile {
            color: white;
            font-weight: bolder;
            font-size: 1rem;
            margin-bottom: 1px;
            margin-top: 1vh;
        }

        #subtitle-mobile {
            color: white;
            font-size: 0.8rem;
            margin-top: 0;
            margin-bottom: 2.5vh;
        }

        p {
            font-size: 1rem;
            margin-top: 2vh;
            text-align: justify;
            margin-bottom: 1vh;
        }

        #text-home-mobile {
            padding: 5%;
            font-size: 100%;
            padding-bottom: 9%;
        }

        #bt-na-home {
            margin-left: 2vw;
            width: 96%;
            margin-top: 1vh;
            margin-bottom: 3vh;
        }

        .row {
            margin: 2vh auto 0 auto !important;
            width: 100%;
            flex-direction: column;
            align-items: start !important;
        }
    }

    section#area-de-atuacao {
        font-size: 1rem;

        #texto-atuacao-p {
            text-align: justify;
            width: 100%;
        }

        div#texto-atuacao {
            margin-top: 5%;
            margin-bottom: 5%;
            margin-left: 2%;
            margin-right: 4%;

            padding-left: 1%;
            padding-right: 0%;
        }

        li {
            width: 88vw;
            text-align: justify;
        }

        p {
            text-align: justify;
            width: 88vw;
        }

        button {
            width: 100%;
            margin-left: 3%;
            margin-right: 2%;
        }

        .bt-direito-civil {
            margin-top: 20px;
        }

        .bt-direito-consumidor {
            margin-top: 10px;
        }
    }

    section#curriculo {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1rem;

        div#formacao-mobile {
            margin: 0;
            margin-top: 3vh;
            text-align: justify;
        }

        div#atividades-mobile {
            margin: 0;
            margin-top: 3vh;
            text-align: justify;
        }

        div#box-curriculo {
            margin: 4vw;
        }


    }

    section#artigos {
        #area-artigo {
            height: auto;
            width: 100%;
            margin-left: 0;
            margin-right: 0;
            padding: 0;
        }

        .button {
            margin-top: 1.5vh;
            width: 94%;
            margin-left: 0;
            padding: 0.5vw;
        }

        div#rowMobile {
            margin: 0;
        }

        .box-image {
            background-color: white;
            color: black;
            height: auto;
            width: 100%;
            margin-bottom: 50px;

            p {
                margin: 4vw;
                text-align: justify;
            }

            h3 {
                text-align: center;
                overflow: visible;
                margin: 0;
                margin-top: 3vh;
                margin-bottom: 2vh;
                font-weight: bold;
            }
        }

    }

    section#s-rodape {
        #text {
            margin: 0;
        }

        h1 {
            text-align: center;
            font-weight: bold;
            font-size: 18px;
        }

        #contato {
            text-align: center;
            font-weight: bold;
            border-bottom: #002060 solid;
            width: 110px;
            margin: auto;
            margin-bottom: 1vh;
            margin-top: 1vh;
        }

        img {
            margin-bottom: 1vh;
        }

        hr {
            width: 80%;
            margin: 1rem 10%;
            border: 1px solid #002060;
        }


        #wpp-contato {
            margin: 0;
            padding: 0;
            margin-bottom: 3vh;
            justify-content: center;
            margin-right: 5vw;
        }

        #email-contato {
            margin: 0;
            padding: 0;
            justify-content: center;
            margin-right: auto;
            margin-left: auto;
        }

    }

    section#developed {
        #copyright {
            font-size: 11px;
            margin: 4px;
        }

        p {
            font-size: 11px;
            margin: 4px;
        }

        img {
            width: 6vh;
            max-width: 6vh;
        }
    }
}

#sidebar {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: -8900px;
    height: 100%;
    width: 300px;
    background-color: white;
    padding-top: 6.2vh;

    hr {
        margin-top: 7px;
        margin-bottom: 7px;
    }


    #s-home::before {
        content: '';
        display: inline-block;
        background-size: 39px 39px;
        width: 40px;
        height: 40px;
        background-image: url("assets/Icons/Home.svg");
        background-repeat: no-repeat;
        margin-right: 10px;
        margin-top: 10px;
    }

    #s-at::before {
        content: '';
        display: inline-block;
        background-size: 39px 39px;
        width: 40px;
        height: 40px;
        background-image: url("assets/Icons/AreaDeAtuacao.svg");
        background-repeat: no-repeat;
        margin-right: 10px;
        margin-top: 10px;
    }

    .item-nav-mobile {
        position: relative;
        top: -14px;
    }

    #s-curriculo::before {
        content: '';
        display: inline-block;
        background-size: 39px 39px;
        width: 40px;
        height: 40px;
        background-image: url("assets/Icons/Curriculo.svg");
        background-repeat: no-repeat;
        margin-right: 10px;
        margin-top: 10px;
    }

    #s-artigos::before {
        content: '';
        display: inline-block;
        background-size: 39px 39px;
        width: 40px;
        height: 40px;
        background-image: url("assets/Icons/Artigos.svg");
        background-repeat: no-repeat;
        margin-right: 10px;
        margin-top: 10px;
    }

    #s-contato::before {
        content: '';
        display: inline-block;
        background-size: 39px 39px;
        width: 40px;
        height: 40px;
        background-image: url("assets/Icons/Contato.svg");
        background-repeat: no-repeat;
        margin-right: 10px;
        margin-top: 10px;
    }

    .row {
        margin-left: 1vw;
        font-weight: bolder;
        font-size: 1.1rem;
        color: #002060;
    }

    .row:hover {
        background-color: #CAEEFB;
    }

}



@media screen and (min-width: 1000px) and (max-width: 1100px) {
    section#home {
        .row {
            --bs-gutter-x: 0rem !important;
        }
    }

    section#home {
        div#template {
            background-color: #002060;
            height: 21rem;
            padding-top: 4vw;
            border-radius: 19px;
        }
    }

    #polaroid {
        img {
            width: 31vw !important;
        }
    }
}

@media screen and (min-width: 1100px) and (max-width: 1700px) {
    #polaroid {
        img {
            width: 20vw !important;
        }
    }
}

@media screen and (min-width: 1700px) {
    section#home {
        .row {
            --bs-gutter-x: 8.5rem !important;
        }
    }

    #polaroid {
        img {
            width: 16vw !important;
        }
    }
}

@media screen and (min-width: 1900px) {
    section#home {
        .row {
            --bs-gutter-x: 1.5rem !important;
        }
    }

    #polaroid {
        img {
            width: 17vw !important;
        }
    }
}

@media screen and (min-width: 2300px) {
    section#home {
        .row {
            --bs-gutter-x: 0rem !important;
        }
    }

    #polaroid {
        img {
            width: 23vw !important;
        }
    }
}