* {
     margin: 0 auto;
     padding: 0;
     box-sizing: border-box;
     font-family: 'poppins', sans-serif;
     scroll-behavior: smooth;
     max-width: 2000px;
 }
 
 body {
     color: #767c77;
     background-color: #ebd5c0;
 }
 
 /*navbar*/

 .header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 10px 40px;
  background: #767c77;
  display: flex;
  justify-content: space-between; /* separates logo and links */
  align-items: center; /* vertically center them */
  z-index: 100;
}

.logo {
  font-size: 34px;
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 5px;
}

.navbar {
  display: flex;
  gap: 30px; /* spacing between links */
}

.navbar a {
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.navbar a:hover {
  color: #9cada4;
  text-decoration: underline;
}
 
/* SECTION 1: HOME */
 
 .home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 50px;
  margin: 50px 50px;
  gap: 40px;
 }
 
 .home .home-content {
     flex: 5;
 }
 
 .home .home-content h1 {
     font-size: 56px;
     font-weight: 700;
     margin: -3px 0;
     letter-spacing: 5px;
     padding-top: 10px;
     padding-bottom: 10px;
     opacity: 1;
     animation: slideBottom 1s ease forwards;
     animation-delay: 1s;
 }
 
.home .home-content h3 {
     font-size: 32px;
     font-weight: 700;
     opacity: 1;
     animation: slideBottom 1s ease forwards;
     animation-delay: .7s;
 }
.home .home-content h4 {
     font-size: 32px;
     font-weight: 700;
     opacity: 1;
     animation: slideBottom 1s ease forwards;
     animation-delay: .7s;
     margin-bottom: 30px;
 
 }
 
 .home .home-content h5 {
     font-size: 20px;
     font-weight: 400;
     opacity: 1;
     animation: slideTop 1s ease forwards;
     animation-delay: calc(.2s * var(--i));
 }
 
.home .home-content h5 span {
     color: #767c77;
     font-size: 20px;
     font-weight: 400;
 }
 
.home .home-content h5:nth-of-type(2) {
     margin-bottom: 30px;
 
 }
 
 .home-sci a {
     display: inline-flex;
     justify-content: center;
     align-items: center;
     width: 40px;
     height: 40px;
     background: transparent;
     border: 3px solid #9cada4;
     border-radius: 50%;
     font-size: 25px;
     color: #9cada4;
     text-decoration: none;
     margin: 30px 15px 30px 0;
     opacity: 1;
     animation: slideTop 1s ease forwards;
     animation-delay: calc(.2s * var(--i));
 }
 
 .home-sci a:hover {
     background: #9cada4;
     color: #000;
     box-shadow: 0 0 20px #9cada4;
 }
 
 .btn-box {
     display: inline-block;
     padding: 12px 28px;
     background: #9cada4;
     border-radius: 40px;
     font-size: 16px;
     text-align: center;
     color: #081b29;
     letter-spacing: 1px;
     text-decoration: none;
     font-weight: 600;
     opacity: 1;
     animation: slideTop .5s ease forwards;
     animation-delay: calc(.2s * var(--i));
 }  
 
 .btn-box:hover {
     box-shadow: 0 0 5px #ebd5c0, 0 0 25px #ebd5c0, 0 0 50pc #ebd5c0, 0 0 100px #ebd5c0, 0 0 200px #ebd5c0;
 }
 
 .home .img {
  flex: 2;
  display: flex;
  justify-content: right;
 }

 .home .img img { 
       width: 350px;
  border-radius: 50%;
}
 
 /*ABOUT*/
 
 .about {
     background-color: #9cada4;
     display: flex;
      justify-content: space-between;
       align-items: center;
       padding: 50px;
       margin: 50px 0;
       margin-bottom: 100px;
       gap: 40px;
 }
 
 .about-img {
  flex: 2;
  display: flex;
  justify-content: left;
}

