@font-face {
  font-family: domain;
  src: url("../fonts/domain.ttf");
}

@font-face {
  font-family: canopee;
  src: url("../fonts/canopee.ttf");
}

@font-face {
  font-family: editorial;
  src: url("../fonts/editorial.otf");
}

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

}

::-webkit-scrollbar {
  display: none;
}


html,
body {
  min-height: 100%;
  width: 100%;
  background-color: #1d1d1b;
}

/* Add a container wrapper */
.container-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-inline: 1px solid black;
}

/* Modify main container */
#main {
  background-color: #222;
  overflow-x: hidden;
  width: 100%;
}

#page1 {
  width: 100%;
  background-color: #f0eded;
  position: relative;
  padding: 20px;
  height: fit-content;
}

.wave {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTc0LjQ3MDY0IDQ2LjM0NTk0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGRlZnM+CiAgICA8bGluZWFyR3JhZGllbnQgaWQ9IndhdmUtZ3JhZGllbnQiIHgxPSIwJSIgeTE9IjEwMCUiIHgyPSIwJSIgeTI9IjAlIj4KICAgICAgPHN0b3Agc3R5bGU9InN0b3AtY29sb3I6IzAwMDAzZjsiIG9mZnNldD0iMCIgaWQ9ImRlZXAtb2NlYW4iIC8+CiAgICAgIDxzdG9wIHN0eWxlPSJzdG9wLWNvbG9yOiM0ZTZmZmY7IiBvZmZzZXQ9IjEiIGlkPSJzaGFsbG93LW9jZWFuIiAvPgogICAgPC9saW5lYXJHcmFkaWVudD4KICA8L2RlZnM+CiAgPHBhdGggc3R5bGU9ImZpbGw6dXJsKCN3YXZlLWdyYWRpZW50KTtmaWxsLXJ1bGU6ZXZlbm9kZCIgZD0ibSAwLDExLjM4NDQ4IGMgMCwwIDIxLjEzMzg1MSwxMS4zOTUzMSA0My42MTc2NjEsMTEuMzg0NDEgQyA2Ni4xMDE0NzEsMjIuNzU3OTkgMTA3Ljk2ODU2LDAuMDMyNjIgMTMwLjUwOCw3ZS01IGMgMjIuNTM5NDQsLTAuMDMyNSA0My45NjI2NCwxMS4zODQ0MSA0My45NjI2NCwxMS4zODQ0MSBWIDQ2LjM0NTk0IEggMCBaIiAvPgo8L3N2Zz4=");
  background-repeat: repeat-x;
  background-size: 500px auto;
  background-position: bottom;
  position: absolute;
  bottom: 0%;
  width: 100%;
  height: 200px;
  animation: wave 5s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
  z-index: 1;
  display: none;
}

.wave:nth-of-type(2) {
  opacity: 0.7;
  animation: swell 5s ease -1.25s infinite, wave 5s cubic-bezier(0.36, 0.45, 0.63, 0.53) -.125s infinite;
  z-index: 0;
}

@keyframes wave {
  0% {
    background-position-x: 0%;
  }

  100% {
    background-position-x: -500px;
  }
}

@keyframes swell {

  0%,
  100% {
    background-position: right bottom 10px;
  }

  50% {
    background-position: right bottom 0;
  }
}

.notification {
  height: 100vh;
  height: 100dvh;
  width: 100%;
  background-color: #1d1d1b;
  position: absolute;
  display: none;
  animation: down 1.8s;

}

*::-webkit-scrollbar {
  display: none;
}

.notification.notification-show {
  display: block;

}

@keyframes down {
  0% {
    y: 0%;
  }

  100% {
    y: 100%
  }
}

.notification-nav {
  width: 100%;
  padding: 15px;
  background-color: grey;
  text-align: center;
}

.notification-nav h2 {
  font-family: "UnifrakturMaguntia", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(24px, 5vw, 48px);
}

.center {
  height: 100%;
  width: 100%;
  display: block;
  margin-top: 20px;
}

/*.Middle h2{
 font-size: 10vw;
 font-family: canopee;
 text-align: center;
 color: #C4BCB3;
}*/

.Middle {
  position: relative;
  z-index: 25 !important;
}

.Middle a {
  font-size: clamp(40px, 10vw, 150px);
  font-family: canopee;
  text-align: center;
  color: #f0eded;
  text-decoration: none;
  display: block;
  opacity: 0;
}

.Social {
  width: 100%;
  height: fit-content;
  padding: 20px;
  position: absolute;
  bottom: 10%;
  left: 43%;

}

