:root {
    /*---- LIGHT COLOR VARIABLES ----*/

    /* NavigatorBar Colors */
    --navbackground: #244e3a;
    --navhover: #43644a;
    --navtext: white;
    --navlines: #ffffff;
    --footer: #343434;
    --tables: #818181b2;
    --lightgreen: #F2F5F3;
    --background: #e0e0e0;
    --textcolor: black;

    --dark-light-button: black;
    --navdropdown: #f9f9f9;

}

.dark-mode { /*DARK MODE COLORS*/

    --navbackground: #244e3a;
    --navhover: rgb(89, 131, 98);
    --navtext: white;
    --navlines: #ffffff;
    --footer: #383838;
    --tables: rgba(158, 158, 158, 0.829);
    --lightgreen: #F2F5F3;
    --background: #505050;
    --textcolor: #dfdfdf;

    --dark-light-button: white;
    --navdropdown: #3d3d3d;
}


.dark-mode #dark-light-mode img {
    filter: brightness(0) invert(0);
}




/*Body*/
body {
    margin: 0;
    margin-top:50px;
    color:black;
	font-family: Verdana;
    background-color: rgb(224, 224, 224);
    color: var(--textcolor);
    background-color: var(--background);
}


.scores {
    margin:0px 10px;
}

.website {
    margin:0px 10px;
}


/*------  NAVBAR  ------*/

/*List Design*/
ul.navbar {
    position:fixed;
    display:flex;
    list-style-type:none;
    margin: 0px;
    padding: 0px;
    background-color: var(--navbackground);
    justify-content: center;
    height:50px;
    width:100%;
    top: 0;
}

ul.navbar li {
    justify-content: flex-end;
    align-self: center;
}

/*Points Design(Home, Games)*/
ul.navbar li a {
    color: var(--navtext);
    text-decoration: none;
    padding: 15px 10px;
}


/*Hover Color*/
ul.navbar li a:hover {
    background-color: var(--navhover);
}


/*---Dropdown Games---*/
.dropdown {
    position: relative;
}
.dropdown-content {
    top: 35px;
    display: none;
    position: absolute;
    background-color: var(--navdropdown);
    min-width: 130px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
}

.dropdown-content a {
    color: black !important;
    padding: 12px 16px !important;
    text-decoration: none;
    display: flex;
}


.dropdown:hover .dropdown-content {
    display: block;
}

/*---SearchBar---*/
#searchbar div {
    padding:12px;
    height:100%;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

#searchbar input {
    height:25px;
    border: 2px solid black;
    border-radius: 30px;
    padding-left:10px
}

#searchbar input:focus {
    outline:none;
}

#searchbar button {
    width:auto;
    height:25px;
    border-radius:1px;
}

#searchbar img {
    height:auto;
    width:100%;
    padding:0px 0px;
    margin:0px 0px;
}


/*---Profile---*/
#profile div {
    height:100%;
    display:flex;
    justify-content: center;
    align-items:center;
}

#profile img {
    filter: brightness(0) invert(1);
    height:40px;
    width:auto;
}

#profile:hover {
    background-color: var(--navhover)
}

/*---Dark Light Toggle---*/
#dark-light-mode img{
    filter: brightness(0) invert(1);
    width:auto;
    height:25px;
}

#dark-light-mode button {
    border:1px solid var(--dark-light-button);
    border-radius:10px;
    padding:2px;
    box-shadow: 0px 0px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background-color: var(--dark-light-button);
}

#dark-light-mode {
    position:fixed;
    right:10px;
    align-self:center;
}




/*FAQ Desing links*/
.FAQ a {
    color: var(--footer);
    font-style: normal;
}
.FAQ table {
    background: var(--navlines);
    border-radius: 8px;
    padding: 10px;
    margin: 50px;
    max-width: 5000px;
    border-collapse: collapse;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.FAQ th {
    padding-bottom: 15px;
    color: var(--navbackground);
    border-bottom: 1px solid var(--tables);
    font-size: 20px;
    padding-left: 100px;
}

.FAQ td {
    padding: 24px 20px;
    border-bottom: 1px solid var(--navhover);
}

.FAQ tr:hover {
    background: var(--lightgreen);;
    border-radius: 8px;
}
/*Kategorien*/
.Kategorien a{
    color: var(--navlines);
    background-color: var(--tables);
    border-radius: 10px;
    border: 2px solid var(--tables);
    width: 10px;
    height: 10px;
    margin: 1;
    line-height: 30px;
    padding: 1px;
}

.home img {
    width: 300px;
    height: 200px;
    border-radius: 8px;
}
.home2 {
    border-radius: 8px;
    border: 2px solid var(--tables);
    padding: 1px;
    max-width: 5000px;
}
.home a {
    color: var(--navhover);
}




/*Fotter*/
footer {
    margin-top:10px;
    background-color: var(--footer);
    color: var(--navlines);
    padding: 20px;
}

footer table {
    color: var(--navlines);
    margin: auto; 
    text-align: center;
}

footer td, th {
    margin: auto;
    text-align: center;
}

footer td {
    padding-top: 10px;
}

footer a {
    color: var(--lightgreen);
}


/*Games Page*/
.games div {
    display:flex;
    flex-wrap: wrap;
    gap: 5px;
}

.games img {
    border-radius: 8px;
    width: 300px;
    height: 150px;
}

.games {
    margin-left:5px;
}

.scores table {
    background: var(-)-;
    border-radius: 8px;
    padding: 10px;
    margin: 50px;nav--navlines
    max-width: 1000px;
    border-collapse: collapse;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.scores th {
    padding-bottom: 15px;
    color: #294B3B;
    border-bottom: 1px solid #B7B7B7;
    font-size: 20px;
}

.scores td {
    padding: 14px 10px;
    border-bottom: 1px solid #B7B7B7;
}

.scores tr:hover {
    background: var(--lightgreen);
    border-radius: 8px;
}

/*Game Site*/
.game {
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.game h1 {
    margin:10px 0px;
    padding:0px 10px;
    border:1px solid black;
}

.game {/*
    border:1px solid black;
    width:auto;
    height:300px;
    margin-left:10px;
    margin-right:10px;
    display:flex;
    justify-content: center;
    align-items: center;*/
}

.game iframe {
    border:2px solid black;
    border-radius: 10px;;
    width:90%;
    aspect-ratio: 16 / 9;
}