html{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #000000;
    overflow-x: hidden;
    font-family: 'Press Start 2P', cursive;
}

::-webkit-scrollbar{
    background: black;
}
::-webkit-scrollbar-thumb{
    /* background: linear-gradient(120deg, black, RGB(125, 18, 255)); */
    background: transparent;
    border-radius: 10px;
}

.hidden{
    opacity: 0;
    filter: blur(5px);
    transform: translateY(30px);
    transition: all 0.4s ease-out;
    will-change: transform, opacity;
}

.show{
    opacity: 1;
    filter: blur(0px);
    transform: translate(0%);
}


.navigation{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 20px 20px 20px;
}

.mainNav{
    position: relative;
    width: 650px;
    height: 50px;
    /* background: #111111; */
    /* background-color: rgba(125, 18, 255, 0.1); */
    /* background: linear-gradient(to right, rgba(125, 18, 255, 0.2), #111111); */
    /* backdrop-filter: blur(10px); */
    /* box-shadow: 0 0 20px rgba(125, 18, 255, 0.4); */
    background-color: rgba(15, 15, 15, 0.8);
    /* border: 1px solid RGB(125, 18, 255); */
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(125, 18, 255, 0.3);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navigation span{
    color: RGB(125, 18, 255);
}

.mainNav a{
    position: relative;
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    padding: 0 23px;
    z-index: 1;
}

.mainNav span{
    position: absolute;
    top: 0;
    left: 172px;
    width: 95px;
    height: 50px;
    background: none;
    border-radius: 8px;
    box-shadow: 0.5px 0.5px 0.5px 0.5px black;
    transition: 0.5s;
}

.mainNav a:nth-child(1):hover~span{
    background: linear-gradient(120deg, black, RGB(125, 18, 255));
    left: 53px;
}
.mainNav a:nth-child(2):hover~span{
    background: linear-gradient(120deg, black, RGB(125, 18, 255));
    left: 172px;
}
.mainNav a:nth-child(3):hover~span{
    background: linear-gradient(120deg, black, RGB(125, 18, 255));
    left: 293px;
    width: 150px;
}
.mainNav a:nth-child(4):hover~span{
    background: linear-gradient(120deg, black, RGB(125, 18, 255));
    left: 470px;
    width: 120px;
}

.contactMeBut{
    position: relative;
    border: 2px solid RGB(125, 18, 255);
    padding: 20px 20px;
    border-radius: 10px;
    display: inline-block;
    transition: 0.3s ease-in-out;
}

.contactMeBut a{
    color: white;
    text-decoration: none;
    position: relative;
    display: block;
    transition: 0.3s ease-in-out;
}

.contactMeBut span{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    border-bottom: 2px solid RGB(125, 18, 255);
    border-radius: 15px;
    transform: scale(0) translateY(50px);
    opacity: 0;
    transition: 0.5s;
}

.contactMeBut:hover span{
    transform: scale(1) translateY(0);
    opacity: 1;
}

.contactMeBut:hover{
    border: 2px solid transparent;
}

.container{
    color: white;
    margin-top: 100px;
}

.container hr{
    border: none;
    width: 90%;
    margin-top: 100px;
    height: 5px;
    background: RGB(125, 18, 255);
    border-radius: 10px;
    margin-bottom: 100px;
}

.headingProject{
    position: relative;
    left: 150px;
}

.headingProject img {
    width: 80%;
    height: 650px;
    /* max-width: 1200px; */
    object-fit: fill;
    object-position: 50% 15%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(125, 18, 255, 0.5);
}

.heading{
    position: relative;
    /* top: -300px; */
    left: 15%;
    margin-bottom: 150px;
    /* right: 80px; */
    width: 50%;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 20px;
    /* box-shadow: 0 0 10px rgba(125, 18, 255, 0.5); */
    border: 2px solid black;
    transition: 0.3s ease-in-out;
}

.heading:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 5px rgba(125, 18, 255, 0.7);
}

.heading h3 {
    font-size: 25px;
    line-height: 35px;
    color: rgb(125, 18, 255);
}

.heading p {
    font-size: 12px;
    line-height: 2;
    color: white;
    margin-bottom: 20px;
}

.contentRight, .contentLeft{
    display: flex;
    justify-content: space-between;
}

.contentLeft{
    flex-direction: row-reverse;
}

