*{
  margin: 0;
  padding: 0;
  font-family: Signika;
}

header{
  display: flex;
}

/* menu de hamburgesa */

.fondo{
  width: 100%;
}

.main-header{
  justify-content: flex-end;
}
.main-nav{
  position: fixed;
  display: flex;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  margin-left: -100%;
  transition: all .2s linear;
  background-color: rgba(0,0,0,.7);
  z-index: 100;
}  

.main-nav.show{
  margin-left: 0;
}

.nav-links{
  /* margin-top: 10%; */
  background-color: rgb(250,250,250);
  display: flex;
  font-family: cursive;
  flex-direction: column;
  width: 70%;
  height: 100%;
}

.centrar{
  height: 70vh;
  margin-top: 20vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
}

.centrar li{
  list-style: none;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.link-item{
  margin-top: 2rem;
  color: #410099;
  text-decoration: none;
  font-weight: bold;
  position: relative;
}

.link-item::after {
  position: absolute;
  content: "";
  background-color: black;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 3px;
  transition: 0.3s ease all;
}

.link-item:hover::after {
  width: 100%;
}

.button-menu{
  z-index: 200;
  width: 40px;
  height: 40px;
  margin: 8px;
  border: none;
  display: flex;
  background: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.button-menu span{
  width: 37px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background:#410099;
  border-radius: 3px;
  transform-origin: 4px 0px;
  transition: all .2s linear;
}

.button-menu.close span {
  opacity: 1;
  transform: rotate(45deg) translate(0px, 0px);
  background:white;
}

.button-menu.close span:nth-child(2){
  transform: rotate(-45deg) translate(-8px, 5px);
}

.button-menu.close span:nth-child(3){
  display: none;
}

.logo{
  display: none;
}

.icons{
  display: flex;
  flex-direction: row;
  align-self: center;
  height: 30vh;
}

.icons img{
  width: 48px;
  padding: 5px;
}


/* acomodar el section */
.section-mayor{
  height: 85vh;
  width: 100%;
  display: flex;
  flex-direction: column;
}

section div{
  width: 100%;
  flex-grow: 1;
  object-fit: cover;
  transition: .5s ease;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Decoracion de cada servio individual */

.grow-1{
  background-image: linear-gradient(
  to bottom,
  rgba(0, 0, 0, 0.9),
  rgba(0, 0, 0, 0.9)
), url("IMG/1.jpg");
}
.grow-2{
  background-image: linear-gradient(
  to bottom,
  rgba(0, 0, 0, 0.9),
  rgba(0, 0, 0, 0.9)
), url("IMG/2.jpg");
}
.grow-3{
  background-image: linear-gradient(
  to bottom,
  rgba(0, 0, 0, 0.9),
  rgba(0, 0, 0, 0.9)
), url("IMG/1.jpg");
}

/* estilo del contenedor que se hara grande */
.growing-1{
  background-image: linear-gradient(
  to bottom,
  rgba(0, 0, 0, 0.7),
  rgba(0, 0, 0, 0.7)
), url("IMG/1.jpg");
  width: 100%;
  filter: contrast(120%);
  display: flex;
}

.growing-2{
  background-image: linear-gradient(
  to bottom,
  rgba(0, 0, 0, 0.7),
  rgba(0, 0, 0, 0.7)
), url("IMG/2.jpg");
  width: 100%;
  filter: contrast(120%);
  display: flex;
}

.growing-3{
  background-image: linear-gradient(
  to bottom,
  rgba(0, 0, 0, 0.7),
  rgba(0, 0, 0, 0.7)
), url("IMG/3.jpg");
  width: 100%;
  filter: contrast(120%);
  display: flex;
}


/* inforcion de servicio */
.info-small-1{
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 80%;
  width: 100%;
}

.info-small-2{
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 80%;
  width: 100%;
}

.info-small-3{
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 80%;
  width: 100%;
}

.info-big-1{
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-self: center;
  padding: 5%;
  width: 90%;
}

.info-big-2{
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-self: center;
  padding: 5%;
  width: 90%;
}

.info-big-3{
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-self: center;
  padding: 5%;
  width: 90%;
}

section a{
  display: none;
  /* margin-top: 30px; */
  }

  section .h1{
    height: 10%;
    width: 80%;
    z-index: 20;
    color: white;
    font-size: x-large;
    margin-left: 60px;
  }
  
  section .p{
    display: none;
  }
  
  .info-big-1 a{
    width: 70%;
    border: 3px solid white; 
    text-align: center;
    font-size: medium;
    padding: 5px;
    text-decoration: none;
    color: white;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    display: block;
  }
  
  .info-big-2 a{
    width: 70%;
    border: 3px solid white; 
    text-align: center;
    font-size: medium;
    padding: 5px;
    text-decoration: none;
    color: white;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    display: block;
  }
  
  .info-big-3 a{
    width: 70%;
    border: 3px solid white; 
    text-align: center;
    font-size: medium;
    padding: 5px;
    text-decoration: none;
    color: white;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    display: block;
  }
  
  .info-small-1 .a{
    width: 100%;
    height: auto;
    color: white;
  }
  
  .info-small-2 .a{
    width: 100%;
    height: auto;
    color: white;
  }
  
  .info-small-3 .a{
    width: 100%;
    height: auto;
    color: white;
  }
  
  .info-big-1 .p{
    font-size:23px;
    width: 100%;
    color: #9689a7;
    height: auto;
    display: block;
    padding: 2%;
  }
  
  .info-big-2 .p{
    font-size:23px;
    width: 100%;
    color: #9689a7;
    height: auto;
    display: block;
    padding: 2%;
  }
  
  .info-big-3 .p{
    font-size:23px;
    width: 100%;
    color: #9689a7;
    height: auto;
    display: block;
    padding: 2%;
  }



@media screen and (min-width: 1025px) {
/* acomodar el section */
.section-mayor{
  background-color: white;
  flex-direction: row;
  margin-top: 8vh;
}

section div{
  width: 0px;
}

/* section div{
  height: 0px;
} */

/* estilo del contenedor que se hara grande */
.growing-1{
    background-image: linear-gradient(
  to bottom,
  rgba(0, 0, 0, 0.7),
  rgba(0, 0, 0, 0.7)
), url("IMG/1.jpg");
  width: 40%;
}

.growing-2{
    background-image: linear-gradient(
  to bottom,
  rgba(0, 0, 0, 0.7),
  rgba(0, 0, 0, 0.7)
), url("IMG/2.jpg");
  width: 40%;
}

.growing-3{
    background-image: linear-gradient(
  to bottom,
  rgba(0, 0, 0, 0.7),
  rgba(0, 0, 0, 0.7)
), url("IMG/3.jpg");
  width: 40%;
}

/* inforcion de servicio */
.info-small-1{
  height: 80%;
  width: 0%;
}

.info-small-2{
  height: 80%;
  width: 0%;
}

.info-small-3{
  height: 80%;
  width: 0%;
}

section .h1{
  width: 80%;
  font-size: xx-large;
}
}



/* estilos del slider con mas informacion de los servicios */

.container__cards{
  /* max-width: 1200px; */
  background-color: white;
  margin: auto;
  /* margin-top: 100px; */
  display: flex;
  /* flex-wrap: wrap; */
  /* justify-content: center; */
}

.card{
  width: 300px;
  margin: 10px;
  transition: all 300ms;
}

.card:hover{
  width: 350px;
}

.card .cover{
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.card .cover img{
  width: 250px;
  display: block;
  margin: auto;
  position: relative;
  top: 40px;
  z-index: 1;
  filter: drop-shadow(5px 5px 4px rgba(0,0,0,0.5));
  transition: all 400ms;
}

.card:hover .cover img{
  top: 0px;
  filter: none;
}

.card .img__back{
  width: 100%;
  height: 200px;
  position: absolute;
  bottom: -80px;
  left: 0;
  background-size: cover;
  border-radius: 20px;
  transition: all 300ms;
}

.card:nth-of-type(1) .img__back{
  background-image: url(../images/bg1.jpg);
}

.card:nth-of-type(2) .img__back{
  background-image: url(../images/bg2.jpg);
}

.card:nth-of-type(3) .img__back{
  background-image: url(../images/bg3.jpg);
}

.card:hover .img__back{
  bottom: -40px;
}

.card .description{
  background: white;
  margin-top: -10px;
  padding: 20px;
  border-radius: 0px 0px 20px 20px;
  transition: all 300ms;
  box-sizing: border-box;
  box-shadow: 3px 3px 3px 2px rgba(64, 0, 153, 0.233);
  border-radius: 10px;
}

.card:hover .description{
  padding: 40px;
}

.card .description h2{
  margin-top: 10px;
}

.card .description p{
  margin-top: 10px;
}

.card .description input{
  padding: 10px 40px;
  margin-top: 20px;
  border: none;
  background: #410099;
  color: white;
  font-size: 14px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 300ms;
}

.card .description input:hover{
  background: #410099;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Signika;
}

body {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  background: white;
}

.container {
  position: relative;
}

.container .slider {
  display: flex;
  padding: 2px;
  width: 90vw;
  height: 80vh;
  overflow: hidden;
  scroll-behavior: smooth;
}

.container .slider img {
  margin: 3px;
}

.container .control {
  position: absolute;
  z-index: 2;
  width: 50px;
  height: 55px;
  cursor: pointer;
  object-fit: contain;
  padding: 10px;
}

.container .prev {
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
}

.container .next {
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
}





@media screen and (min-width: 1025px) {
    /* menu de amburguesa */
    .fondo{
      display: flex;
      flex-direction: column;
      align-items: center;
  }

  .main-header{
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background-color: white; */
    padding: 0 0.4rem;
  }

    .logo{
        display: block;
    }

    .icons{
      display: none;
    }

    .button-menu{
      display: none;
    }
  
    .main-nav{
      /* position: relative; */
      margin-left: 0;
      /* flex-basis: 70%; */
      height: 15vh;
      width: 100%;
    }

    .centrar li{
      flex-direction: row;
      align-items: center;
    }

    .centrar{
      height: 0px;
      margin-top: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      align-self: center;
      background-color: blue;
    }
  
    .nav-links{
      width: 100vw;
      /* height: 15vh; */
      height: min(100% + 1px, 15vh);
    }

    .nav-links svg{
        width: 48px;
        height: 48px;
    }
  
    .link-item{
      display: inline-block;
      margin-top: 0;
      margin-right: 2rem;
    }

    .link-item::after {
      display: none;
    }
    
    .link-item:hover::after {
      display: none;
    }

  .link-item:hover{
    color: rgba(234,148,26);
  }
  
    .main-logo{
      flex-basis: 30%;
    }
}