*, *::before, *::after{ 
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body{
    position: relative;
    margin: 0;
    padding: 0;
    background-size: cover;
    background-attachment: fixed;
}

/* GENERAL*/

h1 {
     font-size: 3rem;    
     color: rgba(123, 0, 119, 1);
     font-family: 'Comfortaa', cursive;
     font-family: 'Lexend Deca', sans-serif;
}

.h1inicio { font-size: 0.5rem; }

h2 { 
    font-size: 2.5rem; 
    color: rgba(123, 0, 119, 1);
    font-family: 'Comfortaa', cursive;
    font-family: 'Lexend Deca', sans-serif;
}

h3 { 
    font-size: 2rem;
    color: rgb(180, 137, 180);
    font-family: 'Comfortaa', cursive;
    font-family: 'Lexend Deca', sans-serif;
}

p { font-size: 1.25em;}

/* MENU HAMBURGUESA & BARRA MENU*/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem 2rem;
    background: linear-gradient(rgb(255, 255, 255), rgb(255, 255, 255), rgb(213, 226, 230));
    color: #fff;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 50px;
    z-index: 1000;
}

.logomenu{
    width: 150px;
    transition: transform 1s;
    margin-top: 5px;
}
.logomenu:hover { transform: scale(1.2); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem; /* compacto */
}

.nav-links a {
    background-color: rgba(255, 255, 255, 0);
    padding: 10px;
    border-radius: 50px;
    text-decoration: none;
    color: rgb(95, 95, 95);
    transition: all .5s;
}

.nav-links a:hover {
    color: rgb(123, 0, 119);
 }

.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: rgba(123, 0, 119, 1);
    cursor: pointer;
}

/* Responsive (panel lateral móvil) */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 34px;                 /* debajo de la barra */
    right: 0;
    background: rgb(255, 255, 255);
    flex-direction: column;
    align-items: flex-end;
    width: 80vw;
    height: calc(100vh - 34px);/* <- altura exacta del panel */
    max-height: calc(100vh - 34px);
    padding: 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));

    /* Scroll interno del panel */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* scroll suave iOS */
    overscroll-behavior: contain;      /* evita arrastrar el fondo */

    /* Transición */
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav-links.show {
    transform: translateX(0);
    opacity: 1;
  }
  .hamburger { display: block; }
  .nav-links li a {
    padding: 10px;
    text-decoration: none;
  }
}

/* ====== MENÚ DESPLEGABLE: base ====== */
.navbar .nav-links { 
  align-items: flex-start;
  flex-wrap: nowrap;
}
.navbar .nav-links > li {
  display: flex;
  flex-direction: column;    /* <a> arriba, .submenu debajo */
  position: static;          /* en flujo */
}

