body {background-color: rgb(199, 199, 199);}

.page {
  display: none;
}

.active {
  display: block;
}

.page-text {
  display: none;
}

.active-text {
  display: block;
}

.button {
    color: white;
    display: inline-block;
    font-size: 32px;
    font-weight: bolder;
}

.nextpage-button {
    background: green;
    color: white;
    border: 3px solid black;
    border-radius: 5px;
    font-size: 20px;
    font-family:Helvetica;
    display: inline-block;
    margin-top: 10px;
}

.pageinfo {
    color: black;
    font-family:Helvetica;
    display: inline-block;
    padding-left: 10px;
    text-decoration: underline;
}

.text-box {
    color: black;
    font-size: 20px;
    margin-left: 10px;
    font-family: Helvetica;
    padding-right: 5px;
}

.container {
    padding: 3px;
    display: inline-block;
    flex-direction: column;
    align-items: flex-start;
    border: 2px solid black;
}

.text-button {
        background: darkblue;
        color: white;
        border: 2px solid black;
        border-radius: 5px;
        font-size: 20px;
        font-family:Helvetica;
}

.color-line {
    border: 0;
    height: 2px;
    background-image: linear-gradient(to right, blue, green, purple, #f06, #ff9);
}







.button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 10px;
}


.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 1cm;
}


.button-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 5px;
  text-align: center;
}


/* Grüne Schaltflächen */
.sound-button.green {
  background: linear-gradient(145deg, #006400, #228B22); /* Gradient for more depth */
  color: white;
  border: 3px solid #004d00; /* Darker border for depth */
  border-radius: 50%;
  font-size: 20px;
  font-family: Helvetica;
  height: 100px;
  width: 100px;
  text-align: center;
  font-weight: bolder;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.6), inset 2px 2px 5px rgba(255, 255, 255, 0.3); /* Enhanced 3D shadow */
  transition: all 0.2s ease; /* Smooth transition for hover effect */
}

.sound-button.green:hover {
  text-decoration: underline;
  text-decoration-color: black;
  transform: translateY(-3px); /* More pronounced move up for 3D hover effect */
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.7), inset 2px 2px 7px rgba(255, 255, 255, 0.5); /* Stronger shadow on hover */
}


/* Blaue Schaltflächen */
.sound-button.blue {
  background: linear-gradient(145deg, #00008b, #1e90ff);
  color: white;
  border: 3px solid #000066;
  border-radius: 50%;
  font-size: 20px;
  font-family: Helvetica;
  height: 100px;
  width: 100px;
  text-align: center;
  font-weight: bolder;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.6), inset 2px 2px 5px rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
}

.sound-button.blue:hover {
  text-decoration: underline;
  text-decoration-color: black;
  transform: translateY(-3px);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.7), inset 2px 2px 7px rgba(255, 255, 255, 0.5);
}


/* Rote Schaltflächen */
.sound-button.red {
  background: linear-gradient(145deg, #8b0000, #ff4500);
  color: white;
  border: 3px solid #660000;
  border-radius: 50%;
  font-size: 20px;
  font-family: Helvetica;
  height: 100px;
  width: 100px;
  text-align: center;
  font-weight: bolder;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.6), inset 2px 2px 5px rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
}

.sound-button.red:hover {
  text-decoration: underline;
  text-decoration-color: black;
  transform: translateY(-3px);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.7), inset 2px 2px 7px rgba(255, 255, 255, 0.5);
}


/* Gelbe Schaltflächen */
.sound-button.yellow {
  background: linear-gradient(145deg, #ffd700, #ff8c00);
  color: white;
  border: 3px solid #ccad00;
  border-radius: 50%;
  font-size: 20px;
  font-family: Helvetica;
  height: 100px;
  width: 100px;
  text-align: center;
  font-weight: bolder;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.6), inset 2px 2px 5px rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
}

.sound-button.yellow:hover {
  text-decoration: underline;
  text-decoration-color: black;
  transform: translateY(-3px);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.7), inset 2px 2px 7px rgba(255, 255, 255, 0.5);
}


/* Violette Schaltflächen */
.sound-button.purple {
  background: linear-gradient(145deg, #4b0082, #9400d3);
  color: white;
  border: 3px solid #38006b;
  border-radius: 50%;
  font-size: 20px;
  font-family: Helvetica;
  height: 100px;
  width: 100px;
  text-align: center;
  font-weight: bolder;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.6), inset 2px 2px 5px rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
}

.sound-button.purple:hover {
  text-decoration: underline;
  text-decoration-color: black;
  transform: translateY(-3px);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.7), inset 2px 2px 7px rgba(255, 255, 255, 0.5);
}



.sound-button:hover {
  text-decoration: underline;
  text-decoration-color: black;
  transform: translateY(-3px);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.7), inset 2px 2px 7px rgba(255, 255, 255, 0.5);
}

.sound-button:link,
.sound-button:visited {
  text-decoration: none;
  color: white;
}



.button-text {
  color: darkslategray;
  font-weight: bold;
  font-family: Helvetica;
  text-align: center;
  margin-top: 5px;
  border: 2px solid black;
  border-radius: 5px;
  padding: 3px;
}

.favorite-star {
  font-size: 20px;
  color: gray;
  cursor: pointer;
  transition: color 0.3s;
}

.favorite-star.active {
  color: gold;
}

.button-details {
  display: flex;
  align-items: center;
  margin-top: 5px;
  flex-direction: column;
  display: flex;
}


















/*
.neuladen{
    background: darkblue;
    color: white;
    border: 0px;
    border-radius: 5px;
    font-size: 20px;
    font-family:Helvetica;
}
.download2 {
    background: darkblue;
    color: white;
    border: 0px;
    border-radius: 5px;
    font-size: 20px;
    font-family:Helvetica;
}
*/











.overlay {
  height: 100vh;
  width: 0;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
  font-family: Helvetica;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 5vw;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}

.menu-button {
  border: 2px solid black;
  border-radius: 10px;
  font-size: 20px;
  font-family: Helvetica;
  display: inline-block;
}