@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;
}
  
.presentacion p {
    width: 80%;
    height: 80%;
    color: white;
    text-shadow: 1px 1px 0px #000000, 
                 0px 0px 10px #02758b,
                 0px 0px 20px #02758b,
                 0px 0px 30px #02758b;
    font-weight: 600;
    font-size: 44px;
    margin: 10px auto 40px;
}

.renglon1 span {
    color: #00f5d0;
}


/* ************************************** */
/* ********** Boton promociones ********* */
.btn-promocion {
    display: inline-block;
    background: #00f5d0;
    color: #000000;
    text-decoration: none;
    padding: 8px 30px;
    border: 1px solid #015c6e;
    border-radius: 4px 22px 4px 4px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    font-size: clamp(1rem, 3vw, 1.5rem);

    transition: 0.5s;
}

.btn-promociones:before,
.btn-promociones:after {
    content: "";
    z-index: -1;
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    left: -50%;
    background-color: #00a39e;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.promocion {
    position: absolute;
    bottom: 0;
}

.btn-promociones:after {
    left: 100%;
}

.btn-promociones:hover {
    color: #000000;
}

.btn-promociones:hover:before {
    left: 0;
}

.btn-promociones:hover:after {
    left: 50%;
}


/* ********************************* */
/* ********** Promociones ********** */
#container-promociones {
    display: flex;
    justify-content: center;
    display: block;
    
    padding-top: 100px;
    padding-inline: 20px;
    width: 100%;
    height: auto;
    background-color: #dfdddd;
    margin: auto;
}

.title-promociones {
    display: flex;
    justify-content: center;
    align-items: center;
    /* text-align: center; */
    width: 34%;
    height: 60px;
    font-size: clamp(0.8rem, 3vw, 2rem);
    margin: auto;
    border-radius: 30px 8px;
    color: #000000;
    background-color: #00f5d0;
}

.subtitulo-promociones {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    margin: 20px auto;

    background-color: #000000;
    color: #00f5d0;
    border-radius: 4px;

    font-size: clamp(1rem, 3vw, 1.6rem);
    
    width: 80%;
    height: 80px;
}

.container-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    padding: 30px 5px;
    width: 100%;
    margin: 0 auto;
    border-radius: 4px;
    gap: 16px;
}

.card {
    position: relative;
    height: 300px;
    width: 400px;
    padding: 5px;
    margin-bottom: 5px;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.75);
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(128, 128, 128, 0.78);
    width: 100%;
    height: 0;
    transition: 0.5s ease;
    overflow: hidden;
}

.card:hover .overlay {
    height: 100%;
    cursor: pointer;
}

.overlay h2,
.overlay p,
.overlay h3  {
    /* color: #ffffff;
    font-weight: 300;
    font-size: 1.87rem; */
    position: absolute;
    top: 50%;
    /* left: 50%;
    transform: translate(-50%, -50%); */
}

.overlay h2 {
    color: #00f5d0;
    text-shadow: 1px 1px 0 #ffffff;  
    font-weight: 400;
    font-size: 1.87rem;
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.overlay p {
    width: 100%;
    text-align: center;
    color: #00f5d0;
    text-shadow: 1px 1px 0 #ffffff;
    font-style: italic; 
    font-weight: 600;
    font-size: 1.6rem;
    top: 50;
    left: 50%;
    transform: translate(-50%, -50%);
}

.overlay h3 {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.87rem;
    text-shadow: 1px 1px 0 #00f5d0;    
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/*************************/
/* ******* 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 542px ***** */
/*************************************/
@media (max-width: 542px) {
    .btn-promocion {
        padding: 6px 20px;
    }

    .title-promociones {
        width: 50%;
    }

}


/*************************************/
/* ***** 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;
    }
}
