
@import './global.css';

#my-games-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.game-details {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    border: solid var(--purple) 4px;
    border-radius: 10px;
}

.game-details p {
    text-align: center;
}

.game-options {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}

.delete-game, .close-button {
    background-color: var(--red-2);
    color: var(--red-4);
}

.delete-game:hover, .close-button:hover {
    background-color: var(--red-3);
}

.pop-up {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--gray-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pop-up > div {
    background-color: white;
    width: 95vw;
    max-width: 400px;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    box-shadow: var(--standard-shadow);
}

.close-button {
    position: fixed;
    top: 10px;
    right: 20px;
}

#warning {
    color: red;
}
