@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    color: white;
    background-color: #000;
    overflow-x: hidden;
    overflow-y: hidden;
}

/* --- VÍDEO DE FUNDO EM LOOP --- */
.background-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- VÍDEO DE INTRODUÇÃO --- */
#video-intro-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background-color: #000;
    transition: opacity 1s ease, filter 1s ease;
}

#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#video-intro-container.fade-out {
    opacity: 0;
    filter: blur(10px);
    pointer-events: none;
}

/* --- CONTEÚDO PRINCIPAL --- */
#main-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: space-between;
    transition: opacity 0.5s ease;
}

#main-content.hidden {
    opacity: 0;
    pointer-events: none;
}

.container {
    text-align: center;
    padding: 10px 20px;
}

.logo-frame {
    width: 170px;
    height: 170px;
    margin: 10px auto;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: white;
}

.imglogo {
    max-width: 90%;
    height: auto;
    border: none;
    box-shadow: none;
    margin-bottom: 0;
}

.titulogeral {
    font-size: 1.8rem;
    font-weight: 700;
}

h2 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 15px;
    opacity: 0.9;
}

.links a {
    display: block;
    max-width: 450px;
    width: 95%;
    margin: 10px auto;
    padding: 12px;
    background-color: white;
    color: black;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
}

.links a.visible {
    opacity: 1;
    transform: translateY(0);
}

.links a:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    background-color: #f0f0f0;
}

.links a i {
    margin-right: 10px;
}

.footer {
    background-color: transparent;
    color: #ffffff;
    padding: 10px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: bold;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.7);
}

.footer p {
    margin: 3px 0;
}

@media (max-height: 750px) {
    .logo-frame {
        width: 140px;
        height: 140px;
        margin: 5px auto;
    }
    .titulogeral { font-size: 1.6rem; }
    h2 { font-size: 0.9rem; margin-bottom: 10px; }
    .links a { margin: 8px auto; padding: 10px; font-size: 0.9rem; }
    .footer { padding: 5px; font-size: 0.75rem; }
}

@media (max-height: 600px) {
    .logo-frame {
        width: 100px;
        height: 100px;
    }
    .titulogeral { display: none; }
    h2 { font-size: 0.8rem; }
    .links a { margin: 5px auto; padding: 8px; }
}

@media (min-width: 600px) {
    .titulogeral { font-size: 2rem; }
    h2 { font-size: 1.1rem; }
    .links a { font-size: 1.1rem; }
}