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

body {
   font-family: Arial, sans-serif;
   color: #fff;
   background-color: #131313;
   min-height: 100vh;
}

header {
   width: 100%;
   height: 80px;
   padding: 0 1.2rem;
   display: flex;
   align-items: center;
   justify-content: space-between;
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   z-index: 20;
   background: rgba(19, 19, 19, 0.95);
}
/* ========================sound starts here ========================== */
#sound {
   padding: 7px;
   background-color: #1b1b1b;
   border-radius: 5px;
   display: flex;
   align-items: center;
   color: #fff;
   z-index: 2;
}

.sound-row {
   display: flex;
   align-items: center;
   gap: 8px;
}

.sound-cloud {
   font-size: 1.2rem;
   color: #c46464;
}

.on-off {
   cursor: pointer;
   margin-left: 5px;
   display: flex;
   gap: 8px;
}

#off {
   color: #c46464;
}

#on {
   display: none;
   color: #89c0f4;
}

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

.btns-container .fa-solid {
   font-size: 2rem;
   padding: 10px;
   background-color: #1b1b1b;
   color: #fff;
   cursor: pointer;
}

.btns-container .fa-solid:nth-child(2) {
   display: none;
}
/* ========================sound ends here ========================== */


/* ========================side start here ========================== */
.aside {
   width: 100%;
   min-height: 100vh;
   top: 0;
   left: 0;
   background: #1b1b1b;
   z-index: 1;
   overflow: hidden;
}

.aside-wrapper {
   min-height: 100vh;
   display: flex;
   align-items: center;
   justify-content: space-between;
   flex-direction: column;
   padding: 1.5rem 1rem 2rem;
}

.logo-section {
   min-height: 32vh;
   width: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-direction: column;
   background-color: #1b1b1b;
   color: #fff;
}

.logo {
   display: grid;
   place-items: center;
   text-decoration: none;
}

.logo img {
   width: 45px;
   height: auto;
}

.logo span {
    font-size: 1.7rem;
    
    color: #fff;
}

.logo-section > span {
    font-size: 12px;
    color: #fff;
    margin-top: 25px;
   font-family: 'Times New Roman', Times, serif;
}
/* =======================side end=========================== */


/* ====================nav starts here ==================== */
.nav-links {
   display: flex;
   flex-direction: column;
  align-items: center;
   width: 100%;
}

.nav-links a {
   display: block;
   text-decoration: none;
   text-align: center;
   line-height: 3rem;
   color: #908096;
   position: relative;
   width: 100%;
}

.nav-links a:hover {
   color: #0a7363;
}

.nav-links a::before {
   content: '';
   position: absolute;
   /* bottom: -6px; */
   left: 0;
   
   width: 100%;
   height: 1px;
   background-color: #404041;
}

.social-icons {
   list-style: none;
   display: flex;
  margin-bottom: 30px;
   
}

.social-icons li{
    width: 30px;
    font-size: 1rem;
}
.social-icons li a{
    text-decoration: none;
    color: #909096;
}
.social-icons li a:hover{
    color: #02927c;
}
/* ================nav ends here ================================================*/

@media (min-width: 768px) {
    .aside {
        position: fixed;
        width: 280px;
    }

    .aside-wrapper {
        padding: 2rem 1.2rem 2.5rem;
    }

    .logo-section {
        min-height: 24vh;
    }

    .nav-links a {
        font-size: 1rem;
        line-height: 2.8rem;
    }

    .social-icons {
        margin-bottom: 0;
    }

    header {
        width: calc(100% - 280px);
        left: 280px;
        padding: 0 2rem;
    }

    #section-home,
    .section-work,
    #section-about {
        padding-left: 320px;
    }

    #section-home {
        margin-left: 0;
    }
}
/*======================== header part2 starts here============================= */

 .bouncing-title span {
    display: inline-block;
    cursor: pointer;
    font-size: 6rem;
   line-height: 50px;
  letter-spacing: -3px;
    
 }
.bouncing-title span.bounce{
    animation: bounce 0.5s linear;
 }
 @keyframes bounce 
 {
    20%, 50%, 80%, to{
        transform: scale(1, 1);
    }
    40%,45%{
        transform: scale(1.75, 0.65);
    }
    60%{
        transform: scale(1.25, 0.75);

    }
    90%{
        transform: scale(1.15, 0.85);
    }
    
 }

