@font-face {
  font-family: "CabinetGrotesk";
  src: url(../fonts/CabinetGrotesk-Light.woff) format(woff);
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "CabinetGrotesk";
  src: url(../fonts/CabinetGrotesk-Regular.woff) format(woff);
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "CabinetGrotesk";
  src: url(../fonts/CabinetGrotesk-Bold.woff) format(woff);
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "CabinetGrotesk";
  src: url(../fonts/CabinetGrotesk-Black.woff) format(woff);
  font-weight: 900;
  font-style: normal;
}

:root {
  --base-font: CabinetGrotesk, sans-serif;
  --sonnengelb: #FFD82C;
  /* #FFD30D;*/
  --badasslila: #7C16A2;
  --warmrot: #EA0930;
  /* #DB3854; #FF4766; #FF4F6C; */
  --standardwinkel: -3deg;
}

* {
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  font-family: var(--base-font);
  padding: 0;
}

body {
  color: var(--badasslila);
  font-size: 1em;
  font-weight: 400;
  text-align: left;
  padding: 0;
  background-color: var(--sonnengelb);
}

article, aside, details, figcaption, figure, footer, header, main, nav, section, summary {
  display: block;
}

strong, b {
  font-weight: 700;
}

em, i {
  font-style: italic;
}

small {
  font-size: 0.8rem;
}

header {
  background-color: var(--badasslila);
  width: 100vw;
  min-height: 10vh;
  position: fixed;
  padding: 5vh 10vw;
  margin-top: 5vh;
  transform: skewY(var(--standardwinkel));
  color: var(--sonnengelb);
  z-index: 10;
}

#title {
  font-size: 3rem;
  line-height: 2.5rem;
  font-weight: 900;
  align-self: flex-end;
}

main {
  margin: 0 auto;
  scroll-snap-type: y mandatory;
  height: 100vh;
  overflow: scroll;
}

.slide {
  width: 100vw;
  min-height: 100vh;
  padding: 17rem 10vw 1rem 10vw;
  scroll-snap-align: start;
  font-size: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-content: space-around;
  flex-wrap: wrap;
}

main h1,
main p {
  margin-bottom: 1rem;
}

main h1 {
  /*font-size: 2em;*/
  font-weight: 700;
  color: var(--badasslila);
}

main p {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

main a:link {
  color: var(--warmrot);
}

main a:hover {
  color: #CC0022;
}

main a:visited {
  color: var(--badasslila);
}

.rahmen {
  width: 60vh;
  height: 60vh;
  flex-shrink: 0;
}

.foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hallo-box {
  display: flex;
  gap: 3rem;
}

.hallo-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 1400px) {
  .rahmen {
    width: 40vw;
    height: 40vw;
  }

  .slide {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
  }

  .rahmen {
    align-self: flex-start;
    margin: 1rem 0;
    width: 40vw;
    height: 40vw;
    transform: skewY(0deg);
    float: none;
  }

  .hallo-box {
    flex-direction: column;
    gap: 1rem;
  }
}
