*{
    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: 90%;
    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%;
    background: #e7e7e7;
}

.title-datos-principales{
    margin: 1rem 0 0 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-sup{
    display: flex;
    margin: 0 auto;
    padding: 2rem 0;
    width: 90%;
    justify-content: space-between;
    gap: 1rem;
}

.form-sup1, .form-sup2{
    display: flex;
    flex-direction: column;
    width: 40%;
    gap: 1rem;
}

.form-sup-e{
    padding: .5rem;
    gap: 1rem;
}

.form-sup-e label{
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.form-sup-e input{
    height: 25px;
    padding: .3rem;
    outline: none;
}

.title-body{
    color: red;
    margin-left: .5rem;
}

.section-elementos-arnes, .section-accesorios-escalamiento{
    padding: .5rem 1rem;
}

.elemento-arnes, .elemento-escalamiento{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    gap: .8rem;
    margin: .5rem 0;
}

.elementos-texto{
    margin-top: .5rem;
}

.selectores{
    display: flex;
    align-items: center;
    gap: 1rem;
}

.labels{
    display: flex;
    gap: 1rem;
}

.labels label{
    display: flex;
    align-items: center;
    gap: .2rem;
    font-size: .8rem;
}

textarea{
    padding: .5rem;
    height: 35px;
    width: fit-content;
    resize: none;
    outline: none;
}

.conclusion{
    padding: .5rem 1rem;
    gap: .8rem;
}

.marcado{
    display: flex;
    gap: 1rem;
}

.contenedor-supervisor, .contenedor-responsable{
    width: 100%;
    display: flex;
    gap: .5rem;
    margin: .5rem 0;
}

#responsable, #supervisor{
    outline: none;
    height: 35px;
    padding: .5rem;
}

#dni-supervisor, #dni-responsable{
    outline: none;
    height: 30px;
    padding: .5remm;
    border: none;
    border-bottom: solid 1px rgb(202, 201, 201);
}

#responsable-firma, #supervisor-firma{
    display: none;
}

#btnGenerar{
    cursor: pointer;
    position: fixed;
    top: 90px;
    right: 10px;
    color: red;
    padding: .5rem;
    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: 800px){

    .main{
        width: 100%;
    }

    .logo-title{
        flex-direction: column;
        justify-content: center;
        place-items: center;
    }

    .logo-title div{
        font-size: 1rem;
    }

    .form-sup{
        flex-direction: column;
    }

    .form-sup1, .form-sup2{
        width: 100%;
    }

    .elemento-arnes, .elemento-escalamiento{
        flex-direction: column;
    }

    .selectores{
        flex-direction: column;
        align-items: start;
        gap: .5rem;
    }

    textarea{
        width: 100%;
    }

    .contenedor-supervisor, .contenedor-responsable{
        flex-direction: column;
        margin: 1rem 0;
    }

    .contenedor-supervisor div, .contenedor-responsable div{
        display: flex;
        gap: 1rem;
        flex-direction: column;
    }
}