body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: -1;
}

.menu-icon {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index: 1000;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: rgba(51, 51, 51, 0.9);
    transition: left 0.3s ease;
    z-index: 999;
}

.sidebar-header {
    padding: 20px;
    background-color: rgba(34, 34, 34, 0.9);
    color: white;
    text-align: right;
}

.back-arrow {
    cursor: pointer;
    font-size: 24px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.main-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
}

.main-content h1 {
    font-size: 48px;
    margin: 0;
    color: #33FFFF;
    font-family: 'Arial Black', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.lema {
    font-size: 20px;
    color: white;
    margin-top: 10px;
}
.by-line {
    font-size: 18px;
    color: white;
    margin-top: 10px;
}

.contact-buttons {
    margin-top: 20px;
}

.contact-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    font-size: 18px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.whatsapp {
    background-color: #25D366;
}

.instagram {
    background-color: #E1306C;
}

.contact-button:hover {
    opacity: 0.8;
}
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.game-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.game-card:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.2);
}

.game-card h2 {
    color: #33FFFF;
    font-size: 24px;
    margin: 0;
}

.game-card p {
    color: white;
    font-size: 16px;
    margin-top: 10px;
}
.game-container {
    text-align: center;
    color: white;
    padding: 20px;
}

.game-info {
    margin-top: 20px;
    font-size: 20px;
}

.game-info p {
    margin: 5px 0;
}
.fullscreen-button {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
}

.fullscreen-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
.mobile-controls {
    display: none; /* Ocultar en escritorio */
    position: fixed;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 1000;
}

.joystick {
    display: flex;
    justify-content: space-around;
    width: 60%;
    margin: 0 auto;
}

.joystick .left,
.joystick .right {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    user-select: none;
}

.shoot-button {
    width: 100px;
    height: 100px;
    background-color: rgba(255, 0, 0, 0.5);
    border-radius: 50%;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    user-select: none;
}

@media (max-width: 768px) {
    .mobile-controls {
        display: block; /* Mostrar en móviles */
    }
}
html, body {
    margin: 0;
    padding: 0;
    overflow: hidden; /* Evitar barras de desplazamiento */
    height: 100%;
}

.game-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    color: white;
}
/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Hace que el cuerpo ocupe toda la altura de la ventana */
}

.main-content {
    flex: 1; /* Hace que el contenido principal ocupe el espacio restante */
    padding: 50px 20px;
}

.main-content h1 {
    font-size: 48px;
    color: #33FFFF;
    margin: 0;
}

.main-content .lema {
    font-size: 20px;
    color: #666;
    margin-top: 10px;
}

/* Iconos de redes sociales (sin footer) */
.social-icons {
    position: fixed; /* Fija los iconos en la parte inferior */
    bottom: 20px; /* Distancia desde la parte inferior */
    left: 50%; /* Centra horizontalmente */
    transform: translateX(-50%); /* Ajusta el centrado */
    display: flex;
    gap: 20px;
    background-color: rgba(51, 51, 51, 0.8); /* Fondo semitransparente */
    padding: 10px 20px;
    border-radius: 25px; /* Bordes redondeados */
}

.social-icons a {
    font-size: 24px; /* Tamaño de los iconos */
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2); /* Efecto de escala al pasar el mouse */
}

/* Colores personalizados para los iconos */
.social-icons a .fa-whatsapp {
    color: #25D366; /* Verde de WhatsApp */
}

.social-icons a .fa-instagram {
    color: #E1306C; /* Rosa de Instagram */
}

.social-icons a .fa-facebook {
    color: #1877F2; /* Azul de Facebook */
}
body {
    margin: 0;
    overflow: hidden;
    background-color: #000;
    color: #FFF;
    font-family: 'Arial', sans-serif;
}

canvas {
    display: block;
    background-color: #000;
}

.game-info {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 1.2em;
}

.hidden {
    display: none;
}

#restartButton {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    font-size: 1.5em;
    background-color: #FFD700;
    color: #000;
    border: none;
    cursor: pointer;
}
.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.tool-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.tool-card:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.2);
}

.tool-card h2 {
    color: #33FFFF;
    font-size: 24px;
    margin: 0;
}

.tool-card p {
    color: white;
    font-size: 16px;
    margin-top: 10px;
}
