* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Corpo da Página */
body {
    background-color: #222E50;
    color: #f7f7f7;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
}

/* Header */
.header {
    background-color: #333F63;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header h1 {
    font-size: 1.5rem;
    color: #f7f7f7;
    margin-right: 1rem;
}

.header p {
    font-size: 1rem;
    color: #ddd;
    margin-right: auto;
}

.header nav {
    display: flex;
    align-items: center;
}

.header .nav-link {
    color: #A6E1FA;
    text-decoration: none;
    font-weight: bold;
    margin-left: 1rem;
    transition: color 0.3s;
}

.header .nav-link:hover {
    color: #f7f7f7;
}

/* Layout Principal */
.main-layout {
    display: flex;
    min-height: 100vh;
    margin-top: 1rem;
    width: 100%;
    max-width: 1200px;
}

/* Barra Lateral */
.sidebar {
    width: 20%;
    background-color: #2B4066;
    color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0px 15px 16.83px rgba(0, 0, 0, 0.1);
}

.sidebar h2 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #A6E1FA;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar .sidebar-link {
    color: #A6E1FA;
    text-decoration: none;
    font-weight: bold;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.sidebar .sidebar-link:hover {
    color: #f7f7f7;
}

/* Conteúdo Principal */
.content {
    width: 80%;
    padding: 2rem;
    background-color: #333F63;
    border-radius: 8px;
    margin-left: 1rem;
    box-shadow: 0px 15px 16.83px rgba(0, 0, 0, 0.05);
}

.content-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2rem;
}

/* Seção de Feed */
.feed {
    background-color: #2B4066;
    padding: 1.5rem;
    border: 1px solid #555;
    border-radius: 8px;
}

.feed h2 {
    font-size: 1.5rem;
    color: #A6E1FA;
}

/* Seção do Avatar */
.avatar-section {
    background-color: #2B4066;
    padding: 1.5rem;
    border: 1px solid #555;
    border-radius: 8px;
    text-align: center;
}

.avatar-section .avatar-display img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #555;
    margin-bottom: 1rem;
}

.avatar-section .avatar-display p {
    font-size: 1.1rem;
    font-weight: bold;
    color: #A6E1FA;
}

.avatar-section .edit-avatar-btn {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #A6E1FA;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    color: #222E50;
    transition: background-color 0.3s;
}

.avatar-section .edit-avatar-btn:hover {
    background-color: #88C8E3;
}

/* Formulários */
.form-group {
    margin-bottom: 1rem;
}

.form-control-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #555;
    border-radius: 4px;
    font-size: 1rem;
    margin-top: 0.5rem;
    box-sizing: border-box;
    background-color: #333F63;
    color: #f7f7f7;
}

.form-control-submit-button {
    background-color: #A6E1FA;
    color: #222E50;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.form-control-submit-button:hover {
    background-color: #88C8E3;
}

/* Responsividade */
@media screen and (max-width: 768px) {
    .main-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        margin-bottom: 1rem;
    }

    .content {
        width: 100%;
        margin-left: 0;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }
}
