/* PRESENTATION */


.media {
    width: 77%;
    display: flex;
    justify-content: center;
}

.social-media-list {
    display: flex;
    justify-content: center;
    align-items: end;
    font-size: 22px;
    width: 100%;
    margin: 1rem 0;
    padding: 0;
    text-decoration: none;
}

.contact-icon-homepage {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    line-height: 40px;
    border-radius: 4%;
    color: #fff;
    border: solid 1px #f57373;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

.contact-icon-homepage:hover {
    background-color: #f57373;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
    color: black;
    text-align: justify;
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    text-align: justify;
}

.fermer {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.fermer:hover,
.fermer:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.open {
    display: block;
}

.icon_fermer {
    width: 1rem;
    height: 1rem;
}

.td_hover:hover {
    background-color: #f57373 !important;
    cursor: pointer !important;
}

/* Mini-jeux */

.minijeux_container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mini_jeu_hover:hover {
    background-color: #f57373 !important;
    cursor: pointer !important;
}

/* INSCRIPTION */

.connexion_form {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 1rem;
}

.modal_inscription {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    /* Centrage horizontal */
    align-items: center;
    /* Centrage vertical */
}

.modal_inscription_content {
    width: 25rem;
    max-height: 125vh;
    /* Ajustement de la hauteur maximale */
    padding: 2rem;
    background-color: black;
    /* Ajout d'une couleur de fond */
    border-radius: 10px;
    /* Ajout d'arrondis aux coins */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    /* Ajout d'une ombre */
}

/* PLAYERS */

.players_container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.teams_table {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-evenly;
}

.nav-link {
    padding: 0 2rem!important;
    color: white;
}

@media only screen and (max-width: 645px) {
    .teams_table {
        display: flex;
        width: 100%;
        flex-direction: column;
        justify-content: space-between;
    }

    .team_column {
        margin-bottom: 2rem;
    }

    .nav-link {
        padding: 0 0.5rem!important;
        color: white;
        font-size: 10px!important;
    }

    .nav-item {
        padding: 0!important;
    }
}

.titre {
    text-transform: uppercase;
}

.img-index-admin {
    width: 8rem;
}

.img-index-player {
    width: 3rem;
  	margin-right: 1rem;
}

.p-player {
    display: flex;
    align-items: center;
}

/* CLASSEMENT */

.bg-jaune {
    background-color: #f0dc00 !important;
    color: white !important;
}

.bg-bleu {
    background-color: #1d97f5 !important;
    color: white !important;
}

.bg-rouge {
    background-color: #f53f1b !important;
    color: white !important;
}

.text-jaune {
    color: #f0dc00 !important;
}

.text-bleu {
    color: #1d97f5 !important;
}

.text-rouge {
    color: #f53f1b !important;
}

/* ADMIN */

.modal-admin-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 95%;
    text-align: justify;
}

button:hover {
    background-color: #f57373 !important;
}

.card-header {
    background-color: #f57373 !important;
    color: white;
}

.btn {
    background-color: #f57373 !important;
    border: none !important;
    color: white;
    margin-top: 2rem !important;
}

.img-admin {
    width: 8rem;
    object-fit: cover;
}

.img-box {
    width: 100%;
    display: flex;
    justify-content: end;
}

@media only screen and (max-width: 645px) {
    .img-box {
        justify-content: center;
        margin: 0 !important;
    }
}
