body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

h3 {
    font-size: 14px;
    color: grey;
}
ul {
    font-size: 12px;
    margin-top: -15px;
}

.container {
    display: flex;
    width: 100%;
    height: 100%;
}

.sidebar {
    width: 20%;
    background: #f4f4f4;
    padding: 10px;
    overflow-y: auto;
}

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

.sidebar ul li {
    cursor: pointer;
    padding: 2px;
    transition: 0.3s;
}

.sidebar ul li:hover {
    background: #ddd;
}

.game-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.selected {
    font-weight: bold;
    color: black; /* Puedes cambiar el color si quieres */
}


.game-bar {
    width: 100%; /* Asegura que ocupe todo el ancho */
    display: flex;
    justify-content: center; /* Centra el botón */
    align-items: center;
    padding: 10px 0;
    background: #404040; /* Color opcional para diferenciar la barra */
}


#like-button {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 8px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

#like-button.liked {
    background-color: #ffcc00;
    border-color: #ffaa00;
}

.new-game {
    position: absolute;
    bottom: 20px; /* Espacio desde el borde inferior */
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    color: #555;
    transition: color 0.3s;
    text-align: center;
}

.new-game:hover {
    color: black;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: white;
    padding: 20px;
    width: 400px;
    text-align: center;
    border-radius: 5px;
}

textarea {
    width: 100%;
    height: 150px;
    margin-top: 10px;
}

button {
    margin-top: 10px;
    padding: 10px;
    border: none;
    cursor: pointer;
}

#save-game-button {
    background: green;
    color: white;
}

#close-popup {
    background: red;
    color: white;
}

iframe {
    width: 100%;
    height: 100%;
    border: 1px solid #000;
}