
.heros {
    position: relative;
    width: 100%;
    height: 800px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    margin-top: 80px;
    overflow: hidden;
    
}

.heros::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #b32e12, #f8ff24); /* Degradado de amarillo opaco a rojo */
    clip-path: polygon(0 0, 54% 0, 46% 100%, 0% 100%);
    z-index: 1; /* La figura debe estar detrás del contenido */
    opacity:40%;
}



.hero-content-wrapper {
    display: flex;
    align-items: center;
    
    margin-left: 90px;
    position:absolute;
    top:20%;
    z-index: 2;
    width:100%;
}

.hero-content {
    color: rgb(255, 255, 255);
    max-width: 50%; 
    
}

.hero-content h1 {
    font-size: 2.8rem;
    color: rgb(255, 255, 255);
    padding-right: 150px;
    text-shadow:0px 4px 10px rgba(0, 0, 0);
    
}

.hero-content p {
    font-size: 1.4rem;
    margin-top: 130px;
    line-height: 1.6;
    font-weight:bold;
    text-shadow:0px 4px 10px rgba(0, 0, 0);
}

.logo-img {
    top:0px;
    left:38%;
    width: 290px;
    height: auto;
    position: absolute;

    
    
}



.carro{
    width: 500px;
    height: auto;
    position: absolute;
    left:20%;
    top: 83%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.image-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-bottom: 11px solid rgba(255, 204, 0);
    border-top: 11px solid rgba(255, 204, 0);
}

.fixed-image {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.fixed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fixed-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.3rem;
    text-align: justify;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 30px;
    border-radius: 10px;
    box-sizing: border-box;
    line-height: 2rem;
    max-width: 90%;
    word-wrap: break-word;
}

.fixed-text h2{
    text-align: center;
}

.updates {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #ece2cd;
    border-bottom: 11px solid rgba(255, 204, 0);
}

.updates-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.updates-title img {
    position: absolute;
    width: 100px;
    height: auto;
    margin-right: 84%;
}

.updates-title h2 {
    font-size: 2rem;
    color: #b32e12;
}
.updates h2 {
    color: #b32e12;
    font-size: 2.5rem;
    margin: 40px;
    text-align: center;
}

.updates-images {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 50px;
    margin-bottom: 30px;
    
    scroll-snap-type: x mandatory;
}

.updates-content {
    display: flex;
    gap: 100px;
    margin: 50px 0;
    justify-content: center;
    box-sizing: border-box;
}