/* ---------- Submenús con ANIMACIÓN suave ---------- */
/* Base: cerrado no ocupa ancho => NO ensancha el <li> */
.submenu {
  --submenu-max: 0px;
  --submenu-pad: 0;

  max-height: var(--submenu-max);
  width: 0;                 /* <<< clave */
  min-width: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;

  background: transparent;
  border-radius: 0;
  margin-top: .25rem;
  padding: var(--submenu-pad);
  box-shadow: none;
  z-index: auto;

  transition:
    max-height .35s ease,
    opacity .25s ease,
    transform .25s ease,
    padding .25s ease,
    width .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

.submenu li a {
  display: block;
  padding: .6rem 1rem;
  text-decoration: none;
  color: rgb(95, 95, 95);
  background: transparent;
  white-space: nowrap;
}
.submenu li a:hover { background: rgba(123, 0, 119, 0.08); }

/* Segundo nivel */
.submenu.submenu-level2 {
  margin-left: 1rem;
  background: transparent;
  box-shadow: none;
  width: 0;              /* cerrado sin ancho */
  min-width: 0;
}

/* Estados ABIERTOS (móvil: por clase .open) */
.has-submenu.open > .submenu,
.has-submenu.open > .submenu.submenu-level2 {
  --submenu-max: 1000px;
  --submenu-pad: .5rem 0;
  max-height: var(--submenu-max);
  width: 100%;           /* móvil: ocupa ancho contenedor */
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Desktop (por hover) */
@media (min-width: 769px) {
  .has-submenu:hover > .submenu {
    --submenu-max: 1000px;
    --submenu-pad: .5rem 0;
    max-height: var(--submenu-max);
    width: 240px;          /* abierto: ancho fijo elegante */
    min-width: 240px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
  }
  .submenu > li.has-submenu:hover > .submenu {
    --submenu-max: 1000px;
    --submenu-pad: .4rem 0;
    max-height: var(--submenu-max);
    width: 220px;          /* segundo nivel */
    min-width: 220px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: none;
  }
}

/* Indicadores (flechitas) */
.has-submenu > a::after { content: " ▸"; font-size: .9em; }
.has-submenu.open > a::after { content: " ▾"; }
@media (min-width: 769px) {
  .has-submenu > a::after { content: " ▾"; }
}

/* ===== Flecha alineada a la derecha dentro de su contenedor ===== */
.navbar .nav-links > li.has-submenu > a {
  position: relative;          /* ancla para la flecha */
  display: inline-flex;
  align-items: center;
  padding-right: 28px;         /* espacio para la flecha */
}
.navbar .nav-links > li.has-submenu > a::after {
  position: absolute;
  right: 10px;                 /* pegada a la derecha del botón */
  top: 50%;
  transform: translateY(-50%);
  font-size: .9em;
}

.submenu > li.has-submenu > a {
  position: relative;
  padding-right: 26px;         /* espacio para flecha en submenú */
}
.submenu > li.has-submenu > a::after {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .85em;
}

/* ===== MÓVIL (≤768px) ===== */
@media (max-width: 768px) {
  .navbar .nav-links { align-items: stretch; }
  .submenu { width: 100%; min-width: 0; background: transparent; margin-top: .25rem; }
  .submenu.submenu-level2 { margin-left: 1rem; background: transparent; }
}

/* ===== DESKTOP (≥769px): empuja al siguiente ítem sin crecer el navbar ===== */
@media (min-width: 769px) {
  .navbar {
    height: 70px;
    overflow: visible;
    align-items: flex-start;
  }

  .navbar .nav-links {
    flex-wrap: wrap;         /* el siguiente elemento baja */
    align-items: flex-start;
    gap: 0.5rem;
  }

  .navbar .nav-links > li {
    display: flex;
    flex-direction: column;
    position: static;
    width: auto;             /* solo lo necesario */
  }
}

/* ====== SOLO PC: primero ensancha el botón padre y luego cae el submenú ====== */
@media (min-width: 769px){
  /* Ensanchado del contenedor del padre (texto + flecha) */
  .navbar .nav-links > li.has-submenu > a{
    transition: color .25s ease, padding-right 5.18s ease; /* velocidad ensanchado */
  }
  .navbar .nav-links > li.has-submenu:hover > a{
    padding-right: 44px;  /* cuánto se ensancha antes de la caída */
  }

  /* Retraso en la apertura del submenú para que ocurra después */
  .submenu{
    transition:
      max-height .30s ease .12s,
      opacity .25s ease .12s,
      transform .25s ease .12s,
      padding .25s ease .12s,
      width .25s ease .12s,
      box-shadow .25s ease .12s,
      background .25s ease .12s;
  }
}

/* Accesibilidad: reduce motion */
@media (prefers-reduced-motion: reduce) {
  .submenu { transition: none; }
}


/* BOTON LLAMAR */


.btn-subir {
    position: fixed;
    height: 45px;
    width: 45px;
    line-height: 55px;
    bottom: 1rem;
    right: 1rem;
    text-align: center;
    font-size: 30px;
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}
.btn-subir:hover{
    text-decoration: none;
    background-color: rgba(255, 255, 3, 0.281);
    color:  #ffffff;
    box-shadow: 0 0 100px  rgba(123, 0, 119, 1), 0 0 100px rgba(123, 0, 119, 1), 0 0 100px rgba(123, 0, 119, 1);
}

.btn-subir img{
    width: 45px;
    height: 45px;

}



/* BOTON WHASTAPP */

.btnwa{
    position: fixed;
    height: 45px;
    width: 45px;
    line-height: 55px;
    bottom: 5rem;
    right: 1rem;
    text-align: center;
    font-size: 30px;
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.btnwa:hover{
    text-decoration: none;
    background-color: rgba(0, 255, 26, 0.3);
    color:  #ffffff;
    box-shadow: 0 0 100px rgb(0, 255, 26), 0 0 100px rgb(0, 255, 26), 0 0 100px rgb(0, 255, 26);
}

.btnwa .imgwa{
    width: 45px;
    height: 45px;
}

/* BOTON LLAMAR */

.boton-llamar{
    border: 1px solid rgb(255,255,255);
    background: rgba(123, 0, 119, 1);
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    cursor: pointer;
    width: auto;
    z-index: 999;
    border-radius: 30px;
    padding: 10px;
}
.boton-llamar a{
    border: 50;
    text-decoration: none;
    border-color: white;
    font-weight: 700;
    color: rgb(255, 255, 255);
    padding: 9px 25px;
    border: white;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
 }

.boton-llamar a:hover {
    background-color: white;
    color:  rgb(0, 255, 26);
    box-shadow: 0 0 100px rgb(0, 255, 26), 0 0 100px rgb(0, 255, 26), 0 0 100px rgb(0, 255, 26);
 }

/* CONTAINER PARTICULAS */

#particles-js {
    background: linear-gradient(#ffffff, #ffffff, #ffffff, #d3d3d3);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: -1;
}

/* BODY*/

/* BODY*/

/* BODY*/

/* BODY*/

/* BODY*/

/* BODY*/

/* BODY*/


/* PORTADA */

.portada {
    display: flex;
    flex-direction: column;
    height: 93vh;
    min-width: 100%;
    justify-content: center;
    align-items: center;
    background-color: none;
}

.ctadiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pcta {
    text-align: center;
    font-size: 1em;
    margin-top: -20px;
    color:rgb(47, 47, 47);
    
}

.slider {
    position: relative;
    width: 100%;
    background: none;
    z-index: 888;
}

.myslider{
    height: 100vh;
    display: none;
    overflow: hidden;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    font-size: 50px;
    padding: 15px;
    cursor: pointer;
    color: rgba(225, 225, 225, 1);
    transition: 0.1s;
    user-select: none;
}

.prev:hover, .next:hover {
    color: rgba(123, 0, 119, 1);
}

.next{
    right: 0;
}

.dotsbox{
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    bottom: 70px;
    cursor: pointer;
}

.dot{
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 3px solid rgb(236, 188, 230);
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
}

.dotsbox{
    text-align: center;
}

.active, .dot:hover{
	border-color: rgba(123, 0, 119, 1);
}

.fade{
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: 0.1;}
    to {opacity: 0.5;}
}

@keyframes fade {
    from {opacity: 0.1}
    to {opacity: 0.5}
}

.txt {
    display: flex;
    max-width: 60vw;
    flex-direction: column;
    position: absolute;
    text-align: center;
    align-items: center;
    color:  rgb(136, 136, 136);
    background: radial-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0), rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
    letter-spacing: 0px;
    top: 0px;
    left: 15%;
    -webkit-animation-name: posi;
    -webkit-animation-duration: 2s;
    animation-name: posi;
    animation-duration: 2s;
    z-index: 1;
    padding: 100px;
}

#slideodontodologia{
    color:  rgb(78, 78, 78);
    background: radial-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.076), rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));

}

