* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body{
    background-color: #222222;
}

header {
    background-color: #700011;
    width: 100%;
    padding: 2px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.left-group, .right-group {
    flex: 1;
    display: flex;
    align-items: center;
}

.right-group {
    justify-content: flex-end;
    gap: 20px;
}

.nav-links {
    display: flex;
    gap: 35px;
    justify-content: center;
    flex: 2;
}

.logo-nav-group {
    display: flex;
    align-items: center;
    gap: 30px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 40px; 
}

.icon-img {
    width: clamp(20px, 3vw, 35px); 
    height: auto;
    transition: transform 0.3s;
}

.logo {
    width: clamp(30px, 10vw, 80px);
    height: auto;
}

.user-icon {
    color: white;
    font-size: clamp(25px, 4vw, 45px);
    text-decoration: none;
}

a{
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: clamp(1.0rem, 2vw, 1.0rem);
    white-space: nowrap;
}

h1{
    color: white;
    text-align: center;
    font-size: clamp(2.5rem, 10vw, 80px); 
    margin-top: 80px;
    letter-spacing: 5px;
}

.btn-google-login {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #1a1a1a;
    border: 1px solid #700011;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: fit-content;
    height: fit-content;
}

.google-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #ffffff;
}

.nav-profile-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 1;
}

.nav-user-icon {
    font-size: 30px;
    color: white;
    z-index: 1;
}

.nav-avatar-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px; 
    height: 60px;
    flex-shrink: 0;
}

.nav-moldura-overlay {
    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 65px; 
    width: auto; 
    z-index: 2;
    pointer-events: none;
    object-fit: contain;
}

.active-link {
    color: #1b1b1b;
    pointer-events: none;
}

.content-area {
    flex: 1 0 auto;
}

.index-footer {
    flex-shrink: 0;
    width: 100%;
}

.main-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.footer-dark-area {
    background-color: #111;
    padding: 25px 20px;
    border-top: 1px solid #2a2a2a;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #777;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: bold;
    transition: 0.3s;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: #700011;
}

.footer-text {
    color: #444;
    font-size: 0.65rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .logo-nav-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-links {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
}