body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: url('../img/fondo.gif') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.logo {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 350px;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
}

h1 {
    margin-top: 30px;
    color: #3d416b;
    font-size: 2.5em;
    -webkit-text-stroke: 0.7px #ff3b3b; /* Añade el contorno rojo */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Sombra original */
}



.content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 130px;
}

.file-list {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    display: inline-block;
    border-radius: 10px;
    text-align: center; /* Asegura que los archivos estén alineados a la izquierda dentro del contenedor */
}

.file-container {
    text-align: center; /* Asegura que los archivos estén centrados en cada contenedor */
    margin-bottom: 10px;
	width: 320px;
}

.file-list a {
    color: #ff3b3b;
    text-decoration: none;
    display: block;
    margin: 10px 0;
    padding: 5px;
    border-radius: 5px;
}

.file-list a:hover {
    background-color: red;
    color: #fff;
}

.instruction {
    color: silver;
    font-size: 1.2em;
    margin-bottom: 15px;
}

footer {
    background-color: #3d416b;
    color: #bbb;
    text-align: center;
    padding: 10px 0;
    border-top: 5px solid #ff3b3b;
    box-shadow: 0px -4px 15px rgba(0, 0, 0, 0.8);
    position: fixed;
    bottom: 0;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 50px;
    align-items: center;
}

.footer-links a {
    color: #ff3b3b;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    transition: color 0.3s ease-in-out;
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-links a:hover {
    color: #4b1946;
}

.footer-links img {
    width: 30px;
    height: 30px;
}

.footer-text {
    font-size: 14px;
    margin-top: 12px;
    opacity: 0.7;
}

.dropdown {
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
    text-align: center;
    width: 120px; /* Ancho fijo del desplegable */
    left: 50%;
    transform: translateX(80%); /* Centra el desplegable horizontalmente */
}

.dropdown a {
    display: block;
    padding: 5px;
    color: white;
    text-decoration: none;
}

.dropdown a:hover {
    background: #3d416b;
    color: #ff3b3b;
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5em; /* Más pequeño para dispositivos muy pequeños */
		-webkit-text-stroke: 0.2px #ff3b3b; /* Añade el contorno rojo */
		text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.7); /* Sombra original */
    }

    .logo {
        width: 250px; /* Ajuste aún mayor para pantallas muy pequeñas */
    }

    .file-list {
        width: 95%;
        padding: 10px;
    }

    .footer {
        font-size: 10px; /* Más pequeño en dispositivos pequeños */
        padding: 8px 0; /* Reducir altura del pie de página */
    }

    .footer-links {
        gap: 15px;
    }

    .footer-links a {
        font-size: 16px;
    }
}
