*,
*:after,
*:before{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: 'Open Sans', sans-serif;
  user-select: none;
  scroll-behavior: smooth;
  background-color: #f0ae44;
  overflow-x: hidden;
}

a {
  color: currentColor;
  text-decoration: none;
}

.pdf a {
  max-width: 42rem;
}

strong, b {
  font-weight: 700;
}

img {
  width: 100%;
}

h1 {
  font-family: 'Reenie Beanie', cursive;
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
}

.materialblock h1 {
  max-width: 42rem;
  text-align: center;
  display: inline-block; 
  margin: 0 auto;
}

.materialblock h1:first-of-type {
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}

h2 {
  font-family: 'Reenie Beanie', cursive;
}

h3 {
  font-family: 'Reenie Beanie', cursive;
}

section {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

section:last-child {
  margin-bottom: 4em;
}

.materialblock {
  text-align: center;
  max-width: 60rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 12px
}

@media(max-width: 670px) {
  .materialblock {
  padding: 12px 16px 12px 16px;
}
}

.text {
  line-height: 1.5em;
  text-align: center;
}

.text p,
.text figure,
.text ul,
.text ol {
  margin-bottom: 1.5em;
}

.text ol, .text ul {
  text-align: center;
  list-style-position: inside;
}

.text h1 {
  margin-top: 2rem;
}

.text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.text > *:first-child {
  margin-top: 0;
}

.text a {
  position: relative;
  font-weight: 500;
  z-index: 1;
  display: inline-block;
  text-decoration: underline;
}

.text figure {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.text img {
  width: 100%;
}

.text-block-content {
  max-width: 42rem;
  text-align: center;
  display: inline-block; 
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  margin: 1.5em 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

figure.video-wrapper figcaption {
  display: none;
}

body {
  overflow: hidden;
}

body.open {
  overflow: hidden;
}

@media(max-width: 670px) {
.mob-wrapper {
  position: relative;
  overflow-x: hidden;
  overflow-y: hidden;
}
}


.draggable {
  pointer-events: initial;
  cursor: -webkit-grab;
  position: relative;
  margin-bottom: 2em;
}

@media(max-width: 670px) {
  .draggable {
    margin-bottom: 2.5em;
  }
}

.draggable:hover svg {
  visibility: hidden;
}

.container {
  max-width: 89rem;
  margin: auto;
  padding: 2.4rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  pointer-events: initial;
}

.objects img {
  max-width: 100%;
  display: block;
}

.objects {
  height: 100vh;
}

@media(max-width: 414px) {
  .objects {
  overflow: hidden;
}
}

.objects .object {
  position: absolute;
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%);
}

.object {
  cursor: pointer;
  background: white;
  /* border: 2px solid black; */
  border-radius: 50%;
  width: 100px;
  height: 100px;
}

.object:hover {
  background: black;
}

.small-objects {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 20px;
  left: 10px;
}

.small-object {
  position: fixed;
  top: 20px;
  left: 10px;
  cursor: pointer;
  background: white;
  /* border: 2px solid black; */
  border-radius: 50%;
  width: 30px;
  height: 30px;
}

.small-object:nth-of-type(2) {
  top: 80px;
  left: 40px;
  }

.small-object:nth-of-type(3) {
  top: 30px;
  left: 60px;
}


@media(max-width: 670px) {
  .small-object {
  top: 20px;
  left: 10px;
  width: 20px;
  height: 20px;
}
.small-object:nth-of-type(2) {
  top: 50px;
  left: 30px;
  }
.small-object:nth-of-type(3) {
  top: 80px;
  left: 10px;
}
}

.small-objects:hover .small-object {
   background: black;
}


@media (min-width: 960px) {
  .container {
    position: relative;
    left: -1em;
  }
}

[data-template="text"] .object {
  max-width: 60%;
  margin: 0 auto;
  padding: 2em;
}
[data-template="project"] {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.tooltip {
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 320px;
  color: black;
  position: absolute;
  bottom: 100%;
  left: 100%;
  margin-left: 10px;
  font-family: 'Reenie Beanie', cursive;
  font-size: 2em;
  z-index: 100;
  
  /* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
  opacity: 0;
  transition: opacity 1s;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.knot {
  max-width: 90px;
}

