/*
    CSS Reset
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-weight: normal;
  font-size: 100%;
}

ol,
ul {
  list-style: none;
}

img,
video {
  width: 100%;
}

a {
  color: var(--foreground);
  text-decoration: none;
  cursor: pointer;
}

button {
  border-radius: 0;
}

/*
    Variables
*/

:root {
  --color-1: #151515;
  --color-2: #CCCCCC;
  --color-3: #999999;
  --color-4: #DDDDDD;
  --hightlight-color: #fcd303;
  /*--color-1: #008930;*/
  --font-size-1: 15px;
  --font-size-2: 13px;

  --background: rgb(255, 255, 255);
  --foreground: rgb(43, 44, 43);

  --card-background: #f9f9f9d1;
  --card-background-hover: #f1f1f1d1;

  --factor: 3;

  --load-animation-time: 1s;

  --dot-grid-bg: #f5f5f5;
  --dot-grid-dot: #d1d1d1;
}

/*
    Fonts
*/

@font-face {
  font-family: StMartin-Regular;
  src: url(../fonts/StMartin-Regular.ttf);
}


@font-face {
  font-family: StMartin-Medium;
  src: url(../fonts/StMartin-Medium.ttf);
}

@font-face {
  font-family: Switzer-Semibold;
  src: url(../fonts/Switzer-Semibold.ttf);
}

@font-face {
  font-family: Switzer-Regular;
  src: url(../fonts/Switzer-Regular.ttf);
}

@font-face {
  font-family: Switzer-Medium;
  src: url(../fonts/Switzer-Medium.ttf);
}

@font-face {
  font-family: Gambarino-Regular;
  src: url(../fonts/Gambarino-Regular.otf);
}

@font-face {
  font-family: CutiveMono;
  src: url(../fonts/CutiveMono-Regular.ttf);
}

@font-face {
  font-family: StMartin;
  src: url(../fonts/StMartin-Medium.ttf);
}


* {
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  -moz-font-feature-settings: "kern" 1;
  -ms-font-feature-settings: "kern" 1;
  -o-font-feature-settings: "kern" 1;
  -webkit-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  font-kerning: normal;

}

h1 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}







/*
    Styles
*/

#overlay {
  position: absolute;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  animation-name: overlay;
  animation-duration: var(--load-animation-time);
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  background-color: var(--background);
  border: 0px solid var(--color-2);

}

@keyframes overlay {
  0% {
    width: 200vw;
    height: 200vh;
  }

  89% {
    width: 200vw;
    height: 200vh;
    display: block;
    top: 0vh;
    left: 0vw;

  }

  100% {
    width: 0vw;
    height: 0vh;
    display: none;
    top: 50vh;
    left: 50vw;
  }
}

@keyframes no-scroll {
  0% {
    overflow-y: hidden;
  }

  89% {
    overflow-y: hidden;

  }

  100% {
    overflow-y: scroll;
  }
}

#tutorial-video {
  z-index: 2;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: Switzer-Regular;
  font-size: 17px;
  line-height: 22px;
  animation-duration: var(--load-animation-time);
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  position: relative;



}

.dot-grid {
  background-color: var(--dot-grid-bg);
  background-image: radial-gradient(var(--dot-grid-dot) 1px, transparent 1px);
  background-size: 16px 16px;
  background-position: 0 0;
}

.grid-background {
  background:
    linear-gradient(to right, #eee 1.5px, transparent 1px),
    linear-gradient(to bottom, #eee 1.5px, transparent 1px);
  background-size: 200px 200px;
  background-color: white;
  background-position: 100px;
}

body.no-overflow {
  overflow-x: hidden;

}

.no-break {
  word-break: keep-all;
}

header {
  display: flex;
  padding: 64px 90px;
  top: 0px;
  left: 0px;
  width: 100vw;
  column-gap: 28px;
  flex-wrap: wrap;
  pointer-events: none;
  z-index: 9999;
}

#logotype {
  display: flex;
  margin-right: 13px;
  pointer-events: all;
  align-items: center;
  padding: 8px;
  border-radius: 5px;
}

#logotype a {
  display: flex;
  align-items: center;
}


