*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    background:#ffe4ef;
}

.container{
    display:flex;
    min-height:100vh;
}

/* MENU */

.sidebar{
    width:250px;
    background:#ff4f87;
    color:white;
    padding:30px 20px;
}

.sidebar h2{
    text-align:center;
    margin-bottom:40px;
}

.sidebar ul{
    list-style:none;
}

.sidebar ul li{
    padding:15px;
    margin:10px 0;
    border-radius:10px;
    cursor:pointer;
    transition:0.3s;
}

.sidebar ul li:hover{
    background:rgba(255,255,255,0.2);
}

.sidebar i{
    margin-right:10px;
}

/* CONTENIDO */

.main{
    flex:1;
    padding:30px;
}

.topbar h1{
    color:#ff4f87;
    margin-bottom:30px;
}

/* TARJETAS */

.cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:40px;
}

.card{
    padding:25px;
    border-radius:15px;
    color:white;
    text-align:center;
}

.card h2{
    margin-bottom:10px;
}

.azul{
    background:#00a8ff;
}

.naranja{
    background:#ff9f43;
}

.amarillo{
    background:#feca57;
}

.rojo{
    background:#ff6b6b;
}

/* TABLA */

table{
    width:100%;
    border-collapse:collapse;
    background:white;
    border-radius:15px;
    overflow:hidden;
}

thead{
    background:#ff4f87;
    color:white;
}

th,
td{
    padding:15px;
    text-align:center;
    border-bottom:1px solid #eee;
}

tr:hover{
    background:#fff0f5;
}

@media(max-width:900px){

    .cards{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:700px){

    .container{
        flex-direction:column;
    }

    .sidebar{
        width:100%;
    }

    .cards{
        grid-template-columns:1fr;
    }

}