@font-face {
  font-family: "Rodewoldt";
  src: url('../Rodewoldt_Sans.ttf') format('truetype');
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Rodewoldt";
  font-weight: normal;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-font-smoothing: antialiased;
}
*:focus {
  outline: none !important;
}
body::-webkit-scrollbar {
  display: none;
}
.no-select {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  height: 100dvh;
  width: 100vw;
  touch-action: manipulation;
}

h1 {
  margin-bottom: 24px;
}

nav {
  position: fixed;
  /* height: 84px; */
  width: calc(100% - 24px);
  max-width: 480px;
  margin: 12px;
  padding: 8px;
  border-radius: 6px;
  background-color: #f6f6f6;
  cursor: pointer;
  z-index: 100;
  /* left: 50%;
  transform: translateX(-50%); */
}

.menu-head {
  display: flex;
  justify-content: space-between;
}

#menu-button {
  padding: 10px;
  margin: -10px;
  transition: transform 0.25s;
}


.hide {
  opacity: 0;
  pointer-events: none;
  /* top: -500px !important; */
}

.grey {
  color: #A4A4A4;
}

.rotated {
  transform: rotate(45deg);
}

#menu-items,
#menu-items li ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
#menu-items {
  gap: 12px;
}
#menu-items li ul {
  gap: 6px;
}
#menu-items li,
.contact {
  list-style: none;
  display: flex;
}
#menu-items li > *,
.contact > * {
  flex: 1;
}

#about {
  position: absolute;
  top: calc(96px + 12px);
  margin: 0 12px;
  width: 100%;
  max-width: 480px;
}

.contact {
  padding-top: 16px;
}

.swiper {
  position: absolute;
  top: 96px;
  height: calc(100% - 96px);
  width: 100%;
  transition: opacity 0.25s;
  padding: 24px 12px;
}
.swiper-slide {
  background-color: white;
  /* PASSPARTOUT */
  /* padding: 12px; */
}

img {
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background-color: #f8f8f8;
}

.slideInfo {
  position: absolute;
  top: 48px;
  width: calc(100% - 16px);
  display: flex;
  flex-direction: column;
}
.slideInfo div:nth-child(1) {
  color: #A4A4A4;
}
.slideInfo div {
  display: flex;
  flex-direction: row;
}
.slideInfo div > * {
  flex: 1;
}
.slideCaption {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}
/* #captionWrapper {
  white-space: nowrap;
  overflow: hidden;
}
.slideCaption {
  display: inline-block;
  white-space: nowrap;
} */


/* .slidePagination::after {
  content: '►';
  font-size: 10px;
  margin-left: 12px;
} */


/* .swiper-button-prev,
.swiper-button-next {
  display: none;
  pointer-events: auto;
  width: 50%;
  height: 100%;
  top: 0;
  margin: 0;
}
.swiper-button-prev:after,
.swiper-button-next:after {
  content: none;
}
.swiper-button-prev {
  left: 0;
}
.swiper-button-next {
  left: 50%;
} */

a:link,
a:visited {
  text-decoration: none;
  color: black;
}

#cover-image {
  transition: opacity 10s ease-in;
}


.animate {
  position: relative;
  animation: leftright 5s infinite alternate linear;
}


@keyframes leftright {
  0%,
  20% {
    transform: translateX(0%);
    left: 0%;
  }
  80%,
  100% {
    transform: translateX(-100%);
    left: 100%;
  }
}


@media (hover: hover) and (pointer: fine) {

  #menu-button:hover {
    transform: rotate(22.5deg);
  }

  #menu-items li a:hover {
    color: #A4A4A4;
  }
  
}


@media screen and (max-width:1000px) {

  #menu-items {
    gap: 24px;
  }
  #menu-items li ul {
    gap: 12px;
  }

}