button,
header a {
  background-color: transparent;
  border: none;
  color: var(--color-3);
  font-size: 14px;
  font-family: Switzer-Medium;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: 0.275s;

}

#header-bar {
  background-color: #ffffffe0;
  border: 1px solid var(--color-4);
  backdrop-filter: blur(5px);

  display: flex;
  column-gap: 16px;
  padding: 0px 24px;
  border-radius: 5px;
  pointer-events: all;
  margin: 8px;

  position: relative;
  z-index: 9999;

}

#header-bar button {
  color: #767676;
}

#header-bar button:hover {
  color: var(--color-1);
  transition: 0.275s;
}

#header-bar button.inactive {
  color: #BCBCBC;
  cursor: default;
}

#get-in-touch {
  background-color: #ffffffe0;
  border: 1px solid var(--color-4);
  backdrop-filter: blur(5px);

  display: flex;
  column-gap: 16px;
  padding: 0px 24px;
  border-radius: 5px;
  pointer-events: all;
  margin: 8px;

  position: relative;
  z-index: 9999;

  margin-left: auto;
}

#get-in-touch button {
  color: #585858;

}

#get-in-touch #git-mail {
  display: none;
}

#get-in-touch:hover #git-mail {
  display: block;
}


#get-in-touch:hover #git-text {
  display: none;
}







button:hover:not(.inactive),
a:hover,
button.active {
  color: var(--color-1);
  transition: 0.275s color;
}

button.inactive {
  color: #BCBCBC;
  cursor: default;
}

#checkout {
  /*border-top: solid 1px var(--color-2);
  border-bottom: solid 1px var(--color-2);*/
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
  padding: 32px;
  border-radius: 5px;
}

stripe-buy-button {
  filter: drop-shadow(0px 1px 6px #00000011);
}

#name {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-top: 3px;
  padding-bottom: 5px;
  color: var(--color-1);

}

#name {
  vertical-align: middle;
  font-family: Switzer-Semibold;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 0.15px;
}

#logo {
  width: 50px;
  margin-right: 12px;
}

#logo:hover {
  transform: scaleX(-1);
}

.draggable {
  position: absolute;
  background-color: var(--background);
  border: 1px solid var(--color-2);
  width: calc(210px * var(--factor));
  height: calc(290px * var(--factor));
  overflow: hidden;
  padding: 45px;
  cursor: grab !important;

}

.draggable.dragging {
  filter: drop-shadow(0px 0px 10px #00000022);
  transition: filter 0.1s;
  cursor: grabbing;

}


#tutorial-video {
  width: 260px;
  height: 260px;
  padding: 0;
}

#tutorial-video:before {
  display: none;
}


.read-more {
  cursor: pointer;
}

.read-more-marker {
  position: absolute;
  bottom: 15px;
  right: 35px;
  background-color: var(--background);
  padding: 8px;
  padding-top: 7px;
  text-align: center;
  z-index: 1;
  font-family: Switzer-Regular;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 0.15px;
  color: var(--color-3);
  border: 1px solid var(--color-2);
  transition: 0.2s;
}

.read-more-marker:hover {
  transition: 0.2s;
  color: var(--color-1);
  border: 1px solid var(--color-1);

}

.draggable:before {
  background: none;
  border-bottom: 100px solid var(--background);
  content: "";
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  pointer-events: none;
  z-index: 1;
}

.draggable.holed {
  padding-left: 100px;
}

.hole-1,
.hole-2 {
  position: absolute;
  background-color: var(--background);
  border: solid 1px var(--color-2);
  border-radius: 100%;
  width: 20px;
  height: 20px;
  left: 40px;
  top: calc(50% - 120px);
}

.hole-2 {
  top: calc(50% + 120px);

}

.draggable.folded {
  height: calc(96px * var(--factor));

}

.draggable.unfolded {
  height: calc(672px * var(--factor));
}

.draggable.unfolded .read-more-marker,
.draggable.unfolded .fold-top {
  display: none;
}

