body {
    margin: 0;
    font-family: 'Montserrat Alternates', sans-serif;
    margin-top: 90px;
}

.fixed-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #333;
    color: #fff;
    text-align: center;
}

.nav-links {
    margin-right: 70px;
}

.nav-links a {
    margin: 0 15px;
    text-decoration: none;
    color: #fff;
    transition: font-size 0.3s;
    scroll-behavior: smooth;
    font-size: 18px
}

.nav-links a:hover {
    font-size: 19px;
    color: #F7941D;
}

.logo a:hover img{
    transform: scale(1.1);
    transition: 0.5s ease-out;
}

.logo img {
    max-height: 67px;
    margin-left: 150px;
}

.img-who{
    background-image: url(/img/planta.jpg);
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0;
    padding: 0;
    height: 90vh;
}

/*INICIO SECCION 1*/
.full-height-image {
    width: 90%;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.mapamundi{
    width: 800px;
    height: 450px;
}

/* fin de seccion 1*/

/* INICIO DE SECCION 2*/
.img-fabricas{
    text-align: center;
}

.img-fabricas img {
    max-width: 100%;
    min-width: 95%;
    height: auto;
}

.our-services{
    text-align: center;
    padding: 15px;
}

.img-fabricas2{
    text-align: center;
    max-width: 100%;
}

.img-fabricas2 img{
    height: auto;
}

.contenedor-flex{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.item{
    width: 30%;
    margin: 10px;
    text-align: center;
}

.hover-zoom {
    transition: transform 0.3s ease-in-out;
}

.hover-zoom:hover {
    transform: scale(1.1); /* Puedes ajustar el valor según tu preferencia */
}/*fin de seccion 2*/

/*INICIO DE FOOTER*/
.custom-footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1px;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.centered-image {
    margin-bottom:0;
}

.centered-image img {
    max-width: 100px; /* Ajusta el tamaño según tu preferencia */
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.centered-image:hover img {
    transform: scale(1.1);
}

.footer-link {
    text-decoration: none;
    color: #fff;
    margin: 0 15px;
    transition: font-size 0.3s;
    font-size: 10px;
}

.footer-link:hover {
    font-size: 11px;
}

.footer-row p {
    margin: 0 15px;
}

.container {
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos se envuelvan a la siguiente línea si no caben */
    justify-content: center; /* Centra los elementos horizontalmente */
}

.image-container {
    margin: 30px 100px; /* Ajusta el margen entre las imágenes y los contenedores */
    text-align: center; /* Centra el texto dentro del contenedor */
    width: 230px;
}

.image-container img {
    width: 150px; /* Hace que la imagen no sea más ancha que su contenedor */
    height: 150px;

}.image-container img:hover {
    transform: scale(1.1);
    transition: 0.5s ease-out;
}

.image-container p{
    width: 100%;
}

.div-madre{
    color: #ffff;
}

.fondo-fabrica{
    background-image: url("/img/prueba-maiz-tres-v2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: auto;
    height: 450px;
}

.parte-arriba{
    text-align: center;
    margin-top: 10px;
    padding: 30px;
}

.parte-arriba h1{
    font-size: 2rem;
}

.parte-arriba p{
    padding: 0;
    margin: 0;
}

.container-fabrica{
    display: flex;
}

.container-fabrica article{
    padding: 0px 35px;
    font-size: 1.2rem;
}

.container-who{
    display: flex;
    margin: 50px;
}

.container-who article{
    padding: 0px 35px;
    text-align: center;
    font-size: 1.2rem;

}

.container-who h1:hover {
    transform: scale(1.05);
    transition: 0.5s ease-out;
}



/* Estilos para pantallas pequeñas */

@media (max-width: 800px) {
    .fixed-header {
        position: relative;
        top: 0;
        width: 100%;
        z-index: 1000;
    }
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
        align-items: center;
    }
    .nav-links {
        margin-top: 7px;
        margin-right: 0;
    }
    .nav-links a {
        display: block;
        margin: 7px 0;
        font-size: 17px;
    }
    .logo img {
        max-height: 35px;
        margin: 0;
    }
    body{
        margin-top: 0px;
    }
    .mapamundi{
        width: 400px;
        height: auto;
    }

    .container-who{
        flex-wrap: wrap;
    }

}

@media screen and (max-width: 700px) {
    .container-fabrica{
    display: flex;
    flex-wrap: wrap;
    }
    .fondo-fabrica{
    height: auto;
    }
}

@media (max-width: 600px){
    .item{
        width: 100%;
    }
    .footer-row {
        flex-direction: column;
    }
    .footer-link {
        margin: 10px 0; /* Espaciado para pantallas pequeñas */
    }

}

