body {
    margin: 0;
    background-color: #000000;
    color: white;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

#menu {
    position: absolute;
    top: 20px;
    width: 100%;
    text-align: center;
    z-index: 100;
}

button {
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.75);
    padding: 5px 15px;
    margin: 0 5px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

button:hover, button.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Estilos de la tarjeta del elemento químico */
.element {
    width: 120px;
    height: 160px;
    box-shadow: 0px 0px 12px rgba(0, 255, 255, 0.5);
    border: 1px solid rgba(127, 255, 255, 0.25);
    text-align: center;
    cursor: default;
    background-color: rgba(0, 127, 127, 0.1); /* Color base (cambia por JS) */
}

.element:hover {
    box-shadow: 0px 0px 12px rgba(0, 255, 255, 0.75);
    border: 1px solid rgba(127, 255, 255, 0.75);
}

.element .number {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 16px;
    color: rgba(127, 255, 255, 0.75);
}

.element .symbol {
    position: absolute;
    top: 40px;
    left: 0px;
    right: 0px;
    font-size: 60px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.75);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.element .details {
    position: absolute;
    bottom: 15px;
    left: 0px;
    right: 0px;
    font-size: 12px;
    color: rgba(127, 255, 255, 0.75);
}