.line {
  position: absolute;
  top: 80%;
  left: 13%;
  background-color: #B43B12;
  width: 0%;
  height: 15px;
  z-index: 1;
  opacity: .8;
}

.dot {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background-color: white;
}

.social-handle {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-handle a {
  text-decoration: none;
  font-size: 35px;
  font-family: domain;
  color: white;
}

.navbar {
  width: 100%;
  display: flex;
  /* Allow horizontal layout for navigation elements */
  justify-content: space-between;
  /* Distribute elements evenly */
  align-items: center;
  /* Align horizontally in center */
  padding: 12px 20px;
}

.nav-center h2 {
  font-family: "UnifrakturMaguntia", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(24px, 5vw, 48px);
}

h1 {
  margin: 0;
  /* Remove default margin for cleaner layout */

}

#nav-b {
  border: 1px solid black;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 30px;
  height: 30px;
  background-color: transparent;
  border: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
}

.nav-left h2 {
  font-family: "PT Serif", Sans-Serif;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 300;

}

.hamburger .bar {
  width: 100%;
  height: 2px;
  background-color: #333;
  /* Adjust bar color if needed */
  transition: all 0.3s ease-in-out;
}

/* Animation styles for active hamburger state */
.hamburger.active .bar-top {
  transform: translateY(5px) rotate(-30deg);
}



.hamburger.active .bar-bottom {
  transform: translateY(-8px) rotate(30deg);
}

/* Initially hide navigation links (optional) */
nav ul {
  /* Assuming you'll eventually have navigation links within an unordered list `<ul>` */
  display: none;
}

/* This style will be applied dynamically using JavaScript */
.navbar.active nav ul {
  display: block;
}

#nav-b {
  border: 1px solid black;
}


.feature-work {
  width: 100%;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.feature {
  height: 200px;
  width: 100%;
  /* background-color: white;*/
  color: #f0eded;
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-bottom: 40px;
}

.feature h2 {
  font-size: clamp(40px, 12vw, 150px);
  font-family: canopee;
  background-color: #1C1C19;
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 300;
  height: 100%;
  padding: 5px 30px;
  margin: 20px 5px;
}



.info-container {
  width: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.personal-info {
  width: 100%;
  height: 100%;
}

.thing,
.next,
.nexst {
  position: absolute;
  margin-left: 5px;
}

.next,
.nexst {
  opacity: 0;
}

.top {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: domain;
}

.top img {
  width: 70px;
  border-radius: 50%;

}

.top h1 {
  font-size: 30px;
  font-weight: bold;
}

.top h2 {
  font-size: 25px;
  color: #333;
}

.bottom {
  margin-top: 10px;
  width: 100%;
  font-family: domain;
}

.bottom h1 {
  font-size: 25px;
  z-index: 1;
}

.bottom p {
  font-size: 23px;
  margin-top: 10px;
}

.opportunity {
  display: flex;
  gap: 14px;
  font-size: 23px;
  margin-top: 10px;
}

.op {
  height: 10px;
  padding: 7px;
  background-color: rgb(18, 201, 18);
  border-radius: 50%;
  margin-top: 6px;
}

.Avalaible {
  display: flex;
  gap: 10px;
  align-items: center;
}

.Social-Links {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
}

.Social-Links i {
  background-color: #1C1C19;
  color: #f0eded;
  padding: 10px;
  border-radius: 10px;
  font-size: 20px;
  cursor: pointer;
}

.Social-Links i:hover {
  background-color: gray;
  transition: cubic-bezier(0.075, 0.82, 0.165, 1);
  color: black;
}

.experience {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
}


.exp {

  font-size: 28px;
  font-weight: bold;
  font-family: domain;
}

.card {
  margin-top: 10px;
  padding: 8px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid black;
  border-radius: 10px;
}

.left {
  width: 60%;
  display: flex;
  align-items: center;
}

.left>div>h1 {
  font-size: 20px;
  font-weight: bold;
  font-family: domain;
}

.left>div>h2 {
  font-size: 18px;
  font-family: domain;
}

.left>div {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-left: 10px;
}

.left img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
}

.right {
  width: 50%;
  display: flex;
  justify-content: end;
}

.right h3 {
  font-size: 18px;
  font-family: domain;
}

.skills {
  height: fit-content;
  width: 100%;
  padding: 10px;
  margin-top: 10px;
}

.skills-container {
  margin-top: 5px;
  width: 100%;
  padding: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.skill {
  padding: 5px;
  border-radius: 5px;
  border: 2px solid black;
}

.skill:hover {
  background-color: #1b1b1b;
  color: white;
  transition: ease-in;
}

.tech {
  margin-top: 10px;
  text-align: center;
}

.tech h1 {
  font-size: 30px;
  font-family: domain;
  color: black;
}

.slider-container {
  margin: 40px auto;
  height: 400px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: visible;
  /* Allow cards to pop out */
  padding: 20px;
}

.slider {
  height: 350px;
  width: 25%;
  background-color: #f0eded;
  /* Newspaper/Paper color */
  border: 1px solid #333;
  border-radius: 20px;
  padding: 10px;
  flex-shrink: 0;
  position: relative;
  transition: 0.4s ease-out;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  margin-left: -120px;
  /* Interaction: Create overlap */
  cursor: pointer;
}

/* First card shouldn't have negative margin or it shifts too far left */
.slider:first-child {
  margin-left: 0;
}

/* Hover Effects */
.slider:hover {
  transform: translateY(-20px) rotate(-2deg);
  z-index: 10;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  background-color: #f4f1ea;
}

.slider:hover~.slider {
  transform: translateX(130px);
  /* Push siblings to right */
}

.slider-content {
  height: 100%;
  width: 100%;
  border: 2px dashed #999;
  /* Maintain dashed border but lighter */
  padding: 20px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slider-content h1 {
  font-size: 24px;
  font-family: domain;
  font-weight: 400;
  margin-bottom: 10px;
  line-height: 1.1;
}

.slider-content h2 {
  font-size: 16px;
  font-family: domain;
  font-weight: 300;
  line-height: 1.4;
  color: #333;
}

.slider-content a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  border-bottom: 1px solid black;
}

@media (max-width: 768px) {
  .slider-container {
    flex-direction: column;
    height: auto;
    margin-top: 20px;
    gap: 20px;
  }

  .slider {
    width: 100%;
    margin-left: 0 !important;
    /* Reset overlap */
    height: auto;
    min-height: 300px;
    transform: none !important;
    /* Disable hover effects */
  }

  .slider:hover {
    transform: none !important;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    /* Reset shadow */
    z-index: 1;
  }

  .slider:hover~.slider {
    transform: none !important;
  }
}

#page5 {
  padding: 25px 0;
  width: 100%;
  background-color: #f0eded;
  border-top: 1px solid #2f2f2f;
  border-bottom: 1px solid #2f2f2f;

  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
}

#page5::-webkit-scrollbar {
  display: none;
}