.update-item {
    display: flex;
    min-height: 10px;
    flex-direction: column;
    justify-content: space-between;
    width: 40%;
    text-align: center;
    background-color: #fff6ed;
    padding: 40px 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.update-item h3 {
    font-size: 1.8rem;
    color: #b32e12;
    margin-bottom: 10px;
}

.update-item p {
    font-size: 1rem;
    color: #5a5a5a;
    line-height: 1.6;
    padding: 20px;
    text-align: justify;
}

.update-item .btn {
    padding: 10px 15px;
    background-color: #b32e12;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 150px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.btn_btn{
    display: flex;
    gap: 10px;
    justify-content: center;
}

.update-item .buttons .btn {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.buttons  a {
    text-decoration: none;
    color: white;
    width: 100%;
    height: 100%;
    display: block;
}

.btn a {
    text-decoration: none;
    color: white;
    display: block;
    width: 100%;
    height: 100%;
}

.update-item .btn:hover {
    background-color: #ffb84d;
    color:#b32e12;
    padding: 10px 15px;
    text-align: center;
    width: 150px;
    border-radius: 5px;
}

.material-mayor {
    position: relative;
    width: 100%;
    height: 600px;
    background: url('../images/carro_portada.jpg') no-repeat center center;
    background-size: cover;
    background-position: center; 
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 11px solid rgba(255, 204, 0);
    overflow: hidden; 
}

.material-mayor .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.material-mayor h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.material-mayor .btn {
    padding: 10px 20px;
    background-color: #b32e12;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

.material-mayor .btn:hover {
    background-color: #ffb84d;
    color: #b32e12;
}

.cta-section {
    display: flex; 
    flex-direction: row; 
    justify-content: center; 
    align-items: stretch; 
    height: 600px; 
    width: 100%; 
    margin: 0;
    border-bottom: 11px solid rgba(255, 204, 0);
}

.cta-item {
    width: 50%; 
    height: 100%; 
    text-align: center;
    padding: 150px;
    box-sizing: border-box; 
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.cta-item.postulate {
    background-color: #ece2cd;
    text-align: center; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    width:auto; 
}

.cta-item.postulate h3 {
    color: #b32e12; 
}

.cta-item .btn-postulate {
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #b32e12;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease;
    
    
}

.cta-item .btn-postulate:hover {
    background-color: #ffb84d; 
}

.cta-item .cta-text {
    text-align: left;
    font-size: 1.2rem;
    line-height: 3;
    margin-bottom: 20px;
    color: #b32e12
}

.cta-item .cta-text .animo{
    text-align: justify;
    line-height: 2.1rem;
    font-size: medium;
}

.cta-item.donaciones {
    background-color: #b32e12;
    text-align: justify;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    justify-content: space-between;
}

.cta-item.donaciones h3 {
    color: #fce8e0;
    text-align: center;
}

.cta-item.donaciones h4 {
    color: #fce8e0;
    text-align: center;
}

.cta-item.donaciones p{
    color: #fce8e0;
    text-align: justify;
} 

.cta-item .btn-donate {
    margin-top: 0px;
    padding: 10px 15px;
    background-color: #fce8e0;
    color: #b32e12;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease;
}

.donaciones ul{
text-align: left;
font-size: 1.2rem;
line-height: 3;
color: #fce8e0
}

.cta-item .btn-donate:hover {
    background-color: #ffb84d;
}



@media (max-width: 1729px){
    
 


.logo-img {
    top:30px;
    left:36%;
    width: 270px;
    
 
    
}

}







@media (max-width: 1511px){
    
.hero-content-wrapper {
    
    top:10%;
   
}



.logo-img {
    top:20px;
    left:0;
    width: 250px;
    
    position: relative;

    
    
}

}



@media (max-width: 1443px){
    
.hero-content p {
  
    padding-right:300px;
}

}


@media (max-width: 1305px) {
.logo-img {
    width: 250px;
   
    
}






.hero-content h1 {
    font-size: 2.5rem;
}
.carro{
    width: 400px;
    top:86%;
}
.cta-section {
    flex-direction: column;
    height: auto;
}
.cta-item {
    width: 100%;
    height: auto;
    padding: 20px;
}
.cta-item.postulate,
.cta-item.donaciones {
    text-align: center;
    padding: 70px;
    box-shadow: none;
}
.cta-item.donaciones h3 {
    color: #fce8e0;
    text-align: center;
    padding-bottom: 20px;
}
.cta-item.donaciones h4 {
    color: #fce8e0;
    text-align: center;
    padding-bottom: 10px;
}
.cta-item.donaciones p {
    color: #fce8e0;
    padding-bottom: 10px;
}
.cta-item .btn-postulate,
.cta-item .btn-donate {
    width: 100%;
    padding: 10px;
}
.cta-item.donaciones p,
.cta-item.postulate p {
    font-size: 0.9rem;
    line-height: 1.6;
}
.fixed-text {
    font-size: 1rem;
    padding: 15px;
    line-height: 1.6rem;
    max-width: 95%;
}
.updates {
    text-align: center;
}
.updates-title {
    flex-direction: column;
    align-items: center;
}
.updates-title img {
    position: static;
    margin: 0 auto 10px;
    width: 70px;
}
.updates-title h2 {
    font-size: 1.8rem;
}
.updates-images {
    flex-direction: column;
    align-items: flex-start;
    margin-left: 20px;
}
}


@media (max-width: 1118px) {
    
    .updates-images {
  
    padding-right: 20px;
    
   
}


}


@media (max-width: 1124px) {
    .heros {
        height: 700px;
        justify-content:center; 
        
    }
    
    
    .hero-content {
    color: rgb(255, 255, 255);
    max-width: 50%; 
    
}
    


    
   
    .updates-content {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }
    .update-item {
        width: 100%;
        padding: 20px;
    }
    .updates-images img {
        width: 100%;
    }
    .logo-img {
        width: 200px;
       
    }
    .hero-content h1 {
        font-size: 2.0rem;
        padding-top: 0px;
        padding-right:0px;
        
        
    }

    .hero-content p {
        font-size: 1.3rem;
        margin-top: 50px;
        padding-right:0px;
        
    }
    .hero-content-wrapper {
        text-align:center;
        top:50px;
        justify-content:center; 
        margin-left: 0px;
    }
    
    
    
    
    
.heros::after {
    background:linear-gradient(to right, #b32e12, #f8ff24);
    clip-path: none; /* Remueve la forma de recorte */
    opacity: 40%; /* Opcional: ajusta la opacidad si es necesario */
  }
    
    
}








@media (max-width: 741px) {
    .heros {
        height: 600px;
    }
    .updates-title img {
        width: 50px;
        margin-right: 20px;
    }
    .updates-content {
        gap: 20px;
    }
    .update-item {
        padding: 15px;
    }
    .logo-img {
        width: 130px;
        top:30px;
        
    }
    .hero-content h1 {
        font-size: 1.3rem;
        
        
    }
    
    .hero-content{
        
       
        
    }
    
      .hero-content p {
        font-size: 0.8rem;
        
        
    }

    .buttons .btn {
        margin-bottom:10px;
    }
    
    .image-container {
    
    
    height: 600px;
    
}






    
}





