@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* --------------- */


/* Utilisateurs PC */


/* --------------- */


/* Navbar */

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    grid-template-columns: 20% 20% 20% 20% 20%;
}

nav {
    display: flex;
    background: rgb(18, 43, 48);
    justify-content: space-between;
    padding: 1em 1.3em;
}

nav ul {
    list-style: none;
    margin: 0;
}

nav ul li {
    display: inline-block;
    margin-left: 2em;
}

nav :hover {
    transition: all 0.3s ease 0s;
    color: rgb(255, 204, 95);
}

nav a {
    text-decoration: none;
    color: rgb(234, 238, 255);
    transition: all 0.3s ease 0s;
}

nav #logo {
    font-weight: bold;
}


/* Formulaires */

.form1 {
    padding-top: 3em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form1 label,
.form1 input {
    font-size: 1.1rem;
}

.formgroup {
    padding-bottom: 1em;
}

input[type=text],
input[type=password],
input[type=date],
input[type=email],
input[type=number],
input[type=time],
select {
    border: 1px solid rgb(18, 43, 48);
    border-radius: .2em;
    outline: none;
    padding: .2em;
}

input[type=date],
input[type=time] {
    width: 216px;
}

.form1 .labelabove {
    display: block;
    color: rgb(18, 43, 48);
}

.form1 .smaller {
    font-size: .8rem;
}

button[type=submit],
input[type=button] {
    background: rgb(255, 204, 95);
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    border: 0;
    border-radius: 1em;
    outline: none;
    padding: .5em;
    transition: all 0.3s ease 0s;
}

button[type=submit]:hover,
input[type=button]:hover {
    background: rgb(18, 43, 48);
    color: rgb(234, 238, 255);
    transition: all 0.3s ease 0s;
}


/* Images tournoi */

.tournoilist {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.tournoiimg {
    display: flex;
    justify-content: left;
    width: 27em;
    height: auto;
    padding: 2.5em 0;
    align-self: center;
}

.tournoiimg img {
    border-radius: 1em;
    width: 100%;
    max-width: 10em;
    height: 100%;
    margin-right: 1em;
}

.tournoiimg figcaption a {
    text-decoration: none;
    color: rgb(95, 138, 255);
    transition: all 0.3s ease 0s;
}

.tournoiimg figcaption a:hover {
    color: rgb(255, 204, 95);
    transition: all 0.3s ease 0s;
}


/* Accueil */

.accueilmenu {
    margin: 2em 5em;
    display: flex;
    justify-content: space-around;
}

.accueilmenu a {
    text-decoration: none;
    color: rgb(234, 238, 255);
}


/* Inscription aux tournois */


/* Gestion des tournois */

.managediv {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    flex-direction: row;
}

.managediv div span {
    display: block;
}

.managediv div {
    width: 13em;
    padding: 3em;
}

.managestart {
    text-align: center;
}


/* Remplissage des scores */

.formscore {
    display: flex;
    flex-direction: column;
}

.formscore form {
    display: flex;
    justify-content: center;
    margin: .1em 5em;
}

.formscore form div {
    margin: .1em 5em;
}

.alignselfcenter {
    align-self: center;
}


/* Historique des matchs */

.history {
    display: flex;
    flex-direction: column;
}

.history div {
    margin-bottom: .5em;
    display: flex;
    justify-content: center;
}


/* Autres */

.errormsg {
    display: flex;
    justify-content: center;
    color: rgb(180, 0, 0);
    margin-top: 1em;
}

.bold {
    font-weight: bold;
}

.underline {
    text-decoration: underline;
}

.title {
    font-size: 1.5rem;
    color: rgb(95, 95, 223);
    text-align: center;
    margin-top: 2em;
}

.tooltip {
    display: none;
    margin-left: 20px;
    padding: 2px 4px;
    border: 1px solid #555;
    background-color: #CCC;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}


/* Liste Joueurs */

.collapsible {
    background-color: #777;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 50%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    margin-top: 10px;
    margin-left: 25%;
}

.active,
.collapsible:hover {
    background-color: #555;
}

.collapsible:after {
    content: '\002B';
    color: white;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.active:after {
    content: "\2212";
}

.content {
    text-align: left;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #f1f1f1;
    width: 50%;
    margin-left: 25%;
}


/* /////////////////////////////////////////// */

.container-insc {
    margin-top: 5em;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: row;
}

.container-insc .tournoiimg {
    margin: 0;
    padding: 0;
    align-content: center;
    justify-content: center;
}

.container-insc .button-insc {
    margin-left: 5em;
    display: flex;
    height: 3em;
    justify-content: center;
    align-self: center;
}

.container-column {
    display: flex;
    flex-direction: column;
    margin-top: 3em;
    align-items: center;
}

.container-column form {
    margin-top: 1em;
}

.container-column h1 {
    color: brown;
    font-size: 2rem;
}