@import url('https://fonts.googleapis.com/css2?family=Fugaz+One&family=Open+Sans&display=swap');

@font-face {
  font-family: gilroy-bold;
  src: url("Gilroy-HeavyItalic.otf");
}

@font-face {
  font-family: gilroy-light;
  src: url("Gilroy-Medium.otf");
}

@font-face {
  font-family: gilroy-lightitalic;
  src: url("Gilroy-MediumItalic.otf");
}


:root {
  --trash: 'gilroy-bold', 'Fugaz One', cursive;
  --simple: 'gilroy-light', 'Open Sans', sans-serif;
  --simpleitalic: 'gilroy-lightitalic', 'Open Sans', sans-serif;
  --gelb: #ebb444;
  --violett: rgb(119, 81, 144);
  --grau: rgb(136, 137, 137);
  --kachelweiss: #fff;
  --orange: #E4734C;
  --violet: #99316C;
}


.body {
  font-family: var(--simple);
  height: 100vh;
  width: 100%;
  background-color: var(--violett);
  color: black;
  transition: background-color 0.2s;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
}

canvas {
  position: fixed;
  top: 0px;
  height: 100vh;
  width: 100vw;
}

p {
  font-size: 1em;
  line-height: 1.5rem;

}

h1 {
  font-family: var(--trash);
  color: black;
  width: 100%;
  text-align: center;
  font-size: 4em;
  line-height: 4rem;
  padding-bottom: 2rem;
  padding-top: 3rem;
}

h2 {
  font-size: 3em;
  font-family: var(--trash);
  color: black;
}


H6 {
  font-family: var(--trash);
  position: relative;
  line-height: 100%;
  top: -25vh;
  color: black;
  width: 100%;
  text-align: center;
  font-size: 5em;
}

b {
  height: 2em;
  background-color: #EBB444;
  padding-left: 20px;
  padding-right: 20px;
  border-color: var(--violett);
  stroke-width: 50px;
}

#unter-h6 {
  font-family: var(--trash);
  line-height: 100%;
  position: relative;
  top: -23vh;
  color: black;
  width: 100%;
  text-align: center;
  font-size: 5em;
}

aol {
  font-size: 1em;
  line-height: 3rem;
  font-family: var(--simple);
}



a {
  font-family: var(--trash);
  cursor: pointer;
  text-decoration: none;
  color: black;
  transition: 0.5s;
}

a:hover {
  color: darkslategray;
  /* text-decoration: underline; */
}


year {
  font-size: 0.8em;
  line-height: 2em;
  font-family: var(--simple);
  color: var(--kachelweiss);
}

yearD {
  font-size: 1.5em;
  /* letter-spacing: 0.2em; */
  font-family: var(--simple);
}






/* FILTER FÜR PROJEKT */
#filterBox {
  position: fixed;
  display: none;
  top: 125px;
  width: 100%;
  height: 50px;
  transition: all 0.3s;
  overflow: hidden;
  text-align: center;
}

.filterButton {
  cursor: pointer;
  height: 100%;
  border-radius: 50%;
}

.filterButton:hover {
  transform: scale(0.9);
}

/* PROJEKT EXPERIMENT */
#mastercollection {
  position: relative;
  top: 200px;
  overflow: visible;
  width: 100%;
  display: none;
}


#grid {
  position: relative;
  overflow: visible;
  width: 100%;
  height: 100%;
  row-gap: 20px;
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto;
  margin-bottom: 300px;
  transition: 1s;
}

.proj {
  display: block;
  position: relative;
  grid-column: auto;
  grid-row: auto;
  border-radius: 2%;
  height: 100vw;
  width: 100vw;
  overflow: hidden;
  transition: 0.2s;
  /* background-color: grey; */
}

.proj-info {
  cursor: pointer;
  position: absolute;
  text-transform: uppercase;
  overflow: hidden;
  left: 0;
  top: 0;
  height: 100vw;
  width: 100vw;
  transition: 0.2s;
}

.proj-title {
  position: absolute;
  font-family: var(--trash);
  text-align: center;
  bottom: 75%;
  left: 0%;
  width: 100%;
  color: black;
  font-size: 1.2em;
  padding-top: 10px;
}

.proj:hover {
  background-color: #EBB444;
  transform: scale(1.05);
}

.freizeit:hover {
  background-color: black;
}

/* FILTER FÜR PROJEKT */
#freizeitBox {
  position: fixed;
  font-size: 3em;
  top: 125px;
  width: 500px;
  /* height: 50px; */
  overflow: visible;
  text-align: center;
}

.proj-thb:hover {
  transform: scale(100px, 0);
}


#masterDetail {
  display: none;
  position: relative;
  left: calc(50vw - 350px);
  width: 700px;
  text-align: center;
  margin: 10px;
  top: 120px;
}

