:root {
  --fuenteTituloCursiva: "Dancing Script", cursive;
  --fuenteTitulo: "PT Sans", sans-serif;
  --fuenteParrafos: "PT Serif", serif;
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  scroll-snap-type: y mandatory;
}

body {
  background-color: var(--primario);
  font-size: 1.8rem;
  line-height: 1.5;
}
body .fijar-body{
  overflow: hidden;
}

a{
  text-decoration: none;
}


.header {
  margin: 1% 3%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.inicio {
  width: 100%;
}

.carousel-inner {
  height: 600px;
}

.carousel-item {
  width: 100%;
  height: 800px;
}

.carousel-item img {
  object-fit: cover;
  margin: auto;
  width: 100%;
  height: auto;
  filter: opacity(0.5) drop-shadow(0 0 0 #ff8ab1);
  position: relative;
}

.prueba {
  position: absolute;
  top: 26%;
  left: 15%;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.titulo {
  margin-bottom: 30px;
  font-family: var(--fuenteTituloCursiva);
  font-weight: bold;
  font-size: 90px;
  color: #fc57a9;
}

.texto {
  margin-bottom: 50px;
  font-family: var(--fuenteTitulo);
  font-weight: normal;
  font-size: 25px;
}

.boton {
  margin: 0 auto;
  padding: 2% 5%;
  text-align: center;
  width: 40%;
  border: none;
  background-color: #fc57a9;
  color: white;
}

.boton:hover {
  cursor: pointer;
  background-color: white;
  color: #ff6ea1;
}

.flecha:hover {
  cursor: pointer;
}

.nombre {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: space-around;
  width: 500px;
}

.logo {
  margin-right: 3%;
}

h1 {
  display: inline-block;
  color: #ff6ea1;
  border-left: 2px solid lightpink;
  padding-left: 4%;
  width: 450px;
}

.redes {
  width: 200px;
}

.redes a {
  margin-left: 10%;
}

nav {
  background-color: #ff6ea1;
  display: flex;
  justify-content: center;
  gap: 5%;
}

.nav__a {
  padding: 0.5% 5%;
  text-decoration: none;
  color: white;
  cursor: pointer;
}

.nav__a:hover,
.nav__a--activo {
  background-color: white;
  color: #fc57a9;
}

.menu-hide,
.menu {
  display: none;
}

/*configuracion de las tarjetas de servicios */

.titulo_servicio {
  font-family: var(--fuenteTitulo);
  font-size: 30px;
}

.texto-servicio {
  margin-left: 10%;
  margin-right: 10%;
}
.contenido_tarjeta {
  display: flex;
  flex-direction: column;
  column-gap: 10px;
  justify-content: center;
  gap: 3%;
  background-color: #ffffff;
  height: 100%;
}

.title {
  text-align: center;
  font-size: 40px;
  color: #6a6a6a;
  margin-top: 100px;
  font-weight: 100;
  font-family: "Roboto", sans-serif;
}

.container {
  width: 100%;
  max-width: 1500px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
}
.container a{
  text-decoration: none;
  cursor: pointer;
}

/* .container::before {
  content: "";
  display: block;
  width: 80%;
  height: 3px;
  background-color: #fc57a9;
} */


#card-descripcion{
  font-size: 12px;
  margin: 0;
  color: black;
}
.container .card {
  width: 330px;
  height: 350px;
  border-radius: 5px;
  box-shadow: 0 30px 45px rgba(16, 16, 16, 0.1);
  overflow: hidden;
  margin: 20px;
  text-align: center;
  transition: all 0.4s;
  position: relative;
}

.container .card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 30px rgba(16, 16, 16, 0.5);
}

.container .card img {
  width: 330px;
  height: 220px;
}

.acordeon {
  display: flex;
  margin: 2% 10% 0 10%;
  gap: 2%;
  justify-content: space-evenly;
  align-items: center;
  width: auto;
  cursor: pointer;
}

#color {
  margin-bottom: 2% !important;
}

.rotate {
  background-color: aqua;
}

.acordeon h3 {
  font-size: 25px;
  font-weight: 500;
  color: #fc57a9;
}