#dot {
    width: 20px;
    height: 20px;
    background: rgb(30, 206, 174);
    border-radius: 50%;
    position: fixed;
    box-shadow: 0 0 20px rgb(15, 235, 191);
    z-index: 0; /* keep dot behind text */
    pointer-events: none; /* allow clicks through to text */
}
.spark {
    width: 6px;
    height: 6px;
    background: rgb(25, 179, 145);
    border-radius: 50%;
    position: fixed;
    z-index: 0;
    pointer-events: none;
}
/* Ensure the text area appears above the dot */
.text-zone {
    position: relative;
    z-index: 5;
}

#section-home{
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
    
}

.text-zone h1{
   font-size: 3.2rem;
   line-height: 50px;
   letter-spacing: -3px;
}
.text-zone h1 img{
   width: 80px;
   height: 100px;
}

.gray-text{
   margin-top: 30px;
   color:#9d9da1;
   letter-spacing: 3px;
   font-size: 20px;
   position: relative;
}
#bg-text {
    margin-left: -30px;
  color: #696363;
 font-family: 'Condiment';
 font-size: 16px;
 z-index: -9999;
}
/* =======================header part2 ends here============================= */


/* ===================== contact button styles=================================== */
.contact-button{
  text-decoration: none;
    width: 100%;
    max-width: 200px;
    height: 40px;
    display: block;
    line-height: 40px;
    letter-spacing: 3px;
    position: relative;
    text-align: center;
    color: #08b77c;
    margin-top: 50px;
}
.contact-button div{
   position: relative;
   width: 100%;
   height: 100%;
   overflow: hidden;
   transition: all 0.3s ease-in-out;
}
.contact-button .bg{
position: absolute;
    width: 0%;
    height: 100%;
    left: -5px;
    top: 0;
    transition: all .5s ease-in-out;
    background-color: #05a573;
    transform: skewX(-19deg);
}
.contact-button:hover .bg{
    width: 110%;
}
.contact-button .base{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    border: 1px solid #06724e;
    box-sizing: border-box;
}
.contact-button .text{
   position:absolute;
   left:0;
   width:100%;
   height:100%;
   top:0;
}
.contact-button:hover .text{
   color:#1d1d1d;
   /* background-color: #02927c; */
}
/* ===================== contact button ends=================================== */

/*======================== work section  part2 starts here============================= */

.section-work {
   max-width: 900px;
   width: 100%;
   margin: 80px auto 0;
   padding: 80px 20px 60px;
   display: flex;
   flex-direction: column;
   align-items: center;
   text-align: center;
}

#header{
   font-size: 2rem;
   color:#08b77c;
   margin-bottom: 30px;
   text-align: center;
}

.text-zone-2 {
   max-width: 700px;
   margin: 0 auto 30px;
}

.text-zone-2 p{
   line-height: 1.6;
   text-align: center;
}

.fake-big-2{
   font-size: 20rem;
   font-weight: 700;
   position: relative;
   color:#37373a;
   left: 50%;
   transform: translateX(-50%);
   top: 60%;
   letter-spacing: -10px;
   z-index: -999;
   text-align: center;
   /* margin-bottom: -250px; */
}

.fake-magicwall {
   background-color: #4e4747;
   max-width: 1500px;
   width: 100%;
   height: auto;
   
   min-height: 90vh;
   padding: 0px;
   margin: 0 auto 60px;
   display: flex;
   justify-content: center;
   align-items: center;
   border-radius: 8px;
   overflow: hidden;
   position: relative;
   
}

.fake-magicwall ul {
   list-style: none;
   display: grid;
   grid-template-columns: repeat(3, minmax(0, 1fr));
   gap:10px;
   width: 100%;
   padding: 0;
   margin-left: -10px;
   /* justify-content: center;
   align-items: center; */
}

.fake-magicwall ul li {
  width: 450px;
  height: 450px;
  position: relative;
  overflow: hidden;
  border: 2px solid #045c4f;
  border-radius: 10px;
  margin-left: -30px;
}

.fake-magicwall .magic-wall_item{
   position: absolute;
   width: 300px;
   top: 0;
   left: 0;
   bottom: 0;
   right: 0;
   width: 100%;
   height: 100%;
   transform-style: preserve-3d;
   transition: transform 0.6s ease;
   transform-origin: center center;
}

