html,
body {
  font-family: "favorit", sans-serif;
   max-width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    background-color: white;
}

body {
  background-color: white;
  -moz-user-select: none;
   -khtml-user-select: none;
   -webkit-user-select: none;

   /*
     Introduced in Internet Explorer 10.
     See http://ie.microsoft.com/testdrive/HTML5/msUserSelect/
   */
   -ms-user-select: none;
   user-select: none;
}

a {
  color: inherit; /* blue colors for links too */
  text-decoration: inherit; /* no underline */
}

#fader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    pointer-events: none;
    background: white;
    animation-duration: 300ms;
    animation-timing-function: ease-in-out;
}


#name {
  position: fixed;
  color:black;
  top:25px;
  left:30px;
  font-size:12px;
  letter-spacing:.005em;
  word-spacing:.14em;
}

.mob-title {
  visibility:hidden;
  
}

#mob-nav {
  visibility:hidden;
  display:none;

}

#mob-info {
  display:none;
}



#descopen {
  color:grey;
  position:fixed;
  top:25px;
  left:200px;
  font-size:12px;

  height:14px;
}

#desc {
  color:grey;
   position:fixed;
   top:30px;
   left:300px;
    font-size:12px;
    line-height: 12px;
      display:none;
}

#descopen:hover {
  cursor:pointer;
  color:grey;
}

#navbright {

  position: fixed;
  color:lightgrey;
  bottom:8px;
  right:30px;
  text-align:right;
  font-size:10px;
  letter-spacing:.005em;
  word-spacing:.14em;
}


/* carousel */
main section {
  width: 100%;
  min-height: 100vh;
  padding: 4rem 0;

}
main section .carousel-container {
  width: 100%;
  height: 40rem;
  padding: 0;
  position: relative;
  overflow: hidden;
  border-radius: 0.375rem;
  background-color:white;
}

/* item in carousel */
main section .carousel-container .item {
  width: 100%;
  height: 100%;
  position: relative;
  display: none;
  animation: fade 0.5s ease-in-out;
}

/* number text */
main section .carousel-container .item .numbertext {

  position: fixed;
  top: 25px;
  right: 30px;
  font-size: 12px;
  color: grey;
  font-family: "favorit";
  
}

/* images */
main section .carousel-container .item .image {
  width: 100%;
  height: 100%;
  display: flex;
}
main section .carousel-container .item .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* subtext */
main section .carousel-container .item .text {
  width: 100%;
  padding: 0.625rem 0.9375rem;
  position: absolute;
  bottom: 0;
  font-size: 0.9rem;
  color: #f2f2f2;
  background-color: rgba(0, 0, 0, 0.9);
}
/* subtext title */
main section .carousel-container .item .text .title {
  margin: 0.5rem 0 0 0;
  font-size: 1.2rem;
  font-weight: normal;
}
/* pev next */

#lbutprev {
  width:50vw;
  height:100vh;
  position:absolute;
}

#lbutnext {
  width:50vw;
  height:100vh;
  position:absolute;
}

main section .carousel-container .prev,
main section .carousel-container .next {
  width: 2rem;
  height: 2rem;
  padding: 0.3125rem;
  position: absolute;
  top: calc(50% - 1rem);
  user-select: none;
  font-size: 1rem;
  color: #f2f2f2;
  border-radius: 50%;
  transition: 0.6s ease;

}
main section .carousel-container .prev:focus, main section .carousel-container .prev:hover,
main section .carousel-container .next:focus,
main section .carousel-container .next:hover {
  background-color: rgba(0, 0, 0, 0.9);
}
main section .carousel-container .prev {
  left: 0.8rem;
}
main section .carousel-container .next {
  right: 0.8rem;
}
main section .carousel-container .dots {
  padding: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
main section .carousel-container .dots .dot {
  width: 0.625rem;
  height: 0.625rem;
  margin: 0 0.125rem;
  display: inline-block;
  cursor: pointer;
  border-radius: 50%;
  background-color: #bbb;
  transition: background-color 0.6s ease;
}
main section .carousel-container .dots .dot:focus, main section .carousel-container .dots .dot:hover {
  background-color: #717171;
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-out {
    from { opacity: 1 }
      to { opacity: 0 }
}

@keyframes fade-in {
    from { opacity: 0 }
      to { opacity: 1 }
}

#fader.fade-out {
    opacity: 0;
    animation-name: fade-out;
}

#fader.fade-in {
    opacity: 1;
    animation-name: fade-in;
}

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