/* 

selector tag/class {
    property: values;
}

padding innenabstand
margin aussenabstand

padding: top, right, bottom, left;

vh height
vw width
em für font sizes und elemente über und unter texten(responsive-wenn man schriftgrösse ändert)
vh,vw wenn sichs auch mitändern soll
px wenn man will dass es sich gar nicht verändert

class selectors: 
.class, .class, .class header{
    mit beistrich 2 verschedene
    ohne beistrich in einer klasse eine andere klasse (2 klassen)
    z.B. 
    html: class="containe item"
    css: .container .item (container ist parent, item ist child)
}
 
pseudo classes:
.class:hover
.class:ur viel

font-family: "neue-haas-unica", sans-serif;
font-weight: 400-800;
font-style: normal & italic;

font-family: "lores-12", sans-serif;
font-weight: 400;
font-style: normal;

font-family: "tt-autonomous", sans-serif;
font-weight: 800;
font-style: italic;



*/

body {
  margin: 0;
}

html {
  margin: 0;
  padding: 0;
  background-color: rgb(12, 14, 35);
}

h1 {
  color: rgb(255, 255, 255);
  font-size: 5.5vw;
  margin: 0;
  padding: 0.2em 0;
  text-transform: uppercase;
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 700;
  font-style: normal;
  text-align: center;
}

header {
  background-color: rgb(12, 14, 35);
  padding: 0 15px;
}

a {
  color: rgb(255, 255, 255);
}

nav a {
  position: relative;
  text-decoration: none;
  padding: 0.3em 1em;
  font-size: 1em;
  margin: 0;
  color: rgb(255, 255, 255);
  display: inline-block;
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 700;
  font-style: normal;
  border: white 2px solid;
}

nav a:hover {
  color: rgb(12, 14, 35);
  background-color: rgb(255, 255, 255);
  transition: 0.3s ease;
}

nav a.active {
  color: rgb(12, 14, 35);
  background-color: rgb(255, 255, 255);
}

.hamburger {
  font-size: 2.5em;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  color: rgb(255, 255, 255);
}

.nav-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: rgb(12, 14, 35);
    position: absolute;
    top: 10%;
    left: 0;
    border-top: 2px solid black;
    z-index: 10;
  }

  .nav-links.show {
    display: flex;
  }

  nav.nav-links {
    display: none;
    flex-direction: column;
    width: 93.7%;
    background-color: rgb(12, 14, 35);
    padding:1em;
    gap: 0.8em;
    text-align: center;
  }

  nav.nav-links.show {
    display: flex;
  }

  nav.nav-links a {
    font-size: 1em;
    padding: 0.5em 0;
    border-bottom: 2px solid rgb(255, 255, 255);
  }

}

h2 {
  margin: 0;
  font-size: 2.6em;
  text-align: center;
  margin-bottom: 1.6em;
  text-transform: uppercase;
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 700;
  font-style: normal;
  color: rgb(255, 255, 255);
}

h3 {
  font-size: 1.6em;
  text-align: center;
  margin-top: 2em;
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
}

main {
  position: relative;
  width: 100%;
  height: 100%;
}

.www main{
  position: relative;
  background-size: cover;
  background-image:
    linear-gradient(to bottom, rgb(12,14,35) 0%, rgba(12,14,35,0) 10%),
    linear-gradient(to bottom, rgba(12,14,35,0) 10%, rgb(12,14,35) 50%),
    url(../img/backg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-position: top center;
  width: 100%;
  height: 100%;
}

.text {
  border-bottom: 2px solid rgb(255, 255, 255);
}

article {
  padding: 10vh 4em;
  max-width: 1000px;
  margin: 0em auto 0em auto;
}

.www article {
  padding: 60vh 4em;
  max-width: 1000px;
  margin: 0em auto 5em auto;
}

p {
  margin: 2em auto;
  max-width: 75ch;
  font-size: 1.2em;
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 700;
  font-style: normal;
  line-height: 1.6em;
  color: rgb(255, 255, 255);
  text-align: center;
}

.wichtig {
  text-align: center;
  font-size: 1.5em;
  font-weight: 700;
  border: 2px solid rgb(255, 255, 255);
  padding: 1.5em 3em;
  margin: 5em 0;
  max-width: 1000px;
  text-transform: uppercase;
  line-height: 1.4em;
}

@media (max-width: 600px) {
  .wichtig {
    padding: 1em 1.5em;
    font-size: 1em;
  }
}

ul {
  max-width: 75ch;
  margin: 2em auto;
  list-style: none;
  font-size: 1.2em;
  padding: 0;
  text-align: center;
}

li {
  padding: 1em 2em;
  margin-bottom: 1em;
  max-width: 100ch;
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: rgb(255, 255, 255);
  border: 2px solid rgb(255, 255, 255);
}

strong {
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 700;
  font-style: normal;
  color: rgb(255, 255, 255);
}

img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.mitweiss {
  width: 100%;
  height: auto;
  object-fit: cover;
  background-color: rgb(255, 255, 255);
}

figure {
  margin: 3em 0;
  overflow: hidden;
}

figcaption {
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1em;
  color: rgb(255, 255, 255);
  padding: 1em;
  text-align: center;
}

footer {
  color: rgb(12, 14, 35);
  background-color: rgb(255, 255, 255);
  padding: 1em 2em;
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 0.9em;
}

.container {
  margin: 2.5em 0;
  padding: 1em;
  background-color: rgb(12, 14, 35);
  border: 2px solid rgb(255, 255, 255);
}

.item {
  background-color: rgb(12, 14, 35);
  margin: 0.5em 1em;
  padding: 1em;
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1em;
  text-transform: uppercase;
  background-color: rgb(255, 255, 255);
}

.block .item {
  display: block;
}

.inline .item {
  display: inline;
}

.inline-block .item {
  display: inline-block;
}

.flex .item {
  background-color: rgb(255, 255, 255);
  color: rgb(12, 14, 35);
  flex-basis: 40ch;
  flex-grow: 1;
}

.flex {
  display: flex;
  background-color: rgb(12, 14, 35);
  justify-content: center;
  flex-wrap: wrap;
  align-content: center;
  flex-direction: row;
}

.image-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-content: center;
  flex-direction: row;
  margin: 0 0 1.5em;
  padding: 1.5em;
}

.image-container figure {
  flex-basis: 250px;
  flex-grow: 1;
  margin: 20px;
}

.spacer {
  margin-top: 10vh;
}