.about-img img { 
       width: 350px;
  border-radius: 10%;
}

 .about-text {
flex: 5;
 
 }
 
 .about-text h2 span {
     font-size: 60px;
     letter-spacing: 5px;
     color: #081b29;
 
 }

 .about-text p {
     color: #767c77;
     font-size: 20px;
     line-height: 1.5;
     letter-spacing: 2px;
     margin-bottom: 4rem;
 }


 .abtbtn-box {
     display: inline-block;
     padding: 12px 28px;
     background: #767c77;
     border-radius: 40px;
     font-size: 15px;
     text-align: center;
     color: #081b29;
     letter-spacing: 1px;
     text-decoration: none;
     font-weight: 600;
 }
 
 .abtbtn-box:hover {
     box-shadow: 0 0 5px #ebd5c0, 0 0 25px #ebd5c0, 0 0 50pc #ebd5c0, 0 0 100px #ebd5c0, 0 0 200px #ebd5c0;
 }
 
 
 /*projects*/
 .projects{
     background-color: #ebd5c0;
        padding: 0 0px;
      width: 100%;
}
 .projects h2 {
     font-size: 40px;
     line-height: 1;
     text-align: center;
      margin-bottom: 2rem;
 }

 .overlay .item h3 {
  position: absolute;
test-align: center;
        font-size: 30px;
        top: 50%;                  
  left: 50%;             
  transform: translate(-50%, -50%);
      padding-bottom: 5px;
}
 .overlay h4 {
  position: absolute;
test-align: center;
        font-size: 20px;
        top: 50%;                  
  left: 50%;             
  transform: translate(-50%, -50%);
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  padding: 10px;
  background-color: #767c77;
  word-wrap: normal;
  object-fit: contain;     
}

.grid-container >div {
  position: relative; /* allows overlay to position correctly */
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
}

 .overlay {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; shorthand */
  background: #000000; /* shadow/dim effect */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  opacity: 0; /* hidden initially */
  transition: opacity 0.4s ease; /* smooth fade */
}

.grid-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures image fills its box */
  border-radius: 8px;
}

  .item1 {grid-area: 1 / 1;}
  .item2 {grid-area: 1 / 2;}
  .item3 {grid-area: 2 / 1;}
  .item4 {grid-area: 2 / 2;}
  .item5 {grid-area: 3 / 1;}
  .item6 {grid-area: 3 / 2;}



/* Hover effect */
.overlay:hover  {
  opacity: 1; /* reveal the overlay */
}

.overlay:hover h3 {
  margin: 0;
  padding: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
}

@media only screen and (max-width: 450px) {
       grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  .item1 {grid-area: 1 / 1;}
  .item2 {grid-area: 2 / 1;}
  .item3 {grid-area: 3 / 1;}
  .item4 {grid-area: 4 / 1;}
  .item5 {grid-area: 5 / 1;}
  .item6 {grid-area: 6 / 1;}
}
      
         /*   <--------> */