.txt h2 {
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 5rem;
    margin-bottom: 0px;
}

.txt p {
    font-size: 2rem;
}

.txt .btnblanco {
    display: flex;
    flex: content;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    padding: 9px 25px;
    background: rgba(123, 0, 119, 1);
    color: rgb(255, 255, 255);
    border-radius: 50px;
    transition: 1s;
    margin-bottom: 15px;
    max-width: 300px;
    height: 50px;
}

.txt .btnblanco:hover {
    text-decoration: none;
    background-color: rgb(255, 255, 255);
    color: rgb(123, 0, 119);
    box-shadow: 0 0 100px rgb(123, 0, 119), 0 0 100px rgb(123, 0, 119), 0 0 100px rgb(123, 0, 119);
}

@-webkit-keyframes posi {
    from {left:25%}
    to {left: 15%}
}

@keyframes posi {
    from {left:25%}
    to {left: 15%}
}

.imgslider{
    min-width: auto;
    height: 100vh;
    object-fit: cover; /* Evita la distorsión y cubre el contenedor */
    transform: scale(1.3, 1.3);
    -webkit-animation-name: zoomin;
    -webkit-animation-duration: 40s;
    animation-name: zoomin;
    animation-duration: 40s;
}

@-webkit-keyframes zoomin {
    from {transform: scale(1, 1)}
    to {translate: scale(1.5, 1.5)}
}


@keyframes zoomin {
    from {transform: scale(1, 1)}
    to {translate: scale(1.5, 1.5)}
}