/* PROJEKT EXPERIMENT */
#freizeitcollection {
  position: relative;
  width: 100%;
  top: 140px;
  overflow: visible;
}

#freizeitGrid {
  position: relative;
  overflow: visible;
  left: -10px;
  width: 100%;
  height: 100%;
  row-gap: 20px;
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto;
  transition: 1s;
}

.freizeit {
  display: flex;
  justify-content: center;
  align-items: center;
}

.freizeitVideo {
  max-width: 105%;
  width: 105%;
}

#detailGrid {
  overflow: visible;
}

.detailPic-Container {
  width: 99%;
  padding-bottom: 5vh;
}

.detailPic {
  width: 100%;
}

.detailPage {
  /* text-align: center; */
}

#srf-iframe {
  height: 300px;
}

.center-text {
  text-align: center;
}

.left-text {
  text-align: left;
}

.simple-italic {
  font-family: var(--trash);
  font-size: 5em;
  line-height: 1em;
  color: black;
}

.inlined {
  display: inline;
}

.back-container {
  position: fixed;
  top: 15px;
  left: 5px;
  height: 50px;
  width: 10px;
  cursor: pointer;
  transition: 0.2s;
}

#buttonBack {
  max-height: 100%;
  width: auto;
  /* width: auto; */
  display: none;
}

#p01 {
  display: NONE;
}

#p02 {
  display: NONE;
}

#p03 {
  display: NONE;
}

#p04 {
  display: NONE;
}

#p05 {
  display: NONE;
}

#p06 {
  display: NONE;
}

#p07 {
  position: absolute;
  display: none;
  height: 100vh;
  width: 100%;
  left: 0;
}

#p08 {
  display: NONE;
}


/* DER CHARAKTER KOPF WIGGLE */
.charactertrailer {
  position: relative;
  top: 40vh;
  width: 100%;
  height: 60vh;
  margin-bottom: 200px;
}

.blinkback {
  position: absolute;
  overflow: hidden;
  top: 0vh;
  width: 100%;
  height: 50vh;
  /* background-color: white; */
  transition: transform 0.1s;
}


.blink {
  transition: 0.5s;
  padding-top: 10vh;
  position: fixed;
  left: calc(50vw - 30vh);
  height: 60vh;
  animation: xwiggle 2s ease-in-out alternate infinite, xfade 1s ease-in-out forwards;
}

.blink-freizeit {
  transition: 0.5s;
  padding-top: 0vh;
  top: 40vh;
  position: fixed;
  left: calc(50vw - 30vh);
  height: 60vh;
  animation: xwiggle 2s ease-in-out alternate infinite, xfade 1s ease-in-out forwards;
}

@keyframes xfade {
  0% {
    padding-top: 40vh;
  }

  100% {
    padding-top: 0vh;
  }
}

/* LOGO OBEN*/
.logo-containerIA {
  position: fixed;
  text-align: center;
  width: 100%;
  top: 0px;
  height: 120px;
  transition: 0.2s;
}

.logo-container {
  position: fixed;
  text-align: center;
  width: 100%;
  top: 0px;
  height: 120px;
  transition: 0.2s;
}

.logo {
  height: 100%;
  transition: 0.1s;
  cursor: pointer;
  animation: portfolio-fade-out 1s 1s ease-in-out forwards
}

.logoIA {
  height: 100%;
  transition: 0.1s;
  cursor: pointer;
  /* animation: portfolio-fade-out 1s ease-in-out forwards; */
}

#buttonPortfolio,
#buttonPortfolioA,
.aboutmeA,
#buttonAboutme {

  animation: portfolio-fade-in 1s 1s ease-in-out forwards;
}

#buttonPortfolio {
  animation: portfolio-fade-in 1s 1s ease-in-out forwards;
}

@keyframes portfolio-fade-out {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(0, -60px);
  }
}

.portfolio-container {
  position: fixed;
  top: 15px;
  left: 5px;
  height: 50px;
  cursor: pointer;
  transition: 0.2s;
}

.portfolio-containerA {
  position: fixed;
  top: 15px;
  left: 5px;
  height: 50px;
  cursor: pointer;
  transition: 0.2s;
}

.portfolio {
  height: 100%;
}

.portfolioA {
  height: 100%;
}

.buttonBack {
  height: 100%;
}



/*--------- ABOUT!! */
/* ABOUT ME */
#masterAboutMe {
  display: none;
  position: relative;
  font-family: var(--simple);
  line-height: 1.5em;
  font-size: 1em;
  margin-left: calc(50vw - 300px);
  margin-right: calc(50vw - 300px);
  top: 150px;
  padding: 20px;
  padding-bottom: 150px;
  /* background-color: var(--gelb); */
  color: black;
  border-radius: 1%;
}

.aboutme-container {
  position: fixed;
  top: 15px;
  right: 5px;
  height: 50px;
  cursor: pointer;
  transition: 0.2s;
}

