*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

@font-face {
  font-family: 'Fahkwang';
  src: url('/medias/Fahkwang/Fahkwang-ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fahkwang';
  src: url('/medias/Fahkwang/Fahkwang-ExtraLightItalic.woff2') format('woff2');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Fahkwang';
  src: url('/medias/Fahkwang/Fahkwang-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fahkwang';
  src: url('/medias/Fahkwang/Fahkwang-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Fahkwang';
  src: url('/medias/Fahkwang/Fahkwang-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fahkwang';
  src: url('/medias/Fahkwang/Fahkwang-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Fahkwang';
  src: url('/medias/Fahkwang/Fahkwang-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fahkwang';
  src: url('/medias/Fahkwang/Fahkwang-MediumItalic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Fahkwang';
  src: url('/medias/Fahkwang/Fahkwang-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fahkwang';
  src: url('/medias/Fahkwang/Fahkwang-SemiBoldItalic.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Fahkwang';
  src: url('/medias/Fahkwang/Fahkwang-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fahkwang';
  src: url('/medias/Fahkwang/Fahkwang-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 9999;

  background: linear-gradient(
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.65) 40%,
    rgba(0, 0, 0, 0.25) 70%,
    rgba(0, 0, 0, 0) 100%
  );
}

.logo {
  font-family: "Limelight", sans-serif;
  font-size: 35px;
  color: #fff;
  text-decoration: none;
  z-index: 10001;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 50px;
}

.navigation a {
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-bottom 0.3s;
}

.nav_items {
  font-family: 'Limelight', sans-serif;
  font-size: 25px;
  color: #fff;
}

.nav_items:hover {
  color: #89E3FF;
  border-bottom: 2px solid #89E3FF;
}

.english_button {
  font-family: 'Raleway', sans-serif;
  font-weight: bold;
  font-size: 18px;
  color: #fff;
  background-color: #0095FF;
  padding: 6px 26px;
  border-radius: 10px;
  filter: drop-shadow(0 0 5px #0095FF);
}

.english_button:hover {
  background-color: #89E3FF;
  filter: drop-shadow(0 0 5px #89E3FF);
}

#menu-toggle {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 10001;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #fff;
  transition: 0.3s ease;
}

#menu-toggle:checked + .menu-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

#menu-toggle:checked + .menu-toggle span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 900px) {

  .header {
    padding: 25px 40px;
  }

  .menu-toggle {
    display: flex;
  }

  .navigation {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;

    backdrop-filter: blur(6px);
    background: linear-gradient(
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.85) 30%,
      rgba(0, 0, 0, 0.5) 60%,
      rgba(0, 0, 0, 0.2) 80%,
      rgba(0, 0, 0, 0) 100%
    );

    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;

    transition: transform 0.4s ease, opacity 0.3s ease;
    z-index: 10000;
  }

  #menu-toggle:checked ~ .navigation {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .navigation a {
    font-size: 32px;
  }
}

/* Front Page */
.myVideo,
.fallback_video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.fallback_video {
  background: url("./medias/Psychical_Pearls.gif") center / cover no-repeat;
  display: none;
}

.myVideo,
.fallback_contact_video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.fallback_contact_video {
  background: url("./medias/brazil.gif") center / cover no-repeat;
  display: none;
}

.text_video {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  position: relative;
  padding-top: 20vh;
}

.text_video h1 {
  font-family: "Limelight";
  font-size: 150px;
  color: #fff;
  margin-bottom: 30px;
}

@media (max-width: 900px) {
  .text_video h1 {
    font-size: 90px;
  }
}

.text_video a {
  font-family: "Raleway";
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background-color: #0095FF;
  text-decoration: none;
  padding: 12px 80px;
  filter: drop-shadow(0px 0px 8px #0095FF);
  border-radius: 50px; 
}

.text_video a:hover {
  background-color: #89E3FF;
  filter: drop-shadow(0px 0px 8px #89E3FF);
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

/* Home Content */
.main_content {
  padding: 100px 100px;
  background-color: #00142D;
  color: #fff;
  font-family: 'Fahkwang', 'Sora', sans-serif;
  display: flex;
  align-items: flex-start;
  gap: 100px;
}

.new_groove {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.big_jim {
  width: 300px;
	border-radius: 3%;
	margin-bottom: 120px;
}

.my_cv {
  font-family: "Raleway", sans-serif;
  font-size: 25px;
  font-weight: bold;
  color: #fff;
  background-color: #0095FF;
  text-decoration: none;
  padding: 10px 30px;
  filter: drop-shadow(0px 0px 8px #0095FF);
  border-radius: 12px;
}

.my_cv:hover {
  background-color: #89E3FF;
  filter: drop-shadow(0px 0px 5px #89E3FF);
  text-decoration: none;
  transition: 0.3s;
}

.roadside_text {
  padding-top: 40px;
}

.roadside_text h2 {
  font-weight: 600;
  font-size: 40px;
}

@media (max-width: 900px) {

  .main_content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 70px 24px;
    gap: 80px;
  }

  .roadside_text {
    padding-top: 0;
  }

  .roadside_text h2 {
    font-size: 28px;
    line-height: 1.25;
  }

  .roadside_text p {
    font-size: 16px;
    line-height: 1.7;
    max-width: 65ch;
  }
}

.footer {
  background-color: #586D87;
}

.social_icons {
  display: flex;
  justify-content: space-evenly;
  padding: 15px;
  gap: 30px;
  font-size: 2.5em;
}

.fa-brands {
  color: #fff;
}

.fa-brands:hover {
  color: #B1AFAF;
  transition: color 0.3s;
}

.hello_footer {
  text-align: center;
  color: white;
  font-size: 20px;
  font-family: "Fahkwang", "Sora", sans-serif;
  font-weight: 600;
  padding-bottom: 5px;
}





/* Project Page */
.gif_lynch {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.project_content {
  padding-top: clamp(80px, 10vw, 160px);
  padding-bottom: clamp(80px, 10vw, 160px);
  padding-left: clamp(40px, 6vw, 100px);
  padding-right: clamp(40px, 6vw, 100px);
  background-color: #00142D;
}

.img_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 8vw, 120px);
  max-width: 1200px;
  margin: 0 auto;
}

.img_grid a {
  overflow: hidden;
  display: block;
  position: relative;
}

/* Grid Pics */
.img_grid a::before {
  content: "Shattered Reality\A  ";
  white-space: pre;
  line-height: 0.7;
  font-family: "Fahkwang", "Sora", sans-serif;
  font-size: clamp(28px, 3.2vw, 45px);
  font-weight: 700;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.6);
  color: white;
  opacity: 0;
  transition: opacity 0.3s;
}

.img_grid a::after {
  content: "2025";
  font-family: "Fahkwang", "Sora", sans-serif;
  font-size: clamp(20px, 2.5vw, 35px);
  font-weight: 700;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  opacity: 0;
  transition: opacity 0.3s;
  margin-top: 2em;
}


/* Image 2 */
.img_grid a:nth-child(2)::before {
  content: "Anemoia\A  ";
  white-space: pre;
  line-height: 0.7;
}

.img_grid a:nth-child(2)::after {
  content: "2025";
}


/* Image 3 */
.img_grid a:nth-child(3)::before {
  content: "Presence\A  ";
  white-space: pre;
  line-height: 0.7;
}

.img_grid a:nth-child(3)::after {
  content: "2024";
}


/* Image 4 */
.img_grid a:nth-child(4)::before {
  content: "Psychical Pearls\A  ";
  white-space: pre;
  line-height: 0.7;
}

.img_grid a:nth-child(4)::after {
  content: "2024";
}


/* Image 5 */
.img_grid a:nth-child(5)::before {
  content: "Eye of the Creator\A  ";
  white-space: pre;
  line-height: 0.7;
}

.img_grid a:nth-child(5)::after {
  content: "2024";
}


/* Image 6 */
.img_grid a:nth-child(6)::before {
  content: "Back to the Moon\A  ";
  white-space: pre;
  line-height: 0.7;
}

.img_grid a:nth-child(6)::after {
  content: "2022";
}


/* Grid Surf */
.img_grid a:hover::before,
.img_grid a:hover::after {
  opacity: 1;
}

.img_grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

@media (max-width: 900px) {
  .img_grid {
    grid-template-columns: 1fr;
  }

    .img_grid a::before {
    font-size: 40px;
  }

  .img_grid a::after {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .img_grid {
    grid-template-columns: 1fr;
    gap: 100px;
  }

    .img_grid a::before {
    font-size: 30px;
  }

  .img_grid a::after {
    font-size: 22px;
  }
}
@media (hover: none) {
  .img_grid a::before,
  .img_grid a::after {
    opacity: 1;
  }

  .img_grid a::before {
    background: rgba(0, 0, 0, 0.35);
  }

  .img_grid a:hover img {
    transform: none;
    filter: none;
  }
}


/* Contact Page */
.contact {
  padding: 140px 100px 100px;
  background-color: #00142D;
  color: #fff;
  font-family: 'Fahkwang', 'Sora', sans-serif;
  font-size: 16px;
}

#contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 140px;
}

.contact_form label,
.message_form label {
  display: block;
  margin-bottom: 10px;
}

.contact_form input,
.contact_form textarea,
.message_form textarea {
  padding: 10px;
  margin-bottom: 60px;
  border-radius: 15px;
  color: #fff;
  border: 2px solid #fff;
  background-color: transparent;
  width: 100%;
  box-sizing: border-box;
}

.message_form input[type="submit"] {
  font-family: "Raleway", sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: #000;
  background-color: #fff;
  padding: 12px 80px;
  border-radius: 10px;
  border: none;
  margin-top: 45px;
}

.message_form input[type="submit"]:hover {
  background-color: #E0E0E0;
}

@media (max-width: 900px) {
  .contact {
    padding: 80px 30px 60px;
  }

  #contact-form {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact_form input,
  .message_form textarea {
    margin-bottom: 25px;
  }

  .message_form input[type="submit"] {
    margin: 45px auto 0;
    display: block;
    margin-bottom: 25px;
  }
  
  #name {
    font-size: 65px;
  }
}




/* Film Pages */
.film_content {
  padding: clamp(40px, 8vw, 100px);
  background-color: #00142D;
  color: #fff;
  font-family: 'Fahkwang', 'Sora', sans-serif;
  display: flex;
  align-items: flex-start;
  gap: 100px;
}

.film_text {
  padding-top: 40px;
}

.awards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(14px, 2.2vw, 24px);
  font-weight: 550;
    text-align: center;

}

.awards-text {
  min-width: 0;
}

.laurel_awards {
  width: clamp(16px, 2vw, 25px);
  height: auto;
  flex-shrink: 0;
  display: block;
}

@media (max-width: 480px) {
  .laurel_awards {
    width: 16px; /* smaller but visible */
    height: auto;
    display: block;
  }
}

.film_text h1 {
  font-family: "Limelight", sans-serif;
  font-size: 80px;
}

.film_text h3 {
  font-size: 22px;
  margin-top: -20px;
}

.film_text h2 {
  font-size: 24px;
  margin-top: 40px;
}

.explanation {
  font-size: 16px;
  margin-top: 40px;
}

.film {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.film_poster {
  width: 350px;
	margin-top: 60px;
}

@media (max-width: 1000px) {
  .film_poster {
    width: 300px;
  }
}

.film_icons {
  display: flex;
  justify-content: center;
  gap: 85px;
  margin-top: 20px;
}

.social_films {
  width: 100px;
  border-radius: 5px;
}

.film_text a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.film_text p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.trailer i {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.45em;
}

.no_trailer {
  font-family: "Raleway", sans-serif;
  font-size: 22px;
  font-weight: 650;
  color: #fff;
  background-color: #0095FF;
  text-decoration: none;
  padding: 8px 20px;
  filter: drop-shadow(0px 0px 8px #0095FF);
  border-radius: 30px;
  opacity: 70%;
  margin-bottom: 0px;
}

.trailer {
  font-family: "Raleway", sans-serif;
  font-size: 22px;
  font-weight: 650;
  color: #fff;
  background-color: #0095FF;
  text-decoration: none;
  padding: 8px 20px;
  filter: drop-shadow(0px 0px 8px #0095FF);
  border-radius: 30px;
}

.trailer:hover {
  background-color: #89E3FF;
  filter: drop-shadow(0px 0px 5px #89E3FF);
  text-decoration: none;
  transition: 0.3s;
}

.short_film {
  font-family: "Raleway", sans-serif;
  font-size: 22px;
  font-weight: 650;
  color: #fff;
  background-color: #0095FF;
  text-decoration: none;
  padding: 8px 20px;
  filter: drop-shadow(0px 0px 8px #0095FF);
  border-radius: 30px;
}

.short_film:hover {
  background-color: #89E3FF;
  filter: drop-shadow(0px 0px 5px #89E3FF);
  text-decoration: none;
  transition: 0.3s;
}

.fa-solid {
  color: #fff;
}

@media (max-width: 900px) {
  .film_content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .film_content {
    padding: 120px 20px;
    gap: 40px;
  }

  .film_text {
    padding-top: 0;
    text-align: center;
  }

  .film_text h1 {
    font-size: 42px;
    line-height: 1.1;
  }

  .film_text h3 {
    font-size: 16px;
    margin-top: 10px;
  }

  .film_text h2 {
    font-size: 18px;
    margin-top: 20px;
  }

  .explanation {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 20px;
  }

  .film_text a,
  .film_text p {
    justify-content: center;
    margin-top: 20px;
  }

  .trailer,
  .short_film,
  .no_trailer {
    font-size: 16px;
    padding: 8px 16px;
  }

  .film {
    width: 100%;
  }

  .film_poster {
    width: 100%;
    max-width: 280px;
    margin-top: 20px;
  }

  .film_icons {
    gap: 30px;
    margin-top: 15px;
  }

  .social_films {
    width: 70px;
  }
}

/* Carousel */
.pics_text {
  font-size: 40px;
  font-weight: 600;
  font-family: 'Fahkwang', 'Sora', sans-serif;
  background-color: #00142D;
  color: #fff;
  padding-left: 100px;
  margin: 0;
}

@media (max-width: 768px) {
  .pics_text {
    text-align: center;
    padding-left: 0;
    padding-right: 0;
  }
}

#carouselExample {
  background-color: #00142D;
  padding-top: 50px;
  padding-bottom: 120px;
}

.carousel-item img {
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
  background-color: #00142D;
}

#carouselExample .carousel-indicators {
  bottom: 60px;
}

#carouselExample .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  margin: 0 6px;
  opacity: 0.5;
}

#carouselExample .carousel-indicators .active {
  background-color: #fff;
  opacity: 1;
}

#carouselExample .carousel-control-prev,
#carouselExample .carousel-control-next {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#carouselExample:hover .carousel-control-prev,
#carouselExample:hover .carousel-control-next {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
  #carouselExample .carousel-control-prev,
  #carouselExample .carousel-control-next {
    top: 50%;
    bottom: auto;
    transform: translateY(-150%);
    width: 44px;
  }
}
