@import url('https://fonts.googleapis.com/css?family=Oswald:400,700');
header {
  width: 80%;
  height: 70px;
  background:#000 ;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  border-radius: 0 0 10px 10px;
  margin: 0 auto;
  color: #fefefe;
  text-decoration: none;
  position: fixed;
  z-index: 10000;
}
body {
  font-family: 'Montserrat', sans-serif;
 background-color: #fff;
 color: #000;
 font-size: 1rem;
  
  text-transform: uppercase;
  letter-spacing: 5px;
  margin: 0;
  text-decoration: none;
  justify-content: center;
  align-items: center;
  
}
/* empieza cartas con info */
.container3{
  display: flex;
  max-width: 100%;
  padding: 40px 0;
  height: auto;
  flex-direction: column-reverse;
  align-items: stretch;
}
.container3 .card
{
  position: relative;
  min-width: 320px;
  height: 440px;
  box-shadow: inset 5px 5px 5px rgba(0,0,0,0.05),
              inset -5px -5px 5px rgba(255,255,255,0.05),
              inset 5px 5px 5px rgba(0,0,0,0.05),
              inset -5px -5px 5px rgba(255,255,255,0.05);
  border-radius: 15px;  
  margin: 30px;
}
.container3 .card .box
{
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: #ebf5fc;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
}
.container3 .card:hover .box{
  transform: translateY(-50px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  background: linear-gradient(45deg,#b01d1d,#e40f0f);
}
.container3 .card .box .content3
{
  font-size: 70%;
  padding:30px ;
  text-align: center;
}
.container3 .card .box .content3 h2{
  position: absolute;
  top: -10px;
  right: 30px;
  font-size: 8px;
  color: rgba(0,0,0,0.05);
  transition: 0.5s;
  pointer-events: none;
}
.container3 .card:hover .box .content3 h2{
  color:rgba(0,0,0,0.05);
}
.container3 .card .box .content3 h3{
  font-size: 1.8em;
  color: #777;
  z-index: 1;
  transition: 0.5s;

}
.container3 .card .box .content3 p { 
  font-size: 1em;
  font-weight: 300;
  color: #ebf5fc;
  z-index: 1;
  transition: 0.5s;

}
.container3 .card:hover .box .content3 h3,
.container3 .card:hover .box .content3 p{
  color:#fff

}
.container3 .card .box .content3 a{
  position: relative;
  display: inline-block;
  padding: 8px 20px;
  background: #ff0000;
  margin-top: 15px;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);

}
.container3 .card:hover .box .content3 a{
  background: #03a9f4;
}

/* termina cartas con info */
.logo{
  
  margin-top: 8PX;
  letter-spacing: 0.05em;
}
nav .logo {
  display: none;
}
nav ul{
  display: flex;
  list-style: none;
  box-sizing: border-box;
}
nav ul li a {
  color: #fefefe;
  display: block;
  margin: 0 2px;
  font-weight: 600;
  padding: 8px 18px;
  transition: 0.2s;
  border-radius: 30px;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}
nav ul li a:hover{
  background: #fefefe;
  color: #000;
}
nav ul li a.active{
  background: #ff0000;
  color: #000;
}
.hamburger{
   display: none; 
  height: fit-content;
  cursor: pointer ;
  padding: 3px 8px;
  border-radius: 5px;
  transition: 0.2s;
}

.hamburger:hover{
  background: #000;
}
.hamburger div{
  width: 30px;
  height: 2px;
  margin: 6px 0;
  background: #fefefe ;
}
@media only screen and (max-width:1100px){
  header{
    width: 90%;
    padding: 0 20px;
  }
  nav{
    position: absolute;
    left: -300px;
    top: 0;
    z-index: 999;
    width: 280px;
    height: 100vh;
    background-color:#000 ;
    transition: 0.2s;
    box-shadow: 2px 0 20px 0 rgba(0, 0, 0, 0.05);
  }
  #nav_check:checked ~ nav{
    left: 0;
  }
  nav .logo{
    display: block;
    height: 70px;
    display: flex;
    align-items: center;
    margin-left: 30px;
  }
  nav ul li a {
    margin-bottom: 5px;
    padding: 10px 15px;
    border-radius: 5px;
  }
  nav ul{
    display: block;
    padding: 0 20px;
    margin-top: 30px;
  }
  .hamburger{
    display: block;
  }

}


/* Estilos para la sección de inicio */
#servicios {
  padding: 50px;
  background-color: #000;
  color: #fff;
  border-radius: 10px; 
  opacity: 1;
}
  
.servicios-container {  
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 90%;
}

  
.servicio-item {
  flex: 0 0 auto;
  width: 700px;
  margin-right: 50px;
  background-color: #000;
  box-shadow: 0 4px 6px #000;
  text-align: center;    
}
  
.servicio-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
  
.servicio-item h3 {
  margin: 20px 0;
  font-size: 24px;
}
  
.servicio-item p {
  margin: 0 20px 20px;
  font-size: 60%;
}

.service-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  overflow: hidden;
  position: relative;
}
  
.service-title::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #fff;
  transform: translateX(-110%);
  transition: transform 0.5s ease-in-out;
}
  
