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

@font-face {
  font-family: "Rockwell Nova";
  src: url("assets/fonts/rockwellnova-bold-webfont.woff") format("woff");
  src: url("assets/fonts/rockwellnova-bold-webfont.woff2") format("woff2");
  font-weight: 600;
  font-style:normal;
}

@font-face {
  font-family: "Rockwell Nova";
  src: url("assets/fonts/rockwellnova-webfont.woff") format("woff");
  src: url("assets/fonts/rockwellnova-webfont.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Rockwell Nova";
  src: url("assets/fonts/rockwellnova-light-webfont.woff") format("woff");
  src: url("assets/fonts/rockwellnova-light-webfont.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
}

h1, h2, h3 {
  font-family: "Rockwell Nova", serif;
  font-weight: 200;
}

body, p {
  font-family: "Rockwell Nova", serif;
  font-weight: 100;
}

header {
  position: sticky;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  padding: 0px 21px;
}

header .hLogo {
  padding-left: 44px;
}

header nav {
  display: flex;
  justify-content: flex-end;
}

header nav a {
  color: #fff;
  /* margin-left: 20px; */
  text-decoration: none;
  font-size: 0.9em;
  letter-spacing: 0.05em;
  cursor: pointer;
}

header nav a:hover {
  opacity:0.7;
  transition: opacity 0.2s ease-out;
}

.sml-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}

.sml-menu span {
  display: block;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 20px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9em;
  letter-spacing: 0.05em;
}

.nav-menu a:hover {
  opacity: 0.7;
  transition: opacity 0.2s ease-out;
}

.hLogo {
  position: relative;
  width:233px;
  height: 31px;
  opacity:1;
  background: url("assets/images/navLogo.png") left no-repeat;
  background-size: contain;
}

picture {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1000;
}

.bg-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1000;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-row-gap: 9px;
  grid-column-gap: 8px;
  justify-items: center;
  padding: 60px 20px;
  max-width: 1000px;
  min-height: 600px;
  margin: 0 auto;
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  /* align-items: center; */
  z-index: 10; /* Ensure it appears above the grid items */
  visibility: hidden;
  opacity: 0;
}

.loading-icon {
  position: relative;
  top: 300px;
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 1);
  border-top-color: rgba(255, 255, 255, 0);
  border-radius: 50%;
}

.grid-item {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background-color: rgba(0, 0, 0, 1);
  overflow: hidden;
}

.grid-item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Black cover */
.grid-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: black;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.grid-item:hover::after {
  opacity: 0.5;
}

.grid-item:hover {
  cursor: pointer;
}

.proj-view {
  display: none;
  padding: 70px 20px;
  opacity: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.proj-head {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.proj-container {
  display: flex;
  flex-direction: column;
  gap: 35px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.proj-video-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projPlayer {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: rgba(255, 255, 255, 1);
}

.proj-title{
  padding-bottom: 4px;
}

.proj-title h1 {
  font-size: 2.4em;
  color: #fff;
}

.proj-client{
  padding-bottom: 35px;
}

.proj-client p {
  font-size: 1.7em;
  color: #f9f7f7;
}

.proj-lbl{
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1000px;
}

.proj-skillset{
  text-align: left;
}

.proj-agency{
  text-align: right;
}

.proj-skillset p, .proj-agency p {
  font-size: 0.7em;
  letter-spacing: 0.02em;
  color: #f9f7f7;
  opacity:0.7;
  padding: 10px;
}

.proj-item {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  overflow: visible;
}

.proj-nav {
  display: flex;
  justify-content: space-between;
  margin: 40px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);;
  padding-top:15px;
}

.nav-item {
}

.arrow-l {
  position: absolute;
  padding-top: 34px;
}

.arrow-r {
  position:relative;
  right:0px;
  top:-18px;
  display: flex;
  justify-content:flex-end;
}

.nav-btn-l, .nav-btn-r {
  position:relative;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.nav-btn-l:hover, .nav-btn-r:hover, .linkedin-btn:hover{
  opacity:0.7;
  transition: opacity 0.2s ease-out;
}

.nav-btn-l:disabled, .nav-btn-r:disabled {
  color: #fff;
  opacity:0;
  cursor: not-allowed;
}

.nav-label-l {
  position: relative;
  text-align: left;
  margin-top: 10px;
  left:20px;
}

.nav-label-r {
  position: relative;
  text-align: right;
  margin-top: 10px;
  right:20px;
}

.nav-label-l p, .nav-label-r p {
  font-size: 0.8em;
  margin: 0;
  letter-spacing: 0.02em;
}

.nav-label-l h3, .nav-label-r h3 {
  font-size: 1.3em;
  margin: 5px 0 0;
  letter-spacing: 0.02em;
}

.reel-view {
  display: none;
  padding: 70px 20px;
  opacity: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.reel-item {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: visible;
}

.reelPlayer {
  width: 100%;
}

.reel-container {
  display: flex;
  flex-direction: column;
  gap: 35px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.reel-title{
  padding-bottom: 45px;
}

.reel-title h1 {
  font-size: 2.4em;
  color: #fff;
}

footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0px 28px;
  padding-bottom: 150px;
  position: relative;
  max-width: 1020px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  height:24px;
  justify-content: space-between;
  align-items:top;
  width: 100%;
}

.footer-content p {
  color: #f9f7f7;
  font-size: 0.7em;
  letter-spacing: 0.05em;
  padding: 15px 20px;
}

.monkii-logo {
  position: relative;
  top:-39px;
  left:50px;
  width: 116px;
  height: 40px;
  opacity:1;
  background: url("assets/images/fLogo.png") left no-repeat;
  background-size: contain;
}

.linkedin-btn svg {
  width: 26px;
  height: 26px;
}

.linkedin-btn:focus {
  outline: none;
}

@media (max-width: 768px) {

  header nav a {
    font-size: 0.85em;
    letter-spacing: 0.05em;
  }

  .sml-menu {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 80px;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    flex-direction: column;
    align-items: flex-start;
    width: 170px;
    display: none;
    padding-bottom: 10px;
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    margin: 10px 0;
    width: 100%;
  }

  .nav-menu a {
    padding: 10px 20px;
    width: 100%;
    text-align: left;
  }

  .grid-container {
    grid-row-gap: 10px;
    padding: 40px 0px;
    grid-template-columns: 1fr;
  }

  .proj-container {
    gap: 18px;
  }

  .proj-view {
    padding: 35px 0px;
  }

  .nav-label-l h3, .nav-label-r h3 {
    font-size: 1em;
  }

  .proj-title h1 {
    font-size: 1.5em;
  }

  .proj-client{
    padding-bottom: 20px;
  }

  .proj-client p {
    font-size: 1.2em;
  }

  .proj-agency p,.proj-skillset p  {
    font-size: 0.5em;
    padding: 6px;
    padding-left:12px;
    padding-right:12px;

  }

  .reel-title h1 {
    font-size: 1.5em;
    color: #fff;
  }

  .reel-view {
    padding: 70px 0px;
  }

  .proj-nav {
    margin: 40px 12px auto;
    /* padding: 0px 15px; */
  }

  footer {
    padding: 0px 20px;
    padding-bottom: 100px;
  }
  .footer-content p {
    font-size: 0.5em;
    letter-spacing: 0.05em;
  }

  .linkedin-btn svg {
    width: 18px;
    height: 18px;
  }

  .monkii-logo {
    top:-30px;
    left:32px;
    width: 95px;
    height: 30px;
  }


}