.draggable.folded *.hidden-in-fold {
  position: absolute;
  border-top: solid 1px silver;
  border-bottom: solid 1px silver;
  top: calc(96px * var(--factor));
  left: 0;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 30px;
  width: 100%;
  height: calc(96px * var(--factor));


}

.fold-top {
  background-color: var(--background);
  border-bottom: 1px solid var(--color-2);
  z-index: 100;
  position: absolute;
  width: 100%;
  height: 8px;
  top: 0px;
  left: 0px;
  transition: height 0.5s;
}

.draggable:hover *.fold-top {
  height: 5px;
  transition: height 0.5s;
}

.date {
  position: absolute;
  right: 24px;
  top: 21px;
  font-size: 14px;
  font-family: CutiveMono;
  transform: rotate(-2deg);
  color: var(--color-3);
}

.klammer {
  background-color: var(--color-2);
  position: absolute;
  width: 25px;
  height: 2px;
  top: 23px;
  left: 25px;
  border-radius: 1px;
  transform: rotate(-13deg);
}

.always-on-top {
  z-index: 1;
}

.ai-inside {
  position: absolute;
  width: 90px;
  left: 70px;
  top: 55px;
}

#text-box .ai-inside {
  width: 110px;

}

.pagination {
  position: absolute;
  width: 40px;
  left: calc(50% - 20px);
  color: var(--color-2);
}

.pagination::before {
  content: "-"
}


.pagination::after {
  content: "-"
}

div.typewriter {
  padding: 30px;
}

.typewriter {
  font-size: 16px;
  line-height: 20px;
  font-family: CutiveMono;

}

.typewriter.small {
  font-size: 12px;
  line-height: 16px;

}


.typewriter a {
  text-decoration: underline;
  cursor: pointer;
}

.typewriter h2 {
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.typewriter h2::before {
  content: "—— ";
}

.typewriter h2::after {
  content: " ——";
}

div.classic {
  font-family: Switzer-Regular;
  font-size: 15px;
  line-height: 22.5px;
  letter-spacing: 0.1px;
  hyphens: auto;
}

.classic p {
  margin-bottom: 26.5px;
}

.classic h2 {
  font-family: Gambarino-Regular;
  font-size: 64px;
  line-height: 78px;
  margin-top: 70px;
  margin-bottom: 50px;
  text-align: center;

}

.classic h2+h3 {
  margin-top: -30px;
}

.classic h3 {
  text-align: center;
  padding-left: 30px;
  padding-right: 30px;
  margin-bottom: 30px;
  font-family: Switzer-SemiBold;
  letter-spacing: 0.4px;
  hyphens: none !important;
}

.stmartin h2 {
  font-family: StMartin;
  letter-spacing: 0px;
}
.classic h4 {
  text-align: left;
}







#text-box .klammer {
  position: relative;
  top: -50px;
  left: -10px;

}

#text-box .date {
  right: -60px;
  top: -20px;
  transform: rotate(3deg);
  text-align: right;
  position: relative;

}


#text-box {
  position: relative;
  padding: 60px;
  margin-top: 130px;
  border: solid 1px var(--color-2);
  background-color: white;
  max-width: 800px;
  min-height: 1130px;

  z-index: 1;

  font-family: Switzer-Regular;
  font-size: 17px;
  line-height: 26px;
  hyphens: none;

  margin-left: auto;
  margin-right: auto;

  margin-bottom: 100px;

}

#text-box p {
  margin-bottom: 36px;
  max-width: 530px;
  letter-spacing: 0.3px;
}

#text-box p strong {
  font-family: Switzer-Semibold;
}


p.first::before {
  content: "●";
  font-size: 1.4em;
  position: relative;
  bottom: -0.07em;
  margin-right: 5px;
}

#text-box h2 {
  font-family: Gambarino-Regular;
  font-size: 82px;
  line-height: 78px;
  margin-top: 100px;
  margin-bottom: 60px;
  text-align: center;

  -moz-hyphens: none;
  -ms-hyphens: none;
  -webkit-hyphens: none;
  hyphens: none;

}