@media screen and (max-width: 800px) {
    .myslider{
        height: 500px;
    }
    .txt{
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -webkit-animation-name: posi2;
        -webkit-animation-duration: 2s;
        animation-name: posi2;
        animation-duration: 2s;
    }

        
    .txt h2 {
        font-size: 3rem;
    }

    .txt p {
        font-size: 1.5rem;
    }

    @-webkit-keyframes posi2 {
        from {top: 35%}
        to {top: 50%}
    }
    @keyframes posi2 {
        from {top: 35%}
        to {top: 50%}
    }
}



/* CONTAINER 3*/

.solid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 1));
    z-index: 2;
    min-height: 100vh;
    padding: 0px 0px 50px 0px;
}

.solidtext {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px 30px 50px 30px;
}

.solid h2{
    display: flex;
    flex-direction: column;
    text-align: center;
    color: rgba(123, 0, 119, 1);
    margin-top: 100px;
}

.solid p {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 1.1rem;
    color: rgb(136, 136, 136);
    margin: 25px 25px 50px 25px;
    text-align: justify;

}

.solidtext .btnblanco {
    display: flex;
    flex: content;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    padding: 9px 25px;
    background: rgba(123, 0, 119, 1);
    color: rgb(255, 255, 255);
    border-radius: 50px;
    transition: 1s;
    margin-bottom: 25px;
    max-width: 500px;
}

.solidtext .btnblanco:hover {
    text-decoration: none;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 255, 26);
    box-shadow: 0 0 100px rgb(0, 255, 26), 0 0 100px rgb(0, 255, 26), 0 0 100px rgb(0, 255, 26);
}

.solidimg{
    display: none;
}

.equipo,
.personal
.carta-personal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.equipo h2 {
    text-align: center;
    margin: 50px 20px 0 20px;
}

.nombre-equipo {
    text-align: center;
    margin: 0 20px;
}

.imgequipo {
    object-fit: cover;
    width: 200px;
}

.personal-texto {
    color: rgb(77, 77, 77);
}

.personal-texto ul {
    list-style: none;
    margin: 0px 50px 50px 0;
    text-align: justify;
    display: flex;
    flex-direction: column;
    align-items: start;
}
.personal-texto ul li {
    margin-top: 10px;
}

@media screen and (min-width: 900px) {

    .solid {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .solidtext {
        margin: 50px 100px 50px 50px;
    }

    .solid p {
        margin: 0px 0px 50px 0px;
    }

    
    .solidimg{
        display: flex;
        max-width: 40vw;
        margin-left: 100px;
    }

    .personal {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100vw;
        margin: 0;
        padding: 0;
    }
    
    .personal:nth-child(3) {
        display: flex;
        flex-direction: row-reverse;
    }
    .personal:nth-child(3),
    .personal:last-child {
        background: linear-gradient(rgb(255, 255, 255), rgba(0,0,0,0));
    }

}

/* CONTAINER 4 SERVICIOS*/


.solido {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: justify;
    padding: 50px 80px 50px 80px;
    background: linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4));
}

.solido p {
    color: rgb(107, 107, 107);
    margin: 0px 0px 50px 0px;
}

.solido h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


@media screen and (min-width: 900px) {
    .solido {
        padding: 50px 200px 50px 200px;
    }
}



/* PREGUNTAS */

.preguntas {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0px 0px 100px 0px;
    background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(225, 225, 225, 0.1), rgb(255, 255, 255));
}

.preguntas h2 {
    text-align: center;
    margin: 100px 80px 50px 80px;
}

.ppreguntas {
    text-align: justify;
    margin: 15px;
}

details {
    background: rgba(123, 0, 119, 0.4);
    padding: 15px;
    border-radius: 30px;
    margin: 8px 25px 8px 25px;
    padding: 25px;
    cursor: pointer;
    width: 80%;
}

details:hover {
    background: rgb(123, 0, 119);
}

details[open] {
    background: rgb(123, 0, 119);
}

summary{
    font-size: 1.5em;
}

summary::before{
    padding-right: 20px;
}


@media screen and (min-width: 900px) {
    .preguntas {
        padding: 50px 50px 50px 50px;
    }
}


/* CONTAINER 4 SERVICIOS*/

.servicios {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url(imagenes/sala-de-espera-clinica-romero-cantalejo.webp) no-repeat center center fixed;
    background-color: rgba(225, 225, 225, 0.5);
    background-size: cover;
    min-height: 100vh;
    margin: 0 0 0 0;    
}

#servestetica{
    background: url(imagenes/portadaimg2.png) no-repeat center center fixed;
}

.servicios::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5); /* Ajusta el valor de opacidad según tu preferencia */
}

