*{
    padding: 0;
    margin: 0;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/roboto-regular.woff2') format('woff2'),
        url('fonts/roboto-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    }

    /* In your HTML, you can then use the font like this: */
    .my-text {
    font-family: 'Roboto';
}

body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
    width: 80%;
    max-width: 1200px;
    box-shadow: 0px 0px 10px black;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Roboto';
} 
.body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
} 
.responsive{
    display: none;
}

.nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    background-color: rgb(35,35,35);
    font-size: 0.8em;
}
.case {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height:50px;
}

.case:hover {
    background-color: rgb(226, 173, 0);
    cursor: pointer;
}
.case:hover a {
    color: black;
}
.case a {
    text-decoration: none;
    color: white;
}


table {
    margin: 5px;
    
}

table tr th, table tr td {
    margin: 0 10px;
    padding: 0 10px;
    width: 110px;
    height: 25px;
    border: 1px solid black;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0px 0px 5px black;
}
.th-reset {
    border: none;
    width: 20px;
    box-shadow: none;
}
.lvl {
    width: 60px;
}

/* COLORS */
.yellow {
    background-color: rgb(226, 226, 0);
}
.orange1 {
    background-color: rgb(226, 173, 0);
}
.orange2 {
    background-color: rgb(255, 174, 0);
}
.green1 {
    background-color: rgb(81, 255, 0);
}
.green2 {
    background-color: rgb(59, 161, 0);
}
.blue1 {
    background-color: rgb(0, 153, 255);
}
.blue2 {
    background-color: rgb(0, 105, 204);
    color: white;
}
.purple {
    background-color: purple;
    color: white;
}
.pink1 {
    background-color: rgb(255, 0, 140);
}
.pink2 {
    background-color: rgb(243, 0, 243);
}

/* MATCHPLAY SITE */

.match {
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 200px;
    border-bottom: 1px solid black;
}

.match-case {
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 50px;
}
#date {
    width: 100px;
}

#plyr1, #plyr2 {
    margin-right: 15px;
}

.footer{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40px;
    background-color: rgb(45,45,45);
    margin-top: 50px;
}
.footer a {
    color: white;
}

/*********************/
/* RESPONSIVE DESIGN */
/*********************/

@media screen and (max-width: 750px) {
    body{
        width: 90%;
    }
    .body{
        display: none;
    }
    .responsive{
        display: block;
        width: 90%;
    }

    .box-all{
        display: grid;
        grid-template-columns: [box-case] 110px [empty] 45px [box-lvl] 110px [end];
        grid-template-rows: [place] 20px [player] 20px [end];
        grid-template-areas:    "place . lvl"
                                "player . .";
        height: 63px;
        margin-bottom: 15px;
        
    }
    .box-all:nth-child(1){
        margin-top: 50px;
    }
    .box-lvl, .box-case-place, .box-case-player {
        width: 110px;
        height: 19px;
        text-align: center;
        border: 1px solid black;
        border-radius: 5px;
        box-shadow: 0px 0px 5px black;
        padding: 5px 10px;
    }
    .box-lvl{
        grid-area: lvl;
    }
    .box-case-place{
        grid-area: place;
    }
    .box-case-player{
        grid-area: player;
    }

}