@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: 'open sans', sans-serif;
}

/* html {
    scroll-behavior: smooth;
} */

nav {
    position: fixed;
    top: 0;
    left: 0;
    display: inline-block;
    transition: 0.7s;
    height: 90px;
    width: 100%;
    z-index: 100;

    color: #ffffff;
    background-color: #000000;
    border-bottom: 4px solid #00F5D0;
}

.enlace {
    position: absolute;
    height: 70px;
    padding: 6px;
    margin: 8px 0 0 16px;
  
    display: flex;
    align-items: center;
}

.logo {
    height: 56px;
    width: 56px;
    border-radius: 10px;
    margin-right: 10px;

    animation: animation-logo 6s ease-in-out infinite;
}

@keyframes animation-logo {
    0% {
        transform: scale(1)
    }
    60% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}

.names {
    display: flex;
    flex-direction: column;
}

.main-name {
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.6rem;
    transition: 0.5s;
} 

.main-namesito {
    margin-top: 4px;
    color: #00f5d0;
    font-size: 0.88rem;
}

.main-name:hover {
    text-shadow: 2px 2px #ffffff;
    color: #00f5d0;
    transition: 0.5s;
} 

nav ul {
    float: right;
    display: flex;
    align-items: center;
}

nav ul li {
    display: inline-block;
    line-height: 70px;
    margin: 6px;
}

nav ul li a {
    position: relative;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    /* text-transform: uppercase; */
    padding: 0 12px;
}

.fa-home {
    font-size: 1.125rem;
}

/* nuevo */
li a:after {
    content: "";
    position: absolute;
    /* background-color: #ff3c78; */
    background-color: #02fcfc;
    height: 4px;
    width: 0;
    left: 0;
    bottom: -10px;
    transition: 0.5s;
}

li a:hover {
    color: #00f5d0;
}

li a:focus {
    color: #00C4A6;
}

li a:hover:after {
    width: 100%;
}

.container-user {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 6px 20px;
    padding: 6px;
}

.fa-user,
.fa-cart-shopping {
    font-size: 1.125rem;
    color: #00f5d0;
    cursor: pointer;
}

.container-user a {
    position: relative; /* Hacer el contenedor relativo para posicionar el span */
}

.container-user a span {
    position: absolute; /* Posicionar relativo al ícono */
    top: -8px; /* Ajusta según el tamaño del ícono */
    right: -12px; /* Ajusta según la distancia del borde */
    color: white; 
    background-color: red;
    padding: 3px 6px; /* Tamaño del círculo */
    font-size: 10px; /* Tamaño del texto */
    border-radius: 50%; /* Convertirlo en un círculo */
    font-weight: bold; /* Hacer que el texto resalte */
    text-align: center;
}

.checkbtn {
    font-size: 34px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 20px;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
}


/**********************************************/
/* **** Zona central de la primer pagina **** */ 
#zona1{
    background: url(/img/fondo-peluqueria2.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    /* height: calc(100vh - 100px); */

    /* nuevo */
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;   /* lo puse, porque necesitaba el boton debajo */
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.presentacion {
    max-width: 100%;
    /* text-align: center; */

    padding: 16px;
    background-color: rgba(155, 156, 156, 0.8); /* Fondo semitransparente */
}
  


/* ********************************************* */
/*  Comienza el formulario de reserva de turnos  */
/* ********************************************* */
.title-h1, 
.title-h3 {
    margin: 6px 4px 8px;
}

.title-h1 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.title-h3 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
}

#mes-en-curso {
    color: #e0e2e2;
}

#calendar-container {
    padding: 10px;
    margin-bottom: 20px;
    overflow-x: auto; /* Para que sea responsivo */
}

table {
    border-collapse: collapse;
    width: 100%;
    max-width: 800px;
    font-size: 14px;
}

th, td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
    height: 10px;
}

th {
    background-color: #4CAF50;
    color: white;
    position: sticky;
    top: 0;
    left: 0;
}

td {
    padding: 4px;
}

td:nth-child(1) {
    background-color: #ffcccc; /* Fondo rojo para los domingos */
}

td .date-number {
    background-color: #e0f7ff; /* Fondo celeste para los números del mes */
    display: block;
    cursor: pointer;
}

.time-slot {
    display: block;
    margin: 2px 0;
    padding: 5px;
    border-radius: 5px;
}