#servdeg {
    background:  rgb(0, 0, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding-bottom: 100px;
}

.servicios h2{
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 50px;
    margin-right: 20px;
    margin-left: 20px;
    font-size: 2em;
    color:  rgba(123, 0, 119, 1);
}

.cajaslineas {
    display: flex;
    flex-direction: column;
}

.carta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.5em;
    width: 200px;
    height: 230px;
    margin: 20px;
    padding: 15px;
    background:  rgb(120, 73, 118);
    color:  rgba(225, 225, 225, 1);
    border-radius: 50px;
    text-decoration: none;
    transition: transform 1s ease-in-out;
    transform-style: preserve-3d; 
}

#cartactiva,.carta:hover {
    transition: transform 0.4s ease-in-out;
    transform: scale(1.2);
    background:  rgba(123, 0, 119, 1);
    box-shadow: 0 0 0px rgba(15, 15, 15, 0.3), 0 0 5px rgba(15, 15, 15, 0.1), 0 0 50px rgba(15, 15, 15, 0.3);
    color:  rgba(255, 255, 255, 1);
}

#carriba {
    margin-bottom: 150px;
}

.imgserv {
    width: 150px;
    height: 150px;
}

@media screen and (min-width: 900px) {
    .cajaslineas {
        display: flex;
        flex-direction: row;
    }
}

/* CONTAINER 5 - PORTFOLIO*/

.ventajas {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    background: rgb(255, 255, 255);
    color: rgba(0, 0, 0, 1);
    margin: 0;
    padding: 80px;
    z-index: 888;
}
/* Lista con bullets personalizados usando imagen */
ul.vent, ul#vent, #vent {
  list-style: none;       /* quitamos viñeta nativa */
  margin: 0;
  padding: 0;
}

ul.vent li, ul#vent li, #vent li {
  position: relative;
  display: block;         /* mejor que flex para alinear la viñeta */
  margin: 0;
  padding-left: 2rem;     /* espacio para el icono */
}

ul.vent.icon-tick li::before,
ul#vent.icon-tick li::before,
#vent.icon-tick li::before,
ul#vent li::before,      /* soporte si no pones la clase icon-tick */
#vent li::before,
ul.vent li::before {
  content: "";
  position: absolute;
  left: 0.8em;
  top: 0;             /* ajusta vertical si lo ves descentrado */
  width: 1.1rem;
  height: 1.1rem;
  background: url("imagenes/tick.png") no-repeat center / contain;
}

  .ventajas ul.vent.icon-tick li {
    margin-bottom: 30px;
  }

@media screen and (min-width: 900px) {
    .ventajas {
        display: flex;
        flex-direction: row;
    }

    .ventajas ul.vent.icon-tick li {
        margin-bottom: 0px;
        margin-right: 50px;
        margin-left: 50px;
    }
}

/* CONTAINER 5 - CONTACTO FORMULARIO*/

#contacto,.contacto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px;
    z-index: 2;
    padding: 100px;
    min-height: 100vh;
}

.h1contacto {
    margin-top: 150px;
}

.contacto h2 {
    display: flex;
    flex-direction: column;
    text-align: center;
    color: rgba(123, 0, 119, 1);
    font-size: 2em;
}

.cartamail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background:  linear-gradient(rgb(255, 255, 255)10%, rgb(253, 250, 253) 80%, rgb(188, 163, 186));
    backdrop-filter: blur(65px);
    transition: all 0.3s ease 0s;
    border-radius: 40px;
    padding: 25px;
    max-width: 300px;
    z-index: 555;
}

.cartamail:hover{
    background: rgb(180, 180, 180);    
    background:  linear-gradient(rgb(253, 252, 253)10%, rgb(255, 202, 254) 80%, rgb(249, 163, 245));
}

.cartamail:hover .formu{
    background: rgb(255, 255, 255);
}

.cartamail:hover #formu{
    background: rgb(255, 255, 255);
}

.cartamail:hover p{
    color: rgb(90, 42, 89);
}

.cartamail:hover .tellamamos {
    color: rgba(123, 0, 119, 1);
}


.cartamail:hover .btn-enviar {
    background:  rgba(123, 0, 119, 1);
}


.cartamail p {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 1.5rem;
    color: rgb(179, 179, 179);
    transition: all 0.3s ease 0s;
}

.cartamail .tellamamos {
    color: rgb(108, 108, 108);
    transition: all 0.3s ease 0s;
}

