html {
  scroll-behavior: smooth;
}

main {
  max-width: 1120px;
  position: relative;
  margin: 0px auto;
}

.hide-lang {
  display: none;
}

.appear1 {
  display: none;
}

/*reveal and visible js*/
.reveal {
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: all 1s ease;
}
.reveal.active {
  transform: translateY(0px);
  opacity: 1;
}
.visible {
  position: relative;
  transform: translateX(150px);
  opacity: 0;
  transition: all 1s ease;
}
.visible.active {
  transform: translateX(0px);
  opacity: 1;
}

/* @font-face {
  font-family: Eyad Al-Samman - Ghibli-Bold;
  src: url(eyad/Eyad\ Al-Samman\ -\ Ghibli-Bold.otf);
}

@font-face {
  font-family: Eyad Al-Samman - Ghibli;
  src: url(eyad/Eyad\ Al-Samman\ -\ Ghibli.otf);
} */

@import url("https://fonts.googleapis.com/css2?family=Noto+Serif:wght@400;700&display=swap");

@font-face {
  font-family: Hiragino Kaku Gothic ProN W3;
  src: url(Hiragino\ Kaku\ Gothic\ ProN\ W3.otf);
}

body {
  margin: 0%;
}

article h1,
section h1 {
  font-size: 2.5em;
}

h1,
h2,
h3 {
  font-family: "Noto Serif", serif;
}

p {
  font-family: Hiragino Kaku Gothic ProN W3 !important;
  font-size: 15px;
}

/* NAV BAR */

.tab {
  z-index: 1;
  width: 100%;
  padding-top: 15px;
  padding-bottom: 15px;
  position: fixed;
  top: 0;
  margin: auto;
  background-color: white;
  text-align: center;
  justify-content: space-evenly;
}

.tab button {
  background: none;
  border: none;
  color: rgba(0, 0, 0, 0.5);
}

.tab button img {
  width: 100%;
}

.tablinks1 {
  max-width: 60px;
}

.tab a {
  text-decoration: none;
  color: #73b2c6;
  font-family: Hiragino Kaku Gothic ProN W3 !important;
}

.tab button.hover {
  color: black;
}

/* LANGUAGE */

.speed-dial {
  z-index: 1;
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.speed-dial__button--primary {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-items: center;
  padding: 18px;
  margin-bottom: 0;
  background-color: #73b2c6;
  color: white;
  border-radius: 50%;
  border: 1px white solid;
  transition: 0.3s;
}

.speed-dial__button--primary a {
  font-family: Hiragino Kaku Gothic ProN W3 !important;
  font-size: 17px;
  text-align: center;
  color: white;
  text-decoration: none;
}

.speed-dial__button--primary:hover {
  background-color: #4f9eb7;
}

/* .speed-dial {
  z-index: 1;
  position: fixed;
  bottom: 15px;
  right: 15px;
}

.speed-dial__options {
  position: absolute;
  bottom: 100%;
  width: 100%;
  text-align: center;
}

.speed-dial__button {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-items: center;
  padding: 12px;
  margin-bottom: 15px;
  background: #e0f6e5;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
  border: none;
  transition: background 0.2s, opacity 0.2s, transform 0.2s;
}

.speed-dial__button:hover {
  background: #73b2c682;
}

.speed-dial__button--primary {
  margin-bottom: 0;
  padding: 18px;
  background: #73b2c6;
  color: white;
  border-radius: 50%;
  border: none;
}

.speed-dial__button--primary:hover {
  background: #73b2c6;
}

.speed-dial__button {
  opacity: 0;
  transform: translateY(40px);
  visibility: hidden;
}

.speed-dial__button--primary:hover + .speed-dial__button {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
} */

/* INTRO PAGE */

.intro {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}

.intro h1 {
  font-size: 50px;
}

.intro h2 {
  font-size: 30px;
}

.slideshow-container {
  background-color: #73b2c6;
  height: 100vh;
}

.mySlides {
  display: none;
}

.mySlides img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

.fade {
  animation-name: fade;
  animation-duration: 4s;
}

@keyframes fade {
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 0.4;
  }
}

/* ABOUT */

#about h1 {
  margin-top: 100px;
  margin-bottom: 50px;
  color: #73b2c6;
}

#about p {
  margin-bottom: 100px;
}

/* ABOUT - ROOMS */

#rooms {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 25px;
  row-gap: 25px;
  padding-bottom: 50px;
}

#rooms div {
  background-color: #73b2c682;
  border-radius: 20px;
  padding: 20px;
}

.a,
.b,
.c,
.d,
.e,
.f {
  background-size: cover;
  height: 180px;
  border-radius: 20px;
  background-position-y: center;
}

.a {
  background-image: url(img/room1.jpeg);
}

.b {
  background-image: url(img/room2.jpeg);
}

.c {
  background-image: url(img/room3.jpeg);
}

.d {
  background-image: url(img/room4.jpeg);
}

.e {
  background-image: url(img/room5.jpeg);
}

.f {
  background-image: url(img/room6.png);
}

/* EXHIBITIONS */

.exhi {
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: 50px;
  align-items: center;
  margin-bottom: 100px;
}

