@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,700');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Myanmar:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Noto Sans Myanmar', sans-serif;
}

@font-face {
  font-family: 'Pyidaungsu';
  font-style: normal;
  font-weight: normal;
  src: local('Pyidaungsu'), url('Pyidaungsu.woff') format('woff'),
    url('Pyidaungsu.ttf') format('truetype'),
    url('Pyidaungsu.svg#Pyidaungsu') format('svg');
}

.zawgyi_text {
  font-family: 'Noto Sans Myanmar', sans-serif;
}

body {
  font-family: 'Noto Sans Myanmar', sans-serif;
  -webkit-transition: opacity 800ms;
  transition: opacity 800ms;
  opacity: 1;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: #22412e;
  /* background-image: url(jungle-bg2.jpg);
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover; */
  color: white;
}

a {
  color: #ff9900;
  -webkit-transition: all 0.35s;
  -moz-transition: all 0.35s;
  transition: all 0.35s;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #faf6f6;
  outline: 0;
  text-decoration: none;
}

hr {
  border: none;
}

.navbar {
  background-color: #013615;
  color: #fff;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}

.navbar .logo {
  font-size: 24px;
  font-weight: bold;
}

.logo img {
  width: 5.5rem;
}

.menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  color: #fff;
  -webkit-transition: all 0.35s;
  -moz-transition: all 0.35s;
  transition: all 0.35s;
  text-decoration: none;
  text-decoration: none;
  font-size: 1rem;
}

.nav-links a:hover,
a:focus {
  color: #ff9900;
  outline: 0;
  border-bottom: 1px solid #fff;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navbar {
    padding: 10px 40px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center; /* Center the dropdown items */
    gap: 10px;
    background-color: #013615;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px; /* Optional: limits the width of the dropdown */
    padding: 10px 0;
    border-radius: 5px; /* Optional: rounds the edges of the dropdown */
    z-index: 9999;
  }

  .nav-links.show {
    display: flex;
  }
}

h4 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  padding-top: 1rem;
  margin-bottom: 20px;
}

@media (max-width: 575px) {
  h4 {
    font-size: 1.4rem;
  }
}

h6 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  font-style: italic;
  padding-top: 1rem;
  padding-bottom: 2rem;
}

@media (max-width: 575px) {
  h6 {
    padding-top: 3rem;
    font-size: 1.3rem;
    padding-bottom: 2rem;
  }
}

.byline {
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 700;
  margin: 1rem 0 4rem 0;
  font-style: italic;
}
@media (max-width: 575px) {
  .byline {
    margin: 1rem 0 4rem 0;
  }
}

.credit {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 1rem 0 3rem 0;
  font-style: italic;
}
@media (max-width: 575px) {
  .credit {
    font-size: 0.8rem;
    margin: 1rem 0 3rem 0;
  }
}

section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
section::before {
  content: '';
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, #22412e, transparent);
  z-index: 100000;
}

h1 {
  position: absolute;
  top: 13%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-family: 'Merriweather Sans', sans-serif;
  font-size: 5.6rem;
  font-weight: 800;
  line-height: 1.3;
  width: 80%;
  text-align: center;
  text-shadow: 2px 2px 4px darkolivegreen;
  padding-top: 30rem;
  mix-blend-mode: normal;
  z-index: 5;
}

@media (max-width: 812px) {
  h1 {
    position: absolute;
    top: 0;
    left: 50%;
    font-size: 4rem;
    font-weight: 800;
  }
}

@media (max-width: 575px) {
  h1 {
    top: 6%;
    left: 50%;
    font-size: 3rem;
    font-weight: 800;
  }
}

.mobile-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.5;
  width: 80%;
  text-align: center;
  text-shadow: 2px 2px 4px darkolivegreen;
  width: 100%;
  text-align: center;
  padding-bottom: 4rem;
}

@media (min-width: 883px) {
  .mobile-title {
    display: none;
  }
}

.first-letter {
  float: left;
  font-size: 3rem;
  line-height: 1;
  font-weight: bold;
  margin-right: 5px;
}