.acordeon-line {
  display: block;
  width: 100%;
  flex: 2;
  height: 3px;
  background-color: #fc57a9;
}

.container .card h4 {
  font-weight: 500;
}

.container .card p {
  padding: 0 1rem;
  font-size: 16px;
  font-weight: 300;
}

.container .card label {
  font-weight: 700;
  font-size: 25px;
  color: #fc57a9;
}

.botonServicios {
  width: 30%;
}

.contenido_tarjeta h4{
  color: black;
}
.contenido_tarjeta .boton:hover {
  background-color: #ff95ba;
  color: white;
}

.about {
  padding: 3%;
  background-color: lightgray;
}

.about-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 3%;
}

.content-info {
  width: 40%;
}
.about-content h2 {
  display: flex;
  flex-direction: column;
  font-size: 60px;
  font-family: var(--primario);
  font-weight: 700;
}
.about-content label {
  font-family: var(--fuenteTituloCursiva);
  color: #ff6ea1;
  margin-left: -5%;
  margin-bottom: -5%;
}
.about-content p,
.grid-cards p {
  font-family: var(--fuenteParrafos);
  color: #6a6a6a;
  text-align: justify;
  margin-top: 2%;
}
.grid-cards h4{
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3%;
}

.grid-cards {
  display: flex;
  flex-direction: column;
  padding: 3%;
  align-items: center;
}

.grid-cards svg {
  padding: 7%;
  width: 100px;
  height: 100px;
  background-color: #ff6ea1;
  border-radius: 50%;
  margin-bottom: 5%;
}
.grid-cards h4,
.content-info h3 {
  font-size: 27px;
  font-weight: 600;
}


/*Galeria*/
.galeria{
  padding: 5rem;
}
.galeria h3{
  text-align: center;
}
.galeria-img {
  width: 100%;
  overflow: hidden;
  transition: all 0.7s;
}
.galeria-img img{
  width: 100%;
  margin: auto;
}
.galeria-img:hover{
  cursor: pointer;
  -webkit-transform:scale(0.95);transform:scale(0.95);
  filter: opacity(.75)
}
.galeria-imagenes{
  margin: 0;
  padding: 0;
  width: 100%;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}


.overlay{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;

  background-color: rgb(0 0 0 / .5);
}
.overlay-grid{
  display: flex;
  position: relative;
  top: 10%;
  width: 48%;
  height: auto;
}
.overlay-content{
  background-color: white;
  width: 80%;
  height: auto;
  position: relative;
}
.overlay-image{
  width: 100%;
}
.overlay-image img{
  width: 100%;
  margin: auto;
}

.overlay-header{
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 5%;
  padding: 4%;
  height: 25%;
  border-bottom: 0.2rem solid #888888;
}
.overlay-header h3{
  max-width: 50%;
  text-align: center;
  margin: 0;
}
.overlay-header span{
  font-weight: 400;
  font-family: var(--fuenteParrafos);
  font-size: 15px;
}


.overlay-info{
  position: absolute;
  height: 75%; 
}
.overlay-info p{
  padding: 5%;
  font-family: var(--fuenteParrafos);
  font-size: 15px;
  line-height: 1.8;
}

/* .overlay img{
  display: block; */
  /* max-width: 80rem; */
  /* width: 100%;
  height: 50rem; */
/* } */

.btn-cerrar{
  color: rgb(0, 0, 0);
  display: grid;
  position: relative;
  bottom: 63.5rem;
  left: 43.8rem;
  font-size: 3.2rem;
  place-items: center;
  font-weight: 700;
  transition: color 0.5s;
}

.btn-cerrar:hover{
  cursor: pointer;
  color: rgb(119, 119, 119);
}
/*Footer*/

