/* all rights reserved © Marcel Gangl */
/* Fonts */

@font-face {
  font-family: "Swiza";
  src: url("../fonts/Swiza-Regular.woff") format("woff");
  src: url("../fonts/Swiza-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Swiza-SM";
  src: url("../fonts/Swiza-SemiBold.woff") format("woff");
  src: url("../fonts/Swiza-SemiBold.woff2") format("woff2");
}

@font-face {
  font-family: "Dudler";
  src: url("../fonts/Dudler-Regular.woff") format("woff");
  src: url("../fonts/Dudler-Regular.woff2") format("woff2");
}

:root {
  --yellow: rgb(242, 185, 68);
  --green: rgb(98, 131, 75);
  --lila: rgb(138, 94, 159);
  --blue: rgb(44, 106, 173);
  --red: rgb(223, 52, 44);
  --pink: rgb(219, 81, 42);
  --black: rgb(36, 36, 36);
  --white: rgb(255, 255, 255);
}

/* allgemeine regeln */

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
}

::selection {
  background-color: var(--lila);
  color: var(--white);
}

@media print {
  html,
  body {
    display: none;
  }
}

body {
  font-family: "Swiza";
  font-weight: 400;
  font-style: normal;
  background-color: var(--white);
  color: var(--black);
}

a {
  text-decoration: none;
  color: var(--black);
}

.bar {
  width: 100%;
  height: 2px;
  background-color: var(--lila);
}

.bar2 {
  width: 100%;
  height: 2px;
  background-color: var(--white);
}

/* Intro headline */

.intro {
  padding-top: 70px;
  padding-bottom: 0px;
}

.intro h1 {
  font-family: "Dudler";
  font-weight: 100;
  font-size: 120px;
  letter-spacing: 2px;
  margin:  20px 0px 0px 20px;
}

.intro h2 {
  font-family: "Dudler";
  font-weight: 100;
  font-size: 120px;
  letter-spacing: 2px;
  text-align: right;
  margin:  20px 20px 0px 20px;
}

/* Switch Ascii */

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin-left: 10px;
  margin-top: 20px;
  border: 2px solid var(--black);
  border-radius: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--lila);
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

input:checked + .slider {
  background-color: var(--black);
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}


/* Header */

header {
  display: flex;
  justify-content: left;
  align-items: center;
  position: fixed;
  width: 100%;
  height: 70px;
  z-index: 1000;
  background-color: var(--white);
  flex-direction: row;
  border-bottom: 2px solid var(--lila);
}

header p {
  position: absolute;
  font-size: 12px;
  margin: -30px 0px 2px 13px; 
}

#Logo img {
  padding-top: 5px;
  width: 30px;
  height: auto;
}

#nav-menu {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px 0px 20px;
  z-index: 2;
  position: fixed;
  transform: scaleY(0);
  opacity: 0;
  transform-origin: top;
  transition: opacity 0.8s ease, transform 0.5s ease;
  border-bottom: 2px solid var(--white);
  background-color: var(--black);
  height: 800px;
}


#nav-menu ul {
  font-family: "Dudler";
  display: flex;
  list-style: none;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  font-size: 22px;
  line-height: 70px;
  display: block;
  flex-direction: column;
  margin: 400px 40px 0px 0px;
  color: var(--white);
}

#nav-menu li {
  font-size: 50px;
  margin-left: 40px;
}

#nav-menu li a{
  color: var(--white);
  text-decoration-color: var(--lila);
}


.right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.active {
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
  text-decoration-color: var(--lila);
}

header img {
  width: 30px;
  height: auto;
  align-items: center;
  cursor: alias;
}

.mobileheaderimg {
  display: flex;
  margin: 10px;
}

.mobileheaderimg img {
  height: 40px;
  width: auto;
  z-index: 4;
}

/* Hier die einzelnen Stäbe des Hamburger Menu */

.mobilebutton {
  position: fixed;
  border-width: 2px;
  border-style: solid;
  border-radius: 70px;
  background-color: transparent;
  width: 42px;
  height: 42px;
  border-color: var(--black);
}

#mobilemenubar {
  z-index: 10;
  padding: 6px;
  right: 0;
  margin-right: 15px;
}

.barr {
  height: 2px;
  width: 100%;
  border-radius: 0.5px;
  transition: 0.5s ease;
  background-color: var(--black);
}

#bar1 {
  transform: translateY(-7px);
}

#bar3 {
  transform: translateY(7px);
}

.changee .barr {
  height: 2px;
  background-color: var(--white);
}

.changee #bar2 {
  opacity: 0;
}
.changee #bar1 {
  transform: translateX(-2.5px) translateY(2.5px) rotateZ(-135deg);
  width: 120%;
}

.changee #bar3 {
  transform: translateX(-2.5px) translateY(-1px) rotateZ(135deg);
  width: 120%;
}

/* Eigenschaften der Sektion */

.projects-overview {
  width: 100%;
  justify-content: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 40px;
  margin-top: 50px;
}

