*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
:root{

    --color-texto:#ffffff;

    --color-secundario:rgba(255,255,255,.85);

    --cristal:rgba(255,255,255,.10);

}

body{
    width:100%;
    height:100%;
}

body{
    font-family:'Poppins', sans-serif;
    color:var(--color-texto);

    background-image:url("assets/fondo-desktop.jpg");
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
}

.overlay{
    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:30px;

    background:rgba(0,0,0,.55);
}

.card{

    width:100%;
    max-width:700px;

    padding:60px 50px;

    text-align:center;

    background:var(--cristal);

    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);

    border:1px solid rgba(255,255,255,.20);

    border-radius:18px;

	 box-shadow:0 20px 60px rgba(0,0,0,.35);

    transition:.35s ease;

    animation:fadeIn .9s ease-out;

}

.logo{

    max-width:220px;
    width:100%;
    margin:0 auto 35px;
    display:block;
}

h1{

    font-size:48px;
    font-weight:700;

    margin-bottom:25px;

    letter-spacing:2px;
}

.descripcion{

    font-size:22px;

    line-height:1.5;

    margin-bottom:20px;
}

.texto{

    font-size:18px;

    color:var(--color-secundario);

    line-height:1.7;

    margin-bottom:40px;
}

.contacto{

    border-top:1px solid rgba(255,255,255,.25);

    padding-top:30px;

    font-size:18px;

    line-height:2;
}

.contacto a{

    color:white;

    text-decoration:none;
}

.contacto a:hover{

    text-decoration:underline;
}

@keyframes fadeIn{

    from{
        opacity:0;
        transform:translateY(25px) scale(.98);
    }

    to{
        opacity:1;
        transform:translateY(0) scale(1);
    }

}

@media (max-width:768px){

    body{
        background-image:url("assets/fondo-mobile.jpg");
        background-position:center top;
        background-size:cover;
    }

    .overlay{
        align-items:flex-end;
        justify-content:center;
        padding:20px;
    }

    .card{
        padding:35px 25px;
        max-width:100%;
    }

    .logo{
        max-width:170px;
        margin-bottom:25px;
    }

    h1{
        font-size:34px;
    }

    .descripcion{
        font-size:19px;
    }

    .texto{
        font-size:16px;
    }

    .contacto{
        font-size:16px;
    }

}
/* Hover solo en dispositivos con ratón */
@media (hover:hover){

    .card:hover{

        transform:translateY(-3px);

        box-shadow:0 28px 70px rgba(0,0,0,.45);

    }

}