@font-face {
    font-family: 'Museo'; /* Name for the font to use in CSS */
    src: url('/fonts/Museo_Sans_300.otf') format('opentype'); /* Path to the OTF file */
    font-weight: normal; /* You can adjust this based on the font’s weight */
    font-style: normal; /* You can set this to italic if the font is italicized */
}

@font-face {
    font-family: 'Museo'; /* Name for the font to use in CSS */
    src: url('/fonts/Museo_Sans_700.otf') format('opentype'); /* Path to the OTF file */
    font-weight: bold; /* You can adjust this based on the font’s weight */
    font-style: normal; /* You can set this to italic if the font is italicized */
}


body {
    font-family: 'Museo', sans-serif; /* Use the font in your CSS */
    margin: 0;
    padding: 0;
}

p {
    font-size: 18px;
}

h1 {
    font-weight: bolder;
}

#hero {
    background-color: #0AC9D3;
    border: 2px solid transparent;
    text-align: center;
    min-height: 300px;
    padding-left: 50px;
    padding-right: 50px;

}

#hero h1 {
    color: white;
}

.desc {
    min-height: 300px;
    display: flex;
    flex-direction: row;


}

.desc2 {
    min-height: 300px;
    display: flex;
    flex-direction: row;


}

.desci {
    width: 50%;
    display: flex;
    width: 50%;

}

.desci p {
    padding-top: 50px;
    padding-left: 50px;
}

.descd {
    padding-top: 40px;
    width: 50%;
    text-align: center;
}

.descd img {
    max-width: 300px;
}

#bannertriple {
    margin-top: 40px;
    min-height: 400px;
    background: url('/img/quienessomos/fotocategoria.jpg') ;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.encabezado {
    text-align: center;
}

#proposito {
    margin-top: -70px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prop {
    height: 300px;
    width: 500px;
    padding: 50px;
    background: url('/img/quienessomos/Quote.png') ;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.doscolumnas {

    display: flex;
    flex-direction: row;
}

.ci {
    width: 50%;

    text-align: center;
    padding: 20px 50px 0 50px;
}

.ci p, .cd p {
    text-align: left;
}

.cd {

    width: 50%;
    padding: 20px 50px 0 50px;
    text-align: center;
}

/*Aquí Masonry */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
}

.masonry-container {
    max-width: 1150px; /* Set a maximum width for the container */
    margin: 0 auto; /* Center the container */
}

.masonry-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -8px; /* Negative margin to offset item padding */
}

.masonry-item {
    width: 25%; /* Each item takes up 25% of the row */
    box-sizing: border-box; /* Ensure padding/margins are included in width/height */
    padding: 8px; /* Adjust spacing between items */
    margin: 0; /* Remove margins to avoid additional gaps */
    display: flex;
    align-items: flex-start; /* Align items to the start */
}

.masonry-item img {
    width: 100%; /* Image width matches container width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Removes any inline space below the image */
}

/*Aquí ajustes responsivos */

@media (max-width: 768px) {
    .masonry-item {
        width: 50%; /* Two items per row on smaller screens */
    }

    .desc{
        flex-direction: column;
    }

    .desc2 {
        flex-direction: column-reverse;
    }

    .desci {
        width: 100%;

    }

    .descd {
        width: 100%;
    }

    .desci p {
        padding-left: 0;
    }

    .doscolumnas {
        flex-direction: column;
    }

    .ci {
        width: 100%;
        padding: 20px 10px 20px 10px;
    }

    .cd {
        width: 100%;
        padding: 20px 10px 20px 10px;
    }

}

@media (max-width: 480px) {
    .masonry-item {
        width: 100%; /* Single item per row on very small screens */
    }
}
