@media(max-width: 1024px) {
    p {
        font-size: 14px;
        color: black;
    }

    .cadre {
        padding: 2vh;
        background-color: #F1F1F1;
        border: 0px solid #F1F1F1;
        border-radius: 5px;
        width: 45%;
        margin-bottom: 1vh;
    }

    input[type=submit] {
        font-size: 16px;
        width: 100%;
        margin-top: 20px;
    }

    .form-connexion input,
    .form-joueur input,
    .form-match input,
    .form-match select,
    input:active,
    input:focus,
    input:focus-within {
        font-size: 14px;
        height: 40px;
    }

    .form-joueur,
    .form-connexion {
        margin-top: 20px;
        width: 45%;
        padding: 15px;
    }

    .form-match {
        width: 90%;
        padding: 15px;
    }

    .cadre .btn {
        margin-top: 2vh;
        width: 100%;
        font-size: 14px;
        height: 30px;
    }

    #menu {
        left: -40%;
        width: 40%;
    }

    #menu ul li a {
        display: block;
        color: #303030;
        text-decoration: none;
        font-size: 12px;
        font-weight: 600;
        transition: background .5s;
        padding: .5em;
        text-align: left;
    }

    /* Animations pour le menu slide */
    @keyframes slideRight {
        from {
            left: -40%;
        }

        to {
            left: 0%;
        }
    }

    @-webkit-keyframes slideRight {
        from {
            left: -40%;
        }

        to {
            left: 0%;
        }
    }

    @keyframes slideLeft {
        from {
            left: 0%;
        }

        to {
            left: -40%;
        }
    }

    @-webkit-keyframes slideLeft {
        from {
            left: 0%;
        }

        to {
            left: -40%;
        }
    }
}





@media(max-width: 567px) {
    html {
        background: blue;
    }

    form {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin-top: 3vh;
        align-items: center;
        padding: 2vh;
        background-color: #F1F1F1;
        margin: auto;
        border: 0px solid #F1F1F1;
        border-radius: 5px;
    }

    .formpoint {
        background: transparent;
    }

    .form-joueur,
    .form-connexion {
        margin-top: 100px;
        width: 90%;
    }

    .point,
    .point:focus {
        font-size: 10vh;
        height: 12vh;
        width: 40%;
    }

    .form-match {
        margin-top: 60px;
        width: 90%;
    }

    input {
        font-size: 12px;
        text-align: center;
    }

    .form-connexion input,
    .form-joueur input,
    input:active,
    input:focus,
    input:focus-within {
        font-size: 14px;
        height: 40px;
    }

    input[type=submit] {
        font-size: 20px;
        width: 90%;
        margin-top: 20px;
    }

    label {
        font-size: 9px;
    }

    select {
        width: 100%;
    }

    .small {
        width: 100%;
    }

    .small select {
        width: 100%;
    }

    .dnp {
        display: none;
    }

    .dnc {
        display: flex;
    }

    .dno {
        display: block;
    }

    .container-list {
        display: block;
        margin-top: 50px;
        width: 90%;
        justify-content: space-around;
    }

    .cadre {
        padding: 2vh;
        background-color: #F1F1F1;
        border: 0px solid #F1F1F1;
        border-radius: 5px;
        width: 100%;
        margin-bottom: 1vh;
    }

    p {
        font-size: 18px;
        color: black;
        width: 100%;
    }

    .cadre .btn {
        margin-top: 2vh;
        width: 100%;
        font-size: 2vh;
        height: 35px;
    }

    a:-webkit-any-link {
        color: white;
        text-decoration: none;
    }

    .nom_joueur {
        margin-top: 50px;
        font-size: 5vh;
        text-align: center;
        padding-top: .5vh;
        width: 90%;
        height: auto;
    }

    .container {
        justify-content: center;
    }

    .bille {
        border-radius: 50%;
        width: 250px;
        height: 250px;
        text-align: center;
        margin-top: 10px;
    }

    .bille input {
        font-size: 100px;
        height: 100%;
        width: 100%;
        background-color: transparent;
        border: 0px;
    }

    .bille input:focus {
        border: 0px solid;
    }

    .billepetite {
        border-radius: 50%;
        width: 80px;
        height: 80px;
        text-align: center;
    }

    .billepetite input {
        font-size: 40px;
        color: white;
        background-color: transparent;
        margin-top: 10px;
        height: 50px;
        border: 0px;
    }

    .billepetite button {
        background-color: transparent;
        border: 0px;
        font-size: 20px;
        font-weight: 600;
        margin-top: 27px;
    }

    .white {
        background-color: white;
    }

    .yellow {
        background-color: #FDB200;
    }

    .red {
        background-color: red;
    }

    .dernierpoint {
        text-align: center;
        color: white;
        background-color: red;
        font-size: 22px;
        font-weight: 600;
    }

    .cadreyellow {
        font-size: 1.5rem;
        padding: 10px;
    }

    .liste {
        display: flex;
    }

    .liste-nom {
        width: 50%;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .liste-nom a {
        color: black;
        font-size: 2rem;
    }

    th {
        font-size: 10px;
    }

    td {
        font-size: 12px;
    }

    /* Menu burger */
    #menu-burger {
        position: absolute;
        left: 2em;
        display: inline-block;
        cursor: pointer;
    }

    #menu-burger .bar1,
    #menu-burger .bar2,
    #menu-burger .bar3 {
        width: 25px;
        height: 3px;
        background-color: #F1F1F1;
        margin: 5px 0;
        transition: 0.4s;
    }

    #menu-burger.clicked .bar1 {
        background-color: #303030;
        -webkit-transform: rotate(-45deg) translate(-9px, 6px);
        transform: rotate(-45deg) translate(-4px, 2px);
    }

    #menu-burger.clicked .bar2 {
        opacity: 0;
    }

    #menu-burger.clicked .bar3 {
        background-color: #303030;
        -webkit-transform: rotate(45deg) translate(-8px, -8px);
        transform: rotate(45deg) translate(-8px, -8px);
    }

    #menu-burger {
        top: 1em;
        right: 2em;
        z-index: 9999;
    }

    #menu {
        left: -100%;
        width: 100%;
    }

    #menu ul li a {
        font-size: 16px;
        padding: .8em;
    }

    /* Animations pour le menu slide */
    @keyframes slideRight {
        from {
            left: -100%;
        }

        to {
            left: 0%;
        }
    }

    @-webkit-keyframes slideRight {
        from {
            left: -100%;
        }

        to {
            left: 0%;
        }
    }

    @keyframes slideLeft {
        from {
            left: 0%;
        }

        to {
            left: -100%;
        }
    }

    @-webkit-keyframes slideLeft {
        from {
            left: 0%;
        }

        to {
            left: -100%;
        }
    }


}