.error {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    left: 50%;
    margin-left: -250px;
    margin-top: -150px;
    width: 500px;
    height: 300px;
    border: 1px black;
    background-color: red;
    color: white;
    font-weight: bold;
    font-size: 32px;
    box-shadow: 2px 2px 2px 2px rgba(255, 0, 0, 0.5);
    z-index: 1;
}

.accueil {
    position: absolute;
    z-index: 1000;
}

.form1, .form2 {
    margin-bottom: 20px;
}

.circle-timer {
    width: 160px;
    height: 160px;
    position: relative;
    background-color: cornflowerblue;
}


.main-container {
    margin-top: 20px;
    width: 1200px;
    margin: auto;
}

.container-player, .container-titles {
    display: grid;
    grid-template-columns: 30px 2fr 30px 2fr 1fr 1fr 1fr;
    
    margin-bottom: 3px;

}

.container-titles .title-item {
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

.container-player {
    cursor: pointer;
}

.container-player .item {
    border: solid 1px;
    padding: 5px;
    text-align: center;
}

.container-listjeux {
    position: relative;
}

.list-jeux {
    height: 20px;
    overflow: hidden;
}

.list-jeux .placeholder {
    font-size: 18px;
}

.list-jeux-active {
    position: absolute;
    width: var(--parent-width);
    height: auto;
    background: #036601;
    color: white;
    min-height: 300px;
    box-shadow: 4px 2px 8px 2px;
    z-index: 1;
}

.close {
    position: absolute;
    top: 5px;
    right: 0;
    margin-right: 5px;
    background-color: red;
    border-radius: 50%;
    padding: 2px;
    color: white;
    border: none;
    width: 20px;
    height: 20px;
}

.divgame {
    text-align: left;
    padding: 6px;
}

.container-button {
    margin-top: 20px;
    display: flex;
    justify-content: center;

}

.btn {
    display: block;
    width: 200px;
    height: 40px;
    border-radius: 10px;
    border: solid 0.5px;
    background-color: blue;
    color: white;
}

.btn:hover {
    animation: anime-btn 0.3s ease-out forwards;
}

@keyframes anime-btn {
    0% {
        background-color: blue;

    }

    100% {
        background-color: rgb(59, 127, 82);

    }
}