.masthead{
    background-size: cover;
    min-height: 50vh;
    position: relative;
    color: white;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, .2);
    background-attachment: fixed;
   
}
.btn-primary{
    background-color: crimson;
    border-color: crimson;
}
a:hover{
    background-color: darkmagenta ;
    border-color: darkmagenta;
}

.conteo{
    font-weight: 500;
    background-size: cover;
    min-height: 34vh;
    position: inherit;
    text-shadow: 0px 2px 2px rgb(0 0 0 / 20%)
}
.img-conteo{
    width: 80%;
}
p{
    font-family: 'Atlassian Sans';
}

h1 {
    font-size: 4rem;
}
.color-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .2);
}

.contenedor-leyenda{
    margin-top: -29rem;
    position: relative;
    color: white;
}
.cont-leyenda{
    background: rgba(15, 13, 13, 0.5);
    padding: 1rem;
    min-height: 50vh;
    
}
.leyenda{
    margin-top: 5rem;
}

.ima-calen{
    height: 500px;
    border-radius: 6px;
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.50);
}

.coutdown, col{
    padding: 1rem;
    margin: 1rem;
    border-color: darkred;
    border-style: double;
    border-radius: 15px;
}

body {
    background-color: #f8f4ef;

}

.img-recepcion  {
    margin: auto;
    display: block;
    width: 200px;
    padding-top: 1rem;
    margin-top: 1rem;
}

.img-iglesia{
    margin: auto;
    display: block;
    margin-bottom: 1rem
}
.img-dia {
    margin: auto;
    display: block;
    width: 100px;
    padding-top: 1rem;
}

.img-ubicacion {
    margin: auto;
    display: block;
    width: 100px;
}

.img-regalos {
    margin: auto;
    display: block;
    width: 200px;
}

.img-itinerario{
    margin: auto;
    display: block;
    width: 200px;

}

.lluvia-sobres {
    margin: auto;
    display: block;
    width: 200px;
}

.img-sobres{
    margin: auto;
    display: block;
    margin-top: 1rem;
    margin-block: 3rem;
}

.img-codigo{
    margin: auto;
    display: block;
    width: 250px;
}

.iglesia{
    border-radius: 10px;
    box-shadow: 0px 15px 25px rgb(0 0 0 / 10%);
}
.contenido figure{
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.50);
    cursor: pointer;
}

.contenido figure img{
    transition: all 500ms ease-out;

}

.reloj{
    margin-top: -10rem;
}


.contenido figure .capa{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 13, 13, 0.4);
    transition: all 500ms ease-out;
    visibility: visible;
    color: white;

}



.contenido figure > .capa h3{
    margin-top: 70px;
    margin-bottom: 15px;
} 

.contenido figure:hover > img{
    transform: scale(1.3);
}





.conf-asistencia{
    background: rgba(220, 206, 213, .8);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0px 15px 25px rgb(0 0 0 / 50%);
    cursor: pointer;
}

.itinerario-list{
    width: 100%;
}

.img-datosB{
    width: 100%;
}

.datos-bancarios{
    margin-bottom: 6rem;
    position: relative;
    margin-top: -7rem;
    color: white;
    font-size: larger;
}

.ir-arriba{
    display: none;
    padding: 20px;
    font-size: 25px;
    color: coral;
    cursor: pointer;
    position: fixed;
    bottom: 5px;
    right: 0px;
}

@media (max-width:768px) {
    .masthead {
        min-width: 30vh;
        min-height: 25vh;
        background-attachment: inherit;
    }
    h1 {
        font-size: calc(1.525rem + 3.3vw);
    }
    .ima-calen{
        height: 300px;
    }
    
    .img-sobres{
        width: 300px;
    }

    .img-confirmacion{
        width: 250px;
    }
    .img-itinerario{
        width: 110px;
        height: 100px;
    }
    .img-iglesia{
        width: 250px;
    }

    .conteo{
        min-height: 20vh;
    }
    .img-conteo{
        width: 100%;
        height: 60%;
    }
    

    .reloj{
        margin-top: -5rem;
        font-size: 10px;
    }

    .contenido figure img {
        transition: all 500ms ease-out;
        width: 80%;
        height: 250px;
    }

    .contenedor-leyenda {
        margin-top: -5rem;
        position: relative;
        color: white;
    }
    .cont-leyenda{
        width: 100%;
        font-size: 11px;
        min-height: 0vh;
    }
    .leyenda{
        margin-top: 0rem;
    }
    .capa{
        font-size: 9px;
    }

    .datos-bancarios{
        font-size: smaller;
        margin-top: -5rem;
    }
    .conf-asistencia{
        width: 90%;
    }
}

@media (min-width: 576px) { 
  
 }