/*4e69bc,79a776,ddc4dd,dccfec,1a3a3a*/
/*color texte 163131*/
/*E2D7EF,163131*//*ACC18A,DAFEB7*/
:root {
    --fontColor2: #163131;
    --fontColor: #1c527e;
    --backColor: #DAFEB7;
    --borderColor: #ACC18A;
    --shadowColor: #1d3068;
    --oppColor: #E2D7EF;
}

@font-face {
    font-family: "PlumBAL";
    src:
      url("fonts/plume/PlumBAL.ttf") format("TrueType"),
}
@font-face {
    font-family: "Ronde";
    src:
    url("fonts/BV rondes/Bvcursive.ttf") format("TrueType"),
}
@font-face {
    font-family: "Avenir";
    src:
    url("fonts/Avenir/Avenir-Book.ttf") format("TrueType"),
}

body {
    background-color: var(--backColor);
    color: var(--fontColor2);
    font-family: 'Avenir';
    font-size: 1.1em;
}
.right {
    display: flex;
    justify-content: flex-end;
}
.full {
    width: 100%;
}
h1 {
    font-family: 'Ronde','PlumBAL';
    font-size: 2.5em;
    max-width: max-content;
    margin: auto;
    text-align: center;
    background-color: var(--fontColor);
    color: var(--oppColor);
    border: 2px solid var(--borderColor);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 3px 3px 6px var(--shadowColor);
}
h2 {
    font-family: 'Ronde','PlumBAL';
    font-size: 1.5em;
    max-width: max-content;
    margin: auto;
    text-align: center;
    background-color: var(--fontColor);
    color: var(--oppColor);
    border: 2px solid var(--borderColor);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 3px 3px 6px var(--shadowColor);
}
h3 {
    text-align: center;
}
/*footer*/
footer div {
    display: flex;
    justify-content: center;
    align-items: center;
}
footer ul {
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
}
footer li {
    list-style: none;
    margin: 15px;
}
/* form*/
form {
    margin: 15px;
    border: 1px solid var(--borderColor);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 3px 3px 6px var(--shadowColor);
}
legend {
    font-family: 'Ronde','PlumBAL';
    font-size: 2em;
    margin: auto;
    text-align: center;
    padding: 15px;;
}
select, input, button {
    margin: 5px;/*pour éviter le décalage du hover*/
    padding: 5px;
    font-family: 'Avenir';
    font-size: 1.1em;
    border-radius: 5px;
    border: 1px solid var(--borderColor);
}
select {
    width: max-content;
}
input[type=submit]:hover, input[type=reset]:hover,  button:hover {
    background-color: var(--shadowColor);
    color: var(--oppColor);
    cursor: pointer;
}
select:hover, select:active, select:focus {
    margin: 3px;/*pour éviter le décalage du hover*/
    outline: none; /* supprime css defaut du navigateur */
    border: 3px solid var(--shadowColor);
}
.container form fieldset {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-radius: 30px 5px;
    margin: 10px;
}
.container form fieldset input {
    margin: 15px;
}
.container form p {
    margin: 15px;
}
/*header*/
header p {
    text-align: center;
    text-transform: capitalize;
    font-weight: bold;
    font-size: 1.2em;
}
.fichesmatchs {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 15px;
}
.fichematch {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    min-width: 40%;
    align-content: stretch;
}
.fichematch p {
    text-align: center;
}
.test {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.test fieldset {
    min-width: 45%;
    flex-direction: column;
    align-content: space-around;
}
.center {
    text-align: center
}
.radio-group {
    display: flex;
    flex-direction: column;
}
.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
}
.alert {
    color: green;
    margin: 5px;
    padding: 5px;
    border: solid red 1px;
    text-align: center;
    justify-content: center;
}

.alertmessage {
    width: 100%;
    color: green;
    text-align: center;
    justify-content: center;
    font-size: 3rem;
    margin: 10px;
}

.plus-symbol {
    width: 40px;
    height: 40px;
    fill: #000;
    display: inline-block;
    border: 1px solid #000;
    border-radius: 4px;
    padding: 5px;
    text-align: center;
    transition: background-color 0.3s, fill 0.3s, transform 0.3s;
}

.plus-symbol:hover {
    background-color: #f0f0f0;
    fill: #007BFF;
    transform: rotate(90deg);
}

section header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px;
}

.podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 15px;
    text-transform: capitalize;
}

.place {
    width: 100px;
    text-align: center;
    margin: 0 10px;
    background-color: #ffd700;
    color: #1c527e;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px 10px 0 0;
    display: flex;
    flex-direction: column;
}

.first {
    height: 200px;
    background-color: gold;
}

.second {
    height: 150px;
    background-color: silver;
}

.third {
    height: 100px;
    background-color: #cd7f32; /* Bronze color */
}
.classement {
    display: flex;
    justify-content: center;
    text-transform: capitalize;
    margin: 15px;
}
.classement table{
    border-collapse: collapse;
  }
  
.classement th, .classement td{
    border: 1px solid #ACC18A;
    padding: 10px;
    vertical-align: middle;
    text-align: center;
}

.classement table tr:nth-child(odd) td {
    background-color: #E2D7EF;
}
.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#chat-box {
    min-height: 300px;
    border: 1px solid #ccc;
    overflow-y: scroll;
    margin-bottom: 20px;
}
.message {
    padding: 5px;
    border-bottom: 1px solid #eee;
}
.accueil {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    flex-direction: column;
}
aside {
    margin: 15px;
}

@media screen and (min-width: 800px) {
    .accueil {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
    }
    aside {
        max-width: 30%;
        overflow-y: auto;
    }
    .full {
        height: 1000px;
    }
}