/* General Styling */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #121212;
  color: white;
}

section {
  padding: 50px 20px;
}

.text_section {
  text-align: center;
}

.text_section_p {
  font-family: "Courier New", monospace;
  width: 55%;
  margin-left: auto;
  margin-right: auto;
  font-size: 2rem;
}
.text_section_p2 {
  font-family: "Courier New", monospace;
  font-size: 1.5rem;
  font-weight: bold;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}

h1 {
  text-decoration: none;
  font-family: "Georgia";
  font-size: 6rem;
  animation: zoomInOut 2s ease-in-out; /* Apply the animation to the text */
}
h2 {
  text-align: center;
  font-family: "Georgia";
  font-size: 4rem;
}

/* Landing Page */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  animation: zoomInOut 2s ease-in-out; /* Apply the animation to the hero */
}

.logo {
  width: 400px;
  height: 420px;
  border-radius: 50%;
  animation: zoomInOut 2s ease-in-out; /* Apply the animation to the logo */
}

.divider {
  border: none; /* Entfernt die Standardlinie */
  border-top: 2px solid white; /* Setzt eine weiße Linie */
  width: 90%; /* Breite auf 80% der Seite setzen */
  margin: 0 auto 20px auto; /* Zentriert die Linie und fügt Abstand zum Text hinzu */
}

