/*Extra large screens - 32" and higher Desktop Monitors */
/* Slide out to right animation */
@keyframes slide-out-right {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}

.slide-out-right {
  animation: slide-out-right 1s ease-out forwards;
}

/* Slide in from right animation */  
.slide-in-right {
  animation: slide-in-right 0.8s ease-out forwards;
}

@keyframes slide-in-right {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@font-face {
  font-family: 'RNSSanz';
  src: url('fonts/Sanz2/RNSSanz-Light.woff2') format('woff2'),
       url('fonts/Sanz/RNSSanz-Light.woff') format('woff'),
       url('fonts/SanzT/RNSSanz-Light.ttf') format('truetype'); 
  font-weight: 300;
  font-style: normal;   
}

@font-face {
  font-family: 'RNSSanz';
  src: url('fonts/Sanz2/RNSSanz-Medium.woff2') format('woff2'),
       url('fonts/Sanz/RNSSanz-Medium.woff') format('woff'),
       url('fonts/SanzT/RNSSanz-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;  
}

@font-face {
  font-family: 'RNSSanz';
  src: url('fonts/Sanz2/RNSSanz-Bold.woff2') format('woff2'),
       url('fonts/Sanz/RNSSanz-Bold.woff') format('woff'),
       url('fonts/SanzT/RNSSanz-Bold.ttf') format('truetype');
  font-weight: 700; 
  font-style: normal;
}

html, body {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: 'RNS Sanz', sans-serif;
}

#header {
  position: fixed;
  left: 0;
  top: 0;
  height: 100dvh;
  width: 300px;
  background-color: #023535;
  display: flex;
  flex-direction: column;
  padding-left: 100px;
  justify-content: center;
}

#header.show {
  transform: translateX(0); /* Show the header */
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav li {
  margin-bottom: 10px;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-size: 25px;
  font-weight: 600;
}

nav a:hover {
  color: #c19a6b; /* Hover color */
}

nav a.active {
  font-size: 35px;
  font-weight: 700; /* Extra bold */
  color: #c19a6b; /* Active color */
  margin-top: 20px; /* Increase space above active item */
}

.social-media-icons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: absolute;
  bottom: 60px;
}

.sm-icon-container {
  position: relative;
}

.sm-icon {
  font-size: 25px;
  color: #c19a6b;
  transition: color 0.5s ease-in-out;
  position: relative;
}

.inst-color:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.link-color:hover {
  color: #0077b5;
}

.sm-icon-container a:hover + .sm-box {
  opacity: 1;
  transform: translateX(0);
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.sm-box {
  width: 90px;
  height: 30px;
  background-color: transparent;
  border-radius: 10px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-left: 10px;
  opacity: 0;
  transform: translateX(-15px);
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  position: absolute;
  left: 25px;
  top: -2px;
  z-index: 0;
}

.instagram-box {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.linkedin-box {
  background-color: #0077b5;
}

#content {
  margin-left: 300px; /* Width of the header */
  padding: 0;
  position: relative;
  min-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  /* background-size: 100%; */
}

.home-page {
  background-color: #E6D2C5 ;
  padding: 0px;
  display: flex;
  /* justify-content: space-between; */
  min-height: 100%;
  align-items: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.home-page .left-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 120px;
}

.home-page h3 {
  font-size: 3em;
  margin: 5px 0px 5px 0px;
  color: #023535;
}

.home-page h1 {
  font-size: 6em;
  margin: 15px 0px 5px 0px;
  color: #023535;
}

.home-page p {
  width: 70%;
  margin: 25px 0px 5px 0px;
  font-size: 1.6em;
  color: #023535;
}

.home-page-icons-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%; /* Set this to the desired width of the container */
  margin: 20px 0px 30px 0px;
  max-width: 70%;
}

.home-page-icons {
  max-height: 30px;
  margin: 3px 3px;
}

/* Remove left margin from the first icon in each row */
.home-page-icons:nth-child(1) {
  margin-left: 0;
}

/* Remove right margin from the last icon in each row */
.home-page-icons:last-child {
  margin-right: 0;
}

.button-28 {
  appearance: none;
  background-color: transparent;
  border: 2px solid #c19a6b;
  border-radius: 15px;
  box-sizing: border-box;
  color: #023535;
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  width: 200px;
  min-height: 60px;
  outline: none;
  padding: 16px 24px;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  will-change: transform;
}

.button-28:disabled {
  pointer-events: none;
}

