@font-face {
  font-family: velvelyne;
  src: url(fonts/Velvelyne-Regular.woff2);
}

@font-face {
  font-family: velvelyne;
  src: url(fonts/Velvelyne-Bold.woff2);
  font-weight: bold;
}

@font-face {
  font-family: zirkon;
  src: url(fonts/zirkon02.woff2);
}

body {
  font-family: velvelyne;
  font-size: 16px;
  letter-spacing: 0.4px;
  line-height: 1.2;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 3fr;
  /* sidebar | main */
  height: 100vh;
  /* full viewport height */
  cursor: url("cursor/cursor_regular.svg") 4 4, auto;
}

a, button, [role="button"] {
  cursor: url("cursor/cursor_full.svg") 4 4, pointer;
}

@media (max-width: 720px) {
  body {
    display: block;
  }
}

header {
  padding: 1rem;
}

@media (min-width: 720px) {
  header {
    display: none;
  }
}

aside {
  position: sticky;
  height: 100vh;
  padding: 0 1rem;
}

@media (max-width: 720px) {
  aside {
    display: none;
  }

  aside.keep {
    display: block;
    position: unset;
    height: auto;
  }
}

main {
  overflow-y: auto;
  /* main content scrolls */
  padding: 1rem 1rem 0;
}

main.project {
  padding: 1rem 1rem;
}

main p {
  margin-left: calc(66.6% + .25rem);
  padding-bottom: 1rem;
}

@media (max-width: 720px) {
  main p {
    margin-left: 0;
    text-align: right;
  }
}

main section:last-child p {
  padding-bottom: 0;
}

aside article p {
  margin: 0;
}

aside>p {
  width: 75%;
}

header p {
  margin: 0 0 .5rem;
}

.span2rows {
  grid-row-end: span 2;
}

.span2columns {
  grid-column: span 2;
}

p a {
  color: black;
}

p a::before {
  content: "→"
}

p a:hover {
  text-decoration: none;
}

aside section {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: .5rem;
  padding: 1rem 0;
}

aside.keep section {
  padding: 0;
}

article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}

aside article {
  display: block;
}

.three {
  display: grid;
  gap: .5rem;
  grid-template-columns: 1fr 1fr 1fr;
}

.four {
  display: grid;
  gap: .5rem;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.five {
  display: grid;
  gap: .5rem;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

img {
  max-width: 100%;
  height: auto;
  margin: 0;
}

.eightypercent {
  grid-column: 1 / -1;
  width: calc(75% - .25rem);
  justify-self: end;
}

.eightypercentflipped {
  grid-column: 1 / -1;
  width: calc(75% - .25rem);
}

.fiftypercent {
  width: calc(50% - .1rem);
  justify-self: end;
}

.fullrow {
  grid-column: 1 / -1;
}

.emptyrow {
  grid-column: 1 / -1;
  height: 1.2em;
}

.focus {
  display: grid;
  gap: .5rem;
  grid-template-columns: 1fr 2fr;
}

.focusflipped {
  display: grid;
  gap: .5rem;
  grid-template-columns: 2fr 1fr;
}

#email {
  position: absolute;
  bottom: 0;
}

#fontpreview {
  font-family: zirkon;
  font-size: 8vw;
  outline: none;
  margin: .5rem 0 -.8rem;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: -2px;
  overflow-wrap: break-word;
  cursor: url("cursor/cursor_full.svg") 4 4, pointer;
}

.spin_container {
  justify-self: right;
  width: 60%;
  padding: 0 1rem;
}

.spin {
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

#mappe_fotobuch_foto_01 {
  transform: rotate(4deg);
}