body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: rgb(33, 33, 33);
    color: white;
}

::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: #333;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background-color: #DA9CFF;
    border-radius: 10px;
    border: 3px solid #333;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #b87cff;
}

header {
    background-color: #111;
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    font-family: Helvetica;
}

.icono {
    margin-right: 20px;
}

.icono img {
    width: 110px;
    height: 100px;
}

.contenido {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contenido nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.contenido nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contenido ul li a:hover,
.contenido ul li a.active {
    color: #DA9CFF;
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: rgba(42, 42, 42, 0.747);
    margin: 1% 2%;
    border-radius: 20px;
    padding: 20px;
}

main section {
    width: 80%;
    max-width: 1000px;
    margin-bottom: 40px;
    text-align: center;
}

main h2 {
    color: #DA9CFF;
    border-bottom: 2px solid #DA9CFF;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

main p {
    text-align: justify;
    line-height: 1.6;
}

main ul {
    list-style: none;
    text-align: left;
    margin: 0 auto;
    padding: 0;
    max-width: 800px;
}

main ul li {
    background-color: rgba(60, 60, 60, 0.8);
    margin-bottom: 10px;
    padding: 15px;
    border-left: 4px solid #DA9CFF;
    border-radius: 5px;
    font-weight: normal;
}

footer {
    background-color: #111;
    padding: 15px 0;
}

footer p {
    color: white;
    font-size: 0.8em;
    margin: 0;
    text-align: center;
}

/* volver */
.back-arrow {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    text-decoration: none;
}

.back-arrow:hover {
    color: #DA9CFF;
}

.back-arrow svg {
    width: 30px;
    height: 30px;
}
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

.fade-out {
    animation: fade-out 0.5s ease-out forwards;
}

body.is-loading {
    animation: fade-out 0.3s ease-out forwards;
    pointer-events: none;
}