body, html {
    height: 100%;
    background-color: rgb(232, 232, 232);
    margin: 0;
    padding: 0;
    font-family: "Poppins";
}

header {
    background-image: url('Image/pixelcut-export\ \(1\).jpg'); /* Cambia esto por la ruta de tu imagen */
    background-size: 100%; /* Ajusta el tamaño de la imagen para que se vea más lejana */
    background-position: center; 
    height: 400px; 
    background-color: #003366;
    display: flex;
    justify-content: space-between;
    padding: 10px 10px;
}


main {
    flex: 1;
}

a {
    padding: 6px;
    color: white;
    text-decoration-line: none;
}

a:hover {
    padding: 6px;
    color: rgb(143, 143, 143);
    text-decoration-line: none;
}

.nav-buttons {
    display: flex;
    margin: 5px;
}

.h-buttons {
    padding: 3px;
    margin: 5px;
    padding-bottom: 10px;
    border-radius: 12px;
    background-color: #3c6fa2;
    height: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 1);
}
.h-buttons a{
    display: block;
}

.h-buttons2 {
    padding: 3px;
    width: 150px;
    margin: 5px 3%;
    padding-bottom: 10px;
    border-radius: 12px;
    background-color: #3c6fa2;
    height: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 1);
}

.a-buttons {
    padding: 3px;
    margin: 5px;
    padding-bottom: 10px;
    border-radius: 12px;
    background-color: #3c6fa2;
    display: block;
    height: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 1);
    cursor: pointer;
    
}


footer {

    display: flex;
    text-align: center;
    justify-items: space-between;
    padding: 10px 20px;
    background-color: #3c6fa2;
    color: aliceblue;
    text-align: center; /* Centrar el contenido horizontalmente */
    flex-direction: column; /* Organizar los elementos de forma vertical */
    align-items: center; /* Centrar los elementos dentro del contenedor */
    justify-content: center; 
}

p {
    font-size: 17px;
}
.contacto{
     flex: 1;
    display: flex;
    flex-direction: column;
}
.Servicios{
    font-size: 13px;
}

.footer-image {
    padding: 10px;
}

.title {
    text-align: center;
    padding: 10px;
}

.conteiner {
    display: block;
    align-items: flex-end;
    align-content: space-between;
    margin: 40px auto; /* Margen automático para centrar */
    padding: 20px;
    width: 80%;
    flex-wrap: wrap;
    margin: 20px auto; 
}

.box {
    display: inline-block;
    margin: 10px;
    padding: 10px;
    border-radius: 12px;
    width: 40%;
    background-color: white; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.clientes {
    height: 60px;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    background-color: white; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}
.clientes:hover {
    transform: scale(1.1); /* Escala la imagen al 110% cuando el cursor está encima */
}

.map-t {
    height: 400px;
    width: 100%;
}

.map {
    height: 400px;
    width: 100%;
    margin: 20px auto;
    border: 1px solid #ddd;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.contact-container {
    display: flex;
    padding: 30px;
    gap: 20px;
    align-items: flex-start;
    margin: 20px 0;
}



main {
    margin: 50px; 
}

h1 {
    font-size: 50px;
    border-radius: 12px;
    background-color: #3c6fa2;
    color: azure;
}

h1, h2, h3, h4 {
    text-align: center;
    font-family: "Poppins";
}

.content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px; /* Espacio entre el texto y la imagen */
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 0px;
    border-radius: 12px;
    width: 80%;
    justify-content: center;
    margin: 20px auto;
    margin-bottom: 80px;
    background-color: rgb(255, 255, 255);
}
.content img{
    padding: 10px;
    padding-top: 20px;
    border-radius: 20px;
}

.text-center {
    width: 80%;
    align-items: center;
    text-align: center; /* Centrar el contenido horizontalmente */
    justify-content: center; 
    margin: 20px auto;
}

.image-large {
    background-image: url('Image/Trabajos_IMI5.jpeg'); /* Cambia esto por la ruta de tu imagen */
    background-size: cover; /* Para cubrir todo el área del header */
    background-position: 0px -750px; /* Ajusta la posición de la imagen en píxeles (x y) */
    height: 350px; 
    display: flex;
    justify-content: space-between;
    border-radius: 11px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* carrusel */
.carousel-container {
    position: relative;
    width: 600px;
    height: 300px;
    overflow: hidden;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.buttons button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.slider--inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    transition: transform 0.5s ease;
}

.slider--inner img {
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%;
    flex-shrink: 0;
    
}



.slider {
    overflow: hidden;
}

.splide {
    width: 100%;
    margin: auto;
  }
  
  .splide__slide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
 
  @media (max-width: 500px) {
    .contact-container {
        display: block;
        align-items: start;
        margin: 10px;
    }
    .nav-buttons {
        height: 300px;
    }
    .h-buttons {
        width: 100%; /* Ajusta el ancho al 100% del contenedor */
        height: 150px; /* Ajusta la altura según sea necesario */
    }
    ul li {
        font-size: 10px  !important;
    }
}