/* font import */

/* space-mono-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  src: url('../src/fonts/space-mono-v13-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* space-mono-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Space Mono';
  font-style: italic;
  font-weight: 400;
  src: url('../src/fonts/space-mono-v13-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* satoshi regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: satoshi;
  font-style: normal;
  font-weight: 400;
  src: url('../src/fonts/Satoshi-Regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* satoshi medium - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: satoshi;
  font-style: normal;
  font-weight: 500;
  src: url('../src/fonts/Satoshi-Medium.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* satoshi bold - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: satoshi;
  font-style: normal;
  font-weight: 600;
  src: url('../src/fonts/Satoshi-Bold.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

* {
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  font-family: satoshi, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: rgb(246, 246, 243);
}

.text {
  font-family: 'Space Mono', monospace;
  font-size: 2.5rem;
}

.italic {
  font-style: italic;
}

.white {
  color: white !important;
}

.red {
  color: rgb(234, 66, 106);
}

h2 {
  font-size: 3em;
  font-weight: 500;
}

h3 {
  font-size: 2.5em;
  font-weight: 400;
}

#hero {
  width: 100%;
  min-height: 95vh;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
}

.test-wrap {
  padding: 25em 0;
}

.hero-wrap {
  position: relative;
  width: 33.3%;
  margin-left: 25%;
  top: 0rem;
}

#my-name h1 {
  font-size: 16rem;
  font-weight: 600;
}

.lower {
  margin-top: -8em;
  color: rgba(0, 0, 0, 0);
  -webkit-text-stroke: 3px rgb(234, 66, 106);
}

#about-me {
  margin-top: 1em;
}

.button {
  position: relative;
  cursor: pointer;
  display: inline-block;
  margin-top: 3em;
  font-size: 2.5em;
  transform: translate(0, 0);
  transition: transform 0.2s ease-in-out;
}

.button span {
  padding: 0.3em 1.5em;
  border: 3px solid white;
  box-shadow: 0px 0px 0px rgba(255, 255, 255, 1);

  transition: box-shadow 0.2s ease-in-out;
}

.button:hover {
  transform: translate(5px, -5px);
}

.button:hover span {
  box-shadow: -5px 5px 0 0 rgb(255, 255, 255);
}

.spinner {
  transform: scale(0.8);
}

.spinner-wrap {
  position: absolute;
  right: 20%;
  bottom: 10%;

  animation: spin 60s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.hero-footer {
  height: 10vh;
  width: 100%;
  background-color: rgb(23, 23, 24);
}

#works-gallery {
  padding: 0 5%;
  width: 100%;
}

#gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.transition-a {
  text-decoration: none;
  color: initial;
}

.works-head {
  padding-top: 1em;
  font-size: 16rem;
  color: rgba(0, 0, 0, 0);
  -webkit-text-stroke: 3px rgb(23, 23, 24);
}

.gallery-card {
  margin-top: 5em;
  display: inline-block;
  min-width: 500px;
}

.gallery-card img {
  width: 100%;
  transition: all 0.2s ease-in-out;
}

.gallery-card img:hover {
  opacity: 0.8;
}

.gallery-card video {
  max-width: 100%;
  transition: all 0.2s ease-in-out;
}

.gallery-card video:hover {
  opacity: 0.8;
}

.card-text-wrapper {
  margin-top: 1.5em;
}

.card-title {
  max-width: 20ch;
}

.card-desc {
  margin-top: 0.3em;
}

.hmb-card {
  width: 50%;
  margin-top: 20em;
}

.anners-web-card {
  position: relative;
  width: 40%;
  margin-top: 5em;
}

.reworks-card {
  position: relative;
  width: 50%;
  margin-top: 20em;
}

.girschner-card {
  position: relative;
  width: 50%;
  margin-top: 20em;
}

.bhv-malt-card {
  position: relative;
  width: 40%;
  margin-top: 20em;
}

.magazin-card {
  position: relative;
  width: 50%;
}

.poster-card {
  position: relative;
  width: 40%;
  margin-top: 5em;
}

.kulinarium-card {
  position: relative;
  margin-top: -20vw;
  width: 50%;
}

.creative-card {
  position: relative;
  width: 40%;
  margin-top: 15em;
}

.creative-video {
  width: 100%;
}

.endblock {
  width: 100%;
  height: 3vw;
}

.button a {
  text-decoration: none;
}

@media only screen and (max-height: 1200px) {
  .test-wrap {
    padding: 15em 0;
  }
}

@media only screen and (max-height: 1000px) {
  .test-wrap {
    padding: 10em 0;
  }
}

@media only screen and (max-height: 940px) {
  #my-name h1 {
    font-size: 12rem;
  }

  .lower {
    margin-top: -5em;
  }

  .text {
    font-size: 2rem;
  }

  .spinner {
    transform: scale(0.6);
  }
}

@media only screen and (max-height: 940px) {
  .spinner-wrap {
    display: none;
  }
}

@media only screen and (max-width: 1550px) {
  .hero-wrap {
    margin-left: 15%;
    width: 50%;
  }

  .spinner-wrap {
    right: 10%;
  }
}

@media only screen and (max-width: 1212px) {
  #gallery-grid {
    flex-direction: column;
  }

  .gallery-card {
    margin: 5em 0 !important;
    width: 100% !important;
    min-width: 0px;
  }

  .spinner-wrap {
    display: none;
  }

  .endblock {
    display: none;
  }
}

@media only screen and (max-width: 950px) {
  .spinner-wrap {
    display: none;
  }

  .endblock {
    display: none;
  }
}

@media only screen and (max-width: 780px) {
  .works-head {
    font-size: 10em;
    margin-left: 0;
  }

  #works-gallery {
    padding: 0 2%;
  }

  #my-name h1 {
    font-size: 12rem;
  }

  .text {
    font-size: 2rem;
  }

  .hero-wrap {
    margin-left: 10%;
    width: 80%;
    top: 30%;
  }
}

@media only screen and (max-width: 450px) {
  .works-head {
    margin-left: 0;
    font-size: 6em;
    -webkit-text-stroke: 2px rgb(23, 23, 24);
  }

  .gallery-card {
    margin: 2em 0 !important;
  }

  .hero-wrap {
    margin-left: 5%;
    width: 90%;
  }
}