.time-slot.available {
    cursor: pointer;
    background-color: #e0ffe0;
}

.time-slot.reserved {
    background-color: #ffcccc;
    cursor: not-allowed;
    color: #cc0000;
}

.time-slot:hover.available {
    background-color: #c0ffc0;
}

#appointment-details {
    margin: auto;
    /* overflow: hidden; */
}

form {
    display: flex;
    flex-direction: column;
    width: 340px;
    padding: 6px;
}

label {
    margin-top: 10px;
    color: #02fcfc;
}
    
/*     #02fcfc;
    #00f5d0;

*/

input {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

button {
    font-size: 1rem;
    padding: 10px;
    margin-top: 20px;
    background-color: #45a049;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color:  #4caf50;
}



/* Estilos para el modal */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.4); 
}

.modal-content {
    /* #02fcfc;
    #00f5d0; */
    background-color: #c4f5f5;
    margin: 8% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 60%; 
}

.close {
    color: #929191;
    float: right;
    font-size: 30px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


/*************************/
/* ******* Footer ****** */
footer {
    background-color: #000807;
    color: #00f5d0;
    text-align: center;
    padding: 30px 0;
}

p.contac {
    font-size: 1.5rem;
    padding-bottom: 10px;
    text-shadow: 2px 2px #ffffff ;
}

footer .container {
    margin-bottom: 8px;
}

.mimail {
    font-size: 1rem;
    padding-bottom: 12px;
}

.mimail a {
    color: #ffffff;
}

.sociales {
    padding-bottom: 10px;
}

.sociales a {
    padding: 0 4px;
}

.linkedin, .github, .facebook, .whatsapp {
    width: 36px;
    height: 36px;
    border-radius: 50px;

    transition: 0.5s;
}

.linkedin:hover, .github:hover,
.facebook:hover, .whatsapp:hover {
    box-shadow: 1px 1px 14px 0 #abacaf, -1px -1px 14px 0 #abacaf;
}

a.disenador, a.terminos {
    margin-inline: 10px;
    display: inline-block;
    color: #00C4A6;
    font-size: clamp(0.625rem, 1vw + 0.25rem, 1rem);
}

a.disenador:hover, a.terminos:hover {
    color: #018a75
}

footer hr {
    width: 80%;
    margin: 16px auto;
    border: 0.1px solid #002b24;
}

footer .copyright {
    font-size: 1rem;
    font-stretch: ultra-expanded;
    color: #02fcfc;
}



/*************************************/
/* ***** Media Query con 1368px ***** */
@media (max-width: 1368px) {
    
}


/*************************************/
/* ***** Media Query con 1090px ***** */
@media (max-width: 1090px) {
    .logo {
        height: 50px;
        width: 50px;
    }
    
    .main-name {
        font-size: 1.3rem;
    }

    .main-namesito {
        font-size: 0.74rem;
    }

    .checkbtn {
        display: block;
        margin-top: 8px;
    }

    nav ul {
        position: fixed;
        width: 100%;
        height: 80vh;   /*  */
        background: rgba(44, 62, 80, 0.9);
        top: 90px;
        left: -100%;
        margin: 0;
        text-align: center;
        transition: all .5s;
        overflow-y: auto;

        display: block; /* agregue */
    }

    nav ul li {
        display: block;
        margin: 14px 0;
        line-height: 50px;
    }

    nav ul li a {
        font-size: 20px;
    }

    li a:hover, li a.active {
        background: none;
    }

    #check:checked ~ ul {
        left:0;
    }
}


/*************************************/
/* ***** Media Query con 490px ***** */
/*************************************/
@media (max-width: 490px) {
    .fa-bars {
        scale: 0.9;
    }

    .main-name {
        font-size: 1.1rem;
    }

    .main-namesito {
        font-size: 0.62rem;
    }

    /* ************************** */
    footer {
        padding: 30px 0;
    }
    
    p.contac {
        font-size: 1.6rem;
    }
    
    p.mimail {
        font-size: 0.9rem;
    }
    
    footer .copyright {
        font-size: 0.74rem;
        font-stretch: normal;
    }
}


/*************************************/
/* ***** Media Query con 430px ***** */
/*************************************/
@media (max-width: 430px) {
    .logo {
        height: 40px;
        width: 40px;
    }
}