#text-box.typewriter p,
#text-box.typewriter h2,
#text-box.typewriter h3,
#text-box.typewriter h4,
#text-box.typewriter h5,
#text-box.typewriter h6 {
  font-size: 16px;
  line-height: 24px;
  font-family: CutiveMono;
  color: var(--color-1);
  text-align: left;
  border-bottom: none;
  padding: 0px;
  margin-bottom: 0px;
}

#text-box.typewriter h2 {
  text-align: center;
  margin-bottom: 24px;
  margin-top: 20px;
}

#text-box.typewriter {
  padding-left: 130px;
  padding-right: 80px;
}

#text-box h2+h3 {
  margin-top: -30px;
}

#text-box h3,
#text-box h4 {
  line-height: 26px;
  text-align: center;
  padding-left: 30px;
  padding-right: 30px;
  margin-bottom: 30px;
  font-family: Switzer-SemiBold;
  letter-spacing: 0.6px;
  hyphens: none !important;

}

#text-box h4 {
  text-align: left;
  margin-bottom: 20px;
  margin-top: 52px;
}




#text-box .caption,
.lightbox-caption {
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.3px;
  margin-top: 7px;
  margin-left: 56px;
  margin-bottom: 64px;
  text-indent: -20px;
}

.lightbox-caption {

  text-indent: 0px;
  margin-left: 0px;
  margin-top: 16px;

}

.caption::before {
  content: "┗━ ";
  letter-spacing: 0px;

}

#text-box a {
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: 0.175s;
}


#text-box a:hover {
  text-underline-offset: 4px;
  transition: 0.275s;
}

ol {
  list-style-type: number;
  margin-left: 20px;
  padding-right: 20px;
}

.note {
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0.3px;
  word-spacing: 0.8px;
  max-width: 500px;
  color: var(--color-3)
}

.note+.note {
  margin-top: 1em;
}

hr {
  border: none;
  border-top: solid 1px var(--color-2);
  margin-bottom: 37px;
  margin-top: 37px;
}













footer {
  font-family: Switzer-Regular;
  hyphens: none !important;
  text-align: center;
  color: var(--color-1);
  display: flex;
  flex-direction: column;
  padding: 90px;
  margin-left: auto;
  margin-right: auto;
  justify-content: space-between;
  flex-wrap: wrap;
  line-height: 1.4em;
  gap: 120px;
  position: relative;
}

.five-column {
  display: flex;
  flex-wrap: wrap;
}

.five-column>div {
  flex: 1;
  min-width: 150px;
  text-align: left;
}

.five-column>div p a {
  color: var(--color-1);
}

.five-column>div:first-of-type {
  flex: 2;
}

footer li {
  font-size: 15px;
}


footer a {
  color: var(--color-3);
}

footer #logotype a {
  color: var(--color-1);
}

footer a:hover {
  color: var(--color-1)
}

footer p {
  margin-bottom: 6px;
}

footer .copyright {
  font-size: 15px;
}







.corner {
  position: absolute;
  width: 20px;
  height: 20px;
  right: 0px;
  bottom: 0px;
  z-index: 100;
  border-top: solid 1px var(--color-2);
  border-left: solid 1px var(--color-2);
  transition: 0.2s;
}

.corner:before {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  transform: rotate(45deg) translateX(5px);
  background-color: var(--background);
  border: solid 1px var(--color-2);
  transition: 0.2s;
}

.draggable:hover .corner {
  width: 25px;
  height: 25px;
  transition: 0.2s;
}

.draggable:hover .corner:before {
  transform: rotate(45deg) translateX(8px);
  transition: 0.2s;

}

#cookie-banner {
  position: fixed;
  bottom: 0;
  width: 30%;
  min-width: 300px;
  background-color: var(--background);
  padding: 10px;
  z-index: 1000;
  border-top: solid 1px var(--color-2);
  border-right: solid 1px var(--foreground);


  font-family: Switzer-Regular;
  font-size: 12.5px;
  line-height: 18px;

}

div.center-content {
  width: 100%;
  display: flex;
  justify-content: center;
}

