CSS

/*
  CSS RESET
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-weight: normal;
  font-size: 100%;
}

ul,
ol {
  list-style: none;
}

img,
video {
  width: 100%;
}

a {
  font-family: "Lateef";
  font-weight: lighter;
  font-size: 24px;
  font-style: italic;
  text-align: center;
  color: white;
}




/*
  STYLES
*/

.lateef-extralight {
  font-family: "Lateef", serif;
  font-weight: 200;
  font-style: normal;
}

.lateef-light {
  font-family: "Lateef", serif;
  font-weight: 300;
  font-style: normal;
}

.lateef-regular {
  font-family: "Lateef", serif;
  font-weight: 400;
  font-style: normal;
}

.lateef-medium {
  font-family: "Lateef", serif;
  font-weight: 500;
  font-style: normal;
}

.lateef-semibold {
  font-family: "Lateef", serif;
  font-weight: 600;
  font-style: normal;
}

.lateef-bold {
  font-family: "Lateef", serif;
  font-weight: 700;
  font-style: normal;
}

.lateef-extrabold {
  font-family: "Lateef", serif;
  font-weight: 800;
  font-style: normal;
}

h1 { 
  font-family: "Lateef";
  font-size: 32px;
  font-style: bold;
  text-align: left;
  line-height: 85%;
  color: white;
} 

h2 { 
  font-family: "Lateef";
  color: white;
  font-size: 32px;
  font-style: bold;
  text-align: center;
  line-height: 85%;
  margin-top: 2%;
  margin-bottom: 0;
} 

h3 { 
  font-family: "Lateef";
  font-weight: bold;
  font-size: 80px;
  text-align: left;
  margin-top: -3%;
  margin-bottom: -3%;
} 

h4 { 
  font-family: "Lateef";
  font-weight: bold;
  font-size: 32px;
  font-style: italic;
  text-align: left;
  margin-top: -2%;
  margin-bottom: 2%;
} 

h5 { 
  font-family: "Lateef";
  font-weight: lighter;
  font-size: 24px;
  font-style: italic;
  text-align: center;
  color: white;
  margin-bottom: 3vh;
  margin-top: 0;
} 

header {
  display: flex;
  justify-content: center;
  align-items: center;
}

header img {
  max-height: 50px;
  cursor: pointer;
}

body {
  margin: 0;
  background-color: black;
  font-family: sans-serif;
  padding: 40px;
  padding-top: 60px;
}

.container {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgb(255, 0, 0);
  z-index: 0;
  transition: width 0.5s ease;
  width: 0%;
}

.menu {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-around;
  padding: 1rem;
}

.menu label {
  cursor: pointer;
  font-weight: bold;
}

/* Verstecke die Radio-Buttons */
input[type="radio"] {
  display: none;
}

/* Je nach Auswahl passe die Hintergrundbreite an */
#opt1:checked ~ .background {
  width: 82.0%;
}

#opt2:checked ~ .background {
  width: 84.2%;
}

#opt3:checked ~ .background {
  width: 67.7%;
}

/* Inhalte standardmäßig verstecken */
.option .content {
  display: none;
  color: white; /* oder dein gewünschter Textstil */
  margin-top: 1rem;
}

/* Nur die aktive Option soll sichtbar sein */
#opt1:checked ~ .menu #option1 .content {
  display: block;
}

#opt2:checked ~ .menu #option2 .content {
  display: block;
}

#opt3:checked ~ .menu #option3 .content {
  display: block;
}

#option3 h1 {
  color: red;
}