.cartamail .formu{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(0, 0, 0, 1);
    margin-top: 5px;
    margin-bottom: 10px;
    width: 190px;
    height: 25px;
    border: none;
    border-radius: 40px;
    font-weight: 700px bold;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease 0s;
}

.cartamail #formu {
    background: rgb(142, 142, 142);
    font-weight: 700px bold;
}

.cartamail .btn-enviar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    margin-bottom: 10px;
    width: 190px;
    height: 30px;
    border: none;
    border-radius: 40px;
    background:  rgba(123, 0, 119, 1);
    transition: all 0.3s ease 0s;
    font-weight: 700px bold;
    color: rgb(255, 255, 255);
}

.cartamail .btn-enviar-contacto {
    background:  rgba(255, 255, 0, 0.3);
}

.cartamail .btn-enviar:hover {
    box-shadow: 0 0 20px rgba(123, 0, 119, 1), 0 0 1px rgba(123, 0, 119, 1), 0 0 5px rgba(123, 0, 119, 1);
    color: rgb(147, 147, 147);
}

@media screen and (min-width: 900px) {

    .contacto {
        display: flex;
        flex-direction: row-reverse;
        height: 100vh;
    }

    #contacto{
        display: flex;
        flex-direction: row;
    }
    
    #h1serv{
        margin-bottom: 500px;
    }

    .cartamail {
        margin: 100px;
    }
}

.h1equipo { 
    margin: 50px 0 0 0;
}

/* CONTAINER 5 - HORARIO*/

.horario, .ubicacion {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hora {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    margin: 0;
}

.hora ul {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    left: 0px;
}

.hora ul li {
    text-align: center;
}

.horario{
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: #7b007753;
    color: #7B0077;
}
.hora h2 {
    color: #7B0077;
}

.hora .tabla-h {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.hora button{
    border: 50;
    text-decoration: none;
    border-color: white;
    font-weight: 700;
    color: white;
    padding: 9px 25px;
    background: white;
    border: white;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.hora button a{
    text-decoration: none;
    color: #7B0077;
}

.hora button:hover {
    background-color: #ffffff;
    box-shadow: 0 0 100px #7B0077, 0 0 100px #7B0077, 0 0 100px #7B0077;
}

 .hora button:hover a {
    color: rgba(0, 255, 26, 1);
}

.ubicacion iframe {
    width: 80vw;
    height: 50vh;
}


@media screen and (min-width: 900px) {
    .horario {
        padding: 0;
        display: flex;
        flex-direction: row;
        justify-content: start;
        align-items: start;
    }
    .hora {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        background: rgb(127, 59, 125);
        color: rgb(255, 255, 255);
        width: 40vw;
        height: 100vh;

    }
    .ubicacion {
        height: 90vh;
        width: 60vw;
    }

    .hora h2,
    .ubicacion h2 {
        font-size: 50px;
    }
    .ubicacion h2 {
        margin: 0 0 5px 0;
    }
    .hora h2 {
        color: rgb(255, 255, 255);
        margin-bottom: 10px;
    }
    .ubicacion iframe {
        width: 50vw;
    }
    .dia {
        padding: 10px 20px 10px 0;
    }
    .hora button {
        margin-top: 20px;
    }

}

/* FOOTER*/

footer {
    display: flex;
    flex-direction: column;
    background: rgba(123, 0, 119, 1);
    align-items: center;
    text-align: center;
}

footer a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

footer img {
    padding-top: 80px;
    width: 300px;
    filter: brightness(3);
}

.footer-texto {
    display: flex;
    flex-direction: column;
    padding-bottom: 30px;
}

.footer-links {
    display: flex;
    flex-direction: column-reverse;
}

.footer-pags {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-pags ul,
.footer-links ul,
.footer-legal ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.footer-pags ul,
.footer-links ul,
.footer-legal ul {
    text-align: center;
}

footer .coppyright {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(123, 0, 119, 1),rgb(30, 30, 30));
    color: yellow;
    height: 50px;
    width: 100vw;
}

footer .coppyright a {
    text-decoration: none;
    color: white;
    color: rgba(255, 255, 0, 1);
}
@media screen and (max-width: 768px) {
    footer .coppyright {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: start;
        color: yellow;
        height: 100px;
        width: 100vw;
    }
}

@media screen and (min-width: 768px) {
    footer .footer-texto {
        display: flex;
        flex-direction: row;
        align-items: center;     
        justify-content: center;
        padding: 0 0 20px 50px;
    }

    .footer-links {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    footer .coppyright {
        margin-bottom: 0px;
    }
}
