.Material-section {
    background-color: #ece2cd;
    padding: 100px 30px;
    text-align: center;
    color:#5a5a5a;
    border-bottom: 10px solid #ffcc00;
}

.linea {
    text-align: center;
    border-top: 1px solid #ffcc00;
    margin-top: 40px;
}


.Material-section h2 {
    font-size: 2rem;
    margin-bottom: 60px;
    color: #b32e12;
}

.Material-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items:flex-start;
    padding: 0 20%;
}

.Material-content_2 {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.Material-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 90px;
    padding: 0 200px;
}

.Material-card img {
    width: 400px;
    height: 400px;
    background-color: white;
    border: 5px solid #ffffff
}

.Material-card_2 {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 50px;
}

.Material-card_2 img {
    width: 400px;
    height: 400px;
    background-color: white;
    border: 5px solid #ffffff
}

.text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    margin: 0; 
    text-align: justify;
    color: #5a5a5a;
    padding-right: 100px;
}

.text-content .rango {
    font-weight: bold;
    padding-bottom: 30px;
    padding-top: 30px;
}

.text-content .nombre {
    font-size: 0.9rem;
    line-height: 1.8;
}

.text-content_2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    margin-right: 80px; 
    text-align: justify;
    color: #5a5a5a;
}

.text-content_2 .rango {
    font-weight: bold;
    padding-bottom: 30px;
    padding-top: 30px;
}

.text-content_2 .nombre {
    font-size: 0.9rem;
    line-height: 1.8;
}

.linea {
    text-align: center;
    
    padding: 20px 0;
    margin-top: 30px;
}

@media (max-width: 1324px) {
    .Material-content,
    .Material-content_2 {
        flex-direction: column;
        padding: 0 10%;
        gap: 30px;
        align-items: center;
    }

    .Material-card,
    .Material-card_2 {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 0 20px;
    }

    .Material-card img,
    .Material-card_2 img {
        width: 80%;
        height: auto;
    }

    .text-content {
        text-align: justify;
        padding: 0;
    }

    .text-content_2{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 0; 
        color: #5a5a5a;
    }

    .text-content .rango,
    .text-content_2 .rango {
        padding-bottom: 15px;
        padding-top: 15px;
    }
}

@media (max-width: 768px) {
    .Material-section {
        padding: 50px 20px;
    }
    .Material-section h2 {
        font-size: 1.5rem;
    }
    .Material-card img,
    .Material-card_2 img {
        width: 90%;
    }
    .text-content .nombre,
    .text-content_2 .nombre {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    .linea {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .Material-content,
    .Material-content_2 {
        padding: 0 5%;
    }
    .Material-card img,
    .Material-card_2 img {
        width: 100%;
    }
    .text-content .rango,
    .text-content_2 .rango {
        font-size: 1rem;
    }
    .text-content .nombre,
    .text-content_2 .nombre {
        font-size: 0.7rem;
    }
    .Material-section h2 {
        font-size: 1.2rem;
        margin-bottom: 40px;
    }
     .linea {
        width: 90%;
        margin: 20px auto;
    }
}