.rightHead h2, .leftHead h2{
    font-size: 30px;
    color: rgb(125, 18, 255);
    margin-bottom: 20px;
    position: relative;
    top: 20px;
}

.rightHead h2{
    left: 125px;
}

.leftHead h2{
    right: 125px;
}

.fadeText{
   background: linear-gradient(to right, white 0%, rgb(125, 18, 255) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 0% 100%; /* Start with no color fill */
  background-repeat: no-repeat;
  transition: background-size 1s ease-out;
}

.stayRightContent, .stayLeftContent{
    position: relative;
    top: -50px;
    text-align: left;
    right: 20px;
    width: 50%;
    line-height: 1.5;
    padding: 20px;
    float: right;
    border-radius: 20px;
    /* box-shadow: 0 0 10px rgba(125, 18, 255, 0.5); */
    border: 2px solid black;
    transition: 0.3s ease-in-out;
}

.stayRightContent p, .stayLeftContent p {
  position: relative;
  left: 0px;
}

.stayLeftContent{
    left: 20px;
}

.contentRight img, .contentLeft img, .contentRight video, .contentLeft video{
    width: 100%;
    height: 600px;
    position: relative;
    left: 20px;
    top: 20px;
    /* max-width: 1200px; */
    object-fit: contain;
    object-position: 50% 15%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(125, 18, 255, 0.5);
    transition: 0.3s ease-in-out;
}

.contentRight img:hover, .contentLeft img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(125, 18, 255, 0.7);
}

.imgGroup {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.imgGroup img{
    width: 100%;
    height: 300px;
    object-fit: contain;
    object-position: 50% 15%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(125, 18, 255, 0.5);
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out;
}

.imgGroup img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(125, 18, 255, 0.7);
}


.footer {
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(120deg, black, rgb(125, 18, 255));
  padding: 30px 20px;
  text-align: center;
}

.footer h4 {
  margin-bottom: 20px;
  font-weight: bold;
  position: relative;
  bottom: 10px;
}

.footerContent {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* Social Icons */
.socialLinksFooter a {
  color: white;
  margin: 0 10px;
  /* border: 2px solid white; */
  padding: 10px;
  border-radius: 50%;
  font-size: 18px;
  transition: 0.4s ease-in-out;
}

.socialLinksFooter a:hover {
  color: black;
  background: rgb(125, 18, 255);
  border-color: rgb(125, 18, 255);
}

/* Contact Button */
.contactMeButFooter {
  position: relative;
  border: 2px solid rgb(125, 18, 255);
  border-radius: 10px;
  padding: 10px 25px;
  overflow: hidden;
  transition: 0.3s ease-in-out;
}

.contactMeButFooter a {
  color: white;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.contactMeButFooter span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, black, rgb(125, 18, 255));
  border-radius: 10px;
  z-index: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.4s ease-in-out;
  opacity: 0.3;
}

.contactMeButFooter:hover span {
  transform: scaleX(1);
}

.contactMeButFooter:hover {
  border-color: white;
}

i {
    position: relative;
    bottom: 3px;
}

.hamburger {
    display: none;
}









@media (min-width: 2560px) {

  html {
    font-size: 18px;
  }

  .navigation {
    margin: 40px 80px;
  }

  .mainNav {
    width: 1000px;
    height: 70px;
    font-size: 20px;
  }

  .mainNav a {
    font-size: 20px;
    padding: 0 40px;
  }

  .mainNav span {
    height: 70px;
    width: 120px;
  }

  .contactMeBut {
    padding: 25px 30px;
    font-size: 18px;
  }

  .container {
    margin-top: 150px;
  }

  .container hr {
    width: 85%;
    height: 6px;
    margin-top: 150px;
    margin-bottom: 150px;
  }

  .headingProject {
    left: 330px;
  }

  .headingProject img {
    width: 75%;
    height: 850px;
  }

  .heading {
    top: -400px;
    left: 100px;
    width: 50%;
    padding: 30px;
  }

  .heading h3 {
    font-size: 32px;
  }

  .heading p {
    font-size: 16px;
    line-height: 2.2;
  }

  .rightHead h2,
  .leftHead h2 {
    font-size: 38px;
    top: 100px;
  }

  .rightHead h2 {
    left: 200px;
  }

  .leftHead h2 {
    right: 235px;
  }

  .stayRightContent,
  .stayLeftContent {
    width: 55%;
    padding: 30px;
    font-size: 16px;
  }

  .contentRight img,
  .contentLeft img {
    width: 100%;
    height: 750px;
  }

  .imgGroup {
    gap: 30px;
    margin-top: 80px;
  }

  .imgGroup img {
    height: 400px;
  }

  .footer {
    padding: 50px 40px;
    font-size: 18px;
  }

  .footer h4 {
    font-size: 24px;
  }

  .socialLinksFooter a {
    font-size: 22px;
    padding: 12px;
  }

  .contactMeButFooter {
    padding: 12px 28px;
  }

  .contactMeButFooter a {
    font-size: 16px;
  }
}






