
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
        background-color: #1c1c1c;
        color: #ff6a6a;
      }
      
     
      .container {
        max-width: 1200px; 
        margin: 0 auto; 
        padding: 20px; 
      }
      
      
      .texto {
        margin: 20px; 
        line-height: 1.6; 
        font-size: 1rem;
        color: #333; 
      }
  
  .header {
    background: rgb(19, 19, 19);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(240, 0, 0, 0.1);
  }
  
  .header nav a {
    margin-left: 1rem;
    text-decoration: none;
    color: #ff0000;
  }
  
  .hero {
    text-align: center;
    padding: 5rem 1rem;
    background-color: #1d1d1d;
  }
  
  .boton {
    background: #cc0000;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
  }
  
  .seccion {
    padding: 4rem 1rem;
    text-align: center;
  }
  
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }

  .servicios {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .card {
    width: 30%;
    height: 300px; 
    background-size: cover; 
    background-position: center; 
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: white; 
  }
  
  .card-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    text-align: center;
    background: rgba(0, 0, 0, 0.5); 
    padding: 20px;
    border-radius: 8px;
  }
  
  .card h3 {
    margin: 0;
    font-size: 1.5rem;
  }
  
  .card p {
    margin: 10px 0;
  }

  .card:nth-child(1) {
    background-image: url('img/img2.png');
  }
  
  .card:nth-child(2) {
    background-image: url('img/img1.png');
  }
  
  .card:nth-child(3) {
    background-image: url('img/img3.png');
  }
  
  .boton {
    background-color: #ff0000;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
  }
  
  .contacto {
    background: #e5e7eb;
    padding: 4rem 1rem;
    text-align: center;
  }

  .footer {
    color:red ;
    text-align: center;
    padding: 1rem;
    background: rgb(19, 19, 19);
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
  }

  .hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    color: white;
  }
  
  .video-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
  }
  .hero-content h2 {
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 100px;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(0, 0, 0, 1), 0 0 60px rgba(0, 0, 0, 1);
  }
  
  .hero-content p {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 30px;
    margin-bottom: 2rem;
    text-shadow: 0 0 5px rgba(0, 0, 0, 1), 0 0 15px rgba(0, 0, 0, 1);
  }
  .slider-container {
    width: 100%;
    height: 100%;
    overflow: hidden; 
    margin: 50px auto;
    max-width: 4000px;
  }
  

  .slider {
    display: flex; 
    animation: slide 12s infinite; 
  }
  

  .slide {
    flex: 0 0 100%; 
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .slide img {
    width: 100%;
    height: 480px;
    object-fit: cover;
  }
  

  @keyframes slide {
    0% {
      transform: translateX(0);
    }
    25% {
      transform: translateX(-100%);
    }
    50% {
      transform: translateX(-200%);
    }
    75% {
      transform: translateX(-300%);
    }
    100% {
      transform: translateX(0);
    }
  }