button.round {
  border: 1.5px solid var(--foreground);
  padding: 5px 13px;
  color: var(--foreground);
  height: 30px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

button.round:hover {
  transform: scaleX(-1);

}

button.buy-button {
  position: absolute;
  top: 50px;
  left: 50px;
  transform: rotate(-3deg) scale(1.2);
}

button.buy-button:hover {
  transform: scaleX(-1) rotate(3deg) scale(1.2);

}

#cookie-banner button {
  margin-top: 10px;
  margin-right: 5px;
  padding: 1px 15px;
  padding-top: 0px;
  background-color: var(--background);
  border-radius: 1px;
  cursor: pointer;

  color: var(--color);


  font-family: Switzer-SemiBold;
  font-size: 12.5px;
  line-height: 28.5px;
}

#cookie-banner #accept-cookies:hover::after {
  content: " :)";
  margin-left: 6px;
}

#cookie-banner #decline-cookies:hover::after {
  content: " :(";
  margin-left: 6px;
}

.imagebox {
  display: flex;
  align-items: center;
  justify-content: center;
}


#text-box img {
  margin-top: 32px;
}

.imagebox {
  margin-top: 64px;
}

#text-box .imagebox * {
  margin-top: 0px;

}



.imagebox.black {
  background-color: black;
}

.imagebox.twothirds picture {
  width: 66%;

}

.imagebox.half picture {
  width: 50%;

}

.imagebox.onethird picture {
  width: 30%;

}

.photo {
  width: 400px;
  height: 267px;
  padding: 0px;
  padding: 10px;
  background-color: black;
  background-clip: content-box;
  outline: 10px solid white;
  outline-offset: -11px;
  cursor: pointer;

}

.business_card {
  width: calc(350px * 0.75);
  height: calc(200px * 0.75);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 52px;
  font-family: StMartin-Medium;
  text-decoration: underline;
  text-decoration-thickness: 4.5px;
  column-gap: 15px;

}

.business_card:hover {
  text-decoration: none;
}

.business_card::before {
  border-bottom: none;
}

.social-icon {
  width: 42px;
}




.photo picture,
.photo img {
  height: 100%;
  object-fit: contain;
}

.photo p {
  position: absolute;
  top: 20px;
  left: 20px;
  margin-right: 20px;

  font-size: 14px;
  line-height: 16px;
  font-family: CutiveMono;

}

.photo.folded {
  height: 267px;
}

.photo.portrait {
  height: 400px;
  width: 267px;

}

.photo.bw {
  -webkit-filter: grayscale(100%);
  /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}

.photo.unfolded {
  background-color: white;
}

.photo.folded p {
  display: none;
}

.photo.unfolded picture {
  opacity: 0;

}

.photo.unfolded p {
  display: block;
}


.photo::before {
  display: none;
}

/*
button {
  background-color: white;
  font-family: Switzer-SemiBold;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding-left: 10px;
  padding-right: 10px;
  color: var(--color-1);
  border: solid 1.5px var(--color-1);
  border-bottom: solid 3px var(--color-1);
  border-radius: 50px;

}

button:hover {
  border-bottom: solid 1.5px var(--color-1);
  transform: translateY(2px);
}


#order-button {
  position: fixed;
  top: 0px;
  left: 0px;
  margin-left: 16px;
  margin-top: 100px;

  z-index: -1;

}

#scatter-button {
  position: fixed;
  top: 0px;
  left: 0px;
  margin-left: 16px;
  margin-top: 130px;
  z-index: -1;

}

*/


.indicators {
  position: fixed;
  top: 0px;
  left: 0px;
  margin: 15px;
  width: 20px;
  height: 20px;
  border-bottom: 1px solid var(--color-3);
  border-right: 1px solid var(--color-3);
}

#c2 {
  top: 0px;
  bottom: auto;
  right: 0px;
  left: auto;
  transform: rotate(90deg);
}

#c3 {
  top: auto;
  bottom: 0px;
  right: 0px;
  left: auto;
  transform: rotate(180deg);
}

#c4 {
  top: auto;
  bottom: 0px;
  right: auto;
  left: 0px;
  transform: rotate(-90deg);
}

.cv-entries {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
}