.footer-content {
  background-color: rgb(59, 59, 59);
}
.footer-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer-header nav {
  background-color: rgb(59, 59, 59);
  border-bottom: 0.2rem solid #696969;
  width: 80%;
  display: flex;
  justify-content: center;
  gap: 7%;
  align-items: center;
}
.footer-nav a {
  background-color: rgb(59, 59, 59);
  text-decoration: none;
  color: #b3b3b3;
  font-weight: 600;
  font-size: 2rem;
  transition: all 0.6s;
  cursor: pointer;
}
.footer-header a:hover {
  color: white;
}
.footer-logo {
  margin-top: 1%;
  display: flex;
  align-items: center;
  position: relative;
}
.footer-logo h2 {
  display: inline-block;
  color: #ff6ea1;
  border-left: 2px solid lightpink;
  padding-left: 4%;
  width: 450px;
  margin-left: 5%;
  width: 20%;
  padding-left: 4%;
  
}
.footer-logo h1 {
  margin-left: 5%;
  width: 20%;
  padding-left: 4%;
}
.footer-info {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-around;
}
.footer-info p {
  color: white;
  text-align: center;
  margin-top: 4%;
}
.footer-redes {
  display: flex;
  gap: 10%;
  left: 31%;
}
/* Monitores Grandes */

@media (min-width: 1500px) {
  .carousel-inner {
    height: 800px;
  }
  .prueba {
    width: 30%;
  }
  .galeria-imagenes{
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 1000px) {
  .prueba {
    top: 20%;
    left: 10%;
    width: 85%;
  }
  .carousel-item img {
    height: 100%;
  }
  .galeria-imagenes{
    grid-template-columns: repeat(3, 1fr);
  }
  .overlay-grid{
    width: 82%;
  }
  .about-grid{
    grid-template-columns: repeat(2,1fr);
  }
  @media (max-width: 760px) {
    .header {
      margin: 1% 2%;
    }
    .logo {
      height: 40px;
    }
    .nombre {
      width: 100%;
    }
    .nombre h1 {
      font-size: medium;
      padding: 1%;
      padding-left: 3%;
      width: 100%;
    }
    .carousel button {
      display: none;
    }
    .carousel-inner {
      height: 400px;
    }
    .carousel-item {
      height: 400px;
    }
    .carousel-item img {
      height: 600px;
    }
    .prueba {
      width: 40%;
      top: 20%;
      left: 30%;
    }
    .titulo {
      margin-bottom: 30px;
      text-align: center;
      font-family: var(--fuenteTituloCursiva);
      font-weight: bold;
      font-size: 30px;
    }
    .texto {
      margin-bottom: 30px;
      text-align: center;
      font-family: var(--fuenteTitulo);
      font-weight: normal;
      font-size: 17px;
    }
    .boton {
      width: auto;
      justify-content: center;
    }
    .redes {
      display: none;
    }
    .menu {
      display: block;
      padding: 0.5%;
      border: 1px solid lightgray;
      border-radius: 10px;
      cursor: pointer;
    }
    .menu:hover {
      background-color: lightgray;
    }
    .menu-hide {
      display: none;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      background-color: #ff6ea1;
      width: 100%;
      padding: 0.5% 0;
    }
    .menu-hide ul {
      width: 100%;
      margin: 0;
      padding: 0;
    }
    .menu-hide li {
      list-style: none;
      width: 100%;
    }
    .nav_a-hide {
      width: 100%;
    }
    .menu-hide a {
      display: block;
      text-decoration: none;
      width: 100%;
      padding: 3% 0;
      font-size: larger;
    }
    nav {
      display: none;
    }
    .galeria-imagenes{
      grid-template-columns: repeat(2,1fr);
    }
    .overlay-grid{
      width: 88%;
      height: 55%;
    }
    .overlay-image img{
      height: 100%;
    }
    .overlay-info p{
      font-size: 12px;
    }
    .about-content{
      flex-direction: column;
    }
    .about-content h2{
      text-align: center;
    }
    .about-content p{
      margin-top: 5%;
    }
    .content-info{
      width: 80%;
      margin-top: 10%;
    }
    .about-grid{
      grid-template-columns: repeat(1,1fr);
      gap: 0%;
    }



  }

  @media (max-width: 500px) {
    .galeria-imagenes{
      grid-template-columns: repeat(1,1fr);
    }

    .prueba{
      top: 10%;
    }
    .footer-info{
      flex-direction: column;
    }

    .footer-redes{
      margin-right: 9%;
    }
  }
}