/* =======================
   SMALL DESKTOP - 1024px
======================= */
@media (max-width: 1024px) {
  /* NAVIGATION */
  .navigation {
    flex-direction: column;
    gap: 15px;
    margin: 20px 10px;
  }

  .navigation h2{
    font-size: 18px;
  }
  
  .heading h1 {
    font-size: 42px;
  }

  .heading p {
    font-size: 16px;
  }

  .about {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px;
  }

  .aboutImage {
    display: none;
  }

  .aboutContent {
    width: 90%;
    max-width: 750px;
    text-align: center;
  }

  .aboutContent h2 {
    font-size: 22px;
  }

  .aboutContent p {
    font-size: 14px;
    line-height: 1.6;
  }

  .conBut {
    margin-top: 20px;
  }

  .conBut a {
    font-size: 15px;
  }

  .navigation {
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
  }

  .mainNav{
        width: 510px;
    }
    
    .mainNav a{
        font-size: 13px;
        padding: 0 25px;
    }

    .mainNav span{
        left: 120px;
        width: 80px;
    }

    .mainNav a:nth-child(1):hover~span{
        left: 15px;
    }
    .mainNav a:nth-child(2):hover~span{
        left: 120px;
    }
    .mainNav a:nth-child(3):hover~span{
        left: 230px;
        width: 120px;
    }
    .mainNav a:nth-child(4):hover~span{
        left: 380px;
        width: 100px;
    }

  .contactMeBut {
    white-space: nowrap;
  }

  .contactMeBut a {
    white-space: nowrap;
  }

  /* HEADING PROJECT */
  .headingProject {
    left: 0;
    text-align: center;
  }

  .headingProject img {
    width: 95%;
    height: 550px;
  }

  .heading {
    top: -20px;
    left: 0;
    margin: 0 auto;
    width: 80%;
    text-align: center;
  }

  .heading h3 {
    font-size: 22px;
  }

  .heading p {
    font-size: 11px;
  }

  /* SECTION CONTENT */
  .contentRight, .contentLeft {
    flex-direction: column;
    align-items: center;
  }

  .rightHead h2, .leftHead h2 {
    font-size: 24px;
    top: 20px;
    left: 0;
    right: 0;
    text-align: center;
  }

  .stayRightContent, .stayLeftContent {
    width: 90%;
    top: 0;
    margin: 20px 0;
    text-align: center;
    float: none;
    left: 0;
    right: 0;
  }

  .contentRight img, .contentLeft img {
    width: 90%;
    height: 400px;
    margin-top: 20px;
    left: 0;
    top: 0;
  }

  /* IMAGE GRID */
  .imgGroup {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 10px;
  }

  .imgGroup img {
    left: 50px;
    object-fit: cover;  }

  /* FOOTER */
  .footer {
    padding: 20px;
  }

  .footer h4 {
    font-size: 18px;
  }

  .footerContent {
    flex-direction: column;
    gap: 20px;
  }

  .socialLinksFooter a {
    font-size: 16px;
    padding: 8px;
  }

  .contactMeButFooter {
    padding: 8px 18px;
  }

  .contactMeButFooter a {
    font-size: 14px;
  }
}




@media (max-width: 768px) {

  /* NAVIGATION */
  .navigation {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 20px 10px;
  }

  .mainNav {
    width: 95%;
    height: auto;
    flex-wrap: wrap;
    padding: 10px;
    justify-content: center;
    gap: 10px;
  }

  .mainNav a {
    font-size: 14px;
    padding: 8px 12px;
  }

  .mainNav span {
    display: none;
  }

  .contactMeBut {
    display: none;
  }

  /* HEADING PROJECT */
  .headingProject {
    left: 0;
    text-align: center;
  }

  .headingProject img {
    width: 95%;
    height: 500px;
  }

  .heading {
    top: -245px;;
    left: 0;
    width: 85%;
    margin: 0 auto;
    text-align: center;
  }

  .imgGroup{
    position: relative;
    right: 15px;
  }

  /* FOOTER */
  .footer {
    padding: 20px;
  }

  .footer h4 {
    font-size: 18px;
  }

  .footerContent {
    flex-direction: column;
    gap: 20px;
  }

  .socialLinksFooter a {
    font-size: 16px;
    padding: 8px;
  }

  .contactMeButFooter {
    padding: 8px 18px;
  }

  .contactMeButFooter a {
    font-size: 14px;
  }
}



