/* start base design */
* {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
}

:root {
  --background: rgba(23, 167, 215, 1);
  --foreground: rgba(255, 255, 255, 1);
  --black: rgba(0, 0, 0, 1);
  --gray: rgba(255, 255, 255, 0.5);
  --darkgray: rgba(255, 255, 255, 0.1);
  --transparent: rgba(0, 0, 0, 0);
  --blueglas: rgba(23, 167, 215, 0.3);
  --lightblue: rgba(131, 211, 235, 1);
  --green: rgba(118, 162, 32, 1);
  --glas: rgba(21, 21, 21, 0.4);
  --shadow: rgba(0, 0, 0, 0.5);
  --color: rgba(238, 2, 30, 1);
  --color2: rgba(113, 0, 0, 1);
  --darkblue: rgba(6, 22, 64, 1);
}

html {
  height: 100%;
  font-family: -apple-system, system-ui, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 18px;
  font-weight: 200;
}

body {
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}

h1 {
  color: var(--foreground);
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0 0 1rem 0;
}

h2 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

.big-title {
  font-size: 2.3rem;
  font-weight: 200;
  color: var(--foreground);
}

p {
  margin: 0;
  text-align: left;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.shader {
  background: var(--glas);
  height: 100%;
  max-width: 1920px;
}

/* start button */
button {
  margin-top: 2rem;
  padding: 0 2rem;
  height: 40px;
  width: auto;
  border-radius: 20px;
  color: var(--black);
  font-size: 21px;
  font-weight: 200;
  text-transform: uppercase;
  background: var(--foreground);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  cursor: pointer;
}

.button-inverted {
  color: var(--foreground);
  background: var(--background);
}

button:hover {
  background: var(--background);
  color: var(--foreground);
}

.button-inverted:hover {
  background: var(--black);
  color: var(--foreground);
}

#holdMushroom {
  background: var(--transparent);
  color: var(--gray);
  margin: 30px;
  padding: 0;
  height: 30px;
  width: 30px;
  border-radius: 15px;
  box-shadow: none;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
  cursor: default;
}

#holdMushroom:hover {
  background: var(--transparent);
  color: var(--gray);
}

/* end button */
/* end base design */

/* start header design */
#header {
  width: 100%;
  height: 50px;
  position: fixed;
  z-index: 1;
  background: var(--blueglas);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar {
  max-width: 1920px;
  margin: 0 auto;
  z-index: 2;
  display: flex;
  justify-content: space-between;
}

.nav-list ul {
  list-style: none;
  position: absolute;
  background-color: var(--background);
  width: 100vw;
  height: 100vh;
  left: 100%;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
  overflow-x: hidden;
  transition: 0.5s ease left;
}

.nav-list ul.active {
  left: 0%;
}

.nav-list ul a {
  font-size: 1.5rem;
  font-weight: 200;
  text-decoration: none;
  color: var(--gray);
  text-transform: uppercase;
  padding: 20px;
  display: block;
}

.nav-list ul a::after {
  content: attr(data-after);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: var(--darkgray);
  font-size: 7.5rem;
  letter-spacing: 75px;
  z-index: -1;
  transition: 0.5s ease letter-spacing;
  text-align: center;
}

.nav-list ul li:hover a::after {
  transform: translate(-50%, -50%) scale(1);
  letter-spacing: initial;
}

.nav-list ul li:hover a {
  color: var(--foreground);
  transition: 0.3s ease;
}

.hamburger {
  height: 50px;
  width: 50px;
  display: inline-block;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  cursor: pointer;
  transform: scale(0.8);
}

.hamburger:after {
  position: absolute;
  content: '';
  height: 100%;
  width: 100%;

}

.hamburger .bar {
  height: 3px;
  width: 30px;
  position: relative;
  background-color: var(--foreground);
  z-index: -1;
}

.hamburger .bar::after,
.hamburger .bar::before {
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  background-color: var(--foreground);
  transition: 0.3s ease;
  transition-property: top, bottom;
}

.hamburger .bar::after {
  top: 8px;
}

