* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
}

body {
    background-color: rgb(241, 240, 240);
}

/* Navigatiebalk  */
.topBar {
    position: fixed;
    display: flex;
    min-height: 3em;
    width: 100%;
    background-color: darkslategray;
    z-index: 6;
    transition: 1.5s ease;
    border-bottom: 2.5px solid rgb(31, 53, 53);
    box-shadow: 0px 2px 15px darkslategray;
}

.topBar:hover {
    box-shadow: 0px 5px 20px darkslategray;
    transition: 0.5s ease;
}


.invisibleTopBar {
    position: relative;
    display: flex;
    min-height: 3em;
    width: 100%;
    background-color: rgb(241, 240, 240);
}

#invisibleTitle {
    opacity: 0;
}

/* Logo / Titel */
.title {
    width: 48%;
    min-width: 400px;
}

h4 {
    color: white;
    display: inline-block;
    width: auto;
    margin: 0.3em 0px 0.3em 0.3em;
    font-size: 2.3em;
    text-transform: uppercase;
    letter-spacing: 7px;
    transition: 1s ease;
}

/* Navigatiebalkmenu voor breed scherm  */
.menuPC {
    display: flex;
    justify-content: flex-end;
    width: 52%;
    padding-right: 2%;
    right: 0px;
    vertical-align: middle;
}

.ul1 {
    display: flex;
    justify-content: center;
    vertical-align: middle;
}

a.li1 {
    min-width: 150px;
    max-height: 40px;
    list-style: none;
    vertical-align: middle;
    padding: 10px 20px;
    margin: 13px 10px;
    color: white;
    border: 2px solid white;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
}

a.li1:hover {
    background-color: white;
    color: darkslategray;
    border: 2px solid darkslategray;
}

a {
    text-decoration: none;
    color: black;
}

/* Navigatiebalkmenu Burger voor smal scherm */
.burger div {
    width: 60px;
    height: 8px;
    background-color: white;
    margin: 11px;
    border-radius: 2px;
}

.burger {
    display: none;
    margin: 20px 15px;
    border: 2px solid white;
    border-radius: 6px;
    position: absolute;
    right: 0px;
    background-color: darkslategray;
    transition: 0.8s ease;
}

/* Uitklapmenu bij aanklikken burger*/
#uitklapMenu {
    position: fixed;
    top: 6.8em;
    right: -40%;
    background-color: rgb(241, 240, 240);
    z-index: 5;
    width: 31%;
    min-width: 170px;
    height: 100%;
    transition: 1s ease;
    border-top: 2.5px solid rgb(31, 53, 53);
    border-left: 2.5px solid rgb(31, 53, 53);
    border-radius: 4px;
    box-shadow: -1px 0px 10px darkslategrey;
}

a .li2 {
    min-width: 30%;
    list-style: none;
    padding: 15px 5px;
    margin: 0px 0px;
    border-top: none;
    text-align: center;
    font-size: 1.5em;
    transition: 0.5s ease;
    border-bottom: 1.5px solid rgb(218, 217, 217);
}

a .li2:hover {
    background-color: rgb(149, 184, 184);
}

.burger:hover {
    background-color: rgb(139, 177, 177);
}

@media screen and (max-width: 1219px), (orientation: portrait) {
    .burger {
        display: inline-block;
    }

    .menuPC {
        display: none;
    }
}

@media screen and (min-width: 1220px) {
    #uitklapMenu {
        display: none;
    }
}

/* Opening screen / instructions screen */
.instructionsClass {
    position: absolute;
    justify-content: space-around;
    width: 100%;
    z-index: 4;
}

.instructionsVensterClass {
    margin: 100px 2.5% 100px 2.5%;
    padding: 25px 50px;
    color: white;
    background-color: rgb(82, 112, 112);
    border-radius: 10px;
    border: 2px solid rgb(130, 170, 170);
    width: 95%;
    box-shadow: 2px 2px 10px rgb(82, 112, 112);
}

#startButton, #readButton {
    margin: 20px 0px 0px 0px;
    font-size: 25px;
    width: 100%;
    text-align: center;
    background-color: darkslategray;
    padding: 5px;
    color: white;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 3px;
    border-radius: 4px;
    transition: 0.4s ease;
}

#startButton:hover {
    background-color: darkturquoise;
    color: white;
}

#readButtonDiv {
    display: none;
}

.instructionsVensterClass ul {
    padding-left: 15px;
}

/* Venster voor het kiezen van aantal spelers*/
.chooseSchedule {
    position: absolute;
    justify-content: space-around;
    width: 100%;
    z-index: 3;
}

