*{
    box-sizing: border-box;
    scroll-behavior: smooth;
}

div, ul, nav, header, footer, a, li, label, body{
    margin: 0;
    padding: 0;
}

body{
    font-family: sans-serif;
    background-color: #e2eaff;
    width: fit-content;
    height: fit-content;
}

/*--- header seccion ---*/

.header{
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #48e;
    font-size: 1.3rem;
    position: sticky;
    top: 0;
    animation: header-movement both;
    animation-timeline: scroll();
    animation-range: 10px 100px;
}

.header__nav-list{
    display: flex;
    flex-direction: row;
    height: auto;
    width: fit-content;
    gap: 10px;
    margin-right: 40px;
}

.header__nav-item{
    text-decoration: none;
    list-style: none;
    padding: 11px 16px;
}

.header__nav-item:hover{
    background-color: #48e;
    color: #d6d6d6;
    border-radius: 6px;
    padding: 10px 15px;
}

a{
    text-decoration: none;
    color: inherit;
}

.header__logo{
    width: 64px;
    margin: 0 30px;
}
/*-------------------------------*/



/*--- main seccion ---*/

.main__wrapper{
    width: 100dvw;
    height: fit-content;
    overflow: hidden;
}


.main__data-container{
    background-image: linear-gradient(#000b, #000b), url(img/barber.jpg);
    background-position: center;
    background-size: cover;
    width: 100dvw;
    height: 70dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main__data{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: #d6d6d6;
    
}

.main__titulo{
    margin-top: 100px;
    font-size: 3em;
}

.main__subtitulo{
    margin-top: 20px;
}

.main__data-description{
    opacity: .7;
}

.data-ubi{
    display: flex;
    align-items:flex-end;
    gap: 2px;
    text-transform: uppercase;
}


.main__servicio-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-left: 10px;
}


.main__servicio-list{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    margin-left: 30px;
}



.main__turno-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.main--button{
    padding: 10px 60px;
    font-size: 20px;
    border-radius: 6px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #101632dd;
    border: none;
    color: #d6d6d6;
    font-family: sans-serif;
    text-transform: uppercase;
    box-shadow: 0 0 10px #0009;
}

.main--button:hover{
    opacity: .9;
}


.main__titulo-turno{
    color: #101632dd;
    text-transform: uppercase;
    text-decoration: underline;
}





/*--------------------------------------*/





/*--- seccion footer ---*/

.footer__container{
    background-color: #333;
    width: 100dvw;
    height: 20dvh;
    color: #d6d6d6;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer__red-social{
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

.footer__red-social ul{
    margin-top: 10px;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}


/*------------------------------------------------------------*/


@keyframes header-movement{
    form{
        padding: 18px 0;
        background-color: #fff;
        
    }

    to{
        padding: 5px 0;
        opacity: .7;
    }
}


@media (max-width: 600px){


    .header__nav-list{
        gap: 0;
    }

    .main__data{
        text-wrap: balance;
        height: fit-content;
    }

    .main__titulo{
        font-size: 1.8rem;
        margin-top: 50px;
    }

    .main__subtitulo{
        font-size: medium;
    }
}
