body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: space-between;
    background-color: #111827;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

a {
    text-decoration: none;
    color: #ef4444;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: #dc2626;
}

footer {
    height: 2.5rem;
    background-color: #1f2937;
    color: #f3f4f6;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.3);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    background-color: #1f2937;
    position: sticky;
    top: 0;
    z-index: 10;
    background-image:
        radial-gradient(#ffffff22 1px, transparent 1px),
        radial-gradient(#ffffff11 1.5px, transparent 1.5px),
        radial-gradient(#ffffff18 0.8px, transparent 0.8px);
    background-size: 120px 120px, 180px 180px, 100px 100px;
    background-position: 40px 60px, 90px 30px, 10px 10px;
    background-blend-mode: lighten;
}

.title-header {
    color: #ef4444;
    font-size: 1.5rem;
    font-weight: bold;
}

.prelogo {
    transition: all 0.15s ease-in-out;
    border: 2px solid rgba(239, 68, 68, 0.5);
    border-radius: 0.5rem;
}

.logodef {
    display: block;
    transform: translateY(0);
}

.logo2 {
    width: 2rem;
    height: 2rem;
}

.footer-title {
    text-align: center;
    font-size: 0.875rem;
}

.redes {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.redes > li {
    list-style-type: none;
}

.red-item {
    color: #f3f4f6;
    font-size: 0.875rem;
    transition: color 0.15s ease-in-out;
}

.main-frame {
    margin: 0 auto;
    padding: 0 1rem;
    height: auto;
    width: 100%;
    max-width: 66.666667%;
    box-sizing: border-box;
}

.subiframe {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 1rem;
    width: 100%;
    padding: 0.75rem;
    margin: 1.25rem auto;
    background-color: #1f2937;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

#embedIframe {
    width: 100%;
    aspect-ratio: 16/9;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    display: block;
}

#btnIframe {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    width: 100%;
    transition: background-color 0.3s;
    border: none;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
    font-weight: 600;
}

#btnIframe:hover {
    background: #dc2626;
    cursor: pointer;
}

.subiframe {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 1rem;
    width: 100%;
    margin: 20px auto 1rem;
    padding: 0.75rem;
    background-color: #1f2937;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.preframe {
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.centerfull {
    width: 100%;
    text-align: center;
}

.title {
    color: #ef4444;
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.margin-top-2 {
    margin-top: 2.5rem;
}

@media (max-width: 768px) {
    .main-frame {
        max-width: 100%;
    }
    #embedIframe {
        width: 100%;
    }
}
