* {
  margin: 0px;
  font-size: 4vh;
  color: white;
  box-sizing: border-box;
  text-align: center;
  font-family: Georgia, "Times New Roman", Times, serif;
}
body {
  height: 100%;
}
.container {
  height: 100vh;
  display: grid;
  grid-template-columns: 15% 85%;
  grid-template-rows: 15% auto 5%;
  grid-template-areas:
    "header header"
    "sidebar main"
    "footer footer";
}

.header {
  background-image: url(bilder/portugal.png), url(bilder/SUI2.png),
    linear-gradient(
      to right,
      rgb(4, 88, 4),
      rgb(4, 88, 4),
      rgb(159, 15, 15),
      red
    );

  background-repeat: no-repeat, no-repeat, no-repeat;

  background-position: 4vw center, 80vw center, center;

  background-size: 12vh auto, auto 25vh, 100% 100%; /* Portugal: 12vh Höhe, SUI2: 25vh Höhe */

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  grid-area: header;
}

.main {
  background-image: linear-gradient(
    to right,
    rgb(40, 40, 40),
    rgb(40, 40, 40),
    red
  );

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5vh;
  grid-area: main;
}
.main-impressum {
  background-image: linear-gradient(
    to right,
    rgb(40, 40, 40),
    rgb(40, 40, 40),
    red
  );

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5vh;
  grid-area: main;
}
.main-impressum img:hover {
  background-image: linear-gradient(to right, red, green);
  transform: scale(1.2);
  border-radius: 12px;
}
.main2 {
  background-image: linear-gradient(
    to right,
    rgb(40, 40, 40),
    rgb(40, 40, 40),
    red
  );

  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5vh;
  overflow: auto;

  grid-area: main;
}
.main4 {
  background-image: linear-gradient(
    to right,
    rgb(40, 40, 40),
    rgb(40, 40, 40),
    red
  );
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1vw 1vw;
  overflow-x: auto; /* damit gescrollt werden kann*/
  overflow-y: auto;
  padding: 2vh 2vw;
  grid-area: main;
  max-height: 80vh;
}

.main4 img {
  width: 18vw;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease; /*damit ein smoother Effekt beim drüberfahren entsteht*/
}

.main4 img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.7);
}

.sidebar {
  grid-area: sidebar;
  background-image: linear-gradient(
    to bottom,
    rgb(4, 88, 4),
    green,
    rgb(4, 83, 3)
  );
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;

  height: 100%;
  padding: 5vh 1vw;
  box-sizing: border-box;
  font-size: 1.5vh;
  gap: 2.5vh;
}

.sidebar a {
  color: white;
  text-decoration: none;
  padding: 1vh 0.5vw;
  border-radius: 10px;
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 9.5vh;

  /* Animationen */
  animation: glowPulse 4s infinite ease-in-out,
    floatWave 6s infinite ease-in-out;
  transition: all 0.3s ease-in-out;
}

/* Pulsierendes Leuchten */
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 0px rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
  }
  100% {
    box-shadow: 0 0 0px rgba(255, 255, 255, 0);
  }
}

.sidebar a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffcc00;
  transform: scale(1.05);
}

.footer {
  background-image: linear-gradient(to right, rgb(4, 83, 4), rgb(4, 49, 4));

  color: #6149ca;
  display: flex;
  justify-content: center;
  align-items: center;
  grid-area: footer;
}
h1 {
  font-size: 10vh;
  font-family: "Times New Roman", Times, serif;
  color: red;
}
a:link {
  font-family: vivaldi;
  text-decoration: none;
  color: yellow;
}
a:visited {
  color: black;
}
a:hover {
  color: red;
  font-family: vivaldi;
}

a:active {
  color: green;
}
.erfolge {
  background-color: red;
  border-radius: 5vh;
  height: 30vh;
  width: 11vw;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 50% 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 2vh;
  margin-left: 0.5vw;
  transition: transform 0.3s ease;
}
.erfolge:hover {
  transform: scale(1.1) translateY(-0.5vh);
  background-image: linear-gradient(to bottom, red, darkred);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);

  color: #fff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
  transition: transform all 0.4s ease;
}
button {
  border-radius: 20px;
  width: 13vw;
  height: 8vh;
}
.fancy-button {
  padding: 1.5vh 2vw;
  font-size: 2vh;
  font-family: "Times New Roman", Times, serif;

  color: white;
  background: linear-gradient(45deg, red, green);
  border: none;
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-align: center;

  z-index: 1;
}

.fancy-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, red, green, green);
  transition: all 0.6s ease;
  z-index: 0;
  transform: skewX(-30deg);
}

.fancy-button:hover::before {
  left: 0;
}

.fancy-button:hover {
  color: #fff;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.fancy-button span {
  position: relative;
  z-index: 2;
}
.main3 {
  background-image: linear-gradient(
    to right,
    rgb(40, 40, 40),
    rgb(40, 40, 40),
    red
  );

  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: space-evenly;
  gap: 4vh;
  overflow: auto;
  padding: 2vw;
  grid-area: main;
  position: relative;
  overflow: auto;
  box-sizing: border-box;
}

/* Gemeinsames Symbol-Container-Layout */
.symbol-container {
  position: absolute;
  top: 5vh;
  display: flex;
  flex-direction: column;
  gap: 15vh;
  z-index: 5;
}
/*nur links*/
.left-symbols {
  left: 4.5vw;
}
/*nur rechts*/
.right-symbols {
  right: -1.5vw;
}

/* nth-child(1) bedeutet, dass das Bild formatiert wird, dass an erster Stelle steht*/
.symbol-container.left-symbols img:nth-child(1) {
  width: 15vw;

  margin-left: -2.8vw;
}
.symbol-container.left-symbols img:nth-child(2) {
  width: 16vw;
  transform: rotate(3deg);
  margin-left: -4.5vw;
}
.symbol-container.left-symbols img:nth-child(3) {
  width: 18vw;
  transform: rotate(-7deg);
  margin-left: -2.5vw;
}
.symbol-container.left-symbols img:nth-child(4) {
  width: 9.5vw;
  transform: rotate(5deg);
  margin-left: 1vw;
}
.symbol-container.left-symbols img:nth-child(5) {
  width: 7.5vw;
  transform: rotate(-4deg);
  margin-left: 0.8vw;
}

.symbol-container.right-symbols img:nth-child(1) {
  width: 18vw;
  transform: rotate(4deg);
  margin-right: 1.2vw;
}
.symbol-container.right-symbols img:nth-child(2) {
  width: 26.5vw;
  transform: rotate(-3deg);
  margin-right: -4vw;
}
.symbol-container.right-symbols img:nth-child(3) {
  width: 7.5vw;
  transform: rotate(6deg);
  margin-right: 2vw;
}
.symbol-container.right-symbols img:nth-child(4) {
  width: 16vw;
  transform: rotate(-6deg);
  margin-right: 1vw;
  margin-left: 5vw;
}
.symbol-container.right-symbols img:nth-child(5) {
  width: 20vw;
  transform: rotate(2deg);
  margin-right: -5vw;
}