.button-28:hover {
  color: #fff;
  background-color: #c19a6b;
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

.button-28:active {
  box-shadow: none;
  transform: translateY(0);
}

.home-page-image {
  max-width: 45%;
  object-fit: contain;
  height: 100dvh;
  margin: 0px 140px 0px 0px;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}


.about-page {
  /* background-color: #F1E3D3; */
  background-color: #0a0200;
  padding: 0px;
  display: flex;
  min-height: 100%;
  /* justify-content: space-between; */
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.about-page .left-content {
  flex-direction: column;
  height: 100%;
  margin-left: 120px;
  margin-right: 90px;
}

.about-page h2 {
  font-size: 3em;
  font-weight: 900;
  margin-top: 140px;
  margin-bottom: 20px;
  color: #fff;
}

.about-page h3 {
  font-size: 2em;
  font-weight: 800;
  margin-bottom: 0px;
  color: #fff;
}

.about-page p {
  font-size: 1.4em;
  margin-top: 5px;
  margin-bottom: 20px;
  line-height: 1.6;
  color: #fff; /* Ensure readability against the background */
}

.about-page-image {
  float: right;
  max-width: 50%;
  margin: 0px;
}

.portfolio-page {
  min-height: 100vh; /* Ensure it fits the viewport height */
  display: flex;
  flex-direction: column;
  background-color: #C9A9A6; /* Red background for portfolio page */
  padding: 80px 0px 0px 0px;
}

.portfolio-tabs {
  display: flex;
  justify-content: space-around;
  margin: 0 7% 0 7%;
}

.tab-link {
  background-color: transparent;
  color: #fff;
  border: none;
  padding: 15px 80px 10px 80px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 25px 25px 0px 0px;
}

.tab-link:hover {
  color: #023535;
}

.tab-link.active {
  color: #023535;
}

.tab-content {
  display: none;
  justify-content: center;
  /* padding: 40px 20px; */
  width: 100%;
  min-height: 100vh;
}

.vids {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Graphic design specific styling */
#graphic-design .vids.design {
  justify-content: flex-start;
  padding-left: 0;
  margin: 40px;
  align-items: flex-start;
}

hr {
  border: none;
  height: 2px; /* Set the thickness of the line */
  background-color: #C9A9A6; /* Set a custom color */
  width: 95%; /* Set the width of the line */
}

.video-container {
  max-width: 10%; /* Adjust width as needed */
  min-width: 8%;
  margin: 20px;
  padding: 5px;
  border-radius: 10px;
  background-color: #fff; /* Background color for the container */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for modern look */
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.video-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* Lightbox overlay for enlarged images */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox-overlay.show {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: #333;
  border: none;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Client header styling */
.client-header {
  color: #FFFFFF;
  font-family: 'RNS Sanz', sans-serif;
  font-weight: 700;
  font-size: 1.8em;
  /* margin: 40px 0 30px 0; */
  text-align: left;
  /* text-transform: uppercase; */
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  width: 100%;
  clear: both;
}

/* Client separator styling */
.client-separator {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  margin: 40px 0;
  width: 100%;
}

.contact-page {
  background-color: #A68A7B; /* Background color */
  padding: 20px 20px; /* Increased padding for a better layout */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.contact-page h2 {
  font-size: 3em;
  font-weight: 900;
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
}

.contact-page p {
  font-size: 1.4em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #fff;
  text-align: center;
  max-width: 600px;
}

.contact-page form {
  width: 100%;
  max-width: 500px;
  background: #cfd0d0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center; /* Center form contents */
}

.contact-page label {
  font-weight: 600;
  font-size: 1.2em;
  color: #023535;
  margin-bottom: 10px;
  display: block;
  width: 100%; /* Make label full width */
}

.contact-page input[type="text"],
.contact-page input[type="email"],
.contact-page textarea {
  width: 95%;
  background-color: #f4f4f4;
  padding: 15px;
  margin-bottom: 5px;
  border: 1px solid #cfd0d0;
  border-radius: 5px;
  font-size: 1em;
  color: #023535;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-page input[type="text"]:focus,
.contact-page input[type="email"]:focus,
.contact-page textarea:focus {
  border-color: #cfd0d0;
  box-shadow: 0 0 5px rgba(193, 154, 107, 0.5);
  outline: none;
}

.contact-page textarea {
  min-height: 80px;
  resize: vertical;
}

.send-message-btn {
  text-align: right;
  position: relative;
  background-color: #c19a6b;
  color: #fff;
  border: none;
  padding: 15px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2em;
  /* transition: background-color 0.3s ease; */
  overflow: hidden;
  width: 200px;
}

.send-message-btn:hover {
  background-color: #a67a56;
}

.paper-plane {
  font-size: 20px;
  margin-right: 10px;
  transition: transform 1s ease, left 1s ease;
  position: absolute;
  left: 10px
}

.button-text {
  transition: opacity 0.2s ease;
}

.send-message-btn:hover .paper-plane {
  transform: rotate(45deg);
  left: 80%;
}

.send-message-btn:hover .button-text {
  opacity: 0;
}

.social {
  padding: 25px;
}

.social i{
  font-size: 40px;
  margin: 0px 20px;
  color: #fff;
}

a:-webkit-any-link {
  text-decoration: none;
}

/* Animation for wavy flying out */
@keyframes wave-flight {
  0% {
    transform: translate(0, 0) rotate(0);
  }
  25% {
    transform: translate(30px, -10px) rotate(10deg);
  }
  50% {
    transform: translate(60px, -20px) rotate(-10deg);
  }
  75% {
    transform: translate(90px, -10px) rotate(10deg);
  }
  100% {
    transform: translate(300px, -50px) rotate(90deg); /* Fly off the screen */
    opacity: 0; /* Disappear */
  }
}

/* Fade-in animation */
@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  100% {
    opacity: 1;
  }
}

/* Add flying-out animation to the plane */
.fly-out {
  animation: wave-flight 2s ease-in-out forwards;
}

/* Add fade-in animation to the plane */
.fade-in {
  animation: fade-in 2s ease-in-out forwards;
}







/* Large screens (L) - Standard Desktop Monitors */
@media (max-width: 1840px) {
  
  .home-page h3 {
    font-size: 2.5em;
    margin: 5px 0px 5px 0px;
  }
  
  .home-page h1 {
    font-size: 5em;
    margin: 5px 0px 5px 0px;
  }
  
  .home-page p {
    width: 80%;
    margin: 15px 0px 5px 0px;
    font-size: 1.5em;
  }

  .home-page-icons-container {
    max-width: 75%;
  }
  
  .home-page-icons {
    max-height: 27px;
  }

  .button-28 {
    font-size: 16px;
    padding: 16px 24px;
    min-height: 0px;
    border-radius: 10px;
  }

  .home-page-image {
    max-width: 55%;
    margin: 0px 10px 0px 0px;
  }






  /* Large screens (L) - Standard Desktop Monitors */
  @media (max-width: 1599px) {
    #header {
      width: 230px;
      padding-left: 60px;
    }

    nav a {
      font-size: 20px;
      font-weight: 600;
    }

    nav a.active {
      font-size: 30px;
    }

    #content {
      margin-left: 230px; /* Width of the header */
    }

    .home-page .left-content {
      margin-left: 90px;
    }
    
    .home-page h3 {
      font-size: 3em;
      margin: 5px 0px 5px 0px;
    }
    
    .home-page h1 {
      font-size: 4em;
      margin: 5px 0px 5px 0px;
    }
    
    .home-page p {
      width: 90%;
      margin: 15px 0px 5px 0px;
      font-size: 1em;
    }
    
    .home-page-icons-container {
      max-width: 90%;
    }
    
    .home-page-icons {
      max-height: 35px;
    }

    .button-28 {
      font-size: 15px;
    }

    .home-page-image {
      max-width: 60%;
    }

    .about-page h2 {
      margin-top: 80px;
      font-size: 2em;
    }

    .about-page h3 {
      font-weight: 700;
      font-size: 1.5em;
    }
    
    .about-page p {
      max-width: 94%;
      font-size: 1em;
    }
    
    .about-page-image {
      max-height: 800px;
    }
    
    .tab-link {
      padding: 15px 60px 10px 60px;
      font-size: 15px;
      border-radius: 20px 20px 0px 0px;
    }
    
    .video-container {
      max-width: 18%; /* Adjust width as needed */
      min-width: 14%;
    }
    
    .contact-page h2 {
      font-size: 3em;
      margin-bottom: 0px;
    }
    
    .contact-page p {
      font-size: 1.2em;
      line-height: 1.4;
      max-width: 400px;
    }
    
    .contact-page form {
      max-width: 400px;
      padding: 20px;
    }

    .contact-page label {
      font-size: 1em;
      margin-bottom: 5px;
    }

    .send-message-btn {
      font-size: 1em;
      width: 180px;
    }
  
  
  
  
  
  
  
  
  
    /* Medium screens (M) - Small Monitors and Laptops */
    @media (max-width: 1199px) {

      .home-page-icons-container {
        max-width: 100%;
      }
      
      .home-page-icons {
        max-height: 27px;
      }
    
      .video-container {
        max-width: 38%; /* Adjust width as needed */
        min-width: 30%;
      }
  
      .about-page-image {
        display: none;
      }
  
      .contact-page p {
        max-width: 80%;
      }
  
      .contact-page form {
        width: 80%;
      }
  
      .portfolio-tabs {
        margin: 0 5% 0 5%;
      }
  
      .tab-link {
        padding: 15px 40px 10px 40px;
      }
  
  
  
  
  
  
      /* Small screens (S) - Small Tablets */
      @media (max-width: 991px) {
    
        .home-page .left-content {
          margin-left: 70px;
          margin-right: 70px;
        }
        
        .home-page h3 {
          font-size: 1.5em;
        }
        
        .home-page h1 {
          font-size: 3em;
        }
        
        .home-page p {
          width: 100%;
          font-size: 1em;
        }
        
        .home-page-icons {
          max-height: 32px;
        }
  
        .home-page-image {
          display: none;
        }
  
        .tab-link {
          padding: 15px 30px 10px 30px;
        }
  
  
  
  
  
  
  
        /* large Mobile screens */
        @media (max-width: 768px) {
  
          @keyframes slide-out-right {
            from {
              transform: translateX(0);
            }
            to {
              transform: translateX(100%);
            }
          }
          
          .slide-out-right {
            animation: slide-out-right 0s ease-out forwards;
          }
          
          /* Slide in from right animation */  
          @keyframes slide-in-right {
            from {
              transform: translateX(100%);
            }
            to {
              transform: translateX(0);
            }
          }
          
          .slide-in-right {
            animation: slide-in-right 0s ease-out forwards;
          }
  
          .hamburger {
            display: block;
            position: fixed;
            top: 30px;
            left: 30px;
            z-index: 1100;
            cursor: pointer;
          }
  
          .hamburger div {
            width: 30px;
            height: 3px;
            background-color: #023535;
            margin: 6px 0;
            transition: 0.4s;
          }

          .hamburger.active div {
            background-color: #fff;
          }
  
          .hamburger.active div:nth-child(1) {
            transform: rotate(-45deg) translate(-6px, 6px);
          }
  
          .hamburger.active div:nth-child(2) {
            opacity: 0;
          }
  
          .hamburger.active div:nth-child(3) {
            transform: rotate(45deg) translate(-6px, -6px);
          }
  
          #header {
            position: fixed;
            width: 100vw;
            height: 100vh;
            padding-left: 0px;
            text-align: center;
            transform: translateX(-100%);
            transition: transform 0.8s ease; /* Slide in and out takes 0.8s */
            background-color: #023535;
            z-index: 1000;
          }

          .social-media-icons {
            flex-direction: row;
            justify-content: center;
            width: 100%;
          }

          .sm-box {
            display: none;
          }

          .inst-color:hover {
            background: #c19a6b;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            color: transparent;
          }
          
          .link-color:hover {
            color: #c19a6b !important;
          }
  
          #header.show {
            transform: translateX(0); /* Slide in from the left */
          }
  
          #content {
            margin-left: 0px; /* Full width content */
            width: 100%; /* Ensure full width for the content */
          }
  
          nav a {
            font-size: 25px;
          }
  
          nav a.active {
            font-size: 30px;
            font-weight: 900;
          }

          .home-page-icons {
            max-height: 35px;
          }
  
          .portfolio-tabs {
            margin: 0 3% 0 3%;
          }
          
          .tab-link {
            padding: 10px 20px 5px 20px;
            border-radius: 10px 10px 0px 0px;
            position: relative;
            margin-left: -30px; /* Overlap the tabs */
            z-index: 1;
          }
  
          .tab-link:first-child {
            margin-left: 0; /* No overlap for the first tab */
          }
        
          .tab-link.active {
            z-index: 10; /* Bring the active tab on top */
          }
  
          .video-container {
            margin: 10px 20;
          }
  
          .contact-page {
            padding: 0px 20px;
          }
  
          .contact-page h2 {
            font-size: 2.3em;
            margin-bottom: 0px;
          }
          
          .contact-page p {
            line-height: 1.2;
            max-width: 400px;
          }
          
          .contact-page form {
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
          }
          
          .contact-page label {
            font-size: 1em;
          }

          .fa-paper-plane.paper-plane {
            display: none;
          }
          
          .social i{
            font-size: 30px;
            margin: 0px 8px;
          }






          /* regular Mobile screens */
          @media (max-width: 500px) {

            .home-page-icons {
              max-height: 25px;
            }

            .about-page .left-content {
              flex-direction: column;
              height: 100%;
              margin-left: 40px;
              margin-right: 20px;
            }

            .about-page h2 {
              margin-top: 100px;
              font-size: 1.5em;
            }
        
            .about-page h3 {
              font-weight: 700;
              font-size: 1.3em;
            }
            
            .about-page p {
              max-width: 94%;
              font-size: 0.9em;
            }

            .video-container {
              max-width: 100%;
              margin: 10px 0;
            }

            .contact-page {
              padding: 40px 20px;
            }
          }
        }
      }
    }
  }
}