/* HEADER */
header{
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header nav{
    display: flex;
    align-items: center;
    gap: var(--m2);
}
header nav a {
    font-weight: 400;
    padding: var(--m3) var(--m5);
    border-radius: var(--m0);
    background-color: var(--background);
    transition: background .3s ease;

    &:hover { background-color: var(--middleground); }
}
.btn-primary{
    background-color: var(--primary);
    color: var(--light);
    padding: var(--m1) var(--m2);
    border-radius: var(--m0);
}
.flex{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--m3);
}
header a.btn-icon{
    display: inline-flex;
    background-color: var(--middleground);
    color: var(--text-900);
    font-size: 1.5rem;
    padding: var(--m1) var(--m3);
    border-radius: var(--m0);
}
/* -- VALORATION -- */
#valoration{
    width: 100%;
    min-height: 100vh;
    background: #1d190b;
    padding-block: var(--m8);
}
#valoration * { color: #f3ebe4; }
#valoration h1 span{
    color: #f39e54;
    font-size: inherit;
}
#valoration p{
    max-width: 60%;
    line-height: 1.7rem;
}
.form-valoration{
    display: flex;
    flex-direction: column;
    gap: var(--m3);
    margin-top: var(--m5);
    max-width: 700px;
}
.form-valoration input, .form-valoration textarea, .form-valoration select, .form-valoration button, .form-valoration option{
    padding: var(--m2);
    border: none;
    border-radius: var(--m0);
    font-size: 1rem;
    resize: vertical;
    background-color: #38352a;
}
#valoration button{
    background-color: #f39e54 !important;
    color: #1d190b !important;
    font-weight: 900;
}
.form-valoration .toggle{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--m2);
    width: 100%;
    height: 100%;
    outline: 2px solid #352f1a;
    border-radius: var(--m0);
}
.form-valoration .toggle label{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-right: var(--m2);
    cursor: pointer;
}
.form-valoration input.disabled {
    opacity: .4;
    pointer-events: none;
    text-decoration: line-through;
}
#valoration button.btn-submit{
    padding: var(--m2) var(--m3);
    border: none;
    border-radius: var(--m0);
    margin-top: var(--m4);
}
@media (max-width: 1366px){
    #valoration { padding-block: var(--m7); }
    #valoration p { max-width: 80%; }
    #valoration h1 { font-size: 3.5rem; line-height: 4rem; }
    #valoration input { font-size: 1rem; }
}
@media (max-width: 768px){
    #valoration h1{
        width: 100%;
        line-height: 3.75rem;
    }
    #valoration p { max-width: 100%; }
    .form-valoration { max-width: 100%; }
    .form-valoration .grid {
        display: flex;
        flex-direction: column-reverse;
    }
    .form-valoration .grid .toggle {
        width: 100%;
        padding-block: var(--m2);
    }
}