/* Apps Section */
.app-slider {
  display: flex;
  justify-content: center; /* Zentriert die Apps und Skills */
  align-items: center; /* Zentriert die Apps und Skills vertikal */
  gap: 20px;
  padding: 20px;
  overflow-x: auto; /* Ermöglicht horizontales Scrollen */
  flex-wrap: nowrap; /* Verhindert Umbruch */
  scrollbar-width: none; /* Scrollbar in Firefox ausblenden */
  user-select: none; /* Verhindert das Markieren des Inhalts beim Ziehen */
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.app-slider::-webkit-scrollbar {
  display: none; /* Scrollbar in Chrome, Safari, Opera ausblenden */
}

.app.selected {
  border: 3px solid white;
  border-radius: 20px;
}

/* Style for App Description Section */
.app-description {
  margin-top: 20px;
  padding: 15px;
  border: 2px solid #fff;
  font-family: "Courier New", monospace;
  background-color: #1a1a1a;
  color: #fff;
  width: 60%;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
}

/* Screenshots Section */
.app-screenshots {
  margin-top: 20px;
  overflow-y: auto; /* Allow vertical scrolling */
  justify-content: flex-start; /* Starten des Scrollens von links */
}

.screenshot-slider {
  display: flex;
  gap: 10px; /* Space between screenshots */
  display: flex;
  justify-content: center; /* Starten des Scrollens von links */
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  scrollbar-width: none; /* Scrollbar in Firefox ausblenden */
  user-select: none; /* Verhindert das Markieren des Inhalts beim Ziehen */
}

.screenshot-slider img {
  width: 25%; /* Ensure the screenshots take the full width */
  height: auto;
  border-radius: 10px;
}

.screenshot-slider::-webkit-scrollbar {
  display: none; /* Scrollbar in Chrome, Safari, Opera ausblenden */
}

/* Apps Section */

.skill-slider {
  display: flex;
  justify-content: flex-start; /* Starten des Scrollens von links */
  align-items: center;
  gap: 20px;
  padding: 20px;
  overflow-x: auto; /* Ermöglicht horizontales Scrollen */
  flex-wrap: nowrap; /* Verhindert Umbruch */
  scrollbar-width: none; /* Scrollbar in Firefox ausblenden */
  user-select: none; /* Verhindert das Markieren des Inhalts beim Ziehen */
  width: 80%; /* Slider-Breite auf 80% des Containers setzen */
  margin-left: auto;
  margin-right: auto;
  scroll-padding-left: 20px; /* Platz vor dem ersten Icon für den Scrollbereich */
}

.skill-slider::-webkit-scrollbar {
  display: none; /* Scrollbar in Chrome, Safari, Opera ausblenden */
}

/* Optional: Hinzufügen von Puffer an den Seiten, um das Abschneiden zu verhindern */

.skill-slider::before {
  content: "";
  flex: 0 0 20px; /* Fügt links einen unsichtbaren Puffer hinzu */
}

.skill-slider::after {
  content: "";
  flex: 0 0 20px; /* Fügt rechts einen unsichtbaren Puffer hinzu */
}

.app {
  text-align: center;
  padding: 25px;
  flex: 0 0 auto; /* Verhindert, dass die Apps gestreckt werden */
}

.app img {
  width: 100px;
  height: 100px;
  background-color: white;
  border-radius: 20px;
}

.app p {
  margin-top: 5px;
  font-family: "Courier New", monospace;
}

.skill {
  text-align: center;
  padding: 25px;
  flex: 0 0 auto; /* Verhindert, dass die Apps gestreckt werden */
}

.skill img {
  width: 100px;
  height: 100px;
  border-radius: 20px;
}

.skill p {
  margin-top: 5px;
  font-family: "Courier New", monospace;
}

.badges {
  width: 100%;
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.badges img {
  height: 60px;
  width: auto;
}

.skill a:link,
a:visited {
  color: inherit; /* oder deine gewünschte Farbe */
  text-decoration: none; /* optional, um Unterstreichungen zu entfernen */
}

/* Animation Keyframes */
@keyframes zoomInOut {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2); /* Increase the size */
  }
  100% {
    transform: scale(1); /* Return to original size */
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }

  .text_section_p {
    font-family: "Courier New", monospace;
    font-size: 1.2rem;
    width: 90%;
    margin: 0 0 0 0;
  }
  .text_section_ul {
    text-align: start;
  }

  .logo {
    width: 180px;
    height: 180px;
  }

  /* Anpassung für mobile Slider */
  .app-slider {
    display: flex;
    justify-content: flex-start; /* Starten des Scrollens von links */
    align-items: center;
    gap: 20px;
    padding: 20px;
    overflow-x: auto; /* Ermöglicht horizontales Scrollen */
    flex-wrap: nowrap; /* Verhindert Umbruch */
    scrollbar-width: none; /* Scrollbar in Firefox ausblenden */
    user-select: none; /* Verhindert das Markieren des Inhalts beim Ziehen */
    width: 80%; /* Slider-Breite auf 80% des Containers setzen */
    margin-left: auto;
    margin-right: auto;
    scroll-padding-left: 20px; /* Platz vor dem ersten Icon für den Scrollbereich */
  }

  .app-slider::-webkit-scrollbar {
    display: none; /* Scrollbar in Chrome, Safari, Opera ausblenden */
  }

  /* Optional: Hinzufügen von Puffer an den Seiten, um das Abschneiden zu verhindern */

  .app-slider::before {
    content: "";
    flex: 0 0 20px; /* Fügt links einen unsichtbaren Puffer hinzu */
  }

  .app-slider::after {
    content: "";
    flex: 0 0 20px; /* Fügt rechts einen unsichtbaren Puffer hinzu */
  }

  .screenshot-slider {
    display: flex;
    gap: 10px; /* Space between screenshots */
    display: flex;
    justify-content: flex-start;
    scrollbar-width: none; /* Scrollbar in Firefox ausblenden */
    user-select: none; /* Verhindert das Markieren des Inhalts beim Ziehen */
  }

  .screenshot-slider::-webkit-scrollbar {
    display: none; /* Scrollbar in Chrome, Safari, Opera ausblenden */
  }

  .screenshot-slider img {
    width: 60%; /* Ensure the screenshots take the full width */
    height: auto;
    border-radius: 10px;
  }

  /* Style for App Description Section */
  .app-description {
    margin-top: 20px;
    padding: 15px;
    width: 95%;
    border: 2px solid #fff;
    font-family: "Courier New", monospace;
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    border-radius: 20px;
  }

  .badges img {
    height: 70px;
    width: auto;
  }

  .badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}
