* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Space Mono", monospace;
  background-color: var(--farbe4);
}

:root {
  --farbe1: rgb(86, 86, 86);
  --farbe2: rgb(255, 146, 95);
  --farbe3: rgb(86, 86, 86);
  --farbe4: rgb(255, 252, 241);
}

body {
  max-width: 70%;
  margin: 0 auto;
  padding-top: 40px;
}

p {
  font-size: 13px;
}

a {
  font-size: 13px;
  text-decoration: none;
  color: var(--farbe1);
}
a::after {
  color: var(--farbe1);
}

h1 {
  font-weight: 300;
}

h2 {
  font-weight: 300;
  font-size: 18px;
}

/* HEADER */

header {
  width: 100%;
  padding: 20px 0 20px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

header img {
  width: 180px;
}

header a {
  font-family: Courier;
}

.menu {
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.menu-items {
  text-decoration: none;
  color: var(--farbe1);
  padding: 8px 12px;
  position: relative;
  display: inline-block;
  flex: 1;
  font-size: 14px;
}

.menu-items::after {
  content: "";
  width: 0%;
  height: 2px;
  background-color: var(--farbe2);
  display: block;

  margin: auto;
  transition: 0.5s;
}

.menu-items:hover::after {
  width: 100%;
}

header .fa-solid {
  display: none;
}

/* ENDE HEADER */

main {
  padding: 15px 0;
}

/* HOME */
.creative-box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  justify-items: center;
  align-items: center;
  width: 100%;
}

.creative-box-heading {
  border: var(--farbe1) solid 2px;
  color: var(--farbe2);
  min-height: 200px;
  text-align: center;
  display: flex;
  align-items: center;
  margin-right: 1%;
  padding: 0 10px;
}

.creative-box-paragraph {
  border: var(--farbe1) solid 2px;
  color: var(--farbe1);
  min-height: 200px;
  text-align: left;
  display: flex;
  align-items: center;
  max-width: 68%;
  margin-left: 1%;
  padding: 15px 20px;
}

.creative-box-links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    justify-items: center;
    align-items: center;
    width: 100%;
  }


.button {
  border: var(--farbe1) solid 2px;
  color: var(--farbe1);
  background-color: transparent;
  margin: 2% 0;
  width: 15%;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: 0.5s;
}

.button p {
  position: absolute;
  text-align: center;
}

.button::after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.button:hover {
  border: var(--farbe2) solid 2px;
  border-radius: 100%;
  cursor: pointer;
}

/* ENDE HOME */

/*SLIDER*/

.slider-box {
  border: var(--farbe4) solid 2px;
  display: flex;
  width: auto;
  position: relative;
  margin: 0;
  left: 0;
}

.slider-box .hero-btn {
  display: inline-block;
  text-decoration: none;
  color: var(--farbe1);
  border: 1.5px solid var(--farbe1);
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: absolute;
  cursor: pointer;
  left: 50%;
  transform: translate(-50%);
  top: 85%;
}

.slider-box .hero-btn:hover {
  border: 1.5px solid var(--farbe2);

  transition: 1s;
}

#slider {
  overflow: hidden;
  width: auto;
}

#slider figure {
  position: relative;
  width: 300%;
  margin: 0;
  left: 0;
  animation: 20s slider infinite;
}

#slider figure img {
  width: 33.3%;
  float: left;
}

@keyframes slider {
  0% {
    left: 0%;
  }
  10% {
    left: 0%;
  }
  33% {
    left: -100%;
  }
  43% {
    left: -100%;
  }
  66% {
    left: -200%;
  }
  76% {
    left: -200%;
  }
  86% {
    left: -100%;
  }
  96% {
    left: 0%;
  }
  100% {
    left: 0%;
  }
}
/*ENDE SLIDER*/

/*SERVICES TABS https://www.youtube.com/watch?v=5L6h_MrNvsk*/
[data-tab-content] {
  display: none;
}

.active[data-tab-content] {
  display: block;
}

.serviceheading {
  border: var(--farbe1) solid 2px;
  color: var(--farbe2);
  min-height: 60px;
  display: block;
  position: relative;
}

.serviceheading h1 {
  text-align: center;
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
}

.tabs {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  justify-items: center;
  align-items: center;
  width: 100%;
}

.tab {
  border: var(--farbe1) solid 2px;
  color: var(--farbe1);
  margin: 2% 0;
  width: 16%;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: 0.5s;
  cursor: pointer;
}