.exhi img {
  width: 100%;
  border-radius: 20px;
  margin-left: auto;
  margin-right: auto;
}

#exhibitions h1 {
  margin-top: 75px;
  margin-bottom: 25px;
  color: #73b2c6;
}

.exhi button {
  font-family: Hiragino Kaku Gothic ProN W3 !important;
  background-color: white;
  padding: 10px 20px 10px 20px;
  border: #73b2c6 solid 2px;
  border-radius: 20px;
  transition: 0.3s;
}

.exhi button:hover {
  background-color: #73b2c6;
}

/* FILMS */

#films h1 {
  margin-top: 75px;
  margin-bottom: 25px;
  color: #73b2c6;
}

.current {
  display: grid;
  grid-template-columns: 4fr 1fr;
  column-gap: 50px;
}

.current h2 {
  margin-top: 0;
}

.current-film {
  background-size: cover;
  height: 180px;
  border-radius: 20px;
  background-position-y: center;
  background-image: url(img/future-boy.jpeg);
}

/* .current img {
  width: 100%;
  border-radius: 20px;
  margin-left: auto;
  margin-right: auto;
} */

.koro {
  display: grid;
  grid-template-columns: 2fr 1fr;
  column-gap: 20px;
}

.koro img {
  width: 100%;
  /* height: 90%; */
  border-radius: 20px;
  object-fit: cover;
}

.koro h3,
.koro p {
  margin: 5px;
}

.upcoming {
  display: grid;
  grid-template-rows: 1fr 1fr;
  row-gap: 20px;
}

.upcoming img {
  width: 100%;
  border-radius: 20px;
  margin-left: auto;
  margin-right: auto;
}

.upcoming p {
  margin: 5px;
  font-size: 12px;
}

.others {
  padding-top: 25px;
  padding-bottom: 25px;
}

.slider {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.slide {
  width: 250px;
  flex-shrink: 0;
  background-color: #73b2c682;
  height: 100%;
  border-radius: 20px;
  margin-left: 10px;
  margin-right: 10px;
  scroll-behavior: smooth;
}

.slide img {
  width: 100%;
  border-radius: 20px 20px 0px 0px;
}

.slide p {
  padding-left: 15px;
  font-size: 12px;
}

.slides > div {
  /* CURRENT way. */
  scroll-snap-align: start;
}

/* TICKETS */

#admission {
  margin-bottom: 100px;
}

#admission h1 {
  margin-top: 75px;
  margin-bottom: 25px;
  color: #73b2c6;
}

.reservation {
  max-width: 800px;
  margin: auto;
  background-color: #fff3cd;
  padding: 15px;
  border-radius: 20px;
}

.reservation p {
  margin: 0;
  color: #856404;
}

.tickets {
  display: grid;
  max-width: 800px;
  margin: auto;
  grid-template-columns: 2fr 1fr;
  border: solid #73b2c682 3px;
}

.tickets h3 {
  text-align: center;
  margin: 0;
  padding: 20px;
}

.tickets p {
  padding: 20px;
  margin: 0;
  border: 1px solid #73b2c682;
}

.price {
  text-align: center;
  border-left: 2px solid #73b2c682;
}

.title-ticket {
  background-color: #73b2c682;
}

/* FOOTER */

#directions {
  background-color: #73b2c6;
  margin: 0;
}

#directions-fr {
  background-color: #73b2c6;
  margin: 0;
}

.footer {
  display: grid;
  grid-template-columns: 2fr 1fr;
  max-width: 1120px;
  position: relative;
  margin: 0px auto;
  column-gap: 50px;
  color: white;
}

#directions h1 {
  max-width: 1120px;
  position: relative;
  margin: 0px auto;
  padding-top: 75px;
  margin-top: 0;
  margin-bottom: 25px;
  color: white;
  font-size: 2.5em;
  font-family: Eyad Al-Samman - Ghibli-Bold !important;
}

#directions-fr h1 {
  max-width: 1120px;
  position: relative;
  margin: 0px auto;
  padding-top: 75px;
  margin-top: 0;
  margin-bottom: 25px;
  color: white;
  font-size: 2.5em;
  font-family: Eyad Al-Samman - Ghibli-Bold !important;
}

.title {
  text-decoration: underline;
}

.credits {
  text-align: center;
  color: white;
}

/* MEDIA */

@media screen and (max-width: 1200px) {
  #rooms {
    grid-template-columns: 1fr 1fr;
  }

  .current {
    grid-template-columns: 1fr;
  }

  .hide1 {
    display: none;
  }
}

@media screen and (max-width: 1190px) {
  main {
    padding-left: 30px;
    padding-right: 30px;
  }
  #directions {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media screen and (max-width: 910px) {
  #rooms {
    grid-template-columns: 1fr;
  }
  .exhi {
    grid-template-columns: 1fr;
  }
  .hide2 {
    display: none;
  }
  .appear1 {
    display: block;
  }
  .koro {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 400px) {
  #rooms {
    grid-template-columns: 1fr;
  }

  .footer {
    grid-template-columns: 1fr;
  }
}
