/* *************** READ ME BELOW ***************  */

/* Looking for something specific? Use Search (ctrl + f) and type: " *$ec* " */

/* Comments explaining properties briefly are in en-US. */
/* Comments explaining specifics of more complex properties will probably be in pt-BR (Developer Language) */

/* *************** READ ME ABOVE ***************  */

@import url(root.css);

:root {
    font-family: var(--font-poppins);
    line-height: 1.5;
    scroll-behavior: smooth;
}

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

html {
    width: 100%;
    font-family: var(--poppins);
    font-size: 16px;
}

body {
    background-color: var(--tema-page_fundoPri);
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh;
    height: 100dvh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
}
body.overlaysActive {
    overflow: hidden;
}

button {
    font-family: var(--font-poppins)
}

h1 {
    font-weight: bold;
    font-family: var(--font-stardosstencil);
    letter-spacing: 4px;
}

h2 {
    font-family: var(--font-stardosstencil);
    letter-spacing: 4px;
}

p {
    font-weight: 500;
    font-family: var(--font-poppins);
}

span {
    font-weight: bold;
    font-family: var(--font-poppins);
}

a {
    text-decoration: none;
    position: relative;
    cursor: pointer;
}

ul {
    list-style: none;
}
ul li {
    font-weight: 500;
    font-family: var(--font-poppins);
}

main {
    flex: 1;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: auto;
}

/* Mobile */
@media screen and (max-width: 900px) {
    body {
        margin-top: var(--header-size-small);
    }
}
/* Desktop */
@media screen and (min-width: 900px) {
    body {
        margin-top: var(--header-size-large);
    }
}

/* *$ec* Gerais para Todos ================================================= */

#link-skip-main {
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 1em;
    left: 1em;
    z-index: 1000;
    background-color: var(--color-vermelho-arcca);
    color: var(--color-base-white);
    padding: 0.4em 0.8em;
    border-radius: 0.4em;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: opacity .1s ease-in-out;
}
#link-skip-main:focus {
    opacity: 1;
    pointer-events: auto;
    outline: 4px solid #ffffff;
}

.modal.active {
    display: flex;
}

.box_modal_img {
    z-index: 501;
    position: relative;
    background-color: var(--tema-page_fundoPri);
    display: none;
    justify-content: center;
    align-items: center;
}

.btn_close_modal {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    translate: 50% -50%;
    background-color: var(--color-vermelho-arcca);
    border: none;
    border-radius: 0.2em;
    font-size: 2rem;
    color: var(--tema-texto_2);
    cursor: pointer;
    transition: all .3s ease-in-out;
}
.btn_close_modal:hover {
    filter: brightness(150%);
}

#img-inModal {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center;
}

.box_modal_text {
    z-index: 501;
    position: relative;
    background-color: var(--tema-page_fundoPri);
    display: none;
    justify-content: flex-start;
    align-items: flex-start;
}
.box_modal_text section {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1em;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}
.box_modal_text section h3 {
    text-align: left;
    color: var(--color-base-black);
}
.box_modal_text section p {
    text-align: left;
    color: var(--color-base-black);
}
:root {
    --link-color: #2947f2;
}
.box_modal_text a {
    text-decoration: underline;
    color: var(--link-color);
    font-weight: 600;
}
.box_modal_text a:visited {
    color: var(--link-color);
}
.box_modal_text section ul {
    text-align: left;
    color: var(--color-base-black);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.box_modal_text section ul li {
    position: relative;
    text-align: left;
    color: var(--color-base-black);
}
.box_modal_text section ul li::before {
    content: "•";
    text-align: left;
    color: var(--color-base-black);
}

@media screen and (max-width: 900px) {

    .box_modal_img {
        min-width: 80%;
        width: 95%;
        max-width: 95%;
        padding: 0.2em;
        border-radius: 0.5em;
    }
    #img-inModal {
        border-radius: 0.5em;
    }

    .btn_close_modal {
        top: 0;
        right: 0;
        translate: 0% -100%;
        font-size: 2rem;
    }

    .box_modal_text {
        min-width: 80%;
        width: 95%;
        max-width: 95%;
        padding: 0.2em;
        border-radius: 0.5em;
    }

    .box_modal_text {
        min-width: 95dvw;
        width: 95dvw;
        max-width: 95dvw;
        min-height: 20dvh;
        height: 80dvh;
        max-height: 80dvh;
        padding: 0.5em;
        border-radius: 0.5em;
    }

    .box_modal_text section {
        padding-right: 1em;
    }

    .box_modal_text section h3 {
        font-size: calc(1rem + 5%);
    }

    .box_modal_text section p {
        font-size: calc(0.8rem + 5%);
    }

    .box_modal_text section ul {
        gap: 0.2em;
    }
    .box_modal_text section ul li {
        font-size: calc(0.8rem + 5%);
        margin-left: 0.5em;
    }
    .box_modal_text section ul li::before {
        font-size: calc(1rem + 5%);
        margin-right: 0.2em;
    }

}
@media screen and (min-width: 900px) {

    .box_modal_img {
        min-width: 80%;
        width: 80%;
        max-width: 80%;
        padding: 0.4em;
        border-radius: 1em;
    }
    #img-inModal {
        border-radius: 1em;
    }

    .btn_close_modal {
        top: 0;
        right: 0;
        font-size: 2rem;
    }

    .box_modal_text {
        min-width: 40dvw;
        width: 60dvw;
        max-width: 60dvw;
        min-height: 60dvh;
        height: 60dvh;
        max-height: 80dvh;
        padding: 1em;
        border-radius: 0.5em;
    }

    .box_modal_text section {
        padding-right: 1em;
    }

    .box_modal_text section h3 {
        font-size: calc(1.5rem + 5%);
    }

    .box_modal_text section p {
        font-size: calc(1rem + 5%);
    }

    .box_modal_text section ul {
        gap: 0.2em;
    }
    .box_modal_text section ul li {
        font-size: calc(1rem + 5%);
        margin-left: 1em;
    }
    .box_modal_text section ul li::before {
        font-size: calc(1rem + 5%);
        margin-right: 0.5em;
    }

}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-overlay-black_1);
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease-in-out;
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: center;
}
#overlay.active {
    opacity: 1;
    pointer-events: all;
    z-index: 500;
}