.fake-magicwall .magic-wall_item.is-flipped {
   transform: rotateY(180deg);
}

/* .fake-magicwall ul li:nth-child(1) .magic-wall_item { animation-delay: 0s; }
.fake-magicwall ul li:nth-child(2) .magic-wall_item { animation-delay: 0.35s; }
.fake-magicwall ul li:nth-child(3) .magic-wall_item { animation-delay: 0.7s; }
.fake-magicwall ul li:nth-child(4) .magic-wall_item { animation-delay: 1.05s; }
.fake-magicwall ul li:nth-child(5) .magic-wall_item { animation-delay: 1.4s; }
.fake-magicwall ul li:nth-child(6) .magic-wall_item { animation-delay: 1.75s; } */
/*  
@keyframes flipImage {
   0% {
      transform: rotateY(0deg);
   }
   45% {
      transform: rotateY(180deg);
   }
   55% {
      transform: rotateY(180deg);
   }
   100% {
      transform: rotateY(360deg);
   }
} */
.flip-front,
.flip-back {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    backface-visibility: hidden;
}

.flip-front img,
.flip-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flip-back {
    transform: rotateY(180deg);
}
.fake-magicwall img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fake-magicwall ul li:hover .magic-wall_item{
   transform: scale(1.14);
}

.fake-magicwall ul li:hover .magic-wall_item.is-flipped{
   transform: rotateY(180deg) scale(1.14);
}
.fake-magicwall ul li a.colorbox{
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background: url(../image/circle.png)center / 60px 60px no-repeat;
    opacity: 0.2;
    transition: all 150ms ease-out;
    -o-transition: all 150ms ease-out;
    -webkit-transition: all 150ms ease-out;
    transform: translate(-50%, -50%) scale(0.2);
}
.fake-magicwall ul li:hover a.colorbox{
    /* transform: scale(0.6); */
    opacity: 1;
      transform: translate(-50%, -50%) scale(2.5);
}

/*======================== work section  part2 ends here============================= */


/*======================== about  section  start here============================= */


#section-about{
    padding-left: 1.5rem;
    margin: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.text-zone3 p{
    margin-bottom: 15px;
    line-height: 1.5rem;
}
.tech{
    text-decoration: none;
    color: #08fdd8;
}




/*======================== about  section  ends here============================= */

/* media section for bigger screens */

@media screen and (min-width: 1200px) {
    header{
        justify-content: flex-end;
        align-items: flex-end;
    }
    .btns-container{
        display: none;
    }

    .aside{
        width: 10%;
        height: 100%;
    }
    .aside-wrapper{
        height: 80%;
    }
    .logo-section{
        min-height: 25vh;
    }
    .logo img{
        width: 50px;
        height: auto;
    }
    .social-icons{
        margin-bottom: 0;
        text-align: center;
    }
    .social-icons li{
       
        font-size: 1rem;
    }
}
    /* home section */
    #section-home{
        padding-left: 13rem;
    }
    .text-zone h1{
        font-size: 6.3rem;
        line-height: 85px;
        letter-spacing: -6px;
    }
    .text-zone img{
        width: 50px;
        height: 72px;
    }
    .text-zone .gray-text{
        font-size: 1rem;
    }
    
    /* part 2 media query bigger screens starts here */
    #section-work{
        width: 85%;
        margin: 0 30px 0 auto;
        display: flex;
        flex-direction: column;
    }
    .text-zone-2{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    #header{
        font-size: 2.5rem;
    }
    .text-zone-2 p{
        width: 700px;
        font-size: 14px;
        line-height: 1.5rem;
    }
    .fake-big-2{
        font-size: 25rem;
        font-weight: 700;
        left: 450px;
        top: -300px;
        margin-bottom: -350px;
    }
    .fake-magicwall{
         padding-left: 8.5rem;
    }
    .fake-magicwall ul li{
        width: 242px;
        height: 236px;
    }

    /* media query for about section */
    #section-about{
        flex-direction: row;
        padding-left: 13rem;
    }
    .text-zone3 #header{
        width: 500px;
        font-size: 3rem;
    }
    .text-zone3 p{
        width: 400px;
    }
    .skills-charts{
        margin-right: 20%;
    }