.scrollDownArrow{
    position: fixed;
    bottom: 5%;
    left: 42.5vw;
    animation: 1.5s  arrowDown infinite;
    width: 15vw;
    height: 40px;
    z-index: 100;
}

.hero-image{
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../Common/ImagenIglesia.JPG");
  height: 35vh;
  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;
    margin-bottom: 10vh;
}

.familia{
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 35% 45%;
    grid-template-areas: 
    "familiaTitulo"
    "familiaTexto";
    height: 30vh;
    margin-top: 5vh;
    overflow-y: hidden;
    row-gap: 15%;
    width: 100%;
}

.familiaTitulo{
    color: dimgrey;
    letter-spacing: 5px;
    font-size: 30px;
    align-self: center;
    grid-area: familiaTitulo;
    text-align: center;
    font-weight: bold;
    margin-left: 2.5%;
    margin-right: 2.5%;
    max-width: 95%;
}

.familiaTexto{
    color:black;
    align-self: start;
    grid-area: familiaTexto;
    text-align: center;
    margin: 2vw;
}

.conoceMasFamilia{
    margin-top: 3%;
    cursor: pointer;
    color: #ff753e;
    background-color: var(--background-white-color);
}

.conoceMasFamilia a {
    color: #ff753e;
    text-decoration: none; /* no underline */
}

.actividadesFondo{
    width: 100%;
    height: 80vh;
    overflow-y: hidden;
}

.actividadesDentro{
    width: 90%;
    height: 85vh;
    margin: 5%;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 25%;
    grid-template-areas: 
    "actividadesTitulo"
    "actividadesTexto"
}

.actividadesTitulo{
    font-family: din-condensed, sans-serif;
    font-weight: bold;
    font-size: 30px;
    text-align: center;
    align-self: center;
    color: var(--background-dark-color);
    letter-spacing: 5px;
    font-weight: bold;
}

.actividadesTexto{
    color:rgb(219,219,219);
    align-self: start;
    grid-area: actividadesTexto;
    text-align: center;
    margin: 2vw;
    color: var(--background-dark-color);
}

.verActividades{
    cursor: pointer;
    color: rgb(136, 68, 41);
    color: var(--background-dark-color);
    border-color: transparent;
    background-color: transparent;
    text-decoration: none; /* no underline */
}

.verActividades a {
    text-decoration: none; /* no underline */
}

.jovenesContainer{
    position: relative;
    text-align: center;
    color: white;
    width: 100%;
    height: 50vh;
    overflow-y: hidden;
}

.jovenesContainer a {
    text-decoration: none;
    color: var(--background-white-color);
}