.aboutme-containerA {
  position: fixed;
  top: 15px;
  right: 5px;
  height: 50px;
  cursor: pointer;
  transition: 0.2s;
}

.about-trailer {
  text-align: center;
  background-color: darkslategray;
  max-width: 150px;
  border-radius: 4%;
}

.about-trailer-thought {
  position: absolute;
  transform: translate(-150px, 0);
  opacity: 0;
  max-width: 150px;
  border-radius: 4%;
  /* transition: opacity 0.5s; */
  animation: aboutme 3s infinite;
}

@keyframes aboutme {
  0% {
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  60% {
    opacity: 1;
  }

  80% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes crazy-color {
  0% {
    background-color: white;
  }

  20% {
    background-color: rgb(253, 18, 96);
  }

  40% {
    background-color: rgb(18, 112, 253);
  }

  60% {
    background-color: rgb(18, 253, 163);
  }

  80% {
    background-color: rgb(255, 153, 0);
  }

  100% {
    background-color: white;
  }
}


.aboutme {
  height: 100%;
}

.aboutmeA {
  height: 100%;
}

#container-contact-buttons {
  position: relative;
  margin-top: 10vh;
  width: 100%;
  text-align: center;
}

#social-contact-buttons {
  display: none;
  position: relative;
  top: 0px;
  padding-bottom: 20px;
  text-align: center;
}

.contact-button {
  max-height: 3em;
  margin: 5px;
}

.button {
  transition: 0.1s;
}


.button:hover {
  transform: scale(1.1);
  cursor: pointer;
}




@keyframes xwiggle {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(0, 2vh);
  }
}

@keyframes wiggle {
  0% {
    transform: translate(0, 2vh);
  }

  100% {
    transform: translate(0, 0vh);
  }
}


/* BIG DESKTOP */
@media (min-width: 900px) {
  #grid {
    left: calc(50vw - 450px);
    grid-template-columns: repeat(2, 450px);
  }

  #freizeitGrid {
    left: calc(350px - 450px - 10px);
    grid-template-columns: repeat(2, 450px);
  }

  #freizeitBox {
    width: 700px;
  }

  .proj {
    height: 450px;
    width: 450px;
  }

  .proj-info {
    height: 450px;
    width: 450px;
  }

  .portfolio-container {
    left: calc(50vw - 400px)
  }

  .portfolio-containerA {
    left: calc(50vw - 400px)
  }

  .back-container {
    left: calc(50vw - 400px)
  }

  .aboutme-container {
    right: calc(50vw - 400px)
  }

  .aboutme-containerA {
    right: calc(50vw - 400px)
  }
}

/* I PAD */
@media (min-width: 550px) and (max-width: 900px) {
  #grid {
    left: 0vw;
    grid-template-columns: 50vw 50vw;
  }

  #freizeitGrid {
    left: calc(250px - 50vw - 10px);
    grid-template-columns: 50vw 50vw;
  }

  .proj {
    height: 50vw;
    width: 50vw;
  }

  .proj-info {
    height: 100%;
    width: 100%;
  }

  .portfolio-container {
    left: 5vw;
  }

  .portfolio-containerA {
    left: 5vw;
  }

  #masterDetail {
    left: calc(50vw - 250px);
    width: 500px;
  }

  .back-container {
    left: 5vw;
  }

  .aboutme-container {
    right: 5vw;
  }

  .aboutme-containerA {
    right: 5vw;
  }

  .proj-title {
    /* top: 5%; */
    /* font-size: 1.5em; */
  }
}



/* SMARTPHONE */
@media (max-width: 550px) {
  .aboutme-container {
    /* top: calc(100vh - 200px);
    right: calc(50vw - 70px); */
  }

  .aboutme-containerA {
    /* top: calc(100vh - 200px);
    right: calc(50vw - 70px); */
  }

  #h6 {
    font-size: 2em;
  }

  #unter-h6 {
    font-size: 2em;
  }

  .aboutmeA {
    display: none;
  }

  .portfolio-container {
    /* left: calc(100vw - 100px); */
  }

  .portfolio-containerA {
    /* left: calc(100vw - 100px); */
  }

  .back-container {
    /* top: calc(100vh - 200px); */
  }

  .proj-info {
    font-size: 1.5em;
  }

  #masterDetail {
    left: 1vw;
    width: 95vw;
  }

  /* ABOUT ME */
  #masterAboutMe {
    margin-left: 1vW;
    margin-right: 1VW;
    top: 100px;
    margin-bottom: 0px;
  }

  #mastercollection {
    top: 140px;
    overflow: visible;
  }

  #freizeitcollection {
    top: 140px;
    overflow: visible;
  }

  #filterBox {
    top: 75px;
  }

  #freizeitBox {
    top: 75px;
    width: 100%;
  }

  .blink {
    margin-top: 0vh;
    padding-top: 0vh;
  }
}