@import url('https://fonts.googleapis.com/css2?family=Nata+Sans:wght@100..900&family=Winky+Sans:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Doto:wght@100..900&family=Nata+Sans:wght@100..900&family=Winky+Sans:ital,wght@0,300..900;1,300..900&display=swap');
  
body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    background-image: url('star.gif');
    background-repeat: repeat;
    padding: 100px;
    justify-content: center;
}

/* MENÚ IZQUIERDO */
.sidebar {
    width: 220px;
    background: linear-gradient(180deg, #0f172a 0%, #1e40af 100%);
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 20px;
    text-align: center;
}

.sidebar h2 {
    margin-bottom: 20px;
    font-family: 'DOTO', Arial, sans-serif;
    font-weight: bold;
    font-size: 3em;
    color: #ffffff;
}

.sidebar h2.index-style {
    display: inline-flex;
    justify-content: center;
    letter-spacing: 0.3em;
}

.sidebar h2.index-style span {
    display: inline-block;
    margin-right: -0.15em;
    animation: wave 2s ease-in-out infinite;
}

.sidebar h2.index-style span:nth-child(1) {
    animation-delay: 0s;
}

.sidebar h2.index-style span:nth-child(2) {
    animation-delay: 0.2s;
}

.sidebar h2.index-style span:nth-child(3) {
    animation-delay: 0.4s;
}

.sidebar h2.index-style span:nth-child(4) {
    animation-delay: 0.6s;
}

.sidebar h2.index-style span:nth-child(5) {
    animation-delay: 0.8s;
}

.sidebar h2.index-style span:nth-child(6) {
    animation-delay: 1s;
}

.sidebar h2.index-style span:last-child {
    margin-right: 0;
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.menu a {
    display: block;
    background-color: #ffffff;
    margin: 10px 0;
    padding: 12px 14px;
    text-decoration: none;
    color: black;
    border-radius: 12px;
    font-family: consolas, monospace;
    font-weight: 700;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.menu a:hover {
    background-color: #594ab0;
    color: #ffffff;
    transform: translateX(3px);
}

/* CONTENIDO */
.content {
    flex: 1;
    background: linear-gradient(180deg, #0f172a 0%, #1e40af 100%);
    padding: 30px;
    min-height: 100vh;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 800px;
}

.content h1,
.content h2 {
    font-family:nata sans, sans-serif;
    color: #ffffff;
    margin-top: 0;
}

.content h1 {
    font-size: 2.7rem;
    font-family: DOTO;
    margin-bottom: 18px;
}

.content h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color:#333333
}

.box {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 24px;
    border-radius: 20px;
    margin-bottom: 22px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    line-height: 1.75;
}

.box p {
    font-family: nata sans, sans-serif;
    margin: 0 0 16px;
    color: #212529;
}

.deslizante {
    font-family: 'DOTO', Arial, sans-serif;
    font-weight: bold;
    font-size: 1.5em;
    color: #ffffff;
}

.box ul {
    padding-left: 1.2rem;
    margin: 0;
    color: #333333;
}

.box li {
    margin-bottom: 0.85rem;
}

.box li strong {
    color: #1d1d3a;
}

.topimage {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 24px;
}

.leftimage {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 20px;
}

   