.imagenJovenes{
    width:100%; 
    height:100%; 
    background:url(ImagenesJovenes.jpg) center center no-repeat;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.textoJovenes{
    position: absolute;
    top: 108px;
    font-size: 20px;
    width: 80vw;
    left: 10vw;
}

.jovenesTitulo{
    position: absolute;
    top: 8px;
    width: 55vw;
    left: 22.5vw;
    font-size: 40px;
    font-weight: bold;
}


.visitanosContainer{
    width: 100%;
    height: 45vh;
    margin-top: 10vh;
    overflow-y: hidden; 
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 20% 15% 65%;
    background-color: var(--background-dark-color);
    grid-template-areas: 
    "textoInvitacion"
    "direccion"
    "countdown"
}

.textoInvitacion{
    grid-area: textoInvitacion;
    align-self: center;
    text-align: center;
    color: var(--background-white-color);
    width: 90%;
    font-size: 18px;
    margin-left: 5%;
}

.direccion{
    grid-area: direccion;
    align-self: center;
    width: 90%;
    text-align: center;
    color: var(--background-white-color);
    margin-left: 5%;
}

.countdown{
    grid-area: countdown;
    display: grid;
    width: 100%;
    align-self: center;
    margin-top: 10vh;
    overflow-y: hidden; 
    grid-template-columns: 25% 25% 25% 25%;
    grid-template-rows: 50% 50%;
    row-gap: 1vh;
    grid-template-areas: 
    "daysNumber hoursNumber minutesNumber secondsNumber"
    "days hours minutes seconds"
}

.daysNumber{
    display: daysNumber;
    color: var(--background-white-color);
    text-align: center;
    font-weight: bold;
}

.hoursNumber{
    display: hoursNumber;
    color: var(--background-white-color);
    text-align: center;
    font-weight: bold;
}

.minutesNumber{
    display: minutesNumber;
    color: var(--background-white-color);
    text-align: center;
    font-weight: bold;
}

.secondsNumber{
    display: secondsNumber;
    color: var(--background-white-color);
    text-align: center;
    font-weight: bold;
}

.days{
    display: days;
    color: var(--background-white-color);
    text-align: center;
}

.hours{
    display: hours;
    color: var(--background-white-color);
    text-align: center;
}

.minutes{
    display: minutes;
    color: var(--background-white-color);
    text-align: center;
}

.seconds{
    display: seconds;
    color: var(--background-white-color);
    text-align: center;
}


.verMas{
    margin-top: 5%;
    grid-area: verMas;
    max-width: 50%;
    margin-left: 25%;
    border-color: transparent;
    background-color: transparent;
    color: var(--background-white-color);
}

.verMas a{
    text-decoration: none;
    margin-left: 25%;
    color: var(--background-white-color);
}

.donacionesContainer{
    margin-top: 10%;
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 10% 45% 5% 40%;
    grid-template-areas: 
    "donacionesLogo"
    "cita"
    "versiculo"
    "donarButton";
}

.donacionesLogo{
    grid-area: donacionesLogo;
    justify-self: center;
}

.cita{
    grid-area: cita;
    font-size: 28px;
    margin: 5% 2% 7% 5%;
}

.versiculo{
    grid-area: versiculo;
    justify-self: center;
}

.donarButton{
    grid-area: donarButton;
    margin-top: 10%;
    border-radius: 8px;
    max-width: 50%;
    max-height: 25%;
    margin-left: 25%;
    font-size: 28px;
    color: var(--background-white-color);
    background-color: var(--background-dark-color);
    transition: all .2s ease-in-out
}

.donarButton:hover{
    transform: scale(1.05);
}


.podcastContainer{
    margin-top: 10%;
    width: 100%;
    height: 75vh;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 20% 50% 15% 15%;
    grid-template-areas: 
    "tituloPodcast"
    "textoPodcast"
    "applePodcastBadge"
    "spotifyBadge";
}

.tituloPodcast{
    grid-area: tituloPodcast;
    font-size: 28px;
    font-weight: bold;
    justify-self: center;
    text-align: center;
}

.textoPodcast{
    grid-area: textoPodcast;
    justify-self: center;
    max-width: 95%;
    text-align: center;
}

.applePodcastBadge{
    grid-area: applePodcastBadge;
    justify-self: center;
}

.spotifyBadge{
    grid-area: spotifyBadge;
    justify-self: center;
}

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

    .podcastContainer{
        height: 70vh;
    }
}

@media screen and (min-width: 765px) and (max-width: 1023px){

    .hero-image{
      height: 45vh;
    }
    
    .hero-text {
        font-size: 55px;
    }

    .familia{
        height: 14vh;
        grid-template-columns: 50% 50%;
        grid-template-rows: 100%;
        grid-template-areas: 
        "familiaTitulo familiaTexto";
    }

    .familiaTexto{
        align-self: center;
    }

    .actividadesFondo{
        width: 60vw;
        height: 15vh;
        margin-left: 20%;
        overflow: visible;
    }

    .actividadesDentro{
        width: 90%;
        height: 50vh;
        margin: 5%;
        grid-row-gap: 5vh;
    }

    .jovenesContainer {
        margin-top: 30vh;
    }

    .textoJovenes{
        position: absolute;
        top: 108px;
        font-size: 20px;
        width: 80vw;
        left: 10vw;
    }
    
    .jovenesTitulo{
        position: absolute;
        top: 8px;
        width: 50vw;
        left: 25vw;
        font-size: 40px;
        letter-spacing: 5px;
    }

    .dentroCartaMinisterios1{
        max-width: 80%;
        margin: 10%
    }

    .dentroCartaMinisterios2{
        max-width: 80%;
        margin: 10%
    }

    .dentroCartaMinisterios3{
        max-width: 80%;
        margin: 10%
    }

    .cita{
        font-size: 40px;
        text-align: center;
    }
    .visitanosContainer{
        width: 100%;
        height: 35vh;
        margin-top: 10vh;
        overflow-y: hidden; 
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-rows: 50% 50%;
        background-color: var(--background-dark-color);
        grid-template-areas: 
        "textoInvitacion countdown"
        "direccion countdown"
    }
    .donarButton{
        grid-area: donarButton;
        margin-left: 42.5%;
        width: 15%;
        height: 15%;
        font-size: 28px;
        color: var(--background-white-color);
        background-color: var(--background-dark-color);
        transition: all .2s ease-in-out
    }

    .countdown{
        margin-top: 5vh;
        height: 9vh;
    }

    .podcastContainer{
        height: 40vh;
        grid-template-columns: 50% 50%;
        grid-template-rows: 34% 33% 33%;
        grid-template-areas: 
        "tituloPodcast tituloPodcast"
        "textoPodcast textoPodcast"
        "applePodcastBadge spotifyBadge";
    }

    .textoPodcast{
        max-width: 60%;
    }
    
    .applePodcastBadge{
        justify-self: end;
        margin-right: 10px;
    }
    
    .spotifyBadge{
        justify-self: start;
        margin-left: 10px;
    }
}

