* {
    font-family: Arial, Verdana, sans-serif;
    text-align: justify;
    font-size:1rem;
    padding: 0;
    margin: 0;
}

/*How to Anleitung*/
.description {
    margin: 50px;
    padding: 20px;
    border:5px solid #a5d6a7;
}

/* obere Leiste */
.container {
    display: flex;
    justify-content: space-between;
    background-color: #A1C3D1;
    /* TODO: make height matching the content */
    height: 85px;
}

.play-button {
    border-style: solid;
    border-color: darkred;
    border-width: 5px;
    border-radius: 10px;
}

/* Buttons, Introduction, How To Play, Leaderboard, Play Now! */
.nav-item {
    font-size: 1.3em;
    padding: 15px 15px 15px 15px;

    background-color: #F0EBF4;

    border-style: solid;
    border-color: #B39BC8;
    border-width: 5px;
    border-radius: 10px;
}

.nav-item:visited {
    color: black;
    text-decoration: none;
}

.nav-item:link {
    color: black;
    text-decoration: none;
}

.nav-item:hover {
    background-color: beige;
}

/* Navigation Bar, containing a list*/
nav ul {
    padding: 10px;
    margin-right: 10px;
    margin-top: 20px;
}

/* Spiel-Name hier */
/* TODO: make height center */
.game-title {
    font-size: 2em;
    padding-top: 12px;
    padding-left: 15px;
    margin: 10px;
    color: black;
    /*color: #2C3F4C;*/
    text-decoration: none;
}

body {
    background-color: #F0EBF4;
}

/*User input*/
.user-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.name-and-nameinput, .control-an-control-input, .location-and-location-input {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.enter-fiel {
    margin: 30px 10px 10px;
    padding: 10px;
    text-align: center;

    background-color: #a5d6a7;
    border-radius: 10px;
}

#fname, #control, #enable-loc {
    margin: 30px 10px 10px;
    padding: 3px;
}

.introduction-content {
    padding: 20px;
}

.introduction-content h1 {
    margin: 0;
}

.main-content {
    margin: 25px;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-content-header {
    font-size: 4em;
    text-align: center;
}

.main-content-subheader {
    font-size: 1.5em;
    text-align: center;
}


/* Smaller Devices, ab 950px passen die Buttons nicht mehr in eine Zeile */
@media only screen and (max-width: 900px) {


    #desktop-view {
        display: none;
    }

    /* List containing the Buttons */
    /* TODO: elemente untereinander */
    nav ul li {
        margin-right: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #nav-elements-mobile-view {
        display: none;
    }

    .desktop-switch-container {
        display: none;
    }

    .mobile-switch-container {
        display: initial;
        padding: 20px;
    }


}

/* Desktop Styles */
@media only screen and (min-width: 901px) {
    /* List containing the Buttons */
    nav ul li {
        display: inline;
        margin-right: 10px;
    }

    #mobile-view {
        display: none;
    }

    #opened-tab {
        background-color: beige;
    }

    .desktop-switch-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        padding-bottom: 50px;
    }

    .radio-switch {
        margin: 5px;
    }
    #desktop-global-label {
        margin-left: 6px;
    }

    .mobile-switch-container {
        display: none;
    }


}