.sec {
  position: relative;
  width: 60%;
  margin: 5rem auto;
}

@media (max-width: 575px) {
  .sec {
    width: 80%;
    margin: 4rem auto;
  }
}

.sec h2 {
  font-size: 2.5em;
  color: #fff;
  margin-bottom: 10px;
  text-align: center;
}
.sec p {
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 20px;
}
@media (max-width: 575px) {
  .sec p {
    margin-bottom: 20px;
  }
}

.container {
  display: flex;
  flex-wrap: wrap;
}

.column {
  flex: 1;
  padding: 20px;
  box-sizing: border-box;
}

/* Adjust column width for larger screens */
@media (max-width: 575px) {
  .column {
    flex: 100%; /* Stack columns on top of each other on smaller screens */
    padding: 10px 10px 0 10px;
  }
}

.column .video-item {
  height: 100vh;
}

@media (max-width: 575px) {
  .column {
    padding: 10px 0;
  }

  .column .video-item {
    height: 80vh;
  }
}

.column .text {
  padding: 50% 0;
}

@media (max-width: 768px) {
  .column .text {
    padding: 10px 0;
  }
}
.column p {
  font-size: 1.3em;
  line-height: 1.4;
}

@media (max-width: 575px) {
  .column p {
    font-size: 1.4em;
    margin-bottom: 20px;
  }
}

/* Image */

.image {
  border-radius: 5px;
  border: 0;
  display: inline-block;
  position: relative;
}

.image img {
  border-radius: 3px;
  display: block;
}

.image.left {
  float: left;
  margin: 0 2em 2em 0;
  top: 0.25em;
}

.image.right {
  float: right;
  margin: 0 0 2em 2em;
  top: 0.5em;
}

.image.left,
.image.right {
  max-width: 35%;
}

.image.left img,
.image.right img {
  width: 100%;
}

@media (max-width: 575px) {
  .image.left,
  .image.right {
    max-width: 100%;
    margin: 2rem 0 3rem 0;
  }
}

.image.fit {
  display: block;
  margin: 3rem 0 1rem 0;
  width: 100%;
}

.image-inline,
.image-responsive {
  margin-top: 10px;
  margin-right: 15px;
  padding-bottom: 5px;
  max-width: 100%;
  width: auto;
  height: auto;
}

figure {
  margin: 0;
}

figcaption {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 2.5rem;
  font-style: italic;
}

@media (max-width: 575px) {
  .image-inline,
  .image-responsive {
    width: 100%;
  }
  figcaption {
    font-size: 1rem;
  }
}

/* Video banner */

/* For the video container */
.video-banner {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
  overflow: hidden;
}

p.caption {
  margin-top: 1.2rem; /* Adds space between the video and the caption */
  font-size: 1.2rem !important;
  line-height: 1.4;
  margin-bottom: 2.5rem;
  font-style: italic;
}

@media (max-width: 575px) {
  p.caption {
    margin-top: 0.5rem;
    font-size: 1rem;
    margin-bottom: 0.5em;
  }
}

/* Overlay container for title */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  background: rgba(
    0,
    0,
    0,
    0s
  ); /* Optional: Adds a semi-transparent background */
  padding: 20px;
}

/* Style for the title text */
.video-overlay h1 {
  color: #fff;
  font-family: 'Merriweather Sans', sans-serif;
  font-size: 5.6rem;
  font-weight: 800;
  line-height: 1.3;
  width: 80%;
  text-align: center;
  text-shadow: 2px 2px 4px darkolivegreen;
  padding-top: 2rem;
  mix-blend-mode: normal;
  z-index: 2;
}

@media (max-width: 883px) {
  .video-overlay h1 {
    display: none;
  }
}

@media (max-width: 575px) {
  .video-overlay h1 {
    display: none;
  }
}

/* Videos grid */

.video-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  padding: 20px;
  width: 70%;
  margin: 5rem auto;
}

@media (max-width: 575px) {
  .video-container {
    padding: 0 20px;
    width: 90%;
    margin: 1rem auto;
  }
}