@media screen and (min-width: 1024px){

    .scrollDownArrow{
        position: fixed;
        bottom: 5%;
        left: 49vw;
        animation: 1.5s  arrowDown infinite;
        width: 2vw;
        height: 40px;
        z-index: 100;
    }

    .hero-image{
        height: 65vh;
      }
      
    .hero-text {
        font-size: 65px;
    }

    .familia{
        width: 80%;
        margin-left : 10%;
        height: 30vh;
        grid-template-columns: 50% 50%;
        grid-template-rows: 100%;
        grid-template-areas: 
        "familiaTitulo familiaTexto";
    }

    .familiaTexto{
        margin-top: 14vh;
    }

    .actividadesFondo{
        width: 60vw;
        height: 35vh;
        margin-left: 20%;
        overflow: visible;
    }

    .actividadesDentro{
        height: 55vh;
        margin-right: 0;
        overflow:visible;
    }

    .actividadesTitulo{
        font-size: 55px;
    }

    .jovenesContainer {
        margin-top: 30vh;
    }

    .textoJovenes{
        position: absolute;
        top: 45%;
        font-size: 30px;
        width: 80vw;
        left: 10vw;
    }
    
    .jovenesTitulo{
        position: absolute;
        top: 25px;
        width: 50vw;
        left: 25vw;
        font-size: 60px;
        font-weight: bold;
    }
    
    .verActividades{
        margin-top: 5%; 
        font-size: 20px;
    }

    .timer{
        font-size: 40px;
        font-weight: bold;
    }

    .donacionesContainer{
        margin-top: 5%;
        height: 90vh;
    }

    .cita{
        font-size: 35px;
        margin-right: 15%;
        margin-left: 15%;
        margin-top: 5%;
        text-align: center;
        overflow: hidden;
    }

    .versiculo{
        font-size: 25px;
    }

    .donarButton{
        grid-area: donarButton;
        margin-left: 42.5%;
        width: 15%;
        height: 15%;
        font-size: 28px;
        color: var(--background-white-color);
        background-color: var(--background-dark-color);
        transition: all .2s ease-in-out
    }

    .visitanosContainer{
        width: 100%;
        height: 30vh;
        margin-top: 5vh;
        overflow-y: hidden; 
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-rows: 50% 50%;
        background-color: var(--background-dark-color);
        grid-template-areas: 
        "textoInvitacion countdown"
        "direccion countdown"
    }


    .textoInvitacion{
        font-size: 35px;
        margin-left: 5vw;
        margin-top: 10vh;
    }

    .direccion{
        font-size: 18px;
        margin-left: 10%;
    }

    .countdown{
        align-self: baseline;
        font-size: 30px;
        height: 10vh;
    }

    .verMas{
        margin-left: 35%;
        font-size: 30px;
    }

    .consultorioContainer{
        height: 50vh;
    }
    
    .tituloConsultorio{
        grid-area: tituloConsultorio;
        font-size: 28px;
        font-weight: bold;
        justify-self: center;
    }
    
    .consultorioButton{
        grid-area: consultorioButton;
        margin-top: 0;
        border-radius: 4px;
        max-width: 25%;
        max-height: 25%;
        margin-left: 37.5%;
        overflow: hidden;
    }

    .podcastContainer{
        height: 32vh;
        grid-template-columns: 50% 50%;
        grid-template-rows: 33% 37% 30%;
        grid-template-areas: 
        "tituloPodcast tituloPodcast"
        "textoPodcast textoPodcast"
        "applePodcastBadge spotifyBadge";
    }

    .textoPodcast{
        max-width: 50%;
    }
    
    .applePodcastBadge{
        justify-self: end;
        margin-right: 10px;
    }
    
    .spotifyBadge{
        justify-self: start;
        margin-left: 10px;
    }
}
  

@keyframes moveBackGround{
    0%{
        margin-left: 35%;
    }
    50%{
        margin-left: 40%;
    }
    100%{
        margin-left: 35%;
    }
}

@keyframes moveActivity{
    0%{
        margin-left: 1vw;
    }
    30%{
        margin-left: 0.25vw;
    }
    80%{
        margin-left: 1.75vw;
    }
    100%{
        margin-left: 1vw;
    }
}

@keyframes arrowDown {
    0% {
      bottom: 7%
    }
    50% {
      bottom: 5%
    }
    100% {
      bottom: 7%
    }
  }