@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;400;500;600&display=swap');

* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    font-family: 'Public Sans', sans-serif;
}

h1{
    font-size: 1.75vw;
    font-weight: 600;
    color: var(--preto);
}

.h1-simple{
    font-size: 1.8vw;
    font-weight: 400;
    color: var(--preto);
}

h2{
    font-size: 1.4vw;
    font-weight: 400;
    color: var(--preto);
}


h3 {
    padding-bottom: 10px;
    margin-top: 25px;
    border-bottom: 2.3px solid var(--cinza-2);
    width: 100%;
    font-size: 1.4vw;
    font-weight: 500;
    color: var(--preto);
}

strong {
    font-weight: 600;
}


p,
a{
    font-size: 1vw;
    font-weight: 400;
}

.input-label,
label{
    box-sizing: border-box;
    font-size: 1.1vw;
}

.input-obrigatorio{
    font-size: 1.2vw;
    font-weight: 600;
    color: var(--vermelho);
    

}

:root {
    --branco: #fff;
    --preto: #1a1a1a;
    --cinza-1: #eeeeee;
    --cinza-2: #e1e1e1;
    --vermelho: #B8292F;
    --azul: #036496;
    }
      
body {

    display: flex;
    justify-content: center;
    background-color: var(--cinza-1);

}

#main,
#main-counter{
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--branco);
    row-gap: 30px;
    position: absolute;
    justify-content: space-between;
    
}

#background-shadow {
    position: absolute;
    width: 100%;
    height: 100%;
    justify-content: center;
    background-color: rgb(0, 0, 0, 0.5);
    z-index: 98;
    display: flex;
    /*display: none*/
}


#header{
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 0px;
    align-items: center;
    margin-bottom: 20px;
}

#image-top,
#image-bottom{
    width: 100%;
    height: 10vw;
    background-image: url("../images/geometrico-top.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#image-bottom{
    background-image: url("../images/geometrico-bottom.svg");
    height: 8vw;
}

#logo-header{
    width: 80%;
    height: 7vw;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
}

.logo{
    width: 30%;
    background-repeat: no-repeat;
    background-size:contain;
}

#logo-gov{
    background-image: url(../images/logo_gov.png);
    background-position: center left;
}

#logo-sl{
    background-image: url(../images/selo_diversidade.svg);
    background-position: center right;
}

#form,
#counter-container{
    width: 80%;
    display: flex;
    flex-direction: column;
    row-gap: 40px;
    margin-bottom: 20px;
}

#form-content{
    margin-top: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}


.form-input{
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.double-form-input{
    width: 100%;
    display: flex;
    flex-direction: row;
    column-gap: 30px;
    justify-content: flex-end;
}

.input-style,
.comprovante-upload{
    width: 100%;
    height: 2.5vw;
    display: flex;
    align-items: center;
    border-radius: 5px;
    background-color: var(--cinza-1);
    border: solid 1px var(--cinza-2);
    padding: 0px 8px;
    column-gap: 6px;
    box-sizing: border-box;
    font-size: 0.95vw;
    text-overflow: ellipsis;
    overflow: hidden;
}

.input-style:focus, .comprovante-upload:focus  {
    outline: solid 1.5px var(--azul);
}

.comprovante-upload{
    cursor: pointer;
}


#upload-icon{
    width: 1.8vw;
    height: 1.8vw;
    opacity: 30%;
}

.upload-text{
    color: var(--preto);
    font-size: 0.95vw;
    opacity: 40%;
    height: 50%;
    text-overflow: ellipsis;
    overflow: hidden;
}


select option{
    font-size: 0.95vw;
    
}

#input-unico{
    width: 50%;
    padding-left: 10px;
    box-sizing: border-box;
}



#checks {
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    padding: 10px;
    box-sizing: border-box;
}

#check-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    column-gap: 10px;
    justify-content: start;
    align-items: center;
    margin-top: 20px;
    box-sizing: border-box;
    padding: 10px;
}