#page5 h1 {
  font-size: clamp(40px, 8vw, 100px);
  font-family: domain;
  font-weight: 100;
  display: inline-block;
  /* background-color: red; */
  animation-timing-function: linear;
  margin-right: 30px;
  animation-name: scroll;
  animation-duration: 2.5s;
  animation-iteration-count: infinite;
}

#page5 h1 span {
  font-family: canopee;
  background-color: #1b1b1b;
  color: #f0eded;
  padding: 0 12px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100% - 34px));
  }
}

#page5:hover h1 {
  animation-play-state: paused;
}


.container {
  width: 100%;
  padding: 2px;
  position: relative;
}

#gallery-box {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 1rem;
  z-index: 1;
  filter: drop-shadow(0px 0px 10px #000a);
  pointer-events: none;
  user-select: none;
}

.overlay h1 {
  font-family: canopee;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: bolder;
  margin: 0;
  color: f0eded;
  position: relative;
  overflow: hidden;
  padding-bottom: 0.5rem;
  box-sizing: content-box;
  pointer-events: all;
  cursor: pointer;
  background-color: black;
  padding: 6px;
}

.overlay h1:after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: -5%;
  right: -5%;
  height: 2px;
  overflow: hidden;
  background-color: #f0eded;
  transform: translateX(-100%);
}

.overlay h1:hover:after {
  transform: translateX(0);
  transition: 0.4s ease;

}

.overlay h1.leave:after {
  transform: translateX(100%);
  transition: 0.4s ease;
}

.overlay a {
  font-family: domain;
  color: #ddd;
  font-size: 0.8rem;
  margin: 0;
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-bottom: 0.5rem;
  box-sizing: content-box;
  pointer-events: all;
  cursor: pointer;
  text-transform: uppercase;
}

.overlay a:after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: -5%;
  right: -5%;
  height: 2px;
  overflow: hidden;
  background-color: #ddd;
  transform: translateX(-100%);
}

