@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

body {
    margin: 0;
    font-family: "Exo 2", sans-serif;
    background-color: #f5f6fa;
    display: flex;
}

canvas{
    position:absolute;
    top:0;
    left:0;
    z-index: -9999;
}

.sidebar {
    width: 250px;
    background-color: #212529; /* Color de fondo oscuro */
    background-image: radial-gradient(#2e2e2e 1px, transparent 0);
    background-size: 16px 16px; /* Espaciado del patrón */
    color: white;
    padding: 20px;
    height: 100vh;
    box-sizing: border-box;
    position: fixed;
    overflow-y: auto;
}

.sidebar h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.sidebar nav a, .admin-link {
    display: block;
    padding: 8px 0;
    color: #dcdde1;
    text-decoration: none;
    transition: 0.3s;
}

.sidebar nav a:hover, .admin-link:hover {
    color: #ff9100;
    transform: translateX(5px);
}

.content {
    margin-left: 270px;
    padding: 40px;
    flex: 1;
    animation: fadeIn 0.5s ease;
}

textarea, input {
    width: 100%;
    font-size: 16px;
}

.zoom {
    transition: transform .2s; /* Animation */
}

.zoom:hover {
    transform: scale(1.1); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}