* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

.img-container {
    position: relative;
    display: inline-block;
}

.img-container .close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 30px;
    text-align: center;
}

#image-blur {
    width: 100%;
    height: 100%;
    filter: blur(10px);
    /* Initiale Unschärfe */
    transition: filter 1s;
    margin-bottom: 20px;
}

a.button {
    background-color: #7b7b7b;
    color: white;
    cursor: pointer;
    border: none;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    text-align: center;
    border-radius: 5px;
    margin: 0.5rem 0;
}

a.button:hover {
    background-color: #858585;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*min-height: 100vh;*/
}

#image-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

#image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.control-button {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

#play-button img,
#stop-button img {
    width: 34px;
    /* Icon-Größe */
    height: 34px;
}

#confirmation {
    display: none;
    margin-top: 20px;
}

#videoContainer {
    position: relative;
}

video {
    max-width: 100%;
    height: auto;
    transform: scaleX(-1);
    /* Spiegeln des Video-Streams */
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#switchCamera {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.game-status {
    width: 200px;
    /* Beispielbreite */
    height: 300px;
    /* Beispielhöhe */
    background-size: cover;
}

#map {
    height: 300px;
    margin-top: 20px;
}

#canvas {
    width: 100%;
}

.topbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #333;
    padding: 10px 0;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 5px solid black;
}

.topbar a {
    text-decoration: none;
    color: white;
}

.topbar img {
    width: 30px;
    height: 30px;
}

#info {
    text-align: center;
}

.content {
    display: flex;
    flex-direction: column;
    /* Elemente untereinander anordnen */
    justify-content: center;
    /* Vertikal zentrieren */
    align-items: center;
    /* Horizontal zentrieren */
    flex: 1;
    padding-top: 70px;
    /* Platz für die Topbar */
    /*padding-bottom: 50px; /* Platz für den Footer */
    /*height: calc(100vh - 100px); /* Gesamthöhe minus Platz für Topbar und Footer */
}

.header-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('images/pictures/headerBanner.png') no-repeat center center;
    background-size: contain;
    /* Stellen Sie sicher, dass das Bild nicht abgeschnitten wird */
    padding: 10px 20px;
    /* Platz an den Seiten hinzufügen */
    margin-top: 10px;
    width: calc(100% - 40px);
    /* Breite anpassen, um den Padding-Platz zu berücksichtigen */
    position: fixed;
    top: 0;
    left: 20px;
    /* Gleiche Menge Platz wie das Padding links und rechts */
    z-index: -1;
    /* Sicherstellen, dass das Banner über anderen Inhalten liegt */
    height: 220px;
    /* Höhe des Banners anpassen */
}

.footer-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('images/pictures/bannerNorderney.png') no-repeat center center;
    background-size: cover;
    padding: 10px 0;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: -1;
    height: 100px;
    /* Höhe des Footers anpassen */
}

.container-top {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 20px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 800px;
    margin-top: 80px;
}

.container {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 20px;
    margin: 0px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 800px;
}

#socialContainer {
    margin-top: 20px;
}

.container-box {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    margin: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 800px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.box {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 1rem;
    margin: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: calc(50% - 2rem);
    box-sizing: border-box;
}

.box img {
    max-width: 100%;
    border-radius: 6px;
}

h1,
h2,
h3,
h4 {
    text-align: center;
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#icon {
    transition: transform 2s linear;
}

#distance {
    margin-top: 20px;
    font-size: 1.5em;
}

input[type="text"],
button {
    width: 100%;
    padding: 0.75rem;
    margin: 0.5rem 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    margin: 0.5rem 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/pictures/Hintergrund.jpg');
    background-size: cover;
    z-index: -99;
}

.hidden {
    display: none;
}

.background-pfad {
    background-image: url('images/pictures/KartePfad.png');
    background-size: cover;
    background-position: center;
    padding: 20px;
    width: 100%;
    height: 100%;
    border: 1px solid #ccc;
}

button {
    background-color: #ff5900;
    color: white;
    cursor: pointer;
    border: none;
}

button:hover {
    background-color: #b84000;
}

.btn-logout {
    background-color: #646464;
}

.btn-logout:hover {
    background-color: #4b4b4b;
}

.table-wrapper {
    overflow-x: auto;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-button {
    display: flex;
    text-decoration: none;
    color: #000;
    font-size: 18px;
}

.social-button img {
    width: 26px;
    height: 26px;
    margin-right: 8px;
}

.star-rating {
    font-family: Arial, sans-serif;
    display: inline-block;
    justify-content: center;
}

.stars {
    display: flex;
    flex-direction: row-reverse;
}

.stars input[type="radio"] {
    display: none;
}

.stars label {
    font-size: 2rem;
    color: #727272;
    cursor: pointer;
    padding: 0 0.1rem;
}

.stars input[type="radio"]:checked~label {
    color: gold;
}

.stars label:hover,
.stars label:hover~label {
    color: gold;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.text-align-and-orange {
    text-align: center;
    color: #b84000;
}

th,
td {
    padding: 0.75rem;
    border: 1px solid #ccc;
    text-align: left;
}

th {
    background-color: #ff5900;
    color: white;
}

td {
    background-color: #f9f9f9;
}

p {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

#status-container {
    border: 6px solid #5eec32;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    max-width: 800px;
}

#status {
    font-size: 16px;
    margin-top: 10px;
}

.scrollable-container {
    max-height: 150px;
    /* Du kannst die Höhe anpassen, wie du möchtest */
    overflow-y: auto;
    padding: 20px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
}

.container-gps {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 10px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 800px;
}

a {
    color: #000;
}

#ende {
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}
