html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

h1 {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: normal;
    line-height: normal;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    filter: brightness(40%);

}

.overlay {
    width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.overlay h1 {
    text-align: center;
    font-size: 4.2rem;
    font-weight: 400;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

@media (max-width: 480px) {
    .overlay h1 {
        font-size: 2.5rem;
    }
}

.subtext {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 200;
    margin-bottom: 20px;
}

.links-container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.link {
    width: 6rem;
    height: 6rem;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.932);
    backdrop-filter: blur(10px);
    border-radius: 20%;
    padding: 10px;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid transparent;
}

.link img {
    width: 100%;
    object-fit: contain;
}

.link-off {
    background-color: rgba(255, 255, 255, 0.534);
}


.link:hover {
    transform: scale(1.1);
    /* border: 1px solid rgb(29, 29, 28); */
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 0.9rem;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

/* Estilo para la pantalla de carga */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.spinner {
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-top: 8px solid white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hidden {
    display: none;
}
