/* ===========================
  Color - Theme
=========================== */
:root {
  --color-primary: #000;
  --color-secondary: #fff;
  --color-accent: #ff282a;
  --color-bg: #fff;
}

/* ===========================
  local Fonts
=========================== */
@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 100 900; /* gesamte Spannbreite */
  src: url("../fonts/Orbitron/Orbitron-VariableFont_wght.woff2") format("woff2"),
    url("../fonts/Orbitron/Orbitron-VariableFont_wght.woff") format("woff");
  font-display: swap;
}

/* ===========================
   Grundlegende Reset-Styles
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  color: var(--color-text);
  scroll-behavior: smooth;
  list-style-type: none;
}

html {
  font-size: 14px; /* Mobile Basis */
}

p {
  font-weight: 400;
}

h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 32px;
}

h2 {
  font-size: 2rem;
  color: #000;
  font-weight: 700;
}

h3 {
  font-size: 1.2rem;
  color: #000;
  font-weight: 400;
}

li {
  font-weight: 400;
}

a {
  font-weight: 400;
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.7rem;
  }
}

@media (min-width: 768px) {
  html {
    font-size: 16px; /* Tablets & Laptops */
  }
}

@media (min-width: 1600px) {
  html {
    font-size: 18px; /* große Screens */
  }
}

/* ===========================
   Allgemeine Stile
=========================== */
body {
  font-family: "Orbitron", Arial, Helvetica, sans-serif;
  font-weight: 400;
  letter-spacing: 2px;
  background-color: var(--color-bg);
  color: #333;
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

body.modal-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width);
}

.underline {
  margin-top: 16px;
  height: 2px;
  background-color: var(--color-accent);
  width: 90px;
}

.headline-pos {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
}

.section-headline {
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.line {
  display: block;
  height: 1px;
  width: 44px;
  background-color: black;
}

.rounded-div {
  display: block;
  height: 0.8rem;
  width: 0.8rem;
  border-radius: 50%;
  border: 1px solid black;
}

#home-button {
  z-index: 900;
  position: fixed;
  bottom: 24px;
  right: 24px;
  border-radius: 50%;
  background-color: #ff282a;
  padding: 8px;
  transition: all 0.3s;
}

#home-button:hover {
  transform: scale(1.2);
  cursor: pointer;
}

#home-button img {
  height: 52px;
}

/* ===========================
   Header & Navigation
=========================== */
header {
  z-index: 999;
  position: fixed;
  top: 0;
  padding: 0 120px;
  width: 100%;
  height: 112px;
  color: var(--color-primary);
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0);
  max-width: 1920px;
  transform: translateY(0);
}

/* ===========================
   Hauptbereich
=========================== */
main {
  width: 100%;
  background-color: var(--color-bg);
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

section {
  background-color: var(--color-bg);
  max-width: 1920px;
  width: 100%;
  padding: 0 120px;
}

.btn {
  padding: 16px 24px;
  border: 2px solid white;
}

.btn:hover {
  cursor: pointer;
}

/* ===========================
   Footer
=========================== */
footer {
  width: 100%;
  background-color: var(--color-bg);
  padding: 0px;
}

/* ===========================
   Responsives Design (Breakpoints)
   Range: 320px – 1920px
=========================== */

/* Extra Large Devices (1200px – 1599px) */
@media (min-width: 1200px) and (max-width: 1599px) {
  .infos {
    padding: 0 120px;
  }

  header {
    padding: 0 120px;
  }

  section {
    padding: 0 120px;
  }
}

/* Large Devices (992px – 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .home-button img {
    height: 44px;
  }

  .infos {
    padding: 0 44px;
  }

  header {
    padding: 0 72px;
  }

  section {
    padding: 0 72px;
  }
}

/* Medium Devices (768px – 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .home-button img {
    height: 36px;
  }

  .home-button {
    bottom: 18px;
    right: 18px;
  }

  .infos {
    padding: 0 24px;
  }

  header {
    padding: 0 24px;
  }

  section {
    padding: 0 24px;
  }
}

/* Small Devices (576px – 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  #home-button img {
    height: 32px;
  }

  #home-button {
    bottom: 18px;
    right: 18px;
  }

  .infos {
    padding: 0 24px;
  }

  header {
    padding: 0 24px;
  }

  section {
    padding: 0 24px;
  }
}

/* Extra Small Smartphones (320px – 575px) */
@media (max-width: 575px) {
  #home-button img {
    height: 32px;
  }

  #home-button {
    bottom: 12px;
    right: 12px;
  }

  .infos {
    padding: 0 24px;
  }

  header {
    padding: 0 24px;
    height: 92px;
  }

  section {
    padding: 0 24px;
  }
}
