*{
    text-decoration: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'Times New Roman', Times, serif
}



body{
    background-color:rgb(4, 58, 59);
    
}






.navbar{

position: fixed;
left: 0;
top: 0;
width: 100%;
padding: 25px 9%;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 100;

}


.navbar .logo{
    font-size: 30px;
    font-weight: 700;
    color: #009688;
}

.navbar ul{
    display: flex;
    

}
.navbar ul li{
    list-style: none;
    margin-left: 35px;
    
}


.navbar ul li a{
    font-size: 20px;
    font-weight: 500;
    transition: 0.5;

}

a:hover{
    color:black

}

.act{
    color: #009688;
}

header{
    margin:50px;
}



.home{
    display: flex;
    align-items: center;
    height: 30vh;
    padding:10px 9% 0 ;
    color: white;
}

.home-info h1{
    font-size: 50px;
}
.home-info h2{
    font-size: 30px;
    margin-top: -10px;
}
.home-info h2::before{
    content: "";

    animation-name: display-txt;
    animation-timing-function: linear;
    animation-duration: 4s;
   
    animation-iteration-count: infinite;
}




@keyframes display-txt{


    10%{
      content: "A Ga";
    }


    20%{
        content: "A Game";
    }

    40%{
        content: "A Game Deve";
    }

    50%{
        content: "A Game Develo";
    }

    80%{
      content: "A Game Develop";
    }

    100%{
        content: "A Game Developer";
    }



}

.home-info p{
    font-size: 15px;
    margin: 10px 0 25px;
    width:85%;
}

.btn-sci{
    display: flex;
    align-items: center;
}
.btn{
    display: inline-block;
    padding: 10px 30px;
    background: rgb(147, 242, 255);
    border: 2px solid rgb(147, 242, 255);
    border-radius: 40px;
    box-shadow: 0 0 10px;
    font-size: 15px;
    color:rgb(0, 0, 0);
    font-weight: 600;
    transition: 0.5;
}
.btn:hover{
    background: transparent;
    color:rgb(147, 242, 255);
    box-shadow: none;
}

.sci{
    margin-left: 20px;
}

.sci a{
    display: inline-flex;
    padding: 8px;
    border: 2px solid rgb(147, 242, 255);
    border-radius: 70%;
    font-size: 20px;
    color:rgb(147, 242, 255);
    margin: 0 8px;
}

.sci a:hover{
    background: rgb(147, 242, 255);
    color:black;
    box-shadow:0 0 10px rgb(147, 242, 255);
}


.home-img .img-box{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 500px;
    height: 500px;
   
    padding: 5px;
    border-radius: 60%;
    
    
}

.home-img .img-box .img-item{
    position: relative;
    width: 100%;
    height: 90%;
    background-color:rgb(4, 58, 59);
    border-radius: 80%;
    display: flex;
    margin:100px 100px 10px 10px;
    justify-content: center ;
    /* z-index: 1; */
    overflow: hidden;
}




.home-img .img-box .img-item img{
    position: absolute;
    top: 30px;
    display: block;
    width: 85%;

    object-fit: cover;

}









#about {
  background-color: #f4f4f4;
  padding: 60px 20px;
  font-family: 'Roboto', sans-serif;
  color: #333;
}

#about .page-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  color: #fff;
  background-color: #009688;
  padding: 15px;
  border-radius: 8px;
}

#about .container {
  max-width: 900px;
  margin: 0 auto;
}

#about p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
}

#about ul {
  list-style-type: none;
  padding-left: 0;
}

#about li {
  padding: 8px 0;
  border-bottom: 1px solid #ccc;
}

#about li:last-child {
  border-bottom: none;
}

#about b {
  color: #009688;
}





#skills {
  background: #f7f9fc;
  padding: 60px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#skills .section-title h2 {
  text-align: center;
  font-size: 36px;
  color: #ffffff;
  background-color:#009688; ;
  margin-bottom: 40px;
  font-weight: bold;
  border-radius: 8px;
}

#skills .icon-box {
  padding: 30px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}


#skills h4 {
  margin-bottom: 20px;
  font-size: 22px;
  color: #09203a;
}

#skills p {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

#skills p img {
  height: auto;
  max-height: 60px;
  transition: transform 0.3s ease;
}

#skills p img:hover {
  transform: scale(1.1);

}

/* Responsive fix for small screens */
/* @media (max-width: 768px) {
  #skills p {
    justify-content: center;
  }

  #skills p img {
    max-width: 100px;
  }

  #skills .icon-box {
    padding: 20px;
  }
} */






.contact-section {
  padding: 60px 20px;
  background-color: #f7f9fc;
  color: #09203a;
}

.contact-section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 10px;
}

.contact-section p {
  text-align: center;
  margin-bottom: 40px;
  font-size: 18px;
}

.contact-section form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-section .form-group {
  margin-bottom: 20px;
}

.contact-section label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-section input,
.contact-section textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  resize: vertical;
  font-size: 16px;
}

.contact-section .btn {
  display: inline-block;
  background-color: #009688;
  border:solid 2px #009688 ;
  color: #fff;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-section .btn:hover {
    color: black;
  background-color: transparent;
}



@media (max-width: 768px) {
  .navbar {
    visibility: hidden;

    padding: 20p 5%;
    
  }

  .navbar ul {
    
    flex-direction: row;
    width: 100%;
    margin-top: 10px;
    gap: 10px;
  }

  .navbar ul li {
    margin: 10px 0;
  }

  .home {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding-top: 120px;
  }

  .home-info {
    margin-bottom: 30px;
  }

  .home-img .img-box {
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }

  .home-img .img-box .img-item {
    margin: 0;
  }

  .home-info h1 {
    font-size: 36px;
  }

  .home-info h2 {
    font-size: 24px;
  }

  .btn-sci {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    margin-bottom: 15px;
  }

  .sci {
    margin-left: 0;
  }

  #skills p {
    justify-content: center;
  }

  #skills p img {
    max-width: 100px;
    margin-bottom: 10px;
  }

  .contact-section form {
    width: 100%;
    padding: 0 10px;
  }
}


@media (min-width: 768px) and (max-width: 1024px) {
  .home {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding-top: 100px;
  }

  .home-img .img-box {
    width: 400px;
    height: 400px;
    margin: 0 auto;
  }

  .home-img .img-box .img-item {
    margin: 0;
  }

  .btn-sci {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    margin-bottom: 15px;
  }

  .sci {
    margin-left: 0;
  }

  .contact-section form {
    padding: 0 20px;
  }
}


