/* General */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1c1c1c;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5em;
    font-weight: bold;
}

.logo img {
    height: 40px; /* Ajusta según sea necesario */
    width: auto; /* Mantiene la proporción */
}

nav button {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1em;
    margin: 0 10px;
    cursor: pointer;
}
nav button:hover {
    color: #ff5722;
}

/* Main Content */
.content-section {
    display: none;
    padding: 20px;
}
.content-section.active {
    display: block;
}

/* Carrusel */
/* Carrusel */
.carousel {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.8); /* Fondo oscuro */
    border-top: 4px solid rgba(255, 255, 255, 0.2);
    border-bottom: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.6), inset 0 -10px 20px rgba(0, 0, 0, 0.6);
    border-radius: 10px; /* Bordes redondeados */
}

.carousel-images {
    display: flex;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s ease-in-out;
}

.carousel-images img {
    height: 300px;
    object-fit: cover;
    position: absolute;
    top: -145px;
    left: -200px;
    transform-origin: center;
    transition: transform 0.5s, opacity 0.5s;
    opacity: 0.5;
    filter: grayscale(100%); /* Oscurece los lados */
}

.carousel-images img.active {
    transform: scale(1.2) translateZ(100px); /* Juego activo más grande y visible */
    opacity: 1;
    filter: grayscale(0);
    z-index: 2;
}

.carousel-images img:nth-child(1) {
    transform: rotateY(-30deg) translateX(-200px);
    z-index: 1;
}

.carousel-images img:nth-child(2) {
    transform: translateZ(0px);
    z-index: 3;
}

.carousel-images img:nth-child(3) {
    transform: rotateY(30deg) translateX(200px);
    z-index: 1;
}

.arrow {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    position: absolute;
    cursor: pointer;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.arrow:hover {
    background: rgba(255, 255, 255, 0.5);
}

.arrow.left {
    left: 20px;
}

.arrow.right {
    right: 20px;
}


/* Game Info */
.game-info {
    text-align: center;
}
.links a {
    color: #ff5722;
    text-decoration: none;
    margin: 0 10px;
}
.links a:hover {
    text-decoration: underline;
}

/* About Me */
.about-content {
    text-align: center;
}
