@charset "UTF-8";

/* ===== FONDO + CONFIG GENERAL ===== */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-image: url("../img/fondo.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    position: relative;
}

/* ===== OVERLAY ===== */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.99);
    z-index: -1;
}

/* ===== CONTENEDOR CENTRADO ===== */
.centered-container {
    min-height: 100vh;                /* ocupa toda la pantalla */
    display: flex;
    flex-direction: column;           /* logo arriba, texto abajo */
    justify-content: center;          /* centra verticalmente */
    align-items: center;              /* centra horizontalmente */
    text-align: center;
    padding:0px;
}

/* ===== LOGO ===== */
.centered-container img {
    max-width: 300px;
    width: 50%;
    height: auto;
    margin-bottom: 20px;
}


/* ===== TEXTO ===== */
h2 {
    font-family: 'Lato', sans-serif;
    font-size: 21px;
    color: #e0e0e0;
    font-weight: 200;
    line-height: 1.7em;
}


/* LINKS */
a {
    color: #fff;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}


/* ===== ESTILOS PARA MÓVIL ===== */
@media (max-width: 768px) {
    h2 {
        font-size: 6vw;       /* el tamaño de la fuente será el 6% del ancho de la pantalla */
        line-height: 1.8em;   /* interlineado más cómodo */
    }

    .centered-container img {
        max-width: 70%;       /* reducimos un poco el logo en móvil */
        height: auto;
    }
}
