*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

body{
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main{
    width: 94%;
    display: flex;
    flex-direction: column;
}

.logo-title{
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    padding: 10px 0;
}

.logo-title img{
    user-select: none;
    pointer-events: none;
}

.logo-title div{
    display: grid;
    place-content: center;
    font-size: 1.4rem;
    font-weight: bold;
}

.form-container{
    display: grid;
    place-items: center;
    margin-top: 2em;
}

.principal-form{
    display: block;
    width: 100%;
    border: solid 1px rgb(199, 189, 189);
    border-radius: 8px;
    background-color: whitesmoke ;
}

.title-datos-principales{
    margin: 1rem 0 0 1rem;
}

.form-sup{
    display: flex;
    margin: 0 auto;
    padding: 2rem 0;
    width: 90%;
    justify-content: space-between;
    gap: 1rem;
}

/*inicia elemento cuadrillas*/
.contenedor-cuadrillas{
    display: flex;
    align-items: center;
    margin-inline: auto;
    margin-top: .8rem;
    gap: .4rem;
    width: 90%;
}

.contenedor-cuadrillas label{
    font-weight: bold;
}

.contenedor-cuadrillas label span{
    font-weight: bold;
    color: red;
}

.contenedor-cuadrillas input{
    height: 35px;
    padding: .3rem;
    outline: none;
    border-radius: 4px;
    border: solid 1px rgb(182, 185, 190);
}

.contenedor-cuadrillas input:focus{
    outline: 3px solid rgba(131, 170, 230, .8);
}
/*termina elemento cuadrillas*/

.form-sup1, .form-sup2{
    display: flex;
    flex-direction: column;
    width: 50%;
    gap: 1rem;
}

#fecha-h-inicio-final{
    display: flex; 
    flex-wrap: wrap;
    flex-direction: row;
}

.form-sup-e{
    padding: .5rem;
    gap: 1rem;
}

.form-sup-e label{
    display: flex;
    justify-content: space-between;
    gap: .5rem;
}

.form-sup-e input, #verificador{
    height: 35px;
    padding: .3rem;
    outline: none;
    border-radius: 4px;
    border: solid 1px rgb(182, 185, 190);
}

.div-firma-verificador, .firma-jefe-cuadrilla{
    display: none;
}

.form-sup-e input:focus{
    outline: 3px solid rgba(131, 170, 230, .8);
}

.contenedor-elementos{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.elementos{
    display: flex;
    width: 90%;
    margin: .6rem 0;
    justify-content: space-between;
}

.elementos span{
    width: 80%;
}

.contenedor-opciones{
    display: flex;
    gap: 1rem;

}

.title-body{
    width: 95%;
    margin: .8rem auto;
}

.contenedor-opciones label{
    display: flex;
    align-items: center;
    gap: .2rem;
}

.nombres{
    width: 90%;
    margin: 2rem auto;
}

.participantes-header{
    display: flex;
    gap: 2.4rem;
}

.participantes-header h3{
    display: flex;
    justify-content: center;
    align-items: center;
}

#btn-aniadir{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .3rem;
    border-radius: 4px;
    border: solid 1px rgb(64, 84, 148);
    color: rgb(64, 84, 148);
    transition: all ease-in .2s;
    cursor: pointer;
}

#btn-aniadir:hover{
    background: white;
    transform: translateY(2px);
}

.participante-datos, .seleccionar-jefe-cuadrilla{
    display: flex;
    margin: 1.4rem 0;
    gap: 1rem;
}

/* .participante-nombre{
    width: auto;
} */

.participante-datos input{
    height: 35px;
    padding: .4rem;
}

.btn-remover-participante{
    display: flex;
    align-items: center;
    padding: 0 .5rem;
    border: solid 1px rgb(163, 31, 31);
    color: rgb(163, 31, 31);
    border-radius: 4px;
    padding: .5rem .65rem;
    width: fit-content;
    margin: 0 auto;
    cursor: pointer;
    transition: all ease-in-out .3s;
}


.btn-remover-participante:hover{
    background-color: rgb(163, 31, 31);
    color: whitesmoke;
}

.contenedor-observaciones{
    display: flex;
    gap: .4rem;
    flex-direction: column;
    width: 80%;
    margin: 0 auto;
}

.observaciones{
    margin-bottom: 2rem;
    height: 35px;
    padding: .5rem;
    border: solid 1px gainsboro;
    border-radius: 5px;
}

.observaciones:focus{
    outline: 3px solid rgba(131, 170, 230, .8);
}

.participante-firma{
    display: none;
    user-select: none;
}

.participante-nombre, .participante-cargo, #select-jefe-cuadrilla{
    outline: none;
    width: auto;
    height: 35px;
    padding: .4rem;
    border: solid 1px rgb(182, 185, 190);
    border-radius: 4px
}

.participante-nombre:focus, .participante-cargo:focus, #select-jefe-cuadrilla:focus{
    outline: 3px solid rgba(131, 170, 230, .8);
    border-radius: 4px
}

.contenedor-firma-jefe-cuadrilla{
    width: 90%;
    margin: 0 auto;
}

#btnGenerar{
    cursor: pointer;
    position: fixed;
    top: 136px;
    right: 20px;
    color: red;
    padding: .6rem;
    width: min-content;
    border-radius: 60%;
    border: solid 1px red;
    transition: all ease-in-out .2s;
}

#btnGenerar:hover{
    transform: scale(1.4);
}

@media (max-width: 720px){
    .logo-title{
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-direction: column;
        gap: .8rem;
    }

    .form-sup{
        flex-direction: column;
    }

    .form-sup1, .form-sup2{
        width: 100%;
    }

    .participante-datos{
        flex-direction: column;
    }

    .seleccionar_verificador{
        flex-direction: column;
    }

    .seleccionar-jefe-cuadrilla{
        flex-direction: column;
    }
}