*{
    margin: 0;
    padding: 0;
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

header nav {
    padding-top: 30px;
}

header {
    /* background-color: #ff8000; */
    background: linear-gradient(45deg, #FF0000, #ff8000 50%);;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    flex-wrap: wrap;
}

header nav ul {
    list-style: none;
    padding: 0;
}

header nav ul li {
    display: inline;
    margin: 0 15px;
}

header nav a{
    text-decoration: none;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}

.fondo{
    text-align: center;
    margin-top: 20px;
}

.fondo img{
    border-radius: 30px;
    width: 90%;
}

.foto{
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url('mineria.jpg') no-repeat center center/cover;
}

 .foto img{
    margin-top: 20px;
    width: 300px;
    border-radius: 50%;
    margin-bottom: 20px;
    
 }

.hero {
    background: url('mineria_mujeres.jpg') no-repeat center center/cover;
    color: #000;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about, .services {
    padding: 2rem;
    background: #fff;
    margin: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#inicio h1{
    padding-top: 20px;
    text-align: center;
    padding-left: 60px; 
    padding-top: 40px;   
}

#inicio p{
    text-align: justify;
    width: 90%;
    padding-left: 60px;
    font-size: 20px;
    padding-bottom: 40px;
    line-height: 1.8;
    padding-top: 20px;
}

.about h2{
    text-align: center;
    width: 90%;  
}

.about p{
    text-align: justify;
    font-size: 20px;  
    line-height: 1.8;
    padding-top: 20px;
}

.about{
    background-color: #4df1f1;
    text-align: center;
}

.services{
    text-align: center;

}

.walter{
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding-left: 40px;
    overflow-x: scroll;
}

.walter img{
    border-radius: 50%;
}

/* Estilo básico de la galería de imágenes */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    padding: 20px;
    justify-items: center;
    margin-bottom: 20px;
    margin-top: 10px;
}

.gallery img{
    width: 100%;
}

.clickable-image {
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.2s ease-in-out;
}

.clickable-image:hover {
    transform: scale(1.05);
}

/* Estilo para el modal */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding-top: 60px;
    text-align: center;
}

.modal-content {
    max-width: 80%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #ddd;
    text-decoration: none;
    cursor: pointer;
}

#caption {
    color: #fff;
    padding: 10px;
    font-size: 20px;
}


footer {
    text-align: center;
    padding: 1rem 0;
    background: linear-gradient(45deg, #FF0000, #ff8000 50%);;
    color: #fff;
}

a{
    text-decoration: none;
    color: #000;
    font-weight: bold;
    padding-top: 20px;
    padding-bottom: 20px;
}

.videos-todos{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
  }

/* Estilo responsivo para tablets (pantallas entre 768px y 1024px) */
@media (max-width: 1024px) {
    #inicio{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    #inicio h1{
        padding-top: 10px;
        text-align: center;
        padding-left: 5px; 
        font-size: 1.2em; 
    }
    
    #inicio p{
        text-align: justify;
        width: 90%;
        padding-left: 5px;
        font-size: 20px;
        padding-bottom: 20px;
        line-height: 1.8;
        padding-top: 20px;
        font-size: 1em; 
    }

    .about h2{
        text-align: center;
        width: 90%;  
    }
    
    .about p{
        text-align: justify;
        font-size: 20px;  
        line-height: 1.8;
        padding-top: 20px;
    }

    .videos-todos{
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
      }
    
}

/* Estilo responsivo para smartphones (pantallas menores a 768px) */
@media (max-width: 768px) {

    #inicio{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    #inicio h1{
        padding-top: 10px;
        text-align: center;
        padding-left: 5px; 
        font-size: 1.2em; 
    }
    
    #inicio p{
        text-align: justify;
        width: 90%;
        padding-left: 5px;
        font-size: 20px;
        padding-bottom: 20px;
        line-height: 1.8;
        padding-top: 20px;
        font-size: 1em; 
    }

    .about h2{
        text-align: center;
        width: 90%;  
    }
    
    .about p{
        text-align: justify;
        font-size: 20px;  
        line-height: 1.8;
        padding-top: 20px;
    }

    .videos-todos{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
      }
    

}

.job-list {
    max-width: 800px;
    margin: 20px auto;
    padding: 10px;
}

.job-card {
    background-color: #FFE0B2;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.job-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.job-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 1px solid #ddd;
}

.job-info {
    display: flex;
    flex-direction: column;
}

.job-title {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.job-company {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #666;
}

.job-details {
    margin-top: 10px;
}

.job-description {
    margin: 5px 0;
    font-size: 0.95rem;
    color: #444;
    text-align: justify;
}

.job-location {
    font-size: 0.9rem;
    color: #555;
}

button{
    margin-top: 5px;
    background-color: #ff8000;
    color: #FFFFFF;
    border-radius: 10px;
    padding: 5px;
    cursor: pointer;
}

.video-container {
    position: relative;
    max-width: 500px;
    border: 5px solid #e78e21;
    aspect-ratio: 9/16;
    overflow: hidden;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    z-index: 1;

  }
  
  .video-container:hover {
    transform: scale(1.05);
  }
  
  video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body #mensaje-despedida{
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #mensaje-despedida{
    font-size: 20px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: bold;
    text-align: justify;
    color: #e78e21;
    background: #000;
    margin-bottom: 20px;
    
  }


  #noticias{
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #noticias img{
    border: 5px solid #e78e21;

    &:hover{
        transform: scale(1.04);
    }
  }

  #noticias button{
    margin-bottom: 20px;
    &:hover{
        transform: scale(1.05);
    }
  }

  #trabajar{
    text-align: center;
  }

  /* Contenedor de la cuadrícula */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Estilos para cada ítem de la cuadrícula */
.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Efecto hover para las imágenes */
.grid-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.grid-item:hover img {
    transform: scale(1.1);
}

/* Animación de movimiento suave */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.grid-item {
    animation: float 4s ease-in-out infinite;
}

.grid-item:nth-child(2) {
    animation-delay: 0.5s;
}

.grid-item:nth-child(3) {
    animation-delay: 1s;
}

.grid-item:nth-child(4) {
    animation-delay: 1.5s;
}

.grid-item:nth-child(5) {
    animation-delay: 2s;
}

.grid-item:nth-child(6) {
    animation-delay: 2.5s;
}

::-webkit-scrollbar {
    width: 12px; /* Ancho de la barra de desplazamiento */
}

/* Fondo de la barra de desplazamiento */
::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Color de fondo */
    border-radius: 10px; /* Bordes redondeados */
}

/* Barra de desplazamiento en sí */
::-webkit-scrollbar-thumb {
    background-color:#000000; /* Color de la barra */
    border-radius: 10px; /* Bordes redondeados */
}

/* Cambiar color al pasar el mouse sobre la barra */
::-webkit-scrollbar-thumb:hover {
    background-color: #ff8000; /* Color al hacer hover */
}

#mostrarForm{
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

#mostrarFormulario{
    width: 300px;
    height: 50px;
    /* margin-bottom: 50px; */
    cursor: pointer;
    transition: all 0.3s ease; /* Transición suave para todas las propiedades */
}


/* Cambios al hacer hover */
#mostrarFormulario:hover {
    background-color: #45a049;
    color: #000;
    font-weight: bold;
    transform: scale(1.2); /* Agranda el botón un 10% */
  }