.cv-entries h4 {
  flex-basis: 100%;
  box-sizing: border-box;
  font-size: 0.8em;
  color: var(--color-3);
  letter-spacing: 0.8px;
  border-bottom: 1px solid var(--color-2);
  margin-top: 3em;
  margin-bottom: 1em;
  padding-bottom: 6px;
}

.entry h5 {
  font-family: Switzer-SemiBold;
  letter-spacing: 0.6px;
  margin-bottom: 0.6em;
  margin-top: 0.2em;
}

.entry h6 {
  font-size: 0.8em;
  color: var(--color-3);
  letter-spacing: 0.8px;
}


h2.stmartin,
#text-box h2.stmartin {
  font-family: StMartin-Medium;
  line-height: 100%;
  letter-spacing: 0px;

}








.table-wrapper {
  border: 2px solid var(--color-1);
  padding: 10px;
  padding-top: 5px;
  padding-bottom: 1px;
  margin-bottom: 1em;

}

table {
  width: 100%;
  padding: 5px;
  border-spacing: 0px;
  border-collapse: collapse;

}

tr {
  border-bottom: 2px solid var(--color-1);

}

tr:last-of-type {
  border-bottom: none;
}

td {
  padding-bottom: 12px;
  padding-top: 8px;
  vertical-align: top;

}

tr.header {
  font-family: Switzer-SemiBold;
  font-size: 1.1em;
  letter-spacing: 0.5px;
  border-bottom: 6px solid var(--color-1);
  border-top: 3px solid white;

}





.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: white;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: zoom-out;
  padding: 3vh 5vw;
}

.lightbox-overlay.show {
  display: flex;
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 100%;
  max-width: 100%;
  color: var(--color-1);
  text-align: center;
  overflow: hidden;
}

.lightbox-content img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 6vh - 4rem);
  object-fit: contain;
}

.lightbox-media {
  display: none;
  max-width: 90vw;
  max-height: 80vh;
}

.lightbox-media.show {
  display: block;
}

#reference-links a {
  margin-left: 1.5em;
  text-decoration: underline;
}

.reference-header {
  color: var(--color-3);
  font-family: CutiveMono;
}

.reference-highlight-span {
  color: var(--hightlight-color);
}

.reference-highlight::after {
  content: " ⁕";
  /*color: var(--hightlight-color);*/
  text-decoration: underline white;

}

#services {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: space-between;
  justify-content: center;
  font-size: 14px;
  line-height: 22px;
}

#services h5 {
  font-family: Switzer-SemiBold;
}

#services .card {
  flex-basis: 1;
  max-width: 210px;
  padding: 16px;
  border-radius: 5px;
  background-color: var(--card-background);
  transition: 4ms;
  position: relative;

}

#services .card p {
  margin-bottom: 4px;
}

#services .card:hover {
  background-color: var(--card-background-hover);
  transition: 7ms;
}

#services .card img {
  width: 100%;
  margin-top: 0px;
  margin-bottom: 8px;
}

.card {
  flex-basis: 1;
  padding: 16px;
  border-radius: 5px;
  background-color: var(--card-background);
  transition: 4ms;
  position: relative;
  hyphens: none;

}

.card>h4 {
  margin-top: 0px !important;
  padding-left: 0px !important;
}

.card>p {
  max-width: none !important;
}

.contact-table tr {
  border-bottom: none;
}

.contact-table td {
  padding: 0px;
}

.contact-table .contact-label {
  font-family: Switzer-SemiBold;
}

.contact-table tr td:first-of-type {
  width: 110px;
}

table.list-entry {
  hyphens: none;
}

table.list-entry tr {
  border: none;
}

table.list-entry td {
  padding: 0px;
  padding-right: 5px;
}

table.list-entry td:first-of-type {
  width: 110px;
}






#pen-button {
  position: fixed;
  right: 42px;
  bottom: 42px;
  z-Index: 10000;
  border-radius: 100%;
  border: none;
  cursor: pointer;
  color: #fff;
  width: 30px;
  height: 30px;
  background-image: url("/assets/icons/pen-active.svg");
  font-size: 0px;
}

#pen-button.active {
  background-image: url("/assets/icons/pen-inactive.svg");
}

