/* Estilos existentes */
body {
    background-color: #000;
    font-family: var(--font-dm-sans);
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    padding: 12px;
    width: 300px;
    background-color: #121212;
    z-index: 1001;
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}

.sidebar_navigation {
    background-color: #121212;
    border-radius: 8px;
    padding: 16px 0 0 16px;
}

.sidebar_navigation .logo {
    background-color: #121212;
    display: flex;
    border-radius: 8px;
    padding: 16px 0 0 16px;
}

.sidebar_navigation .logo a {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
}

.sidebar_navigation .logo a:hover {
    color: #1DB954;
}

.sidebar_navigation ul {
    margin-top: 20px;
    padding: 0 20px 10px 20px;
}

.sidebar_navigation ul li {
    padding: 10px 0;
}

.sidebar_navigation ul li a {
    color: #b3b3b3;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.sidebar_navigation ul li .fa {
    font-size: 20px;
    margin-right: 10px;
    font-weight: 300;
    padding-right: 8px;
}

.library {
    background-color: #121212;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 4px 8px;
    color: #b3b3b3;
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
}

.library .library__content {
    display: flex;
    justify-content: space-between;
}

.library .library__button {
    display: flex;
    background-color: transparent;
    border: 0px;
    color: #b3b3b3;
    font-size: 14px;
    font-weight: 700;
    padding: 16px 10px;
    text-align: center;
    text-decoration: none;
    text-transform: none;
}

.library .library__button .fa {
    font-size: 20px;
    margin-right: 10px;
    font-weight: 300;
    padding-right: 8px;
}

.library .library__content .fa-plus {
    margin: 24px 10px;
}

.section-apresent {
    background-color: #242424;
    border-radius: 8px;
    padding: 16px;
    margin: 8px 0;
    text-align: center;
}

.apresent-info {
    margin-bottom: 20px;
}

.apresent-title {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.apresent-summary {
    font-size: 0.9em;
    font-weight: 400;
    color: #b3b3b3;
    line-height: 1.4;
}

.apresent-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-button {
    background-color: #000;
    color: #fff;
    border-radius: 500px;
    font-size: 1em;
    font-weight: 700;
    padding: 12px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.info-button:hover {
    background-color: #333;
}

.info-button .fa-brands, .info-button .fa-solid {
    font-size: 1.2em;
}

.cookies {
    margin: 25px 20px;
}

.cookies a {
    color: #b3b3b3;
    font-weight: 500;
    font-size: 10px;
    text-decoration: none;
}

.cookies a:hover {
    text-decoration: underline;
}

.languages .languages__button {
    background-color: transparent;
    border: 1px solid #878787;
    color: #fff;
    border-radius: 500px;
    cursor: pointer;
    font-weight: bold;
    padding: 8px;
    margin: 8px;
    width: 170px;
}

/* ---------------------------------- */
/* MEDIA QUERIES (ALTERAÇÕES PARA RESPONSIVIDADE) */
/* ---------------------------------- */

.mobile-header {
    display: none !important;
}
.sidebar-header {
    display: none;
}

/* Telas menores que 1024px (Tablets e Desktops menores) */
@media (max-width: 1024px) {
    .sidebar {
        width: 250px;
    }

    .main-container {
        margin-left: 260px;
    }
}

/* Telas menores que 768px (Tablets e Celulares) */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 280px;
        z-index: 1002;
        padding: 12px;
        background-color: #121212;
    }

    .sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
    }
    
    .sidebar-header .logo a {
        font-size: 20px;
        color: #fff;
    }

    .sidebar-close-toggle {
        font-size: 24px;
        color: #fff;
        text-decoration: none;
    }

    .mobile-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
        background-color: #121212;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1001;
        border-bottom: 1px solid #282828;
    }

    .mobile-header .logo a {
        font-size: 20px;
        color: #fff;
        text-decoration: none;
        font-weight: 700;
    }

    .mobile-header .mobile-menu-toggle {
        font-size: 24px;
        color: #fff;
    }
    
    .main-container {
        margin-left: 0;
        margin-right: 0;
        padding-top: 60px;
    }

    .sidebar_navigation {
      padding: 10px;
      margin: 0;
    }
    
    .portfolio-info {
        padding: 10px;
        margin: 0;
    }

    .apresent-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0 10px;
        margin-top: 20px;
    }
    
    .info-button {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        padding: 12px;
        width: 100%;
    }
    
    .legal-links,
    .language-selector {
        display: none;
    }
}