/* DruckundStick
  Autor: Nando Schlegel

  °°°Inhalt°°°
  ************
  01: Reset
  02: Imports
  03: Variables
  04: Body / General
  05: Header 
    05.01 Navigation
    05.02 Beschreibung
  06: News
  07: Dienstleistung
  08: Über Uns
  09: Kontakt
  10: footer

*/
/* _______________________________________________________________________________________________________________________________________________________________ */

/* --------- */
/* 01: Reset */
/* --------- */

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: currentColor; /* 2 */
}
/* remove the margin of all browser */
body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}
/* for Firefox */
hr {
  height: 1px; /* 1 */
  color: inherit; /* 2 */
  background-color: currentColor; /* 3 */
}
/* Add the correct text decoration in Chrome, Edge, and Safari. */
abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}
/* Remove the default font size and weight for headings. */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
/* Reset links to optimize for opt-in styling instead of opt-out. */
a {
  color: inherit;
  text-decoration: inherit;
}
ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ----------- */
/* 02: Imports */
/* ----------- */

@font-face {
  font-family: "inteserstate-comp";
  src: url("fonts/interstate-black-comp-58b64117a2ad9.otf");
}
@font-face {
  font-family: "interstate-cond";
  src: url("fonts/interstate-black-cond-58b642507872b.otf");
}
@font-face {
  font-family: "interstate-bold";
  src: url("fonts/interstate-bold-cond-58b64162258ca.otf");
}

/* ------------- */
/* 03: Variables */
/* ------------- */

:root {
  /* colors */
  --pri-color: #000;
  --sec-color: #480784;
  --ter-color: #e8e8e8;
  --qua-color: #809393;
  --qui-color: #fff;
  --six-color: #bc7bf9;
  /* font-size */
  --bigtitle-size: 60px;
  --title-size: 36px;
  --semi-title-size: 24px;
  --text-size: 24px;
  --info-text-size: 13px;
  /* font weights */
  --bold: 700;
  --semi-bold: 600;
  --medium: 500;
  /* boxshadow */
  --boxshadow: 0px 3px 10px var(--qua-color);
}

/* ------------------ */
/* 04: Body / General */
/* ------------------ */

body {
  background-color: var(--qui-color);
}

.title {
  font-family: interstate-cond, sans-serif;
  font-size: var(--title-size);
  margin: 0;
}

.text {
  font-family: interstate-comp, sans-serif;
  font-size: var(--text-size);
}

.bold {
  font-family: interstate-bold, sans-serif;
  font-size: var(--text-size);
}

#news,
#ueber-uns,
#kontakt,
#dienstleistung {
  padding: 50px 0;
}

/* ---------- */
/* 05: Header */
/* ---------- */

header {
  position: relative;
  background-image: url("bilder/siebdruck.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: -20px;
  min-height: 80vh;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: black;
  opacity: 0.5;
}

/* 05.01 Navigation */
/* ---------------- */

#navbar.hidden {
  top: -100px;
}

nav {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  background-color: var(--sec-color);
  z-index: 2;
}

nav .nav-logo {
  display: flex;
  height: 90px;
}

nav .nav-logo:hover {
  opacity: 0.8;
}

nav img {
  margin: 10px 0;
  -webkit-filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
  min-width: 200px;
}

nav .main-nav {
  display: flex;
  align-items: center;
}

.main-nav > li {
  font-family: interstate-comp, sans-serif;
  font-size: var(--semi-title-size);
  color: var(--qui-color);
  padding: 0 20px;
  transition: color 0.3s ease, font-weight 0.3s ease;
}

.main-nav > li:hover {
  color: var(--six-color);
}

/* hamburger-menue */
.hamburger-menue,
.hamburger-menue input {
  display: none;
}

/* 05.02 Beschreibung */
/* ------------------ */

.startdescription {
  position: relative;
  width: 1200px;
  /* padding-top: 100px; */
  bottom: 0;
  padding: 100px 0 20px 100px;
}

h1 {
  font-family: interstate-bold, sans-serif;
  font-size: var(--bigtitle-size);
  color: var(--six-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.startdescription p {
  font-family: interstate-comp, sans-serif;
  font-size: var(--semi-title-size);
  color: var(--qui-color);
}

/* -------- */
/* 06: News */
/* -------- */

#news,
#dienstleistung,
#ueber-uns,
#kontakt,
.agb,
.impressum {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

#news,
#ueber-uns {
  background-color: var(--ter-color);
}

h2,
h3,
h4,
h5 {
  font-family: interstate-bold, sans-serif;
  font-size: var(--bigtitle-size);
  color: var(--sec-color);
  margin: 50px auto 50px auto;
}

#news img {
  width: 60vw;
  margin: 50px auto;
}

/* ------------------ */
/* 07: Dienstleistung */
/* ------------------ */

.tab-auswahl {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 50px auto;
  width: 90vw;
}

.tab-auswahl img {
  height: 150px;
}

.tab-auswahl li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  width: 250px;
  margin: 50px auto;
  padding: 30px;
  box-shadow: var(--boxshadow);
  font-family: interstate-bold, sans-serif;
  font-size: var(--semi-title-size);
  cursor: pointer;
}

.tab-auswahl li:hover,
.active {
  background-color: var(--ter-color);
}

.tab-sieb-transferdruck,
.tab-sticken,
.tab-beschriftungen,
.tab-textilien {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  width: 70vw;
  margin: 50px auto;
}

