@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 quienes somos ********* */
.btn-somos {
    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-somos:before,
.btn-somos: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;
}

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

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

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

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

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


/* ********************************* */
/* ********* Quienes Somos ********* */
#container-quienes-somos {
    padding-top: 100px;
    padding-inline: 10%;
    max-width: 100%;
    max-height: auto;
    background-color: #dfdddd;
    margin: auto;
}

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

.p-quienes-somos {
    padding-top: 30px;
    font-size: clamp(1rem, 3vw, 2rem);
    line-height: clamp(1.5rem, 4.5vw, 3rem);
    font-weight: 600;
    text-align: justify;
    text-shadow: 1px 1px 0px #00C4A6;
}

.p-quienes-somos span {
    color: #21d5fa;
    animation: colores 10s infinite;
}

@keyframes colores {
    0%   {color: #333f85;}
    20%  {color: #c003fa;}
    40%  {color: #f50202;}
    60%  {color: #021bfa;}
    80%  {color: #ff7860;}
    100% {color: #333f85;}
}

/* ******************************** */
/* ********** Sucursales ********** */
#container-sucursales {
    padding-top: 100px;
    max-width: 100%;
    max-height: auto;
    background-color: #dfdddd;
}

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

.sucursales-maps {
    width: 80%;
    display: flex;
    justify-content: center;
    /* flex-wrap: wrap; */

    margin: auto;
    gap: 10px;
    padding: 60px 0;
}

.indiv-sucursal {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content:space-evenly;
    margin: auto;
    overflow: hidden;
}

.indiv-sucursal h3 {
    font-size: 1.4rem;
    /* color: #ff3c78; */
    color: #000000;
    padding: 4px;
    margin: 0 auto 20px;
    text-shadow: 0 0 10px #00f5d0,
                 0 0 30px #00f5d0;
}


/* ************************************* */
/* ********* Preguntas Frecuentes ****** */
.questions {
    text-align: center;
    padding: 100px 1% 60px;

    max-width: 100%;
    max-height: auto;
    background-color: #dfdddd;
    margin: auto;
}

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

.questions_paragraph {
    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;
}

.questions_container {
    display: grid;
    gap: 2em;
    padding-top: 30px;
    padding-bottom: 40px;
    padding-inline: 10%;
}

.questions_padding {
    padding: 0;
    transition: padding .5s;
    border: 2px solid #00a39e;
    border-radius: 6px;

    /* background: linear-gradient(to right, #00f5d0, #06748a, #21d5fa, #015566); */
}

.questions_padding--add {
    padding-bottom: 30px;
}

.questions_answer {
    padding: 0 30px 0;
    overflow: hidden;
}

.questions_title {
    text-align: left;
    display: flex;
    font-size: 20px;
    font-size: clamp(0.8rem, 3vw, 1.25rem);
    padding: 20px 0 20px;
    cursor: pointer;
    color: #000000;
    justify-content: space-between;
}

.questions_arrow {
    border-radius: 50%;
    background-color: #00a39e;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-end;
    margin-left: 10px;
    transition:  transform .3s;
}

.questions_arrow--rotate {
    transform: rotate(180deg);
}

.questions_show {
    text-align: justify;
    height: 0;
    font-size: clamp(0.65rem, 3vw, 1rem);
    transition: height 0.5s;
}

.questions_show a {
    color: #00a39e;
    font-weight: 600;
}

.questions_img {
    display: block;
}

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

    margin: 20px auto;

    /* background-color: #000000; */
    background: linear-gradient(to right, #000000, #686868, #3a3a3a, #686868, #000000);
    color: #00f5d0;
    border-radius: 4px;
    font-weight: normal;
    font-size: clamp(1rem, 3vw, 1.6rem);
    
    width: 80%;
    height: 80px;
}

.questions_copy {
    width: 70%;
    margin: 0 auto;
    margin-bottom: 30px;
    font-size: clamp(0.9rem, 3vw, 1.4rem);
    text-shadow: 2px 1px 10px #00C4A6;
}

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

    transition: 0.5s;
}

.btn-aprende:before,
.btn-aprende: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;
}

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

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

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

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

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


/* ************************** */
/*     Texto de formulario    */
/* ************************** */
#section-form {
    padding-top: 100px;
    max-width: 100%;
    background-image: url(/img/fondo-peluqueria.jpg);
    background-size: 100vw 100vh;
    background-attachment: fixed;
    padding-bottom: 16px;
}

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

form {
    max-width: 30%;
    margin: auto;
    background-color: rgba(9, 72, 110, 0.8);
    padding: 20px 20px 10px 20px;
    box-sizing: border-box;
    margin-top: 50px;
    margin-bottom: 200px;
    border-radius: 5px;
}

form p {
    color: #fff;
    text-align: center;
    margin: 0;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

input.nombre,
input.apellido {
    text-transform: capitalize;
}

input.email {
    text-transform: lowercase;
}

input, textarea {
    width: 100%;
    margin-bottom: 20px;
    padding: 8px;
    box-sizing: border-box;

    font-size: 16px;

    border-radius: 12px;
    border: none;
    border-bottom: 1px solid #00f5d0;
    color: #ffffff;
    background-color: transparent;
}

/* Agregue */
input:focus,
textarea:focus {
    outline: none;
}

textarea {
    min-height: 120px;
    max-height: 120px;
    min-width: 100%;
    max-width: 100%;
}

::placeholder {
    color: #c3c4c3;
}

.aceptar {
    display: flex;
    flex-direction: row;
}

#check-priv {
    width: 18px;
    height: 18px;
    margin: 4px 10px 16px 0px;
    accent-color: #00f5d0;   /* color del check en estado tilde */
}

.text-priv {
    color: #fff;
    font-size: clamp(0.938rem, 3vw, 1.125rem);
}

.botones {
    display: flex;
    gap: 1rem;
}

.btn {
    cursor: pointer;
    font-size: clamp(0.8rem, 2vw + 0.25rem, 1.125rem);
    text-align: center;
    color: #ffffff;
    background-color: #015161;
    border-radius: 5px;
    border: 1px solid #00f5d0;
    margin-bottom: 14px;
    padding: 4px;
    
    transition: 0.4s;
}

.btn:hover {
    color: #00f5d0;
    background: transparent;
}


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

    .sucursales-maps {
        width: 90%;
    }
}


/*************************************/
/* ***** Media Query con 952px ***** */
@media (max-width: 952px) {
    form {
        max-width: 50%;
    }
}



/*************************************/
/* ***** Media Query con 858px ***** */
/*************************************/
@media (max-width: 858px) {
    form {
        max-width: 60%;
    }

    .sucursales-maps {
        max-width: 96%;
        flex-wrap: wrap;
        gap: 10px;
    }
}



/*************************************/
/* ***** Media Query con 542px ***** */
/*************************************/
@media (max-width: 542px) {
    .btn-somos {
        padding: 6px 20px;
    }

    .title-quienes-somos,
    .title-sucursales {
        width: 56%;
    }

    .questions {
        padding-inline: 0.8%;
    }

    .questions_container {
        padding-inline: 6%;
    }

    .subtitle {
        width: 56%;
    }

    .questions_paragraph {
        width: 86%;
    }
    
    .subtitle2 {
        width: 86%;
    }

    .questions_copy {
        width: 86%;
    }

    .btn-aprende {
        padding: 6px 20px;
    }

    .titulo-form {
        width: 56%;
    }
}



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

    form {
        max-width: 86%;
    }

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