.accueil {
    display: flex;
    width: 100%;
    height: 100%;
    background-image: url(./bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.centercontainer {
    display: flex;

    height: 75%;
    width: 75%;

    margin: auto;
    justify-content: center;
    align-items: center;
}

.imagecontainer {
    display: flex;
    justify-content: center;
    align-items: center;

    height: 100%;
    width: 33%;

}

.imagecontainer img {
    max-width: 175%;
    max-height: 175%;
    z-index: 3;
}

.rejoindrecontainer {
    height: 100%;
    width: 33%;

    background-color: black;
    border: 4px double #212529;

    overflow-y: auto;
    overflow-x: hidden;

    border-radius: 24px;
}

.textcontainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    height: 100%;
    width: 100%;

    color: wheat;
}

.creationcontainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    height: 100%;
    width: 33%;

    background-color: black;
    border: 4px double #212529;

    border-radius: 24px;
}

.rejoindrecontainer p {
    color: wheat;
    font-size: 1.5em;
}

.partiecontainer1 {
    display: flex;
    width: 100%;
    height: 150px;
    background-color: rgb(23, 23, 23);
    margin: 1px;
    border: 2px solid #212529;
}

.partiecontainer2 {
    display: flex;
    width: 100%;
    height: 150px;
    background-color: rgb(31, 30, 30);
    border: 2px solid #212529;
}

.partiecontainer1:hover,
.partiecontainer2:hover {
    background-color: #393c3f;
    cursor: pointer;
}

.infoGame {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    height: 100%;
    width: 100%;

    color: wheat;
    font-size: 0.70em;
}

.infoGame p {
    margin: 0;
    text-align: center;
}

#form2 {
    color: wheat;
    background-color: rgba(31, 30, 30, 0.702);
    border: 2px solid #212529;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

#form2 label {
    font-size: 2.5vh;
    color: wheat;
}

#form2 select {
    color: wheat;
    border-radius: 5px;
    padding: 5px;
    font-size: 2.5vh;
    width: 100%;
}

#form2 input[type="number"] {
    color: wheat;
    border-radius: 5px;
    padding: 5px;
    font-size: 2.5vh;
    width: 96%;
}

#creerPartie {
    margin-top: 15px;
}