@font-face {
  font-family: "Moderat";
  src: url("/assets/fonts/moderat-regular-webfont.eot");
  src: url("/assets/fonts/moderat-regular-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("/assets/fonts/moderat-regular-webfont.woff") format("woff"),
    url("/assets/fonts/moderat-regular-webfont.ttf") format("truetype"),
    url("/assets/fonts/moderat-regular-webfont.svg#webfont") format("svg");
}

@font-face {
  font-family: "Moderat";
  font-weight: bold;
  src: url("/assets/fonts/moderat-bold-webfont.eot");
  src: url("/assets/fonts/moderat-bold-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("/assets/fonts/moderat-bold-webfont.woff") format("woff"),
    url("/assets/fonts/moderat-bold-webfont.ttf") format("truetype"),
    url("/assets/fonts/moderat-bold-webfont.svg#webfont") format("svg");
}

@font-face {
  font-family: "ZuniHand";
  src: url("/assets/fonts/Zubinski_hand-Regular.otf") format("opentype");
}

@font-face {
  font-family: "ZuniHand";
  font-weight: bold;
  src: url("/assets/fonts/Zubinskihand_bold-Regular.ttf") format("truetype");
}

/* qqvariables */
:root {
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.8rem;
  --spacing-md: 1rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 3.5rem;

  --font-size-small: clamp(0.7rem, 0.02vw + 0.69rem, 0.71rem);
  --font-size-regular: clamp(0.88rem, 0.19vw + 0.83rem, 1rem);
  --font-size-medium: clamp(1.09rem, 0.47vw + 0.98rem, 1.2rem);
  --font-size-large: clamp(1.37rem, 0.91vw + 1.14rem, 1.96rem);
  --font-size-extra-large: clamp(1.71rem, 1.59vw + 1.31rem, 2.74rem);
  --font-size-mega-large: clamp(2.14rem, 2.62vw + 2.8rem, 7rem);

  --brand-font: "BoogieSchoolSans";
  --body-font: "Work Sans";

  --color-red: #d8222a;
  --color-yellow: #ffe402;
}

html {
  font-size: 16px;
}

body {
  font-family: Moderat, Helvetica Neue, Helvetica, Arial, non-serif;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.5em;
  color: #d8232a;
}

p {
  font-size: 1.4rem;
  line-height: 1.4em;
}

p.has-small-font-size {
  font-size: 16px;
  line-height: 1.4em;
}

a {
  text-decoration: underline;
  color: #3a344e;
}

a:focus,
a:hover,
a:active {
  text-decoration: none;
  color: #3a344e;
}

header {
  padding-top: 40px;
  padding-bottom: 40px;
}

header section {
  display: flex;
  justify-content: space-between;
}

header .logo {
  max-width: 12vw;
  min-width: 230px;
  height: 100%;
  min-height: 100px;
  width: 100%;
  display: block;
}

header .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

header .logo .mobile-logo {
  display: none;
}

@media screen and (max-width: 768px) {
  header .logo .desktop-logo {
    display: none;
  }
  header .logo .mobile-logo {
    display: block;
  }
}

header nav a,
header nav span {
  color: #d8232a;
  font-family: ZuniHand, Helvetica Neue, Helvetica, Arial, non-serif;
  text-transform: uppercase;
  font-size: 24px;
  margin-bottom: 10px;
  transform: rotate(-0.5deg);
  font-weight: bold;
  text-decoration: none;
}

header nav a + a {
  padding-left: 10px;
}

header nav a:hover,
header nav a:focus {
  box-shadow: inset 3px 3px 0px #fff, inset 0px 29px 0px #ffe501;
  color: #d8232a;
}

header nav span {
  margin: 0 10px;
}

header nav a:last-child:after {
  content: "";
}

/**
 *
 * Headlines
 *
 */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: #d8232a;
  font-weight: normal;
}

h1,
h2,
h3 {
  font-family: ZuniHand, Helvetica Neue, Helvetica, Arial, non-serif;
}

h4,
h5,
h6 {
  font-family: Moderat, Helvetica Neue, Helvetica, Arial, non-serif;
}

h1,
h2 {
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  box-decoration-break: splice;
  -webkit-box-decoration-break: splice;
  /* z-index: 3; */
  line-height: 1.1;
  display: inline;
  height: 10px;
  background: transparent;
  line-height: 0.8;
  box-shadow: inset 10px 9px 0px #fff, inset 0px 49px 0px #ffe501;
}

footer h1,
footer h2 {
  box-shadow: inset 10px 9px 0px #ffe501, inset 0px 49px 0px #ffffff;
}
h1 {
  font-size: 80px;
}

h2 {
  font-size: 50px;
}

h3 {
  font-size: 44px;
  line-height: 1.2em;
  font-weight: bold;
}

h4 {
  font-size: 22px;
  line-height: 1.2em;
  font-weight: bold;
}

h5 {
  font-size: 22px;
  line-height: 1.2em;
  font-weight: bold;
}

h6 {
  font-size: 15px;
  line-height: 1.2em;
  text-transform: uppercase;
}

/**
 *
 * Star Shaped Circle Box
 *
 */

.star-shape {
  font-family: ZuniHand, Helvetica Neue, Helvetica, Arial, non-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  width: 210px;
  height: 210px;
  font-size: 24px;
  line-height: 0.8;
  margin: auto auto;
  border-radius: 50%;
  color: white;
  background-color: #d8232a;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-97 0 256 256' fill='%23d8232a' width='256'> <path d='M48 240 L48 16 L32 0 L16 16 L16 240 L32 256 Z' /></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-97 0 256 256' fill='%23d8232a' width='256' style='transform:rotate(16.36deg);'> <path  d='M48 240 L48 16 L32 0 L16 16 L16 240 L32 256 Z' /></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-97 0 256 256' fill='%23d8232a' width='256' style='transform:rotate(32.73deg);'> <path  d='M48 240 L48 16 L32 0 L16 16 L16 240 L32 256 Z' /></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-97 0 256 256' fill='%23d8232a' width='256' style='transform:rotate(49.09deg);'> <path  d='M48 240 L48 16 L32 0 L16 16 L16 240 L32 256 Z' /></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-97 0 256 256' fill='%23d8232a' width='256' style='transform:rotate(65.45deg);'> <path  d='M48 240 L48 16 L32 0 L16 16 L16 240 L32 256 Z' /></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-97 0 256 256' fill='%23d8232a' width='256' style='transform:rotate(81.81deg);'> <path  d='M48 240 L48 16 L32 0 L16 16 L16 240 L32 256 Z' /></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-97 0 256 256' fill='%23d8232a' width='256' style='transform:rotate(98.18deg);'> <path  d='M48 240 L48 16 L32 0 L16 16 L16 240 L32 256 Z' /></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-97 0 256 256' fill='%23d8232a' width='256' style='transform:rotate(114.54deg);'> <path  d='M48 240 L48 16 L32 0 L16 16 L16 240 L32 256 Z' /></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-97 0 256 256' fill='%23d8232a' width='256' style='transform:rotate(130.90deg);'> <path  d='M48 240 L48 16 L32 0 L16 16 L16 240 L32 256 Z' /></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-97 0 256 256' fill='%23d8232a' width='256' style='transform:rotate(147.27deg);'> <path  d='M48 240 L48 16 L32 0 L16 16 L16 240 L32 256 Z' /></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-97 0 256 256' fill='%23d8232a' width='256' style='transform:rotate(164.2deg);'> <path  d='M48 240 L48 16 L32 0 L16 16 L16 240 L32 256 Z' /></svg>");
  background-size: 100% 100%;
}

.star-shape a {
  display: inline;
  line-height: 0.8;
  color: white;
  padding: 0px;
}

.star-shape br:last-child {
  display: none;
}

/**
 *
 * Buttons
 *
 */

a.button {
  border: none;
  border-radius: 28px;
  box-shadow: none;
  color: inherit;
  cursor: pointer;
  display: inline-block;
  font-size: 18px;
  margin: 0;
  padding: 12px 24px;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: break-word;

  font-family: ZuniHand, Helvetica Neue, Helvetica, Arial, non-serif;
  font-size: 30px !important;
  border-radius: 0px !important;
  background-color: #d8232a !important;
  text-transform: uppercase;
  color: white;
  padding: 12px 24px;
  transition: all 300ms ease;
}

a.button.full-width {
  width: -webkit-fill-available;
  width: -moz-available;
  width: available;
}

a.button:hover,
a.button:focus {
  transform: scale(1.09);
}

main img:not(.custom-width) {
  width: 100%;
}

main figure {
  display: flex;
  place-content: center;
  padding: 0;
  margin: 0;
}

main figure img {
  object-fit: cover;
}

/* .col figure {
	height:100%;
} */

section {
  max-width: 1500px;
  width: 90%;
  margin: 0 auto;
  margin-bottom: 4vw;
}

footer {
  background-color: #ffe501;
  padding-bottom: 100px;
  padding-top: 100px;
  border-top: 2px solid #d8232a;
  position: relative;
  font-family: ZuniHand, Helvetica Neue, Helvetica, Arial, non-serif;
}

footer p {
  font-size: 30px;
  line-height: 1;
}

footer nav a {
  display: block;
  font-size: 30px;
  line-height: 1;
  color: #d8232a;
}

.footer-pflaster {
  position: absolute;
  right: 60px;
  top: 60px;
  height: 40px;
  display: block;
  width: 50px;
}

/*  12 COL GRID */
section.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

section.vertically-centered .grid {
  height: 100%;
}

section.vertically-centered .grid > * {
  align-items: center;
  display: flex;
}

.col-1 {
  flex-basis: 8%;
}

.col-2 {
  flex-basis: 16%;
}

.col-3 {
  flex-basis: 24%;
}

.col-4 {
  flex-basis: 32%;
}

.col-5 {
  flex-basis: 40%;
}

.col-6 {
  flex-basis: 48%;
}

.col-7 {
  flex-basis: 56%;
}
.col-8 {
  flex-basis: 64%;
}
.col-9 {
  flex-basis: 72%;
}
.col-10 {
  flex-basis: 80%;
}
.col-11 {
  flex-basis: 88%;
}
.col-12 {
  flex-basis: 100%;
}

@media screen and (max-width: 768px) {
  .col {
    flex-basis: 100%;
  }
}

#menu_toggle,
label[for="menu_toggle"] {
  display: none;
}
@media screen and (max-width: 768px) {
  header nav {
    position: relative;
  }
  label[for="menu_toggle"] {
    display: inline-block;
    border: 2px solid var(--color-red);
    padding: 10px;
    float: right;
    font-family: ZuniHand, Helvetica Neue, Helvetica, Arial, non-serif;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    place-content: center;
    border-radius: 3px;
    cursor: pointer;
  }
  .nav-items {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    border: 2px solid var(--color-red);
    z-index: 99;
    background-color: white;
    padding: 10px 10px 0px 40px;
    border-radius: 3px;
  }

  .nav-items span {
    display: none;
  }

  .nav-items a {
    display: block;
    text-align: right;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  header nav input:checked ~ .nav-items {
    display: flex;
    flex-direction: column;
  }
}

figure ul {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  margin: 0;
  padding: 0;
  gap: 2vh;
  margin-bottom: 20px;
  justify-content: space-between;
}

figure ul li {
  width: 23.5%;
  max-height: 50vh;
}

figure ul li img {
  height: 100%;
}