.checkText {
    font-size: 1.1vw;
    font-weight: 400;
    width: 100%;
    text-align: justify;
}

#submit-container{
    width: 80%;
    display: flex ;
    align-items: center;
    justify-content: space-between;
}

#submit-button,
#download-button{
width: 25%;
height: 2.5vw;
display: flex;
align-items: center;
justify-content: center;
border-radius: 5px;
background-color: var(--azul);
color: var(--branco);
border: none;
font-size: 0.95vw;
cursor: pointer;
transition: 0.5s;
}


#footer{
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    align-items: center;
}



#logo-ati{
    background-image: url(../images/logo-ati.svg);
    background-position: center left;
    height: 5vw;
}

.border-error{
    outline: 1.5px solid var(--vermelho);
}

.message-error{
    visibility: hidden;
    color: var(--vermelho);
    font-size: 0.95vw;
}

.feedback-container{
    display: flex;
    flex-direction: column;
    align-items: center;

}

.feedback-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    row-gap: 20px;
    min-width: 20vw;
    max-width: 25vw;
    border-radius: 20px;
    padding: 32px;
    overflow: hidden;
    background-color: #ffffff;
    margin-top: 35vh;
    box-sizing: border-box;
}

.feedback-detail{
    width: 70%;
    height: 2vw;
    border-radius: 0px 0px 20px 20px;
    background-color: var(--azul);
}


#close {
    display: flex;
    height: 1.8vw;
    width: 15%;
    padding: 5px;
    background-color: var(--azul);
    font-size: 1.1vw;
    color: var(--branco);
    font-weight: 500;
    transition: .3s;
    cursor: pointer;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
}


#success-icon,
#error-icon{
    width: 3.7vw;
    height: 3.7vw;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border-radius: 50%;
    cursor: pointer;
    transition: .3s;
}




/*
#close-icon{
    position: absolute;
    right: 5%;
    top: 12%;
    min-width: 2vw;
    height: 2vw;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border-radius: 50%;
    cursor: pointer;
}
*/

#popUp-message-content{
    position: relative;
}


#success-icon {
    background-image: url("../images/check-icon.svg");

}
#error-icon{
    background-image: url("../images/x-icon.svg");
}



.ph-question{
    cursor: pointer;
    font-size: 1.2vw;
    color: #6a6a6a;
    transition: .5s;
}

.ph-question:hover{
   font-size: 1.28vw;
}

#close:hover,
#success-icon:hover,
#error-icon:hover{
    transform: scale(1.05);
}

#loading,
#loading-initial{
    width: 10vw;
    height: 10vw;
    background: url("../images/loading.gif") no-repeat center center;
    background-size: contain;
}



#counter-container{
    align-items: center;
    row-gap: 20px;
}

#counter{
    width: 60%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 3vw;
    background-color: var(--cinza-2);
    border-radius: 20px;

}

.counter-char{
    width: 4vw;
    height: 9vh;
    display: flex;
    background-color: var(--cinza-1);
    color: var(--preto);
    font-size: 3vw;
    font-weight: 400;
    border-radius: 10px;
    align-items: center;
    justify-content: center;

}

#download-button{
    width: 45%;
    height: 3.5vw;
    border-radius: 10px;
    font-size: 1.2vw;
    margin-top: 20px;
    cursor: pointer;
    
}

#download-button:hover, #submit-button:hover{
    transform: scale(1.05);
}

#check-container input {
    display: none;
}


#check-container input + label:before {
    content: "";
    width: 1.2vw;
    height: 1.2vw;
    border-radius: 4px;
    background-color: var(--cinza-1);
    border: solid 2px #6a6a6a;
    display: block;
}


#check-container input + label.error:before {
    border: solid 2px var(--vermelho);
  }
  


#check-container input:checked + label:before {
    background-image: url(../images/checkbox.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: var(--azul);
    border: solid 2px var(--azul);
}