/* SECTION 4: CONTACTS */
 
 .contacts {
     display: flex;
     flex-direction: column; /* Stack elements vertically */
     align-items: center;
     justify-content: center; /* Center vertically */
     gap: 3rem;
     padding: 20px;
     justify-content: center;
     background-color: #000;
     text-align: center;
 }
 
 .contact-text {
     align-content: center;
 }
 
 .contact-text h2 {
     font-size: 60px;
     line-height: normal;
     text-align: center;
 
 }
 
 .contact-text h2 span {
     color: #9cada4;
 }
 
 .contact-text h4 {
     margin-top: 15px;
     color: rgb(228, 228, 228);
     font-size: 20px;
     font-weight: 600;
 }
 
 /*.contact-text p{
     color: rgb(177, 177, 177);
     font-size: 20px;
     line-height: 30px;
     margin-bottom: 2rem;
 }*/
 
 .contact-list {
     margin-bottom: 5px ;
 }
 
 .contact-list li {
     margin-bottom: 4px;
     display: block;
     letter-spacing: 2px;
 }
 
 .contact-list i {
     display: inline-block;
     color: #9cada4;
     font-size: 20px;
     font-weight: 600;
     transition: all .40s ease;
     padding: 10px;
 }
 
 .contact-icons i {
     display: inline-flex;
     justify-content: center;
     align-items: center;
     width: 40px;
     height: 40px;
     background: transparent;
     border: 2px solid #9cada4;
     border-radius: 50%;
     font-size: 20px;
     color: #9cada4;
     text-decoration: none;
     margin: 0px 0px 0px 5px;
     opacity: 1;
 }
 
 .contact-icons i:hover {
     background: #9cada4;
     color: #000;
     box-shadow: 0 0 20px #9cada4;
 }
 
 .last-text p{
     width: 100%;
     text-align: center;
     padding: 25px;
     background: #000;
     font-weight: 300;
     margin-top: 0px;
 }
 .top{
     position: fixed;
     bottom: 2.1rem;
     left: 1rem;
     display: flex;
     opacity: 0;
     transition: all .4s;
 }
 
 .top.active{
     bottom: 32px;
     pointer-events: auto;
     opacity: 1;
 }
 
 .top i{
     color: #767c77;
     background: #9cada4;
     font-size: 20px;
     padding: 10px;
     border-radius: 0.5rem;
 }
 
 .top i:hover {
     box-shadow: 0 0 5px #ebd5c0,
     0 0 25px #ebd5c0, 0 0 50px #ebd5c0,0 0 200px #ebd5c0;
 }

      /*
 
 
 @keyframes animate-path1 {
     100% {
         stroke-dashoffset: 180;
     }
 }
 
 @keyframes animate-path2 {
     100% {
         stroke-dashoffset: 140;
     }
 }
 
 @keyframes animate-path3 {
     100% {
         stroke-dashoffset: 90;
     }
 }
 
 @keyframes animate-path4 {
     100% {
         stroke-dashoffset: 50;
     }
 }
 
 @keyframes animate-bar {
     100% {
         stroke-dashoffset: -1;
     }
 }
 
 @keyframes showText {
     100% {
         opacity: 1;
     }
 }
 
 @keyframes animate {
 
     100% {
         transform: scaleX(1);
     }
 }
 
 @keyframes slideRight {
     0% {
         transform: translateX(-100px);
         opacity: 0;
     }
 
     100% {
         transform: translateX(0px);
         opacity: 1;
     }
 }
 
 @keyframes slideTop {
     0% {
         transform: translateX(100px);
         opacity: 0;
     }
 
     100% {
         transform: translateX(0px);
         opacity: 1;
     }
 }
 
 @keyframes slideBottom {
     0% {
         transform: translateX(-100px);
         opacity: 0;
     }
 
     100% {
         transform: translateX(0px);
         opacity: 1;
     }
 }
 
 @keyframes slideUP {
     0% {
         transform: translateY(50px);
         opacity: 0;
     }
 
     100% {
         transform: translateY(0px);
         opacity: 1;
     }
 }
 
 @media (max-width: 900px) and (min-width: 700px) {
     .header{
         display:block;
     }
     .logo {
         position: relative;
         font-size: 30px;
         font-weight: 500;
         text-align: center;
     }
     .logo::after{
         content: "\a";
         white-space: pre;
     }
     .navbar a {
         font-size: 25px;
         font-weight: 200;
         margin-left: 0px;
         padding: 10px 10px 0 0;
     }
     .navbar a::after{
         content: "\a";
         white-space: pre;
     }
 
 }
 /*
      
 @media (max-width: 700px) and (min-width: 400px) {
     *{
         overflow-x: hidden;
         overflow-y: inherit;
     }
     /*navbar*/
     .header{
         display:block;
 /*
     }
     .logo {
         position: relative;
         font-size: 20px;
         font-weight: 500;
         text-align: center;
     }
     .logo::after{
         content: "\a";
         white-space: pre;
     }
     .navbar a {
         font-size: 15px;
         font-weight: 200;
         margin-left: 0px;
         padding: 10px 10px 0 0;
     }
     .navbar a::after{
         content: "\a";
         white-space: pre;
     }
 /*
     .home{
         align-items: normal;
         padding-top: 40%;
         padding-bottom: 0;
     }
     .home-content h1 {
         font-size: 40px;
         font-weight: 600;
     }
 
     .home-content h3 {
         font-size: 30px;
         font-weight: 300;
     }
 
     .home-content h4 {
         font-size: 18px;
         font-weight: 200;
     }
 
     .home-content h4 span {
         font-size: 18px;
         font-weight: 200;
     }
     .img{
         max-width: 400px;
         position: relative;
         left: -10%;
         top: 2%;
         padding-bottom: 30px;
         padding-left: 0;
         margin-left: 0;
     }
     .btn-box:hover {
         box-shadow: 0 0 5px #ebd5c0, 0 0 10px #ebd5c0, 0 0 15pc #ebd5c0, 0 0 20px #ebd5c0, 0 0 25px #ebd5c0;
     }

          .about{
         padding-bottom: 20px;
         min-height: auto;
     }
     .about-text h2 {
         font-size: 30px;
         letter-spacing: 5px;
     }
 
     .about-text p {
         font-size: 15px;
         line-height: normal;
         letter-spacing: 1px;
         margin-bottom: 4rem;
         text-align: left;
     }
     .abtbtn-box:hover {
         box-shadow: 0 0 5px #ebd5c0, 0 0 10px #ebd5c0, 0 0 15pc #ebd5c0, 0 0 20px #ebd5c0, 0 0 25px #ebd5c0;
     }
 
     .subtitle{
         font-size: 50px;
         text-align: center;
     }
     .container1 {
         width: 600px;
         max-height: 500px;
         padding: 20px;
         margin-left: 50px;
     }
     .container2 {
         width: 600px;
         max-height: 500px;
         padding: 10px;
         margin-left: 0px;
     }
     .bar .info .addhtml::before{
         content: "90%";
     }
     .bar .info .addcss::before{
         content: "80%";
     }
     .bar .info .addpy::before{
         content: "75%";
     }
     .bar .info .addjava::before{
         content: "50%";
     }
     .bar .info .addc::before{
         content: "50%";
     }
 
     .main-text {
         padding-top: 20px;
         margin-top: 10px;
         padding-bottom: 50px;
     }
     .main-text h2 {
         font-size: 50px;
         padding-bottom: 15px;
     }
     .layer p {
         line-height: normal;
     }
     .sub-title {
         font-size: 50px;
         padding-bottom: 50px;
     }
     .prj-list div{
         padding: 20px;
     }
     .contacts h2{
         font-size: 50px;
     }
     .contact-list i{
         font-size: 15px;
         padding: 5px 5px 0 0;
     }
 
     .top{
         position: fixed;
         bottom: 2rem;
         left: 1rem;
         display: inline-flex;
         align-items: center;
         justify-content: center;
         text-decoration: none;
         opacity: 0;
         transition: all .4s;
     }
 
 }

/*

 @media (max-width: 400px) {
     /*
     
         overflow-x: hidden;
     }
     .header{
         display:block;
     }
     .logo {
         position: relative;
         font-size: 20px;
         font-weight: 500;
         text-align: center;
     }
     .logo::after{
         content: "\a";
         white-space: pre;
     }
     .navbar a {
         font-size: 13px;
         font-weight: 200;
         margin-left: 0px;
         padding: 10px 4px 0 0;
     }
     .navbar a::after{
         content: "\a";
         white-space: pre;
     }
*/
          /*
 
     .home{
         width: 100%;
         align-items: normal;
         padding-top: 40%;
         padding-bottom: 0;
     }
     .home-content h1 {
         font-size: 30px;
         font-weight: 600;
     }
 
     .home-content h3 {
         font-size: 20px;
         font-weight: 300;
     }
 
     .home-content h4 {
         font-size: 15px;
         font-weight: 200;
     }
 
     .home-content h4 span {
         font-size: 15px;
         font-weight: 200;
     }
     .btn-box:hover {
         box-shadow: 0 0 5px #ebd5c0, 0 0 10px #ebd5c0, 0 0 15pc #ebd5c0, 0 0 20px #ebd5c0, 0 0 25px #ebd5c0;
     }
     .img{
         max-width: 300px;
         position: relative;
         left: -10%;
         top: 2%;
         padding-bottom: 30px;
         padding-left: 0;
         margin-left: 0;
         margin-right: 0;
     }
 
     .about{
         padding-bottom: 20px;
         min-height: auto;
     }
     .about-text h2 {
         font-size: 30px;
         letter-spacing: 5px;
     }
 
     .about-text p {
         font-size: 15px;
         line-height: normal;
         letter-spacing: 0px;
         margin-bottom: 4rem;
         text-align: left;
     }
     .abtbtn-box:hover {
         box-shadow: 0 0 5px #ebd5c0, 0 0 10px #ebd5c0, 0 0 15pc #ebd5c0, 0 0 20px #ebd5c0, 0 0 25px #ebd5c0;
     }
 
     .subtitle{
         font-size: 50px;
         text-align: center;
     }
     .container1 {
         width: 600px;
         max-height: 500px;
         padding: 20px;
         margin-left: 50px;
     }
     .container2 {
         width: 600px;
         max-height: 500px;
         padding: 10px;
         margin-left: 0px;
     }
     .radial-bar .text{
         left: 25%;
     }
     .bar .info .addhtml::before{
         content: "90%";
     }
     .bar .info .addcss::before{
         content: "80%";
     }
     .bar .info .addpy::before{
         content: "75%";
     }
     .bar .info .addjava::before{
         content: "50%";
     }
     .bar .info .addc::before{
         content: "50%";
     }
 
     .main-text {
         padding-top: 20px;
         margin-top: 10px;
         padding-bottom: 50px;
     }
     .main-text h2 {
         font-size: 50px;
         padding-bottom: 15px;
     }
     .layer p {
         line-height: normal;
     }
 
     .sub-title {
         font-size: 50px;
         padding-bottom: 50px;
     }
 
     .contacts h2{
         font-size: 50px;
     }
     .contact-list i{
         font-size: 13px;
         padding: 5px 5px 0 0;
     }
 
     .top{
         position: fixed;
         bottom: 2rem;
         left: 1rem;
         display: inline-flex;
         align-items: center;
         justify-content: center;
         text-decoration: none;
         opacity: 0;
         transition: all .4s;
     }
     .top i{
         color: #000;
     }
 }


*/


























