.tab-sieb-transferdruck img,
.tab-sticken img,
.tab-beschriftungen img,
.tab-textilien img {
  width: 40vw;
  -o-object-fit: cover;
  object-fit: cover;
}

.tab-sieb-transferdruck .info,
.tab-sticken .info,
.tab-beschriftungen .info,
.tab-textilien .info {
  width: 40vw;
  padding-left: 50px;
}

.hidden {
  display: none;
}

/* ------------ */
/* 08: Über Uns */
/* ------------ */

#ueber-uns .info {
  width: 60vw;
  margin: 50px auto;
}

/* ----------- */
/* 09: Kontakt */
/* ----------- */
#kontakt .info {
  display: flex;
  justify-content: space-around;
  margin: 50px auto;
  width: 80vw;
}

#kontakt .kontaktdaten,
#kontakt .anfahrt {
  width: 40vw;
  padding: 20px;
}

.anfahrt img {
  width: 100%;
  box-shadow: var(--boxshadow);
  cursor: pointer;
  margin-top: 50px;
  position: relative;
}

.anfahrt img:hover {
  opacity: 0.5;
}

/* ---------- */
/* 10: footer */
/* ---------- */

footer {
  background-color: var(--ter-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 75px 0;
  margin: 0 auto;
}

footer img {
  width: 300px;
}

footer .links {
  margin-top: 40px;
  display: flex;
  gap: 20px;
}

.links a {
  font-family: interstate-comp, sans-serif;
  font-size: var(--info-text-size);
  cursor: pointer;
}

.links a:hover {
  text-decoration: underline;
  color: var(--sec-color);
}

.icons {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 40px 0;
}

.icons img {
  width: 35px;
  cursor: pointer;
}

.icons img:hover {
  opacity: 0.7;
}

.agb,
.impressum {
  width: 70vw;
  margin: 50px auto;
}
/* ____________________________________________________________________________ */

@media (max-width: 1200px) {
  .hamburger-menue {
    display: block;
  }

  .hamburger {
    position: absolute;
    top: 75px;
    right: 30px;
    margin-left: -2em;
    margin-top: -50px;
    width: 2em;
    height: 45px;
    z-index: 5;
  }

  .hamburger div {
    position: relative;
    width: 50px;
    height: 6px;
    border-radius: 3px;
    background-color: var(--qui-color);
    margin-top: 10px;
    transition: all 0.3s ease-in-out;
  }

  #toggle:checked + .hamburger .top-bun {
    transform: rotate(-45deg);
    margin-top: 25px;
  }
  #toggle:checked + .hamburger .bottom-bun {
    opacity: 0;
    transform: rotate(45deg);
  }
  #toggle:checked + .hamburger .meat {
    transform: rotate(45deg);
    margin-top: -7px;
  }

  nav .main-nav {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: 0;
    left: 0;
    flex-direction: column;
    justify-content: center;
    width: 100vw;
    padding: 20px 0;
    background: var(--qua-color);
  }

  .main-nav li {
    margin: 20px 0;
  }

  header {
    height: auto;
  }

  .startdescription {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: auto;
    padding: 100px 25px 20px 25px;
  }

  #news img {
    width: 80vw;
  }

  .tab-auswahl img {
    height: 100px;
  }

  .tab-auswahl li {
    width: 175px;
    height: 250px;
  }

  .tab-sieb-transferdruck,
  .tab-sticken,
  .tab-beschriftungen,
  .tab-textilien {
    width: 90vw;
  }

  .tab-sieb-transferdruck img,
  .tab-sticken img,
  .tab-beschriftungen img,
  .tab-textilien img {
    width: 40vw;
  }
}

/* ____________________________________________________________________________ */

@media (max-width: 900px) {
  :root {
    /* font-size */
    --bigtitle-size: 30px;
    --title-size: 26px;
    --semi-title-size: 18px;
    --text-size: 14px;
    --info-text-size: 11px;
  }

  h2,
  h3,
  h4,
  h5 {
    margin: 25px auto 12.5px;
  }

  #news,
  #ueber-uns,
  #kontakt,
  #dienstleistung {
    padding: 25px 0;
  }

  header {
    background-position-y: 0;
  }

  nav {
    padding: 10px 15px;
  }

  #news img {
    width: 95vw;
  }

  .tab-auswahl {
    margin: 0 auto;
  }

  .tab-auswahl li {
    width: 75px;
    height: 75px;
    padding: 10px;
    gap: 20px;
    font-size: var(--text-size);
  }

  .tab-auswahl img {
    width: auto;
    height: 100%;
  }

  .tab-auswahl p {
    display: none;
  }

  .tab-sieb-transferdruck,
  .tab-sticken,
  .tab-beschriftungen,
  .tab-textilien {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    margin: 25px auto;
  }

  .tab-sieb-transferdruck .info,
  .tab-sticken .info,
  .tab-beschriftungen .info,
  .tab-textilien .info {
    width: auto;
    padding-left: 0;
  }

  .tab-sieb-transferdruck img,
  .tab-sticken img,
  .tab-beschriftungen img,
  .tab-textilien img {
    width: 80vw;
    padding-top: 50px;
  }

  #ueber-uns .info {
    width: 90vw;
    margin: 25px auto;
  }

  #kontakt .info {
    flex-direction: column;
    margin: 0 auto;
    width: 90vw;
    padding: 25px 0 0 0;
  }
  #kontakt .kontaktdaten,
  #kontakt .anfahrt {
    width: auto;
    padding: 0 0 25px 0;
  }

  footer {
    padding: 40px 0;
  }

  footer img {
    width: 200px;
  }
}
