body {
    font-family: 'Roboto', sans-serif;
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    display: flex;
    user-select: none;
}

.sidebar {
    width: 250px;
    min-height: 100vh;
    background-color: #1a1b1e;
    padding: 1.5rem;
    color: #a1a1aa;
    position: fixed;
}

.section-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #71717a;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    color: #a1a1aa;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-link:hover {
    background-color: rgba(46, 81, 184, 0.1);
}

.nav-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
}

.main-content {
    margin-left: 250px;
    width: calc(100% - 250px);
}

header {
    background-color: #1e1e1e;
    text-align: center;
    padding: 20px;
}

header img {
    max-width: 100%;
    height: auto;
}

h1, h2 {
    color: #2d96f1;
}

a {
    color: #2d96f1;
    text-decoration: none;
}

a:hover {
    color: #2d96f1;
    text-decoration: underline;
    cursor: url('src/img/coif.png'), auto;
}

section {
    padding: 20px;
    margin: 20px auto;
    max-width: 900px;
    background: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

section img {
    max-width: 100%;
    border-radius: 5px;
    margin: 10px 0;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    color: #ffffff;
    background: #2d96f1;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
}

.button:hover {
    background: #3162bd;
}

footer {
    display: flex; 
    justify-content: center;
    align-items: center; 
    padding: 20px;
    background-color: #1e1e1e; 
    color: white;
    font-family: Arial, sans-serif;
}

footer p {
    margin-right: 10px;
    display: flex; 
    align-items: center; 
}

footer .footer-gif {
    width: 50px; 
    height: 50px; 
    object-fit: contain; 
}

.alert {
    background-color: #2d2d2d;
    border-left: 4px solid #2d96f1;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

blockquote {
    border-left: 4px solid #2d96f1;
    padding-left: 15px;
    margin: 15px 0;
    color: #a1a1aa;
}

code {
    background-color: #2d2d2d;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

hr {
    border: none;
    border-top: 1px solid #333;
    margin: 20px 0;
}
.author-container {
    display: flex;
    align-items: center; /
}

.author-container img {
    width: 30px; 
    margin-left: 10px; 
}
/* Estilos de la pantalla de carga */
/* - Pantalla de Carga - */
.loading-screen {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100vw; 
    height: 100vh; 
    background-color: rgb(0, 0, 0); 
    display: flex;
    justify-content: center; 
    align-items: center; 
    z-index: 9999; 
    transition: filter 0.5s ease; 
    cursor: none
}

/* Desenfoque cuando se añade la clase 'blurred' */
.loading-screen.blurred {
    filter: blur(10px); 
}

/* Estilo para el gif de carga */
.loading-gif {
    width: 100px; 
    height: 100px; 
}

/* Estilos del contenido principal de la página */
.content {
    display: none;
}

/* Mostrar el contenido después de que la página haya cargado */
body.loaded .loading-screen {
    display: none; 
}

body.loaded .content {
    display: block; 
}

.zoom-container {
    width: 100%;
    height: auto;
    overflow: hidden; 
    display: inline-block;
}

#zoom-image {
    width: 100%; 
    height: auto;
    object-fit: cover;
    transition: transform 0.2s ease; 
    cursor: zoom-in; 
}

.zoom-container:hover #zoom-image {
    cursor: zoom-out;
}

.zoom-container {
    position: relative;
}

#zoom-image {
    transform-origin: center center;
}

.zoom-container:hover #zoom-image {
    transform: scale(2); 
}

/* Detalles para hacer zoom en el área del cursor */
.zoom-container:hover #zoom-image {
    transform: scale(2);
    transform-origin: calc(100% * var(--mouse-x)) calc(100% * var(--mouse-y)); 
}
/* Estilo de la barra de desplazamiento */
::-webkit-scrollbar {
    width: 12px; 
    height: 12px; 
}

::-webkit-scrollbar-track {
    background-color: #000000; 
    border-radius: 10px;/
}
::-webkit-scrollbar-thumb {
    background-color: #2d96f1; 
    border-radius: 10px; 
    border: 3px solid #000000; 
}
::-webkit-scrollbar-thumb:hover {
    background-color: #2d96f1; 
}

/* Estilos para el cuadro de diálogo */
.dialog {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
    border: 2px solid #ffcc00;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

.dialog button {
    background-color: #ffcc00;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.dialog button:hover {
    background-color: #2c66ad;
}

/* Fondo oscuro que aparece cuando el cuadro de diálogo se muestra */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.button-vpn {
    margin-left: 10px;
    padding: 4px 8px;
    background-color: #2c2f33;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.button-vpn:hover {
    background-color: #23272a;
}

.button-vpn:active {
    background-color: #1e2124;
}