html, body{
  margin:0;
  padding:0;
  width:100%;
  height:100%;
  overflow:hidden;
  background:#000;
  color:#e2e8f0;
  font-family: "Nunito", sans-serif;
}

.header{
  position: fixed;
  top:10px;
  left:20px;
  right:20px;
  padding:12px 16px;
  border:2px solid #fff;
  border-radius:10px;
  box-sizing:border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
    font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

#Name{
  font-size:24px;
  font-weight:800;
}

.header-links{
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-links a{
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.header-links a:hover{
  text-decoration: underline;
}
.layout{
  height: 100%;
  padding: 80px 20px 20px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 12px;
}

.Einstellungen{ /*für alle Flexboxeinstellungen habe ich diesen Guide benutzt:https://css-tricks.com/snippets/css/a-guide-to-flexbox/*/
  border: 2px solid #fff;
  padding: 15px;
  border-radius:10px;
  box-sizing: border-box;
  display: flex;
align-content: flex-start;
justify-content: flex-start;
align-items: center;
flex-wrap: wrap;
 row-gap: 30px;
column-gap: 12px
}



#Beschreibung{
  order: 0;
  flex: 0 0 100%;


}


.button {
  display:block;
flex: 1 1 48%;
  min-width: 0;
  width: 50%;
  height: 40px;
  box-sizing: border-box;
  border: 2px solid #fff;
  background: transparent;
  color: #e2e8f0;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-sizing: border-box;
 box-shadow: #ffffff 4px 4px 0 0;
 position: relative;
}

.button[aria-pressed="true"] {
  box-shadow: 0 0 0 0;
  top: 4px;
  left: 4px;
  background-color: #000000;

 }

.button.is-active {
  box-shadow: 0 0 0 0;
  top: 4px;
  left: 4px;
}

.slidecontainer {
  order: 3;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.slider {
  flex: 0 0 100%;
  width: 100%;
  height: 12px;
    -webkit-appearance: none;
  border-radius: 5px;  
  background: #000000;
  border: 2px solid #ffffff;
  outline: 2px;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider::-webkit-slider-thumb { /*// für Chrome, Safari, Opera. Für Firefox bräuchte man .slider::-moz-range-thumb*/

    -webkit-appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: #000000;
  cursor: pointer;
}

.slider::-webkit-slider-thumb:active {
  background: #ffffff;
}

.Visualisierung{
  height: calc(100vh - 90px);
  border: 2px solid #fff;

  border-radius:10px;
  box-sizing: border-box;
  overflow: hidden;
}

.mode-buttons-container {

  order: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;        /* übernimmt den Abstand vom Container */
  width: 100%;
}

.mode-btn {
  display:block;
flex: 1 1 48%;
height: 60px;
  min-width: 0;
  width: 50%;
  box-sizing: border-box;
  border: 2px solid #fff;
  background: transparent;
  color: #e2e8f0;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-sizing: border-box;
box-shadow: #ffffff 4px 4px 0 0;
position: relative;
}

.mode-btn[aria-pressed="true"] {
  box-shadow: 0 0 0 0;
  top: 4px;
  left: 4px;
  background-color: #000000;

 }


  .mode-btn:active {
  box-shadow: 0px 0px 0px 0px;
  top: 4px;
  left: 4px;
}

.td-link-container {
  order: 50;
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  }

.td-link-row {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 12px;
  width: 100%;
}

.td-link {
  display: block;
  width: 100%;
  min-width: 0;
}

.td-link-row .button {
  width: 100%;
  min-width: 0;
}

  .button-vollbild {
  order: 99;
  flex: 0 0 100%;
  width: 100%;
}

#visualisierung{
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
