/*==============================
        FUENTE
===============================*/

@font-face{
    font-family:LoveBoho;
    src:url("../fuentes/LoveBoho.otf");
}

/*==============================
        GENERAL
===============================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:Arial, Helvetica, sans-serif;

    color:white;

    overflow-x:hidden;

    background:black;

}

/*==============================
        FONDO
===============================*/

.fondo{

    position:fixed;

    inset:0;

    background-image:url("../img/FONDO1.gif");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    z-index:-2;

}

.fondo::after{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.60);

    backdrop-filter:blur(4px);

}

/*==============================
        CONTENEDOR
===============================*/

.contenedor{

    width:90%;

    max-width:900px;

    margin:auto;

    padding:60px 0 100px;

}

/*==============================
        TITULO
===============================*/

h1{

    font-family:LoveBoho;

    text-align:center;

    font-size:70px;

    margin-bottom:60px;

    color:white;

    text-shadow:

    0 0 12px hotpink,

    0 0 30px deeppink;

}

/*==============================
        INTRO
===============================*/

.intro{

    text-align:center;

    margin-bottom:70px;

}

.intro img{

    width:420px;

    max-width:100%;

    border-radius:25px;

    border:5px solid white;

    box-shadow:0 0 35px hotpink;

    transition:.4s;

}

.intro img:hover{

    transform:scale(1.03);

}

.intro p{

    margin-top:25px;

    font-size:23px;

    line-height:1.8;

}

/*==============================
        TARJETAS
===============================*/

.tarjeta{

    background:rgba(255,255,255,.10);

    backdrop-filter:blur(10px);

    border-radius:30px;

    padding:30px;

    margin:60px auto;

    box-shadow:0 0 25px rgba(255,255,255,.15);

    transition:.4s;

    opacity:0;

    transform:translateY(70px);

}

.tarjeta.visible{

    opacity:1;

    transform:translateY(0);

}

.tarjeta:hover{

    transform:translateY(-8px);

    box-shadow:0 0 35px hotpink;

}

.tarjeta img{

    display:block;

    margin:auto;

    width:420px;

    max-width:100%;

    border-radius:20px;

    border:5px solid white;

    box-shadow:0 0 25px hotpink;

    cursor:pointer;

    transition:.35s;

}

.tarjeta img:hover{

    transform:scale(1.03);

}

.tarjeta p{

    margin-top:25px;

    text-align:center;

    font-size:22px;

    line-height:1.8;

}

/*==============================
        BOTON REGRESAR
===============================*/

.volver{

    text-align:center;

    margin-top:90px;

}

.volver p{

    font-size:24px;

    margin-bottom:25px;

}

.volver img{

    width:220px;

    border-radius:30px;

    border:5px solid white;

    box-shadow:0 0 30px hotpink;

    transition:.35s;

    cursor:pointer;

}

.volver img:hover{

    transform:scale(1.08) rotate(3deg);

    box-shadow:0 0 45px deeppink;

}

/*==============================
        VISOR
===============================*/

#visor{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.94);

    display:flex;

    justify-content:center;

    align-items:center;

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:9999;

}

#visor.activo{

    opacity:1;

    visibility:visible;

}

#visor img{

    width:85%;

    max-width:900px;

    max-height:90vh;

    border-radius:20px;

    border:5px solid white;

    box-shadow:0 0 45px hotpink;

}

/*==============================
        RESPONSIVE
===============================*/

@media(max-width:768px){

    h1{

        font-size:48px;

    }

    .intro p{

        font-size:20px;

    }

    .tarjeta{

        padding:20px;

    }

    .tarjeta p{

        font-size:19px;

    }

}