#pen-button:hover {
  transform: scale(1.1);
}



.only-on-mobile {
  display: none;
}

#text-box p.no-margin {
  margin-bottom: 0px;
}


.target {
  position: absolute;
  transform: translateY(-30px);
}

#stamp {
  display: block;
  margin: auto;
  width: 50px;
  margin-top: 75px !important;
  margin-bottom: 50px;
}

#stamp:hover {
  transform: scaleX(-1);

}

#portrait {
  max-width: 300px;
  border-radius: 8px;
  display: block;
  margin: auto;
  margin-top: 75px !important;

}

#portrait~p.caption {
  padding-left: 50px;
  padding-top: 4px;
  max-width: 300px;
  display: block;
  margin: auto;
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media (max-width: 600px) {
  :root {
    --factor: 1.75;
  }

  .mobile-no-dot-grid {
    background-image: none;
    background-color: var(--background);
    
  }

  #pen-button {
    right: 24px;
    bottom: 24px;
  }

  .card tr td:first-of-type {
    max-width: none;
  }

  #services {
    gap: 10px
  }

  #services .card {
    flex-basis: calc(50% - 5px);
    padding: 12px;
    font-size: 13px;
    line-height: 19px;
  }

  header {
    justify-content: center;
  }

  #header-bar {
    width: 100%;
    justify-content: center;
    column-gap: 20px;
    padding: 8px 20px;
    margin: 0px;
  }

  #get-in-touch {
    display: none;
  }
  

  #header-bar button {
    font-size: 15.5px;
  }

  #logotype {
    padding: 16px;
  }


  .hidden-on-mobile {
    display: none;
  }

  .only-on-mobile {
    display: initial;
  }


  .five-column {
    flex-wrap: wrap;
    gap: 2em;
  }

  .five-column #logotype {
    display: none;

  }

  .five-column>div {
    text-align: left;
    flex: 1 1 45%;
    /* grow, shrink, basis */
    min-width: 45%;

  }

  footer {

    margin-bottom: 80px;
    /* reduce bottom margin for mobile */
    padding: 0px 24px;
  }

  footer li {
    font-size: 1em;
    line-height: 1.6em;
  }






  button.buy-button {
    position: initial;
    transform: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-top: 3px;
    margin-bottom: 26px;
  }

  button.buy-button:hover {
    transform: none;

  }

  .cv-entries .entry {
    flex-basis: 100%;
  }

  .photo {
    width: 300px;
    height: 200px;
    outline: 20px solid white;
    outline-offset: -21px;

  }

  .photo.folded {
    height: 200px;
  }

  .photo.portrait {
    height: 300px;
    width: 200px;

  }




  .imagebox.twothirds picture {
    width: 100%;

  }

  .imagebox {
    flex-direction: column;
  }

  #cookie-banner {
    text-align: center;
    width: 100%;
    border-right: none;
  }

  .typewriter {
    font-size: 14px;
    line-height: 16px;
    font-family: CutiveMono;

  }

  .draggable {
    padding: 20px;
  }

  .draggable:before {
    border-bottom: 30px solid var(--background);
  }

  .draggable.holed {
    padding-left: 50px;
  }

  .draggable.holed .hole-1,
  .draggable.holed .hole-2 {
    width: 13px;
    height: 13px;
    left: 20px;
    top: calc(50% - 120px);
  }

  .draggable.holed .hole-2 {
    top: calc(50% + 120px);
  }

  #text-box .hole-1,
  #text-box .hole-2 {
    display: none;
  }


  .classic h2 {
    font-size: 50px;
    line-height: 55px;
    margin-top: 30px;
    margin-bottom: 30px;


    -moz-hyphens: none;
    -ms-hyphens: none;
    -webkit-hyphens: none;
    hyphens: none;
  }

  .classic h2+h3 {
    margin-top: -10px;
  }


  .classic h3,
  #text-box h3 {
    line-height: 23px;
    margin-bottom: 20px;
  }

  #text-box h3 {
    line-height: 23px;
    margin-bottom: 26px;

  }

  p.caption {
    margin-bottom: 13.25px;
  }


  header {
    padding: 24px;
    column-gap: 20px;
    row-gap: 12px;
    display: flex;
    flex-wrap: wrap;

  }

  #logotype {
    margin-right: 10px;
    flex-basis: 100%;
  }

  body {
    overflow-x: hidden;
  }

  #text-box .klammer,
  #text-box .date,
  #text-box .pagination {
    display: none;
  }

  #text-box h2 {
    font-size: clamp(10px, 82px, 15vw);
    line-height: 1.16em;
    margin-top: 60px;
  }

  #text-box.typewriter h2 {
    margin-top: 60px;

  }

  #text-box.typewriter,
  #text-box {
    border: none;
    margin: 0;
    margin-top: 20px;
    padding-top: 0px;
    padding-left: 24px;
    padding-right: 24px;
    hyphens: auto;
    min-height: 0px;
  }


  .typewriter.small {
    font-size: 7px;
    line-height: 9px;

  }

  .caption {
    margin-right: 32px;
  }

  .caption::before {
    font-size: 12px;
  }

  .grid-background {
    background:
      linear-gradient(to right, #eee 1.5px, transparent 1px),
      linear-gradient(to bottom, #eee 1.5px, transparent 1px);
    background-size: 100px 100px;
    background-color: white;
    background-position: 50px;
  }

  .photo {
    padding: 10px;
    outline: 10px solid white;
    outline-offset: -11px;
  }

  .ai-inside {
    position: absolute;
    width: 40px;
    left: 25px;
    top: 30px;
  }

  #text-box .ai-inside {
    width: 60px;
    position: absolute;
    left: 25px;
    top: 0px;
    margin-top: -50px;


  }

  .indicators {
    margin: 7.5px;
    width: 12px;
    height: 12px;
  }


}