.tab li {
  background-color: transparent;
}

.tab::after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.tab:hover {
  border: var(--farbe2) solid 2px;
  border-radius: 100%;
  cursor: pointer;
}

.tab.active {
  border: var(--farbe2) solid 2px;
  border-radius: 100%;
}

.tab-content {
  border: var(--farbe1) solid 2px;
  color: var(--farbe1);
  padding: 20px;
  display: block;
  min-height: 200px;
}
/*SERVICES TABS*/

/*ABOUT*/

.about-top-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 10px 0;
}

.about-box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.about-box img {
  border: var(--farbe1) solid 2px;
  color: var(--farbe1);
  width: 100%;
  padding: 7%;
}

.about-sub-box {
  width: 49%;
  display: flex;
  flex-direction: column;
}

.about-side-box {
  display: flex;
  flex-direction: column;
  margin: 0 0 10px 0;
  padding: 10px;
  border: var(--farbe1) solid 2px;
  color: var(--farbe1);
}

#he1 {
  color: var(--farbe2);
}

#he2 {
  color: var(--farbe2);
  width: 100%;
}

.paragraph {
  margin: 0 0 30px 0;
  padding: 20px;
  text-align: justify;
  color: var(--farbe1);
}

/*ENDE ABOUT*/

/*GALLERY*/

.gallery-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 10px 0;
}

.gallery-box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.projects {
  display: flex;
  flex-direction: column;
  width: 32%;
}

.projects img {
  width: 100%;
  margin: 2% 0;
  border: var(--farbe1) solid 2px;
  color: var(--farbe1);
  transition: 0.5s;
}

.projects img:hover {
  border: var(--farbe2) solid 2px;
  cursor: pointer;
}

/*ENDE GALLERY*/

/*PROJEKTSEITEN*/

.project-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 0.2fr 1fr 1fr;
  gap: 10px 10px;
  justify-content: center;
  align-content: center;
  margin-bottom: 20px;
}

.projectbox {
  border: var(--farbe1) solid 2px;
}

.projectbox p {
  padding-bottom: 5px;
}

.projectbox h2 {
  padding: 8px 0;
}

.projectbox a {
  color: var(--farbe2);
  text-decoration: none;
}

.back-btn {
  background: var(--farbe2);
  border: var(--farbe2) solid 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-row: 1 / 1;
  grid-column: 1 / 1;
}

.back-btn a {
  background-color: transparent;
  text-decoration: none;
  font-size: 11px;
  color: var(--farbe4);
}

.project-heading {
  grid-column: 2 / span 11;
  grid-row: 1 / span 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--farbe2);
}

.project-big-img {
  grid-column: 1 / span 8;
  grid-row: 2 / span 2;
}

.project-big-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-beschreibung {
  padding: 10px 15px;
  grid-column: 9 / span 4;
  grid-row: 2 / span 1;
}
.project-beschreibung h3 {
  font-size: 16px;
  padding-bottom: 10px;
}

.project-kategorien {
  padding: 10px 15px;
  grid-column: 9 / span 4;
  grid-row: 3 / span 1;
}

.gallery-heading {
  color: var(--farbe2);
  display: flex;
  width: 100%;
  justify-content: center;
  justify-items: center;
}

.projects iframe {
  padding: 10px;
  width: 100%;
  border: 2px solid var(--farbe1);
}
.popup-image {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.9);
  height: 100%;
  width: 100%;
  z-index: 100;
  display: none;
}

.popup-image img {
  max-width: 60%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px;
  background: transparent;
  border: var(--farbe2) 2px solid;
}

.popup-image span {
  position: absolute;
  background: transparent;
  top: 10%;
  right: 10%;
  font-size: 40px;
  font-weight: bolder;
  color: var(--farbe2);
  cursor: pointer;
  z-index: 100;
}

/* IMPRESSUM */
.impressum-box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  justify-items: center;
  align-items: center;
  width: 100%;
}

.impressum-box-heading {
  border: var(--farbe1) solid 2px;
  color: var(--farbe2);
  min-height: 200px;
  text-align: center;
  display: flex;
  align-items: center;
  margin-right: 1%;
  padding: 0 10px;
}

.impressum-box-paragraph {
  border: var(--farbe1) solid 2px;
  color: var(--farbe1);
  min-height: 200px;
  text-align: left;
  display: flex;
  align-items: center;
  max-width: 68%;
  margin-left: 1%;
  padding: 15px 20px;
}