@media (max-width: 820px) {

  /* NAVIGATION */
  .navigation {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 20px 10px;
  }

  .mainNav {
    width: 95%;
    height: auto;
    flex-wrap: wrap;
    padding: 10px;
    justify-content: center;
    gap: 10px;
  }

  .mainNav a {
    font-size: 14px;
    padding: 8px 12px;
  }

  .mainNav span {
    display: none;
  }

  .contactMeBut {
    display: none;
  }

  /* HEADING PROJECT */
  .headingProject {
    left: 0;
    text-align: center;
  }

  .headingProject img {
    width: 95%;
    height: 500px;
  }

  .heading {
    top: -20px;
    left: 0;
    width: 85%;
    margin: 0 auto;
    text-align: center;
  }

  .imgGroup{
    position: relative;
    right: 15px;
  }

  /* FOOTER */
  .footer {
    padding: 20px;
  }

  .footer h4 {
    font-size: 18px;
  }

  .footerContent {
    flex-direction: column;
    gap: 20px;
  }

  .socialLinksFooter a {
    font-size: 16px;
    padding: 8px;
  }

  .contactMeButFooter {
    padding: 8px 18px;
  }

  .contactMeButFooter a {
    font-size: 14px;
  }
}




@media (max-width: 480px) {
  /* NAVIGATION */
  .navigation {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 10px 15px;
    position: relative;
    z-index: 10000;
  }

  .hamburger {
    display: block;
    font-size: 28px;
    color: white;
    cursor: pointer;
    z-index: 10001;
  }

  .mainNav {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 10px;
    padding: 20px 0;
    background-color: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    display: none;
    z-index: 9999;
  }

  .contentRight img, .contentLeft img, .contentRight video, .contentLeft video{
    left: 0;
  }

  .mainNav.active {
    display: flex;
  }

  .mainNav a {
    font-size: 14px;
    padding: 10px 0;
  }

  .mainNav span {
    display: none;
  }

  .contactMeBut {
    display: none;
  }

  /* PROJECT HEADER IMAGE */
  .headingProject {
    left: 0;
    text-align: center;
  }

  .headingProject img {
    width: 90%;
    height: auto;
  }

  .heading {
    position: static;
    width: 90%;
    margin: 20px auto 40px;
    text-align: center;
  }

  .heading h3 {
    font-size: 18px;
  }

  .heading p {
    font-size: 10px;
    line-height: 1.8;
  }

  /* CONTENT SECTIONS */
  .contentRight,
  .contentLeft {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

   .contentRight img, .contentLeft img, .contentRight video, .contentLeft video{
    left: 0;
  }
    
  .rightHead h2,
  .leftHead h2 {
    font-size: 20px;
    top: 0;
    left: 0;
    right: 0;
    margin-bottom: 10px;
  }

  .stayRightContent,
  .stayLeftContent {
    width: 90%;
    float: none;
    top: 0;
    left: 0;
    right: 0;
    margin-bottom: 30px;
    padding: 15px;
  }

  .contentRight img,
  .contentLeft img {
    width: 90%;
    height: auto;
    margin-bottom: 20px;
    left: 0;
    top: 0;
  }

  /* IMAGE GRID */
  .imgGroup {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 30px;
    padding: 0 10px;
    position: relative;
    left: 20px;
  }

  .imgGroup img {
    height: auto;
  }

  /* FOOTER */
  .footer {
    padding: 15px;
    line-height: 1.5;
  }

  .footer h4 {
    font-size: 16px;
  }

  .footerContent {
    flex-direction: column;
    gap: 15px;
  }

  .socialLinksFooter a {
    font-size: 14px;
    padding: 6px;
  }

  .contactMeButFooter {
    padding: 6px 14px;
  }

  .contactMeButFooter a {
    font-size: 12px;
  }
}