section {
  margin: 20px;
  gap: 10px;
  display: flex;
  flex-direction: column;
  align-items: left;

}
.section-text {
  margin: 0px 5px 5px 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}
.section-text h1 {
  color: var(--lila);
  font-size: 12px;
  border: solid 2px var(--lila);
  border-radius: 20px;
  padding: 4px 6px;
}
.section-text p {
  font-family: "Swiza";
  font-size: 12px;
  font-feature-settings: "tnum";
}

section img {
  width: auto;
  height: 400px;
  border-radius: 5px;
  transition: all 0.5s ease-in-out;
  cursor: alias;
  border: 1px solid var(--lila);
}

/* video */

.video {
  display: flex;
  justify-content: center;
  margin: 50px 0px 30px 0px;
}
video {
  margin: 0 auto;
  width: 300px;
  height: auto;
  border-radius: 5px;
  border: 2px solid var(--lila);
}

.videoButtons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 0px 0px 30px 0px;
  gap: 20px;
  
}
.videoButtons button {
  font-size: 15px;
}


.buttonVideo {
  background-color: var(--white);
  color: var(--lila);
  border: 2px solid var(--black);
  border-radius: 40px;
  padding: 5px 10px 5px 10px;
}

.buttonActive {
  background-color: var(--black);
  color: var(--white);
  border: 2px solid var(--lila);
}


.homebtn {
  margin: 5px 0px 0px 20px;
}

.homebtn a {
  color: var(--black);
  font-size: 15px;
}

.coloured {
  color: var(--lila);
}



/* section images */


#img1:hover, .ascii1 {
  content: url("../media/Covers-Ascii/cover1.png");
}

#img2:hover, .ascii2 {
  content: url("../media/Covers-Ascii/cover2.png");
}

#img3:hover, .ascii3 {
  content: url("../media/Covers-Ascii/cover3.png");
}

#img4:hover, .ascii4 {
  content: url("../media/Covers-Ascii/cover4.png");
}

#img5:hover, .ascii5 {
  content: url("../media/Covers-Ascii/cover5.png");
}

#img6:hover, .ascii6 {
  content: url("../media/Covers-Ascii/cover6.png");
}

#img7:hover, .ascii7 {
  content: url("../media/Covers-Ascii/cover7.png");
}

#img8:hover, .ascii8 {
  content: url("../media/Covers-Ascii/cover8.png");
}

#img9:hover, .ascii9 {
  content: url("../media/Covers-Ascii/cover9.png");
}

#img10:hover, .ascii10 {
  content: url("../media/Covers-Ascii/cover10.png");
}

#img11:hover, .ascii11 {
  content: url("../media/Covers-Ascii/cover11.png");
}

#img12:hover, .ascii12 {
  content: url("../media/Covers-Ascii/cover12.png");
}

#img13:hover, .ascii13 {
  content: url("../media/Covers-Ascii/cover13.png");
}

#img14:hover, .ascii14 {
  content: url("../media/Covers-Ascii/cover14.png");
}

#img15:hover, .ascii15 {
  content: url("../media/Covers-Ascii/cover15.png");
}

/* article */ 

article {
  margin: 20px;
  display: flex;
  flex-direction: column;
  align-items: left;
  flex-wrap: wrap;
}

article p {
  font-size: 15px;
  line-height: 25px;
  text-align: left;
}

/* Imprint */ 

.imprint-text {
  font-family: "Swiza-SM";
  color: var(--lila);
}


/* Footer */

footer {
  display: flex;
  justify-content: space-between;
  height: 70px;
  z-index: 1000;
  bottom: 0;
}

footer ul {
  display: flex;
  list-style: none;
  margin: 20px;
  padding: 0;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 15px;
}




@media (min-width: 768px) {

  .button {
    font-size: 18px;
    line-height: 15px;
    border: none;
    background-color: transparent;
    text-transform: uppercase;
    font-variant-ligatures: none;
  }

  .button:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
  }
  #nav-menu a:hover {
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-underline-offset: 6px;
    text-decoration-color: var(--white);
  }
  a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    color: var(--black);
  }
  

  #active a {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
  }

  video {
    width: 500px;
    height: auto;
  }

  iframe {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding: 40px 0 40px 0;
    width: 50%;
    height: 352px;
  }

  article {
    width: 60%;
  }

}

@media (max-width: 768px) {

  .button {
    font-family: "Swiza-SM";
    font-size: 18px;
    line-height: 18px;
    border: none;
    background-color: transparent;
    font-variant-ligatures: none;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
  }

  #active a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
  }

  section img {
    width: auto;
    height: 60vw;
    align-items: center;
    border-radius: 5px;
    cursor: alias;
  }

  .intro h1, .intro h2{
    font-size: 70px;
    margin:  20px 15px 5px 10px;
  }

  video {
    width: 300px;
    height: auto;
  }

  iframe {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding: 40px 0 40px 0;
    width: 80%;
    height: 352px;
  }


}