.video-item {
  flex: 1 1 300px; /* Each video takes up a minimum of 300px */
  max-width: 100%;
  margin-bottom: 2rem;
  width: 100%;
  border-radius: 8px;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

@media (max-width: 575px) {
  .video-item {
    margin-bottom: 0;
  }
}

.video-item video {
  width: 100%;
  border-radius: 8px;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.video-title {
  margin-bottom: 10px;
  text-align: center;
  line-height: 5rem;
  height: 9rem;
}

@media (max-width: 575px) {
  .video-title {
    margin-bottom: 10px;
    text-align: center;
    height: 8rem;
  }
}

.video-item h2 {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  padding: 0 0 3rem 0;
}

@media (max-width: 575px) {
  .video-item h2 {
    font-size: 1.5rem;
    padding: 0 0 1.5rem 0;
    margin-top: 2rem;
  }
}

.video-item p {
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
  padding: 1rem 0 2rem 0;
}

.videos video {
  width: 100%;
  border-radius: 1rem;
  margin-top: 1rem;
}
.peace,
.loveandwar,
.thuzar,
.cobra,
.federated,
.empty {
  position: relative;
}
.videos h2 {
  margin-top: 5rem;
  font-size: 3rem;
}

@media (max-width: 575px) {
  .videos h2 {
    margin-top: 4rem;
  }
}

/* Scroll Down Line
===========================*/

#sd {
  &-container {
    position: fixed;
    top: 90%;
    left: 50%;
    transform: translateY(-50%);
  }
}

.arrow {
  position: relative;
  width: 42px;
  height: 16px;
  opacity: 0;

  &::before,
  &::after {
    content: '';
    width: 21px;
    height: 2px;
    background-color: #ff9900;
    border-radius: 4px;
    display: inline-block;
  }

  &::before {
    transform: rotate(45deg) translateX(25%);
  }

  &::after {
    transform: rotate(-45deg) translateX(-25%);
  }

  &:hover,
  &:focus {
    background-color: rgba(black, 0.1);

    &::before,
    &::after {
      background-color: #fff;
    }
  }

  &:nth-child(1) {
    left: 45%;
    transform: translateY(-50%);
    top: -35px;
    opacity: 1;
    animation: arrow2 1.5s ease 0s infinite;
  }

  &:nth-child(2) {
    transform: translateY(-50%);
    left: 45%;
    top: -25px;
    animation: arrow1 1.5s ease 0.25s infinite;
  }
}

@keyframes arrow1 {
  from {
    opacity: 0;
    top: -25px;
  }

  to {
    opacity: 0;
    top: -15px;
  }

  50% {
    opacity: 1;
  }
}

@keyframes arrow2 {
  from {
    opacity: 0;
    top: -35px;
  }

  to {
    opacity: 0;
    top: -25px;
  }

  50% {
    opacity: 1;
  }
}

/* ========================= 
    Next and Previous */
.previous-next {
  align-items: center;
  display: flex;
  justify-content: center;
}

.btn-arrow {
  color: transparent;
  display: block;
  margin: 3rem;
  position: relative;
  width: 1.5rem;
  height: 1.5rem;

  background-color: rgba(black, 0.05);

  transition: all 150ms ease-out;

  &::before,
  &::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;

    background-color: #ff9900;

    transition: all 150ms ease-out;
  }

  &::before {
    width: 75%;
    height: 25%;
  }

  &::after {
    width: 25%;
    height: 75%;
  }

  &:hover,
  &:focus {
    background-color: rgba(black, 0.1);

    &::before,
    &::after {
      background-color: #f8f5f5;
    }
  }

  &.btn-arrow-left,
  &.btn-arrow-right,
  &.btn-homepage {
    &::before,
    &::after {
      top: 12.5%;
      left: 12.5%;
    }
  }

  &.btn-arrow-left {
    transform: rotate(-45deg);
  }

  &.btn-arrow-right {
    transform: rotate(135deg);
  }
  &.btn-homepage {
    transform: rotate(45deg);
  }
}