.service-title:hover::before {
  transform: translateX(0);
}
/* Slideshow container */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

.wrapper{
  display: flex;
}
.wrapper .static-txt{
  color: #000;
  font-size: 60px;
  font-weight: 400;
}
.wrapper .dynamic-txts{
  margin-left: 15px;
  height: 90px;
  line-height: 90px;
  overflow: hidden;
}
.dynamic-txts li{
  list-style: none;
  color: #000;
  font-size: 60px;
  font-weight: 500;
  position: relative;
  top: 0;
  animation: slide 12s steps(4) infinite;
}
@keyframes slide {
  100%{
    top: -360px;
  }
}
.dynamic-txts li span{
  position: relative;
  margin: 5px 0;
  line-height: 90px;
}
.dynamic-txts li span::after{
  content: "";
  position: absolute;
  left: 0;
  height: 100%;
  width: 100%;
  background: #fff;
  border-left: 2px solid #000;
  animation: typing 3s steps(10) infinite;
}
@keyframes typing {
  40%, 60%{
    left: calc(100% + 30px);
  }
  100%{
    left: 0;
  }
}
.content2{
  padding: 80px;

}
/* // Cards Carousel
// ---------------------------------------------- */
/* // Cards Carousel
// ---------------------------------------------- */
.slider1{
  height: 250px;
  margin: auto;
  position: relative;
  width: 90%; 
  display: grid;  
  place-items: center;
  overflow: hidden;

}
.slide-track{
  display: flex;
  width: calc(250px * 18);
  animation: scroll 30s linear infinite;
}
.slide-track:hover{
  animation-play-state:paused ;
}
@keyframes scroll {
  0%{
    transform: translateX(0);
  }
  100%{
    transform: translateX(calc(-250px *10));
  }
}
.slide1{
  height: 200px;
  width: 250px;
  display: flex;
  align-items: center;
  padding: 15px; 
  perspective: 100px;

}
img{
  width: 100%;
  transition: transform 1s;
}
img:hover{
  transform: translateZ(20px);
}
.slider1::before,
.slider1::after{
  background: linear-gradient(to right,rgba(255,255,255,1)20%,
  rgba(255,255,255,0)40%);
  content: '';
  height: 100%;
  position: absolute;
  width: 15%;
  z-index: 2;
}
.slider1::before{
  left: 0;
  top: 0;
}
.slider1::after{
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.title-container1 {
  background-color: #000;
  text-align: center;
  padding: 30px;
  margin-top: 60px;
  margin-bottom: 50px;
}

.title1 {
  font-size: 1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin: 0;
}
.content1 {
  padding-top: 50px;
  padding-left: 80px;
  padding-right: 80px;
}
/* // Media isometric menu
// ---------------------------------------------- */
.media-logo{
  display: inline-block;
  height: 35%;
  width: 35%;
  max-width: 100%;
}
.media-line{
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #999;
  letter-spacing: 0.05em;
  transition: 0.5s;
  justify-content: center;
}
.media-line:hover{
  color: #fff;
}
.ul-li-media:last-child::after{
  box-shadow: -120PX 120PX 20PX rgba(0, 0, 0, 0.25);

}
.ul-li-media img{
  position: absolute;
  top: 0;
  left: -40PX; 
  width: 40PX;
  height: 100%;
  
 
  transform-origin: right;
  transform: skewY(45deg);
  transition:0.5s;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size:1.25em ;
}
.ul-li-media:hover img{
  opacity: 1;
}
.media-container{
  font-family: 'Oswald', sans-serif;
  display: flex;
  justify-content: center;  
  align-items: center;
  min-height: 70px;  
  background: #fff;
  padding-top: 130px;
  padding-bottom: 30px;
}

.media-ul{
  padding-left: 10%;
  justify-content: center;
  align-items: center;
  position: relative;
  transform: skewY(-15deg);
}
.ul-li-media{
  position: relative;
  list-style: none;
  width: 180px;
  background: #000;
  padding:15px;
  transition: 0.5s;
  z-index: calc(1*var(--i));
}
.ul-li-media:hover{
  transform: translateX(-50PX);
  background: var(--clr);
}
.ul-li-media::before{
  content: '';
  position: absolute;
  top: 0; 
  left: -40px;
  width: 40px;
  height: 100%;
  background: #000;
  filter:brightness(0.7) ;
  transform-origin: right;
  transform: skewY(45deg);
  transition: 0.5s;
}
.ul-li-media:hover::before{
  background: var(--clr);
  filter: brightness(0.7);
}
.ul-li-media::after{
  content: '';
  position: absolute;
  top: -40px;
  left: 0; 
  width: 100%;
  height: 40px;  
  background: #000;
  filter: brightness(0.9);
  transform-origin:bottom;
  transform: skewX(45deg);
  transition: 0.5s;
}
.ul-li-media:hover::after{
  background: var(--clr);
  filter: brightness(0.7);
}
html{
  scroll-behavior: smooth;
}
footer{
  background: #000;
  color: #fefefe;
  padding: 2%;
  font-size: 50%;
}