.inputVensterPlayers {
    display: flex;
    flex-direction: column;
    margin: 100px 2.5%;
    padding-bottom: 14px;
    background-color: rgb(82, 112, 112);
    border-radius: 10px;
    border: 2px solid rgb(130, 170, 170);
    width: 95%;
    box-shadow: 2px 2px 10px rgb(82, 112, 112);
}

.playersButtons {
    width: auto;
    text-align: center;
    color: white;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 3px;
    background-color: darkslategray;
    margin: 14px 3% 0px 3%;
    padding: 5px;
    border-radius: 4px;
    transition: 0.4s ease;
}

.playersButtons:hover {
    background-color: darkturquoise;
}


/* Scherm om spelersnamen te kiezen */
.choosePlayersMenu {
    display: none;
    position: absolute;
    justify-content: space-around;
    width: 100%;
    z-index: 2;
}

.inputVenster {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: auto;
    background-color: rgb(82, 112, 112);
    margin: 100px 2.5%;
    padding: 15px 15px;
    border: 2px solid rgb(130, 170, 170);
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgb(82, 112, 112);
}

.kolom {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 20%;
    margin: 0px 2.5%;
    min-width: 120px;
    height: 200px;
}

.rij {
    display: flex;
    width: 100%;
    height: 40px;
    justify-content: left;
}

.labelDiv {
    width: 15%;
    height: 40px;
    justify-content: right;
    padding-top: 3px;
}

.inputDiv{
    width: 85%;
    height: 40px;
    justify-content: right;
    vertical-align: middle;
}

.labelPlayer {
    float: right;
    padding-right: 5px;
    color: white;
}

.inputPlayer {
    height: 24px;
    width: 100%;
    border-radius: 3px;
    border-color: rgb(130, 170, 170);
    background-color: rgb(241, 240, 240);
}

input[type=text] {
    font-size: 16px;
    font-weight: bold;
    color: rgb(21, 49, 49);
    border-style: double;
    border-radius: 4px;
    padding: 2px;
}

input[type=text]:hover {
    background-color: rgb(200, 216, 216);
    border-color: rgb(91, 136, 136);
}

input[type=text]:focus {
    background-color: rgb(200, 216, 216);
    border-color: rgb(91, 136, 136);
    outline-color: rgb(138, 179, 179);
}

@media screen and (max-width: 684px) {
    .kolom {
        margin: 2% 10%;
    }
}

.playTitle { /* The title "Choose player names */
    width: 95%;
    text-align: center;
    margin-Bottom: 10px;
    padding: 4px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 3px;
    border-radius: 4px;
}

.playButton { /* Button to submit player names */
    width: 95%;
    text-align: center;
    background-color: darkslategray;
    margin-top: 10px;
    padding: 4px;
    color: white;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 3px;
    border-radius: 4px;
    transition: 0.4s ease;
}

.playButton:hover {
    background-color: darkturquoise;
}

/* pagina met poule fase tables  */
.schema {
    position: relative;
    display: none;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
    z-index: 1;
}

.tableDiv {
    display: relative;
    width: auto;
    max-height: 373px;
    color: white;
    background-color: rgb(91, 136, 136);
    margin: 25px 5px;
    padding: 4px;
    border: 2px solid rgb(70, 107, 107);
    border-radius: 5px;
    box-shadow: 4px 4px 12px darkslategray;
    transition: 0.5s ease;
}

.tableDiv:hover {
    box-shadow: 9px 9px 20px rgb(30, 51, 51);
    background-color: darkslategray;
    border: 2px solid darkslategray;
    transition: 0.5s ease;
}

@media screen and (max-width: 1484px) {
    .tableDiv {
        margin: 25px 5.8%;
    }
}

@media screen and (max-width: 900px) {
    .tableDiv {
        margin: 25px 10px;
    }
}

h3 {
    width: 149px;
    margin: 4px 0px 2px 0px;
    text-shadow: 0.5px 0.5px 10px darkslategray;
}

table {
    display: flex;
    text-align: left;
    color: black;
    background-color: lightgrey;
    margin: 1px;
    padding: 2px 2px;
    border: 0px solid white;
    border-collapse: collapse;
    border-radius: 4px;
}

th {
    background-color: rgb(212, 212, 212);
    margin: 0px;
    padding: 1px;
    border: 1px solid lightgrey;
}

th.score1 {
    text-align: center;
}

td {
    background-color: white;
    text-align: center;
    margin: 0px;
    padding: 2px 0px;
}

.name {
    width: 93px;
    overflow: hidden;
}

.NR1, .NR2 {
    background-color: rgb(227, 233, 233);
}

.rank { 
    text-align: left;
}

.rankNumber {
    text-align: left;
    padding-left: 9px;
}

input {
    margin: 0;
    padding: 1px;
    width: 100%;
    text-align: center;
}

