@font-face{
  font-family: 'Object Sans';
  src: url('../fonts/ObjectSans-Bold.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
}

@font-face{
  font-family: 'Object Sans';
  src: url('../fonts/ObjectSans-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

* {
  font-family: 'Object Sans', sans-serif;
}

/* DEFAULTS */

p {
  font-family: 'Object Sans', serif;
}

/* CONTAINER */

body {
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.overlay {
  pointer-events: none;
  touch-action: none;
}

#fullpage {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: auto;
}

section {
  width: 100%;
  height: 100vh;
  height: 100dvh;
}

section#top {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  position: fixed;
  z-index: 9999;
}

.container {
  display: grid;
  grid-auto-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  grid-auto-flow: column;
  height: 100%;
  width:100%;
  margin: 0;
  max-width: 100%;
}

.firstchild {
  padding: 40px;
}

section:not(#top) .firstchild {
  display: flex;
  align-items: flex-end;
  margin-top: 200px;
}

#top .thirdchild {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  align-items: center;
  padding: 40px;
}

/* IMG */

.logo img {
  width: 100px;
}

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

.twl-logo img {
  width: 100%;
  padding: 40px;
}

/* VIDEO */

.video {
  height: 100%;
  width: 100%;
  object-fit: cover;
  clip-path: inset(1px 1px);
}

/* TYPO */

.greeting-text {
  font-family: 'Object Sans', sans-serif;
  font-size: 22px;
}

.greeting-text a {
  font-weight: bold;
  color: black;
  text-decoration: none;
}

.guidetext {
  display: flex;
  align-items: flex-end;
  height: 850px;
}

.text-center {
  text-align: center;
}

.name-container {
  display:flex;
  font-size: 1.5vw;
  line-height: 1.1;
}

.text-center {
  font-size: 1.1vw;
}

.name-container p {
  margin: 0;
}

.person p {
  margin: 0;
  font-size: 14px;
  color: black;
}

.person {
  text-decoration: none;
}

.person p:nth-of-type(2) {
  font-weight: bold;
}

/* BUTTONS */

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  background-color: #9EB091;
  color: white;
  font-size: 1.1vw;
  border-radius: 25px;
  border: 0px;
  padding: 10px 30px;
  transition: all ease 0.5s;
  pointer-events: all;
}

.button:hover {
  background-color: #728168;
}

.volume {
  width: 30px;
  height: 30px;
  top: 40px;
  right: 40px;
  align-self: flex-end;
  position: fixed;
  pointer-events: all;
  touch-action: auto;
  cursor: pointer;
  background-size: contain;
  background-repeat: no-repeat;
}

.volume.on {
  background-image: url('../img/volume.svg');
}

.volume.off {
  background-image: url('../img/volume-off.svg');
}

/* MENU */

.menu {
  position: fixed;
  z-index: 9995;
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  overflow: scroll;
  pointer-events: none;
  touch-action: none;
  overflow-x: hidden;
}

.menu.open {
  position: fixed;
  z-index: 9995;
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  overflow: scroll;
  pointer-events: all;
  touch-action: auto;
}

.menu #burger {
  position: fixed;
  top: 35px;
  right: 30px;
  flex-direction: column;
  gap: 5px;
  pointer-events: all;
  touch-action: auto;
}

.menu #burger span {
  width: 30px;
  height: 3px;
  background-color: black;
  border-radius: 2px;
  transition: all ease-in-out 0.2s;
}

.menu #burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}

.menu #burger.open span:nth-child(2) {
  transform: rotate(-45deg);
}

.menu #burger.open span:nth-child(3) {
  background-color: transparent;
}

.menu.open .menu-content {
  opacity: 100%;
  pointer-events: all;
  touch-action: auto;
}

.menu-content {
  opacity: 0%;
  background-color: white;
  width: 100%;
  transition: all ease 0.2s;
  pointer-events: none;
  touch-action: none;
}

.menu-content-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  gap: 30px;
  padding: 120px 30px 30px 30px;
}

.menu-content-inner .twl-logo img {
  padding: 0;
}

.menu .menu-content .menu-content-inner .button {
  pointer-events: none !important;
  touch-action: none !important;
}

.menu.open .menu-content .menu-content-inner .button {
  pointer-events: all !important;
  touch-action: all !important;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  row-gap: 30px;
  padding: 0 20px;
}

.gallery .person-image img {
  width: 100%;
  height: 100%;
  border: 3px solid #9EB091;
  border-radius: 50%;
}

/* MOBILE */

@media screen and (max-width: 1000px) {
  #top .thirdchild >:not(.volume) {
    display: none;
  }
  
  #top .thirdchild .volume {
    top: calc(100% - 65px);
    right: 30px;
    width: 20px;
    height: 20px;
    padding: 10px;
    background-color: white;
    border-radius: 50%;
    background-size: 20px 20px;
    background-position: center;
    -webkit-box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.19); 
    box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.19);
  }

  #top .firstchild {
    padding: 30px;
  }

  .greeting-text a {
    color: white;
    text-decoration: underline;
  }

  .firstchild {
    padding-bottom: 100px;
  }

  #top .firstchild .logo img {
    width: 80px;
  }

  p.text-center {
    line-height: 1.5rem;
  }

  p.text-center b {
    line-height: 1.5rem;
  }
  
  .person p {
    line-height: 1.1rem;
  }

  section:not(#top) .firstchild {
    margin-top: 0;
    align-items: center;
    position: absolute;
    z-index: 9991;
    align-self: flex-end;
    color: white;
    padding-left: 30px;
    padding-bottom: 25px;
  }

  .name-container {
    font-size: 7vw;
    line-height: 1.1;
  }

  #start .firstchild {
    background: linear-gradient(360deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6924019607843137) 22%, rgba(0,0,0,0.4290966386554622) 53%, rgba(255,255,255,0) 100%);
  }

  section:not(#top) .container {
    display: flex;
    position: relative;
  }

  .menu #burger {
    display: flex;
  }

  .button {
    font-size: 4vw;
  }

  .text-center {
    font-size: 4vw;
  }

  .video {
    clip-path: none;  
  }
}

/* TABLET */
@media screen and (min-width: 650px) and (max-width: 1000px) {
  .text-center,
  .button,
  .person p {
    font-size: 22px;
  }

  .menu-content-inner {
    padding: 120px 60px 60px 60px;
  }

  #top .thirdchild .volume {
    width: 40px;
    height: 40px;
    top: calc(100% - 95px);
    right: 30px;
    background-size: 40px 40px;
  }
}