body {
    font-family: Arial;
    background: #121212;
    color: white;
    text-align: center;
}

.contenedor {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.card {
    background: #1f1f1f;
    padding: 20px;
    border-radius: 10px;
    width: 150px;
}
body{
    margin: 0;
    font-family: Arial;
}

/* Sidebar */
.sidebar{
    position: fixed;
    width: 200px;
    height: 100vh;
    background: #111;
    color: white;
    padding: 20px;
}

.sidebar h2{
    text-align: center;
}

.sidebar a{
    display: block;
    color: white;
    text-decoration: none;
    margin: 15px 0;
    padding: 10px;
    border-radius: 5px;
}

.sidebar a:hover{
    background: #333;
}

/* Contenido */
.contenido{
    margin-left: 220px;
    padding: 20px;
}
.sidebar button{
    width: 100%;
    margin-top: 20px;
    padding: 10px;
    background: red;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.contenido{
    margin-left: 220px;
    padding: 20px;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn{
    from{
        opacity: 0;
        transform: translateY(20px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
.card{
    background: #1f1f1f;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover{
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
button{
    transition: 0.3s;
}

button:hover{
    transform: scale(1.05);
}
.sidebar{
    position: fixed;
    width: 200px;
    height: 100vh;
    background: #111;
    color: white;
    padding: 20px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn{
    from{
        transform: translateX(-100%);
    }
    to{
        transform: translateX(0);
    }
}
input:focus{
    outline: none;
    border: 2px solid #111;
    transform: scale(1.02);
}