/** HEADER LOGO **/
header{
    padding-top: calc(10px + env(safe-area-inset-top));
}
header .logo {
    display: block;
    width: 100%;
    height: calc(70% - 10px);
    margin: 5px auto;
    padding: 0;
    background-image: url("../imgs/logo.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
header h1 {
    display: flex;
    width: 100%;
    height: 30%;
    align-items: center;
    justify-content: center;
    font-size: clamp(18px, 20px, 24px);
    font-weight: 700;
    text-align: center;
    letter-spacing: 6px;
    margin: 0;
    padding: 0;
}
header h2 {
    display: flex;
    width: 100%;
    height: 30%;
    align-items: center;
    justify-content: center;
    font-size: clamp(8px, 12px, 16px);
    font-weight: 400;
    text-align: center;
    letter-spacing: 6px;
    margin: 0;
    padding: 0;
}

/* MAIN CONTAINER */
.main-container{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 5px;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

/* FORM - CHOOSE FORMAT */
.main-container .format {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    width: calc(100% - 20px);
    height: auto;
    margin: 10px;
    text-align: center;
}
/* Estiliza a caixa de resultados da pesquisa */
.format .title {
    display: flex;
    height: calc(15% - 10px);
    width: calc(100% - 10px);
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: clamp(16px, 18px, 20px);
    letter-spacing: 4px;
    margin: 5px;
    padding-bottom: 10px;
    border-bottom: 1px solid darkred;
}
.format .options {
    display: flex;
    flex-direction: column;
    height: auto;
    width: calc(100% - 10px);
    border-bottom: 1px solid darkred;

}
.format .options div{
    display: flex;
    flex-direction: column;
    justify-items: center;
    justify-content: space-around;
    width: 80%;
    height: auto;
    margin: 20px auto;
    padding: 5px;
    border: none;
    text-align: center;
    flex: 1;
}
.format .options input[type="radio"] {
    display: none;
}
.format .options input[type="radio"]:checked + label {
    background-color: #333255; /* Cor para o botão selecionado */
    color: white;
}
.format .options label, .format .options select {
    width: 100%;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: clamp(14px, 16px, 18px);
    padding: 5px;
    cursor: pointer;
}
.format .options label:hover, .format .options select:hover {
    background-color: darkred;
    color: #FFF;
}

/* BUTTON LINK */
.btns{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
    padding: 5px;
    border: none;
}
.btns .btn-link{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: calc(100% - 10px);
    margin: 0;
    border-radius: 15px;
    background-color: #30475E; 
    color: #F5F7F8;
    font-size: clamp(14px, 16px, 18px);
    cursor: pointer;
    text-decoration: none;
}
.btn-link:hover {
    background-color: darkred;
}

/* ABOUT MENU */
.main-container .menu{
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    width: 100%;
    height: 35px;
    cursor: pointer;
    z-index: 10;
    flex-shrink: 0;
}
.main-container .menu a{
    display: flex;
    flex-direction: row;
    width: 32%;
    height: 30px;
    justify-content: left;
    align-items: center;
    padding: 2px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    background-color: #30475E;
    font-size: clamp(10px, 12px, 14px);
    margin-right: 10px;
    text-decoration: none;
    color: #FFF;
}
.main-container .menu a span{
    margin-right: 2px;
}
.menu a:hover{
    background-color: darkred;
}

/* TUTORIAL TABLE */
.main-container .tutorial {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 0;
    flex-grow: 1;
    overflow-y: auto;
    border: none;
    margin: 0;
    padding: 0;
    text-align: justify;
    align-items: center;
}
.main-container .tutorial table{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    border: none;
    margin: none;
    padding: 0;
    text-align: justify;
}
.main-container .tutorial tr{
    display: flex;
    flex-direction: row;
    width: 100%;
    border-bottom: 1px solid #ccc;
}
.main-container .tutorial tr a{
    text-decoration: none;
    color: #FFF;
}
.main-container .tutorial td{
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    justify-content: center;
    align-items: start;
    text-align: justify;
}
.main-container .tutorial .title{
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 30px;
    padding: 10px;
    font-weight: 600;
}
.main-container .tutorial td p{
    margin: 0 5px;
    margin-bottom: 10px;
}
.main-container .tutorial .img-td{
    background-color: #333;
    align-items: center;
}
.main-container .tutorial img{
    margin: 10px;
    width: 70%;
    height: auto;
}

#recon_btn{
    display: none;
}