*{
    padding: 0 0;
    font-family: "Source Serif 4",serif;
    margin: 0;
}

body{
    text-align: center;
}

.main-img{
    height: auto;
    width: 94.7vw;
    max-width: 1820px;
    max-height: 696px;
}

.text1{
    height: 240px;
    width: auto;
    display: flex;
    color: #001043;
    align-items: center;
    justify-content: center;
}

.subh{
    color:#680038 ;
    font-size: 50px;
}

.paragraph{
    padding-top: 8px;
    color: #001043;
    line-height: 24px;
    font-size: 26px;
}

.grid-container{
    margin: 0 auto;
    display: grid;
    max-width: 1795px;
    height: auto;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
}

.grid-item{
    margin-bottom: 15px;
}

.grid-item img{
    width: 30vw;
    height: auto;
    max-height: 429px;
    max-width: 593px;
}

.text2{
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
    width: 62.81vw;
}

.subh2{
    color:#680038;
    font-size: 36px;
}

.paragraph2{
    margin-top: 7px;
    color: #001043;
    font-size: 16px;
}

.container-2{
    margin: 0 auto;
    padding-top: 34px;
    display: flex;
    width: 62.81vw;
    height: auto;
    justify-content: center;
    max-width: 1820px;
    gap: 30px;
}

.container-2 img{
    width: 45vw;
    height: auto;
    max-width: 900px;
}

.aboutus{
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    width: 150px;
    height: 44px;
    font-size: 20px;
    color: white;
    background-color: #51002c;
    text-decoration: none;
}

.aboutus:hover,
.aboutus:focus {
    background-color: #680038;
    outline: 2px solid #001043; /* ✅ Accesibilidad: foco visible */
}

@media screen and (max-width: 768px) {
    .main-img{
        width: 100vw;
    }

    .subh{
        font-size: 36px;
    }

    .paragraph{
        font-size: 16px;
    }

    .grid-container{
        grid-template-columns: repeat(2,1fr);
    }

    .grid-item img{
        width: 45vw;
        height: auto;
        max-height: 429px;
        max-width: 593px;
    } 

    .subh2{
        margin-top: 15px;
        font-size: 36px;
    }

    .text2{
        height: auto;
        width: 91vw;
    }

    .container-2{
        height: auto;
        width: 62.81vw;
        gap: 23px;
    }
}

@media screen and (max-width: 426px) {
    .text1{
        height: 194px;
    }

    .grid-container{
        grid-template-columns: 1fr;
    }

    .container-2{
        padding-top: 0px;
    }
        
    .subh{
        line-height: 36px;
    }
    .grid-item img{
        width: 80vw;
        height: auto;
        max-height: 429px;
        max-width: 593px;
    }
}