.overlay a:hover:after {
  transform: translateX(0);
  transition: 0.4s ease;
}

.overlay a.leave:after {
  transform: translateX(100%);
  transition: 0.4s ease;
}


.gallery {
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
  height: 140%;
  width: 120%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  justify-content: center;
  padding: 1rem;
  transition: 2s linear;
}

.row {
  display: flex;
  flex-direction: row;
  column-gap: 2rem;
  width: 100%;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
}

.item {
  background: #fff2;
  filter: grayscale(1) brightness(0.5);
  transition: 1s;
  height: 13.98rem;
  max-width: 100%;
  min-width: calc((25% - calc(6rem / 4)) / 1.5);
  width: fit-content;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
}

.item:hover {
  filter: grayscale(0);
}

.item img {
  width: 120%;
  min-width: 198%;
  height: 200%;
  border-radius: 20px;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 2s ease;
}

/* image scaling */
.item.nr1 {
  width: 23%;
}

.item.nr2 {
  width: 19%;
}



.item.nr3 {
  width: 32%;
}

.item.nr4 {
  width: 24%;
}

.item.nr5 {
  width: 37%;
}

.item.nr6 {
  width: 19%;
}

.item.nr7 {
  width: 17%;
}

.item.nr8 {
  width: 22%;
}

.item.nr9 {
  width: 19%;
}

.item.nr10 {
  width: 16%;
}

.item.nr11 {
  width: 30%;
}

.item.nr12 {
  width: 30%;
}



@media screen and (max-width: 800px) {
  .row .item {
    height: 15rem;
  }


}

@media only screen and (max-width: 600px) {
  .notification-nav h2 {
    font-size: 34px;
  }

  .center {
    display: block;
    margin-top: 20px;
  }

  .Middle a {
    font-size: 34vw;
  }

  .Social {
    margin-top: 20px;
    width: 100%;
    height: fit-content;
    padding: 20px;
    position: absolute;
    bottom: 20%;
    left: 15%;

  }

  .dot {
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background-color: white;
  }

  .social-handle {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  #page1 {
    padding: 0;
  }

  .feature {
    height: 200px;
    flex-direction: column;
    gap: 1px;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    margin-top: 30px;

  }

  .feature h2 {
    width: fit-content;
    font-size: 100px;
    height: 60%;
    margin: 5px;
  }

  .para-p {
    padding: 0 5px;
  }

  .para-p p {
    font-size: 25px;
  }

  .para-p span {
    font-size: 20px;
  }

  .slider-container {
    display: block;
    padding: 4px 5px;
  }

  .slider {
    width: 100%;
    margin-top: 8px;
  }

  .slider-content h1 {
    font-size: 30px;
  }

  #page5 h1 {
    animation-duration: 4s;
  }
}

@media only screen and (min-width:605px) {
  .Middle a {
    font-size: 12vw;
  }

  .line {
    width: 0%;
    left: 37%;
  }

  .Social {
    display: none;

  }

  #page1 {
    padding: 0;
    overflow: hidden;
  }

  .info-container {
    height: fit-content;
    padding: 10px;
    justify-content: center;
    align-items: center;
  }

  .personal-info {
    width: 70%;
  }

  .Social-Links {
    width: 70%;
    padding: 0;
  }

  .experience {
    width: 50%;
  }

  .skills {
    width: 50%;
  }

  .para-p span {
    font-size: 30px;
  }

  .para-p p {
    text-align: center;
    font-size: 25px;
  }

  .slider {
    width: 25%;
  }

  .slider-content h1 {
    font-size: 30px;
  }

  .slider-content h2 {
    font-size: 24px;
  }

  .feature h2 {
    font-size: 14vw;
  }

  .navbar {
    padding: 20px;
  }
}

@media only screen and (min-width: 1440px) {

  /* Center align main content */
  #main {
    margin: 0 auto;
  }

  /* Fix slider widths */
  .slider {
    width: calc(30% - 30px);
    min-width: 300px;
  }

  .Middle a {
    font-size: 9vw;
  }

  /* Adjust feature text for large screens */
  .feature h2 {
    width: 40%;
    font-size: 12rem;
  }

  /* Contain gallery */
  .gallery {
    width: 100%;
    max-width: 1440px;
  }

  /* Fix page5 scrolling text */
  #page5 {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
  }

  /* Adjust container for gallery */
  .container {
    max-width: 1440px;
    margin: 0 auto;
  }

  /* Fix paragraph widths */
  .para-p {
    max-width: 1200px;
    margin: 0 auto;
  }
}