:root{
    --bgColor: #eeeeee;
    --bgColorHover: #d0d0d0;
    --borderColor: #ababab;
    --textColor: #212529;
    --inputTextColor: #dee2e6;
    
    --fontSizeTitle: 4.5vh;
    --fontSizeSubtitle: 3vh;
    --fontSizeCmd: 2.5vh;
    --fontSizeText: 2.2vh;
    
    --fontStyleTitle: "Anton", serif;
    --fontStyleSubtitle: "Montserrat", sans-serif;
}

@media screen and (max-width: 1024px) {
    :root{
        --fontSizeTitle: 4vh;
        --fontSizeSubtitle: 2.8vh;
        --fontSizeCmd: 2.2vh;
        --fontSizeText: 2vh;
    }
}

@media screen and (max-width: 440px) {
    :root{
        --fontSizeTitle: 4vh;
        --fontSizeSubtitle: 2.8vh;
        --fontSizeCmd: 2.5vh;
        --fontSizeText: 2.2vh;
    }
}


/* Configurações de Fonte */

.fontTitle, .fontTitle:hover{
    font-family: var(--fontStyleTitle);
    font-style: normal;
    font-size: var(--fontSizeTitle);
}

.fontSubtitle, .fontSubtitle:hover{
    font-family: var(--fontStyleSubtitle);
    font-style: normal;
    font-size: var(--fontSizeSubtitle);
}

.fontAnton{
    font-family: "Anton", serif;
}

.fontMontserrat{
    font-family: "Montserrat", sans-serif;
}



/* Classes personalizadas e preferências de TAGs */

a, a:hover, a:active{
    text-decoration: none;
    color: var(--textColor);
    cursor: pointer;
}

p:last-of-type{
    margin-bottom: 0;
}

p{
    font-size: var(--fontSizeText);
}

label{
    cursor: pointer;
}

h1{
    font-size: var(--fontSizeTitle);
    margin: 0;
}

h2{
    font-size: var(--fontSizeSubtitle);
    margin: 0;
}

h3{
    font-size: var(--fontSizeCmd);
    margin: 0;
}

h4{
    font-size: var(--fontSizeText);
    margin: 0;
}






/* Configurações de Inputs para Formulários */

input[type=button], input[type=submit], .buttonFormat{
    background: var(--bgColor);
    border: 1px solid var(--textColor);
    border-radius: 3px;
    font-size: var(--fontSizeText);
    color: var(--textColor);
    text-decoration: none;
    padding: calc(2px + 0.3vh) calc(3px + 0.5vw);
}

select, input[type=text], input[type=email], textarea, .inputTextFormat{
    border-radius: 4px;
    font-size: var(--fontSizeText);
    color: var(--textColor);
    border: 1px solid var(--inputTextColor);
    width: 100%;
    display: block;
    padding: 1vh 1vw;  
    margin-bottom: 1.5vh;
}

input[type=text]:read-only, input[type=email]:read-only, textarea:read-only, .inputTextFormat:read-only{
    background: var(--bgColor);
    border: 1px solid var(--inputTextColor);
}

input[type=checkbox]{
    margin-right: 5px;
    cursor: pointer;
}







/* Configurações de Dropdown */

.SetaDropdown {
    display: inline-block;
    transition: transform 0.3s ease-in-out;
    margin-left: 10px;
}

.aberto .SetaDropdown {
    transform: rotate(180deg);
}

.AlvoDropdown{
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.8s ease-in-out, opacity 0.4s ease-in-out;
}

.AlvoDropdown.aberto{
    max-height: 200vh;
    opacity: 1;
}


/* Configurações Modal Foto Ampliada */

.Modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2500;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Estado Fechado */
.Modal.fechado {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Div Interna que Exibe a Foto Ampliada (Proporção 1:1) */
.Modal .ImagemAmpliadaConteudo{
    width: min(80vh, 85vw);
    height: min(80vh, 85vw);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(1);
    transition: transform 0.3s ease;
}

.Modal.fechado .ImagemAmpliadaConteudo {
    transform: scale(0.9);
}

/* Botão Fechar (X) */
.botaoFecharModal {
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: max(28px, 4vw); 
    padding: 10px;             
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    user-select: none;
    transition: color 0.2s ease;
}

.botaoFecharModal:hover {
    color: #b00000;
}



/* Formatação de Botões */

button.menuButton, .menuButton{
    font-size: 5vh;
    border-width: 3px;
    border-style: solid;
    border-radius: 8px;
    height: 6vh;
    line-height: 5vh;
    background: rgba(0, 0, 0, 0);
}

button.menuButton:hover, .menuButton:hover{
    background: rgba(0, 0, 0, 0.1);
    transition: 0.1s;
}

button.noButton{
    background: transparent;
    cursor: pointer;
}

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




/* Configurações Display Flex */

.flexCenter{
    display: flex;
    justify-content: center;
}

.flexCenterVertical{
    display: flex;
    align-items: center;
}

.flexColumn{
    display: flex;
    flex-direction: column;
}

.flexWrap{
    flex-wrap: wrap;
}

.noFlexWrap{
    flex-wrap: nowrap;
}

.flexSpaceEvenly{
    display: flex;
    justify-content: space-evenly;
}

.flexSpaceBetween{
    display: flex;
    justify-content: space-between;
}

.flexSpaceAround{
    display: flex;
    justify-content: space-around;
}

.flexRight{
    display: flex;
    justify-content: flex-end;
}

.flexLeft{
    display: flex;
    justify-content: flex-start;
}


/* Configurações de Responsividade */

.oculto{
    display: none;
}

.collapse1024{
    display: initial;
}

.show1024{
    display: none;
}

.collapse768{
    display: initial;
}

.show768{
    display: none;
}

.collapse550{
    display: initial;
}

.show550{
    display: none;
}

.collapse400{
    display: initial;
}

.show400{
    display: none;
}

@media screen and (max-width: 1024px) {
    .collapse1024{
        display: none;
    }

    .show1024{
        display: initial;
    }
}

@media screen and (max-width: 768px) {
    .collapse768{
        display: none;
    }

    .show768{
        display: initial;
    }
}

@media screen and (max-width: 550px) {
    .collapse550{
        display: none;
    }

    .show550{
        display: initial;
    }
}

@media screen and (max-width: 400px) {
    .collapse400{
        display: none;
    }

    .show400{
        display: initial;
    }
}