.hero-image{
    background-image: url("../Home/ImagenesJovenes.jpg");
    height: 25vh;
    max-width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
  
.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--background-white-color);
    font-size: 20px;
    font-weight: bold;
}

.descripcion {
    width: 100%;
    height: 50vh;
    text-align: center;
    color: var(--background-dark-color);
    margin-top: 5%;
}

.actividadPrincipalContainerImpar{
    width: 100%;
    height: 120vh;
    margin-top: 5%;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 35% 55%;
    grid-row-gap: 5%;
    grid-template-areas: 
    "fotoActividadPrincipal"
    "textoActividadPrincipal";
    overflow-y: hidden;
}

.actividadPrincipalContainerPar{
    width: 100%;
    height: 120vh;
    margin-top: 5%;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 35% 55%;
    grid-row-gap: 5%;
    grid-template-areas: 
    "fotoActividadPrincipal"
    "textoActividadPrincipal";
    overflow-y: hidden;
}

.fotoActividadPrincipal{
    grid-area: fotoActividadPrincipal; 
    width: 100%;
    height: 100%;
}

.textoActividadPrincipal{
    grid-area: textoActividadPrincipal;
    font-weight: bold;
    text-align: center;
    color: var(--background-dark-color);
    font-family: 'Futura', sans-serif;
    font-weight: 400;
    max-width: 95%;
    margin-left: 2.5%;
}

.textoActividadPrincipal b{
    font-weight: bold;
    font-size: 35px;
    letter-spacing: 3px;
}

@media only screen and (max-height : 666px) and (orientation : portrait){ /*iphone SE*/
    .hero-text {
        font-size: 15px;
    }
}

@media only screen and (max-height : 813px) and (min-width: 374px) and (orientation : portrait){ /*iphone X and 8Plus*/
    .descripcion{
        height: 40vh;
    }
}

@media screen and (max-width: 1024px) and (max-height : 768px) and (orientation : landscape){ /*Ipad mini and normal */
    .actividadPrincipalContainerImpar{
        width: 80%;
        height: 60vh;
        margin-top: 5%;
        margin-left: 10%;
        grid-template-columns: 50% 49%;
        grid-template-rows: 100%;
        grid-row-gap: 0%;
        grid-template-areas: 
        "fotoActividadPrincipal textoActividadPrincipal";
    }
    
    .actividadPrincipalContainerPar{
        width: 80%;
        margin-top: 5%;
        height: 60vh;
        margin-left: 10%;
        grid-template-columns: 50% 49%;
        grid-template-rows: 100%;
        grid-row-gap: 0%;
        grid-template-areas: 
        "textoActividadPrincipal fotoActividadPrincipal";
    }

}

@media screen and (min-width: 1025px){
    .hero-image{
        height: 55vh;
    }
    .hero-text {
        font-size: 60px;
        width: 80%
    }
    .descripcion {
        height: 30vh;
    }

    .actividadPrincipalContainerImpar{
        width: 80%;
        height: 35vh;
        margin-top: 5%;
        margin-left: 10%;
        grid-template-columns: 50% 49%;
        grid-template-rows: 100%;
        grid-row-gap: 0%;
        grid-template-areas: 
        "fotoActividadPrincipal textoActividadPrincipal";
    }
    
    .actividadPrincipalContainerPar{
        width: 80%;
        margin-top: 5%;
        height: 35vh;
        margin-left: 10%;
        grid-template-columns: 50% 49%;
        grid-template-rows: 100%;
        grid-row-gap: 0%;
        grid-template-areas: 
        "textoActividadPrincipal fotoActividadPrincipal";
    }

    .textoActividadPrincipal{
        margin-top: 0%;
    }
}