.side-menu {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    width: 250px;
    height: 100vh;
    border-radius: 0 8px 8px 0;
    background-color: #1e1e1e;
    padding: 20px;
    white-space: nowrap;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
}

.side-menu a {
    text-decoration: none;
    color: #d1d1d1;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    padding: 8px 0;
}

.side-menu a:hover {
    color: #ffffff;
}

.side-menu h1 {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #333;
    padding-bottom: 15px;
    width: 100%;
}

.menu-buttons {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.menu-buttons span {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid #2e2e2e;
    padding: 0.8rem;
    width: 95%;
    transition: all 0.3s ease;
    cursor: pointer;
    background: linear-gradient(to right, #252525, #1e1e1e);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.menu-buttons span:hover {
    background: linear-gradient(to right, #303030, #252525);
    border-color: #3a3a3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.side-menu p {
    margin-top: 0; /* Empurra para baixo */
    color: #666;
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid #2e2e2e;
    width: 100%;
    text-align: center;
}


.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    margin-right: 1rem;
    display: none;
}

/* Overlay para quando o menu estiver aberto */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .side-menu {
        transform: translateX(-100%);
        display: flex; /* Mantém visível para a animação */
    }
    
    .side-menu.active {
        transform: translateX(0);
    }
    
    .menu-overlay.active {
        display: block;
    }
    
    .container-experience {
        margin-left: 0;
        width: 100%;
    }


    .side-menu p{
        margin-top: 0;
    }
}

@media screen and (min-width: 769px) {
    .container-experience {
        margin-left: 250px;
    }

}

/* Ajuste para desktop */
@media screen and (min-width: 769px) {
    .container {
        box-sizing: border-box; /* Garante que o padding não some à largura total */
    }

    .calculators-container,
    .container-detail,
    .container-experience {
        margin-left: 300px; /* Empurra o conteúdo para a direita da sidebar */
    }
}

/* Ajuste para mobile (mantenha o que já tem) */
@media screen and (max-width: 768px) {
    .container {
        padding-left: 0;
    }

    .info-container{
        margin-top: 50px;
    }
    
    .calculators-container,
    .container-detail,
    .container-experience {
        width: 100%;
        margin-left: 0;
    }
}