.hamburger .bar::before {
  bottom: 8px;
}

.hamburger.active .bar::before {
  bottom: 0;
}

.hamburger.active .bar::after {
  top: 0;
}

/* end header design */

/* start home section */
.home-img {
  max-width: 1920px;
  margin: 0 auto;
  min-height: 80vh;
  background-position: top center;
  background-size: cover;
}

.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1rem;
  text-align: center;
}

.shaderTop {
  background-image: linear-gradient(to bottom, var(--black) 1%, transparent);
}

/* end home section */

/* start gallery section */
.grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.card {
  height: auto;
}

/* end gallery section */

/* start image clip */
.image-container {
  width: 200px;
  height: 174px;
  margin: 1rem auto 0 auto;
}

.image {
  width: 200px;
  mask-image: url(./images/hexagon.png);
  mask-repeat: no-repeat;
  -webkit-mask-image: url(./images/hexagon.png);
  -webkit-mask-repeat: no-repeat;
}

.glowImage {
  width: 500px;
  height: 500px;
  border-radius: 1rem
}

.glowImage img:not(.blurImage) {
  width: 100%;
  height: 100%;
}

/* end image clip */

/* start contact section */
input,
[contenteditable="true"],
[type=text],
select,
textarea {
  width: 100%;
  padding: 0.5em 0.75em;
  margin: 0.5rem 0;
  box-sizing: border-box;
  resize: vertical;
  height: 40px;
  flex: 2;
  border-radius: 20px;
  border: 1px solid var(--gray);

  font-size: 16px;
  font-weight: 200;

  background: var(--foreground);
  color: var(--black);
  transition: 0.3s;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--background);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--black);
}

/* end contact section */

/* start footer section */
#footer {
  width: 100%;
  height: auto;
  background: var(--black);
}

.link {
  text-decoration: none;
  color: var(--gray);
  transition: 0.3s;
}

.link:hover {
  color: var(--foreground);
}

.svg {
  margin: 3px 0;
  color: var(--gray);
  transition: 0.3s;
}

.svg:hover {
  color: var(--foreground);
  cursor: pointer;
}

.orientation {
  display: flex;
  flex-direction: column;
}

.center {
  margin: 0 auto;
  text-align: center;
  margin-bottom: 2rem;
}

/* end footer section */

/* start particle section */
.sectionWithParticles {
  position: relative;
  /* Wichtig: Damit #particle sich relativ dazu positioniert */
  overflow: hidden;
  /* Optional: Wenn Partikel nicht rausfliegen sollen */
}

#particle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  /* GANZ HINTEN */
  pointer-events: none;
  /* Damit du Buttons/Text etc. normal klicken kannst */
}

/* end particle section */

/* start fade animation */
@media (prefers-reduced-motion: no-preference) {
  .appear {
    animation-name: appear;
    animation-duration: 3s;
    animation-fill-mode: backwards;
  }

  @keyframes appear {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  .hidden {
    opacity: 0;
    transition: all 3s;
    transform: translateY(100px);
  }

  .show {
    opacity: 1;
    transform: translateY(0);
  }

  .fade {
    opacity: 0;
    animation: fade 2s ease-in-out forwards;
  }

  @keyframes fade {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  .blurryFade {
    opacity: 0;
    filter: blur(100px);
    animation: fade 2s ease-in-out forwards;
  }

  @keyframes fade {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
      filter: blur(0);
    }
  }
}

/* end fade animation */

/* start responsive design */
/* screen larger than 600px 2 column */
@media (min-width: 600px) {
  html {
    font-size: 20px;
  }

  .big-title {
    font-size: 4rem;
  }

  .orientation {
    flex-direction: row;
    justify-content: space-between;
  }

  .center {
    margin: 0;
    text-align: left;
    margin-bottom: 0;
  }

  .c2 {
    grid-column: 1 / span 2;
  }
}

/* screen larger than 900px 3 columns */
@media (min-width: 900px) {
  html {
    font-size: 22px;
  }
}

/* end responsive design */