* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Quicksand', sans-serif;
}

html,
body {
    height: 100%;
    margin: 0;
    overflow: hidden;
}

.wrapper {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    overflow: hidden;
}

.wrapper-container {
    width: 80%;
    height: 100%;
    overflow: auto;
    background-color: #052649;
    padding-bottom: 100px;
}

.sidebar {
    width: 20%;
    background-color: #042141;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
}

.menu-item {
    background-color: #814BE4;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.menu-item:hover {
    background-color: #6f3acf;
}

.icon {
    font-size: 20px;
    margin-right: 10px;
    color: white;
}

.menu-label {
    font-weight: 600;
    color: white;
}

.menu-content {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
}

.menu-content h3 {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: white;
    padding: 5px;
    border-radius: 5px;
}

.menu-content .h3-tarea {
    background-color: #D440B6;
}

.menu-content .h3-cita {
    background-color: #E39F15;
}

.menu-content .h3-llamada {
    background-color: #0BBCC6;
}

.menu-content .h3-reunion {
    background-color: #902FC9;
}

.menu-content.active {
    display: flex;
}

.menu-content input,
.menu-content textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #EFEFEF;
    border-radius: 5px;
}

.menu-content button {
    padding: 10px;
    background-color: #042141;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.menu-content button:hover {
    background-color: #0dd8c7;
}

header {
    background-color: #814BE4;
    color: white;
    font-weight: 600;
    padding: 1em;
    grid-column: 1 / span 2;
    position: sticky;
}

nav {
    display: flex;
    gap: 1em;
    justify-content: center;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5em 1em;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #6f3acf;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
    background-color: #052649;
}

.section {
    display: grid;
    gap: 30px;
}

/* Contenedor de actividades generales */
#actividades-generales {
    grid-column: 1 / -1;
}

.box {
    background-color: #042141;
    color: #444444;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
}

.box .title-box {
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
    border-radius: 5px;
    padding: 10px 0px;
}

.title-box span {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    padding: 5px;
}

.tarea-box {
    background-color: #D440B6 !important;
    color: white !important;
}

.cita-box {
    background-color: #E39F15 !important;
    color: white !important;
}

.llamada-box {
    background-color: #0BBCC6 !important;
    color: white !important;
}

.reunion-box {
    background-color: #902FC9 !important;
    color: white !important;
}


/* Actividades */
.activity {
    display: grid;
    grid-template-columns: 6fr 2fr 2fr 2fr;
    background-color: rgb(243, 243, 243);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    padding: 10px;
    margin: 5px 0;
}

.activity .title {
    padding-left: 15px;
    text-align: left;
    text-transform: capitalize;
}

.activity .action {
    padding-right: 15px;
    text-align: right;
}

.activity .action i {
    cursor: pointer;
    margin-right: 5px;
}

.activity .action i:hover {
    transform: scale(1.10);
    color: rgb(226, 226, 226);
}

.activity-all {
    display: grid;
    grid-template-columns: 4fr 6fr 4fr 1fr;
    background-color: #052649;
    color: white;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    padding: 10px;
    margin: 5px 0;
}

.activity-all .title {
    padding-left: 15px;
    text-align: left;
}

.activity-all .description {
    text-align: left;
}

.activity-all .status.completed i {
    color: #0dd8c7;
}

@media (max-width: 500px) {
    body {
        grid-template-columns: 1fr;
        font-size: 12px;
    }

    .sidebar {
        flex-direction: row;
        width: 100%;
        height: auto;
        padding: 10px;
        justify-content: space-around;
        position: fixed;
        bottom: 0;
        left: 0;
        border-right: none;
        border-top: 2px solid #ddd;
        z-index: 10;
    }

    .menu-label {
        display: none;
    }

    .menu-item {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .menu-content {
        display: none;
        position: fixed;
        bottom: 50px;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        z-index: 20;
    }

    .menu-content.active {
        display: flex;
    }

    .wrapper-container {
        width: 100%;
        padding-bottom: 150px;
    }

    .container {
        grid-template-columns: 2fr;
        padding: 10px;
    }

    .activity-all {
        grid-template-columns: 4fr 5fr 4fr 1fr;
    }

    .activity {
        grid-template-columns: 6fr 3.5fr 2fr 3fr;
    }

    .box {
        margin-top: 20px;
    }

    .title-box span {
        font-size: 14px;
    }
}