.leftTop {
    border-radius: 5px 0px 0px 0px;
}

.rightTop {
    border-radius: 0px 5px 0px 0px;
}

.rightBottom {
    border-radius: 0px 0px 5px 0px;
}

.leftBottom {
    border-radius: 0px 0px 0px 4px;
}

input[type=button] {
    border: none;
    color: white;
    background-color: rgb(113, 158, 158);
    padding: 2px 0px;
    border-radius: 2px;
    margin: 1.5px;
    width: 34.4px;
}

input[type=button]:hover {
    background-color: rgb(91, 136, 136);
}

input[type=number]{
    border-style: none;
    border-radius: 3px;
    width: 42px;
    padding: 2.5px;
    margin-right:1px;
    border: 1px solid rgb(196, 196, 196);
}

input[type=number]:hover {
    background-color: rgb(200, 216, 216);
}

input[type=number]:focus {
    background-color: rgb(227, 233, 233);
    outline-color: rgb(91, 136, 136);
}

.submitScore {
    display: block;
    background-color: lightgrey;
}

.changeScore {
    display: none;
    background-color: lightgrey;
}

.noteEnterScore {
    display: none;
    position: absolute;
    font-size: 14px;
    font-weight: bold;
    color: darkslategray;
    background-color: white;
    margin-left: 37px;
    padding: 3px;
    border: 2px solid darkslategray;
    border-radius: 5px;
    box-shadow: 2px 2px 4px darkslategray;
}
/* Knop om naar volgende ronde te gaan*/
.nextRoundClass {
    width: 93%;
    max-height: 40px;
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: white;
    background-color: rgb(113, 158, 158);
    margin: 30px 20px 30px 20px;
    padding: 3px 0px;
    border-radius: 5px;
    box-shadow: 4px 4px 12px darkslategray;
    transition: 0.5s ease;
}

.nextRoundClass:hover {
    background-color: rgb(92, 126, 126);
    box-shadow: 9px 9px 20px rgb(30, 51, 51);

}
/* Pop up als je nog niet naar volgende ronde kunt maar wel op de next round button drukt.*/
.noteNextRoundClass {
    display: none;
    position: absolute;
    font-size: 14px;
    color: darkslategray;
    background-color: white;
    margin: 2px 30%;
    padding: 3px;
    border: 2px solid darkslategray;
    border-radius: 5px;
    box-shadow: 2px 2px 4px darkslategray;
}

/* Alle classes voor vershillende finalerondes */ 
.F {
    display: none;
    position: relative;
    width: 100%;
    background-color: rgb(144, 168, 168);
}

.SF {
    background-color: rgb(104, 136, 136);
}

.QF {
    background-color: rgb(71, 109, 109);
}

.R16 {
    background-color: darkslategray;
}

/* classes voor scoreborden in alle finale rondes */ 
.fClass {
    display: flex;
    position: relative;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
}

.final {
    width: 280px;
    background-color: lightgray;
    margin: 25px 4px;
    border-radius: 6px;
}

.final:hover {
    box-shadow: 3px 3px 5px rgb(145, 144, 144);
}

@media screen and (min-width: 1457px) {
    .final {
        margin: 25px 12px;
    }
}

@media screen and (min-width: 1537px) {
    .final {
        margin: 25px 25px;
    }
}

@media screen and (max-width: 1176px) {
    .final {
        margin: 25px 8%;
    }
}

@media screen and (max-width: 840px) {
    .final {
        margin: 25px 5px;
    }
}

.finalNames {
    min-width: 190px;
    text-align: left;
    font-weight: bold;
    font-size: 17px;
    color: rgb(22, 44, 44);
    background-color: lightgray;
    padding-left: 10px;
    border-radius: 5px;
    transition: 0.6s ease;
}

.finalScores {
    width: 40px;
    background-color: lightgray;
}

.inputNumberFinal {
    height: 20px;
    text-align: center;
    min-width: 30px;
    font-weight: bold;
    font-size: 17px;
    background-color: rgb(245, 244, 244);
    padding: 0px 2px;
    border: none;
    border-radius: 3px;
    transition: 0.6s ease;
}

.inputNumberFinal:hover {
    background-color: darkturquoise;
}

.finalButton {
    background-color: lightgray;
}

.changeButtonFinals {
    display: none;
}

/* Het winner scherm die in beeld komt bij afronden finale */
.win {
    display: flex;
    justify-content: space-around;
    position: fixed;
    top: -2000px;
    height: 40%;
    width: 70%;
    padding: 20px;
    background-color: gold;
    border: 5px solid black;
    border-radius: 20px;
    z-index: 7;
    margin: 0 15%;
    transition: 3s ease;
}

.winText {
    position: relative;
    top: 34%;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
}