body{
    width: 100%;
    /* max-width: 1366px; */
    margin: auto;
}
h1{
    font-family: Moranga;
    font-weight: 100;
    font-size: 30px;
    color: #43271A;
    text-align: center;
    margin: 0;
    margin-bottom: 20px;
}
.cover-container {
    background-image:  url("../img/Banner.Web.jpg");;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 58.89%;
    /* padding-top: 57.89%; */
}
.cover-subtitle {
    font-family: IntroRustH1-Base;
    letter-spacing: 10px;
    font-size: 45px;
    color: white;
    text-align: center;
    width: 100%;
    position: absolute;
    bottom: 40%;
}
.texto-page{
    display: flex;
    justify-content: center;
    text-align: center;
}

.texto-page p {
    color: #43271A;
    font-weight: bold;
    margin: 0;
}

.historia-container{
    padding-right: 10px;
    padding-left: 10px;
}
.owl-item{
    width: 380px;
}
.slider-container .item img,
.galeria-container .item img{
    border-radius: 20px;
}

.galeria-container{
    padding: 10px;
}

.galeria-container .item{
    display: flex;
    justify-content: center;
    margin: 40px;
}

/* .galeria-container .item img{
    width: 800px !important;
} */

.imagen-mensaje{
    width: 100%;
    transform: scale(1.3);
}
.container-decoration{
    display: flex;
    justify-content: end;
    padding-right: 30px;
    height: 60px;
}
.container-decoration img{
    position: relative;
    margin-top: -40px;
    width: 60px;
}
.owl-prev, .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px; /* Ajusta el tamaño del icono según sea necesario */
    color: #000; /* Color de las flechas */
    background: rgba(255, 255, 255, 0.5); /* Color de fondo de las flechas */
    padding: 10px; /* Espacio alrededor de las flechas */
    border: none; /* Elimina el borde de las flechas si lo hay */
}
  
.owl-prev {
    left: 10px; /* Ajusta la posición de la flecha izquierda */
}

.owl-next {
    right: 10px; /* Ajusta la posición de la flecha derecha */
}

.owl-prev img,
.owl-next img{
    width: 20px;
}

.historia-container .owl-next {
    right: 10px; /* Ajusta la posición de la flecha derecha */
}

.page{
    padding-bottom: 0px;
}

@media not screen and (min-width: 770px) {
    .cover-subtitle {
        font-size: 4vw;
        letter-spacing: unset;
        bottom: 25%;
    }
    
}
.page > * {
    padding: 20px 0;
    
}
.animated-decoration-1 {
    position: absolute;
    top: -20%;
    right: -5%;
    height: 25%;
    animation-name: animated-decoration-1-translate;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    z-index: -1;
}
.animated-decoration-2 {
    position: absolute;
    top: -10%;
    left: -10%;
    height: 18%;
    animation-name: animated-decoration-2-translate;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}
.manager-container {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    width: 85%;
    padding: 30px;
    background-color: lightgray;
}
@media not screen and (min-width: 770px) {
    .proposal-text {
        font-size: 3.3vw;
        padding: 5px 0 10px 0 !important;
    }
    .proposal-image {
        width: 100%;
        object-fit: cover;
        height: 50vw;
    }
    .manager-container {
        flex-direction: column;
        width: 100%;
    }
    .proposal-image, .manager-text-container, .manager-image-container, .manager-container {
        padding: 0;
    }
}
.proposal-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 12vh;
    padding-bottom: 12vh;
}
@media not screen and (min-width: 770px) {
    .proposal-container {
        flex-direction: column;
        text-align: center;
    }
}
.proposal-image-container, .proposal-text-container {
    width: 45%;
}
.proposal-image-container {
    padding-right: 30px;
    padding-bottom: 100px;
}
@media not screen and (min-width: 770px) {
    .proposal-image-container {
        width: 100%;
        padding: 0 0 3vh 0;
    }
    .proposal-text-container {
        width: 100%;
        padding: 0 0 7vh 0;
    }
}
.manager-text-container, .manager-image-container {
    width: 50%;
}
.manager-text-container {
    padding: 0;
    background-color: #003D6B;
    color: white;
}
.manager-image-container {
    padding: 0;
}
@media not screen and (min-width: 770px) {
    .manager-text-container, .manager-image-container {
        width: 100%;
        padding: 0 0 3vh 0;
    }
}
.manager-text-box {
    padding: 7%;
    display: flex;
    height: -webkit-fill-available;
    flex-direction: column;
    justify-content: center;
}
@media not screen and (min-width: 770px) {
    .proposal-title {
        font-size: 5vw !important;
        line-height: 20px !important;
        padding-bottom: 1vh;
    }
}
.cover-image {
    background-image: url("../img/Banner.Web.jpg");
    background-size: cover;
    height: 100%;
    background-position: center;

}
.cover-subcontainer {
    /* background: linear-gradient(to bottom, transparent, rgba(9, 0, 0, 0.6)); */
    width: 100%;
    bottom: 0;
    height: 50%;
    position: absolute;
}
@media not screen and (min-width: 768px) {
    .cover-subcontainer {
        bottom: -25%;
        height: 100%;
    }
       
}

@media (min-width:768px) {
    .historia-container{
        padding-left: 50px;
    }
    .texto-page p {
        width: 80%;
        font-size: 22px;
        margin: 0;
        line-height: 1.2em;
        max-height: 2.4em;
        overflow: hidden;
    }
    h1{
        font-size: 60px;
        margin-bottom: 50px;
        margin-top: 30px;
    }
    .historia-container .owl-next {
        right: 60px; /* Ajusta la posición de la flecha derecha */
    }
    .owl-prev img,
    .owl-next img{
        width: 30px;
    }
    .galeria-container{
        padding: 50px;
    }
    .galeria-container .item img{
        width: 800px !important;
    }
    .slider-container .item img,
    .galeria-container .item img{
        border-radius: 40px;
    }
    .container-decoration{
        display: flex;
        justify-content: end;
        padding-right: 100px;
        height: 100px;
    }
    .container-decoration img{
        margin-top: -120px;
        width: 120px;
    }
    .imagen-mensaje{
        width: 100%;
        transform: scale(1);
    }
}