/* FOOTER */
footer {
  clear: both;
  color: var(--farbe3);
  width: 100%;
  text-align: center;
  padding: 30px 0;
}

.icons .fa-brands {
  color: var(--farbe3);
  margin: 10px 13px;
  cursor: pointer;
  padding: 18px 0;
}

.icons .fa-brands:hover {
  color: var(--farbe2);
  transition: 0.3s;
}

footer p {
  color: var(--farbe3);
  font-size: 12px;
  font-weight: 300;
  text-decoration: none;
}

footer a {
  color: var(--farbe3);
  font-size: 12px;
  font-weight: 300;
  text-decoration: none;
}

footer a:hover {
  color: var(--farbe2);
  transition: 0.3s;
}

/* ENDE FOOTER */

/* MOBILE VERSION*/
@media (max-width: 700px) {
  body {
    padding-top: 20px;
    max-width: 85%;
  }
  h1 {
    font-size: 24px;
  }

  main p {
    font-size: 12px;
  }
  main a {
    font-size: 12px;
    text-decoration-line: none;
    color: var(--farbe2);
    background: transparent;
  }

  .button a {
    font-size: 9px;
  }

  .button p {
    font-size: 9px;
  }

  .tab li {
    font-size: 8px;
  }

  .nav-links {
    position: absolute;
    background: var(--farbe2);
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 0.5s;
  }

  .menu {
    display: block;
    padding: 20px;
  }

  .menu-items .fa-brands::after {
    content: "INSTAGRAM";
    font-family: Courier;
    padding-left: 8px;
  }

  .menu-items .fa-regular::after {
    content: "KONTAKT";
    font-family: Courier;
    padding-left: 8px;
  }

  nav .fa-solid {
    display: block;
    color: var(--farbe1);
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }

  .fa-xmark {
    background-color: var(--farbe2);
  }

  nav .fa-bars {
    display: block;
    color: var(--farbe2);
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }

  .slider-box {
    display: flex;
    position: relative;
    margin: 0;
    left: 0;
  }

  .slider-box .hero-btn {
    display: inline-block;
    text-decoration: none;
    color: var(--farbe1);
    border: 1px solid var(--farbe1);
    padding: 5px 20px;
    font-size: 8px;
    font-weight: bold;
    background: transparent;
    position: absolute;
    cursor: pointer;
    left: 50%;
    transform: translate(-50%);
    top: 80%;
  }

  .creative-box {
    display: block;
    max-width: 100%;
  
  }
  .creative-box-heading {
    margin: 0 0 10px 0;
    min-height: 40px;
    display:block;
  }

  .creative-box-paragraph {
    margin: 0 0 5px 0;
    min-height: 40px;
    max-width: 100%;
  }

  #slider {
    overflow: hidden;
    width: auto;
  }

  #slider figure {
    position: relative;
    width: 300%;
    margin: 0;
    left: 0;
    animation: 20s slider infinite;
  }

  #slider figure img {
    width: 33.3%;
    float: left;
  }

  .about-box {
    display: block;
  
  }

  .about-sub-box {
    display: block;
    width: 100%;

  }

  .impressum-box {
    display: block;
    width: 100%;

  }

  .impressum-box-heading {
    min-height: 40px;
    width: 100%;
    margin: 0 0 10px 0;
    display: block;
  }


  .impressum-box-paragraph {
    min-height: 40px;
    max-width: 100%;
    margin: 0px;
    display: block;
    text-align: center;
  }

  }
  /*PROJEKTE*/
  .project-container {
    grid-template-rows: 0.2fr;
  }

  .project-heading h1 {
    font-size: 18px;
  }
  .back-btn {
    grid-row: 1 / 1;
    grid-column: 1 / span 2;
  }

  .back-btn a {
    font-size: 10px;
  }

  .project-heading {
    grid-column: 3 / span 10;
    grid-row: 1 / span 1;
  }

  .project-big-img {
    grid-column: 1 / span 12;
    grid-row: 2 / span 1;
  }

  .project-beschreibung {
    grid-column: 1 / span 12;
    grid-row: 3 / span 1;
  }

  .project-kategorien {
    grid-column: 1 / span 12;
    grid-row: 4 / span 1;
  }

  .popup-image {
    max-width: 95vw;
  }

  .popup-image img {
    position: absolute;
    top: 20%;
  }

  /*ENDE PROJEKTE*/