/* ????? */
#header_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: var(--color-overlay-black_1);
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease-in-out;
    z-index: -1;
}
#header_overlay.active {
    opacity: 1;
    pointer-events: all;
    z-index: 500;
}

/* *$ec* Gerais Exclusivos */

/* *$ec* Caixa de Alerta */
#box_alert {
    position: fixed;
    left: 50dvw;
    translate: -50% 0%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.4em;
    width: auto;
    height: auto;
    padding: 0.8em 1em;
    border: none;
    border-radius: 0.4em;
    background-color: var(--color-verde-arcca);
    box-shadow: 0 4px 2px 0px var(--color-base-black);
    transition: top .3s ease-in-out, opacity .3s ease-in-out, transform .3s ease-in-out, z-index .3s ease-in-out;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
}
#box_alert.fromTop {
    top: 0dvh;
    transform: translateY(-100%);
}
#box_alert.fromTop.active {
    top: 10vh;
    transform: translateY(0%);
}
#box_alert.fromRotate {
    top: 10vh;
    transform: rotateX(90deg);
}
#box_alert.fromRotate.active {
    transform: rotateX(0deg);
}
#box_alert.active {
    z-index: 999;
    pointer-events: all;
    opacity: 1;
}
#ba_title {
    letter-spacing: 0.1rem;
    font-weight: bold;
    text-align: center;
    color: var(--color-base-white);
}
#ba_desc {
    font-weight: 500;
    text-align: left;
    color: var(--color-base-white);
}
#ba_bar {
    width: 100%;
    border-radius: 0.6em;
    height: 2px;
    overflow: hidden;
    border-radius: 0.2em;
}
#ba_fillBar {
    background-color: var(--color-base-white);
    width: 0%;
    height: 100%;
}

/* *$ec* Todos os Icones via Bootstrap icons, materials icons ou outros. */

.itIcon {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* *$ec* Animação de Hover Effect */
.hvAnim {
    position: relative;
}

.hvAnim::before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-base-white);
    transition: width .3s ease-in-out;
}
.hvAnim.hvAnimWhite::before {
    background-color: var(--color-base-white);
}
.hvAnim.hvAnimBlack::before {
    background-color: var(--color-base-black);
}
.hvAnim.hvAnimVerde::before {
    background-color: var(--color-verde-arcca);
}

.fCenter::before {
    left: 50%;
    translate: -50% 0;
}
.fRight::before {
    right: 0%;
    translate: 0 0;
}
.fLeft::before {
    left: 0%;
    translate: 0 0;
}

.hvAnim:hover::before {
    width: 100%;
}
.fCenter:hover::before {
    width: 110%;
}

/* *$ec* Configuração de Screen's */

/* Mobile */
@media screen and (max-width: 900px) {

    .cont_header { 
        padding: 0em 0.5em;
    }
    .cont_footer {
        padding: 1em 0.5em;
    }
    .hvAnim::before {
        display: none;
    }

    /* *$ec* Caixa de Alerta */
    #box_alert {
        position: fixed;
        min-width: 75%;
        max-width: 90%;
        gap: 0.4em;
        padding: 0.8em 1em;
    }
    #ba_title {
        font-size: calc(0.9rem + 1%);
    }
    #ba_desc {
        font-size: calc(0.8rem + 1%);
    }
    #ba_bar {
        height: 2px;
    }

}
/* Desktop */
@media screen and (min-width: 900px) {

    .cont_header { 
        padding: 0em 2em;
    }
    .cont_footer {
        padding: 1em 2em;
    }

    /* *$ec* Caixa de Alerta */
    #box_alert {
        position: fixed;
        min-width: 20%;
        max-width: 40%;
        gap: 0.6em;
        padding: 0.8em 1.2em;
    }
    #ba_title {
        font-size: calc(1.1rem + 2%);
    }
    #ba_desc {
        font-size: calc(0.9rem + 1%);
    }
    #ba_bar {
        height: 3px;
    }

}

/* *$ec* Texto quando selecionamos com o Mouse */
::selection {
    background-color: var(--color-azul-arcca-transparent);
    color: var(--color-base-white);
}

/* *$ec* Barra Lateral ================================================= */

/* Tamanho da Barra */
::-webkit-scrollbar {
    width: 16px;
}
  
/* Fundo da Area da Barra */
::-webkit-scrollbar-track {
    background: var(--color-bg-light-hover);
}

/* Cor da Barra Normal */
::-webkit-scrollbar-thumb {
    background: var(--color-cinza);
    border-radius: 4px;
}

/* Cor da Barra quando com Mouse em Cima */
::-webkit-scrollbar-thumb:hover {
    background: var(--color-vermelho-arcca);
}