body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    transition: background-color 0.5s;
    background-color: var(--bg-color);
    color:var(--font-color);
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content{
    height: -webkit-fill-available;
    /* border: 3px solid green;*/
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


/* Navbar */

.header {
    overflow: visible;
    transition: background-color 0.5s;
    background-color: var(--navbar-bg-color);
    padding: 20px 10px;
}

.header a {
    float: left;
    color: var(--font-color);
    transition: background-color 0.5s;
    background-color: var(--navbar-bg-color);
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-size: 18px;
    line-height: 25px;
    border-radius: 4px;
}

.header p{
    float:left;
}

.header a.logo {
    font-size: 25px;
    font-weight: bold;
}

.header a:hover {
    background-color: var(--bg-color-navbar-button-hover);
    color: black;
}

.header a.active {
    background-color: var(--bg-color-navbar-button-active);
    color: white;
}

.header-right {
    float: right;
}

@media screen and (max-width: 500px) {
    .header a {
        float: none;
        display: block;
        text-align: left;
    }

    .header-right {
        float: none;
    }
}

.button {
    background-color: #555555;
    border: none;
    color: white;
    padding: 15px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

.Title{
    text-align: center;
}

/* Footer */
.footer{
    position: relative;
    bottom: 0%;
    margin-top: auto;
}

/* Serverlist */

.center{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.Serverlist{
    border-radius: 15px;
    max-width: 50%;
    height: 90px;
    margin-bottom: 10px;
}

.Online{
    background-color: rgba(102, 168, 87, 0.884);
}

.Offline{
    background-color: rgb(255, 95, 95);
}

.servicepicture{
    width: 8%;
    height: 100%;
    float: left;
    display: flex; 
    justify-content: center; 
    align-items: center;
}
div.info{
    width: 46%;
    height: 100%;
    float: left;
}
div.infotext{
    display: block;
    width: 100%;
    height: 50%;
    font-size: clamp(1rem, 2vw, 2rem);
}
.description{
    width: 46%;
    height: 100%;
    float: left;
}
.descriptiontext{
    font-size: clamp(0.7rem, 0.9vw, 1.3rem);
}

.serverInfo{
    width: 30%;
    border-radius: 15px;
    max-width: 50%;
    height: 90px;
    background-color: purple;
}
.serverInfo .text{
    margin-top: 25px;
    width: 30%;
    float: left;
}
.serverInfo .img{
    width: 69%;
    float: left;
}

/* Darkmode */
.dark-mode{
    background-color: black;
    color: white;
  }

:root {

    --font-color: #0f0f0f;
    --bg-color: #fefefe;
    --navbar-bg-color: #f1f1f1;
    --bg-color-navbar-button-active: dodgerblue;
    --bg-color-navbar-button-hover: #ddd;

}

[data-theme="dark"] {

    --font-color: white;
    --bg-color: black;
    --navbar-bg-color:rgb(41, 41, 41);
    --bg-color-navbar-button-active: darkblue;
    --bg-color-navbar-button-hover: #bdbaba;
}


.switch {
    float:left;
    padding: 9px;
}
    
.theme-switch {
  display: inline-block;
  height: 34px;
  position: relative;
  width: 60px;
}

.theme-switch input {
  display:none;
}

.slider {
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
}

.slider:before {
  background-color: #fff;
  bottom: 4px;
  content: "";
  height: 26px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 26px;
}

input:checked + .slider {
  background-color: #807d7d;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.dsgvo {
    width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}