.type-rack {
  width: 200px;
  height: 200px;
  border: 2px solid #444;
  border-radius: 8px;
  background: rgba(240, 240, 240, 0.95);
  position: relative;
  overflow: hidden;
  margin: 1rem;
  display: inline-block;
  transform-origin: top center;
  transition: transform 0.3s ease-out;
}

.type-rack.swinging {
  animation: swing 0.6s ease-in-out infinite alternate;
}

@keyframes swing {
  0% {
    transform: rotate(-3deg);
  }

  100% {
    transform: rotate(3deg);
  }
}

.type-rack-inner {
  position: absolute;
  width: 100%;
  height: 100%;
}

.rack-letter {
  position: absolute;
  font-size: 2rem;
  user-select: none;
  pointer-events: none;
}

.type-rack {
  position: relative;
  /* Ensures child elements are contained */
  width: 400px;
  height: 600px;
  border: 1px solid black;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  /* or transparent */
  padding: 30px;
  display: flex;
  flex-direction: column;
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10 and IE 11 */
  user-select: none;
  /* Standard syntax */
}

.rack-letter {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(0, 0);
  /* Will be overridden by JS */
  will-change: transform;
  transform-origin: center center;
}

.type-rack {
  transform-origin: top center;
  transition: transform 0.1s linear;
}

.rack-wrapper {
  display: inline-block;
  transform-origin: center 40px;
  transition: transform 0.05s linear;
}

.blister {
  position: relative;
  margin-top: auto;
  width: 100%;
  height: 300px;
  /* Or set a specific height that matches your design */
  overflow: hidden;
  border: 1px solid silver;
  /* Solid border */
  border-radius: 12px;
  padding: 50px;
}


.blister-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.8), inset 0 0 8px rgba(255, 255, 255, 0.4);
  z-index: 10;
  background-color: #ffffff22;
}

.blister canvas {
  all: unset;
  display: block;
  width: 100% !important;
  height: 100% !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
  pointer-events: none;
  user-select: none;

}

.rack-peg {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 25px;
  height: 25px;
  background-color: white;
  border: 1px solid black;
  border-radius: 50%;
  z-index: 20;
}

body.pegs {
  background-color: white;
  background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='15' cy='15' r='1.5' fill='silver' /%3E%3C/svg%3E");
  background-size: 30px 30px;
  background-repeat: repeat;
  background-position: center;
}
