/* General */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Incluye bordes y padding en el ancho total */
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100%;
    overflow-x: hidden; /* Oculta el scroll horizontal */
    background: url('../img/Fondo.png') no-repeat center center fixed; /* Cambia fondo.jpg por tu imagen */
    background-size: cover;
}

/* Ocultar scroll vertical en pantallas grandes */
@media (min-width: 769px) {
    html, body {
        overflow-y: hidden; /* Oculta el scroll vertical en pantallas grandes */
        font-size: 18px; /* Aumenta el tamaño del texto en pantallas grandes */
    }
}

/* Permitir scroll vertical en dispositivos móviles */
@media (max-width: 768px) {
    html, body {
        overflow-y: auto; /* Permite el scroll vertical en dispositivos móviles */
        font-size: 16px; /* Tamaño del texto en dispositivos móviles */
    }
}



/* Título principal */
#titulo {
    text-align: center;
    margin-top: 120px;
    color: rgb(254, 0, 0);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 50px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

#titulo:hover {
    transform: scale(1.05); /* Efecto hover */
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    #titulo {
        font-size: 35px; /* Tamaño más pequeño para móviles */
        margin-top: 100px;
        padding: 8px;
    }
}

/* Contenedor principal */
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 60px); /* Ajustar altura teniendo en cuenta el menú */
    padding: 20px;
    text-align: center;
}

main img {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin: 20px 0;
    border: none;
    box-shadow: none; /* Elimina sombras */
    background: none; /* Elimina cualquier fondo */
    border-radius: 0; /* Asegura que no haya bordes redondeados */
}

main img:hover {
    transform: scale(1.1); /* Aumentar ligeramente el tamaño al pasar el cursor */
}

#content p {
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    font-size: 20px;
    text-align: center;
    max-width: 800px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    #content p {
        font-size: 16px; /* Tamaño reducido en móviles */
        padding: 10px; /* Menor espacio a los lados */
    }
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
    font-size: 14px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

footer a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #d34b74;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    footer {
        font-size: 12px; /* Texto más pequeño en móviles */
        padding: 15px;
    }
}