@import url("https://fonts.googleapis.com/css?family=Muli&display=swap");
@import url("https://fonts.googleapis.com/css?family=Quicksand&display=swap");

*,
*::after,
*::before {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "Inter", sans-serif;
}

/* Navbar */
.navbar input[type="checkbox"],
.navbar .hamburger-lines {
  display: none;
}

.container {
  margin-left: 10%;
  margin-right: 10%;
}

.navbar {
  box-shadow: 0px 3px 5px 0px #aaa;
  position: fixed;
  width: 100%;
  background: #fff;
  color: #000;
  z-index: 1000;
  opacity: 0.95;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  height: 100px;
  align-items: center;
  z-index: 2000;
}

.menu-items {
  order: 2;
  display: flex;
}

.logo {
  order: 1;
  font-size: 2.3rem;
}

.menu-items li {
  list-style: none;
  margin-left: 1.5rem;
  font-size: 0.9rem;
}

.navbar a {
  color: #444;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease-in-out;
}

.navbar a:hover {
  color: #ef1d26;
}

@media (max-width: 768px) {
  .navbar {
    opacity: 0.95;
    position: relative;
    z-index: 1000;
  }

  main {
    position: relative;
    z-index: -100;
  }

  br {
    display: none !important;
  }

  .container {
    margin-left: 0%;
    margin-right: 0%;
  }

  .navbar-container input[type="checkbox"],
  .navbar-container .hamburger-lines {
    display: block;
  }

  .navbar-container {
    display: block;
    position: relative;
    height: 12vh;
    z-index: 50;
  }

  .navbar-container input[type="checkbox"] {
    position: absolute;
    display: block;
    height: 32px;
    width: 30px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
  }

  .navbar-container .hamburger-lines {
    display: block;
    height: 28px;
    width: 35px;
    position: absolute;
    margin-top: 35px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
  }

  .navbar-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #333;
  }

  .navbar-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.3s ease-in-out;
  }

  .navbar-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }

  .navbar-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.3s ease-in-out;
  }

  .navbar .menu-items {
    padding-top: 100px;
    background: #fff;
    height: 100vh;
    position: fixed;
    width: 300px;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -40px;
    padding-left: 40px;
    transition: transform 0.5s ease-in-out;
    box-shadow: 5px 0px 10px 0px #aaa;
    overflow: scroll;
  }

  .navbar .menu-items li {
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
    font-weight: 500;
  }

  .logo {
    position: absolute;
    top: 1.5vh;
    right: 3vw;
    font-size: 2.5rem;
    z-index: -20;
  }

  .logo-img {
    height: 80px;
  }

  .navbar-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(45deg);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-45deg);
  }
}

@media (max-width: 500px) {
  .navbar-container input[type="checkbox"]:checked ~ .logo {
    display: none;
  }
}

/* Footer */
footer {
  background-color: #000;
  color: white;
  display: flex;
  flex-direction: row;
  padding: 8%;
  gap: 12%;
  z-index: 500;
}

input[type="text"] {
  font-size: 22px;
}

.form-input {
  font-size: normal;
}

@media (max-width: 768px) {
  .copyright {
    background-color: #000;
    color: white;
    display: flex;
    justify-content: center;
    padding-bottom: 10%;
    font-size: smaller;
  }

  footer {
    background-color: #000;
    color: white;
    display: flex;
    flex-direction: column;
    padding: 10%;
    gap: 12%;
    z-index: 0;
    position: relative;
  }

  .line {
    display: none;
  }
}

.copyright {
  background-color: #000;
  color: white;
  display: flex;
  justify-content: center;
  padding-bottom: 3%;
  font-size: normal;
}

/* Image Slider */
.container-img-slider {
  margin-top: 2%;
  padding: 2rem;
}

.slider-wrapper {
  position: relative;
  margin: 0 10%;
}

.slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
  border-radius: 0.5rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Hide scrollbar for Chrome, Safari, and Opera */
.slider::-webkit-scrollbar {
  display: none;
}

.slider img {
  flex: 1 0 30%;
  scroll-snap-align: start;
  object-fit: cover;
}

.slider-nav {
  display: flex;
  column-gap: 1rem;
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.slider-nav a {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.75;
  transition: opacity ease 250ms;
}

.slider-nav a:hover {
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .slider-wrapper {
    margin: 0;
  }

  .slider img {
    flex: 1 0 50%;
  }

  .slider-nav {
    bottom: 0.75rem;
  }
}

/* Year */
.year-about {
  margin-left: 15%;
  margin-right: 15%;
  margin-bottom: 5%;
}

.pipe {
  color: black;
}

.fof-sub-texts {
  font-size: 17px;
}

.year {
  display: flex;
  flex-direction: row;
  gap: 3%;
  justify-content: center;
  margin-bottom: 3%;
}

.year-font {
  font-size: 20px;
}

.fof-films {
  margin-left: 10%;
  margin-right: 10%;
}

.flex-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.flex-row-fourth {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.flex-col {
  display: flex;
  gap: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.last-img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
  .year {
    display: flex;
    flex-direction: row;
    text-align: center;
    margin-bottom: 3%;
  }

  .year-font {
    font-size: 12px;
    font-weight: 600;
  }

  .fof-sub-texts {
    margin-top: 3%;
    font-size: 16px;
  }

  .text-spacing {
    margin-top: 5%;
    margin-bottom: 5%;
  }

  .pipe {
    display: none;
  }
}

/* Mobile thumbnail  */
.mobile-thumbnail {
  display: none;
}

@media (max-width: 768px) {
  .mobile-thumbnail {
    display: block;
    position: relative;
  }

  .mobile-thumbnail-text {
    color: white;
    position: absolute;
    bottom: 8%;
    left: 8%;
  }

  .flex-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .mobile-thumbnail-web-hidden {
    display: none;
  }

  .flex-row-first {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .flex-row-fourth {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

/* Location */
.main-location {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding-top: 5%;
  padding-bottom: 5%;
  background-color: #ececf1;
  gap: 5%;
  margin-left: 10%;
  margin-right: 10%;
  margin-top: 3%;
  margin-bottom: 3%;
  border-radius: 15px;
}

.submit-button {
  width: 8rem;
  height: 3rem;
  font-weight: 500;
  font-size: medium;
  cursor: pointer;
  background-color: black;
  color: white;
  transition: background-color 0.3s, color 0.3s;
}

.submit-button:hover {
  background-color: rgb(196, 194, 194);
  color: black;
}

.input-class {
  width: 100%;
  height: 3rem;
  font-size: medium;
}

.form-input-message {
  width: 100%;
  height: 12rem;
}

.festival-location-text {
  font-size: 40px;
  padding-bottom: 8%;
}

@media (max-width: 768px) {
  .main-location {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5%;
    background-color: #ececf1;
    margin-left: 5%;
    margin-right: 5%;
  }

  .map {
    height: 200px;
    width: 100%;
  }

  .input-class {
    width: 100%;
    height: 2.5rem;
    font-size: medium;
  }

  .form-input-message {
    width: 100%;
    height: 12rem;
  }

  .festival-location-text {
    font-size: 40px;
    padding-top: 8%;
    padding-bottom: 8%;
  }
}
