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

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(-45deg, #1d2b64, #f8cdda, #3a1c71, #d76d77);
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
  
  min-height: 100vh;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
nav{
  background: rgba(203, 202, 202, 0.4);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}
nav ul{
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
nav li{
  height: 50px;
}
nav a{
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: rgb(10, 10, 10);
}
nav a:hover{
  color: rgb(249, 246, 246);
  background-color: #8a88882f;
  border-radius: 5px;
  font-size: 20px;
  font-weight: bolder;
}
nav li:first-child{
  margin-right: auto;
}
.sidebar{
  position: fixed;
  top: 0; 
  right: 0;
  height: 100vh;
  width: 250px;
  background-color: rgba(246, 239, 239, 0.15);
  backdrop-filter: blur(12px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.sidebar li{
  width: 100%;
}
.sidebar a{
  width: 100%;
}
.menu-button{
  display: none;
}
.home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 150px 50px;
  gap: 30px;
  flex-wrap: wrap;
}

.home-text {
  flex: 1;
  max-width: 600px;
}

.home-text h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.home-text .typing-text {
  font-size: 2.5rem;
  font-family: monospace;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

#changing-text {
  margin-left: 5px;
  
}

.cursor {
  color: #e6ecef;
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.home-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #fdfdfd;
}



*:focus,
*:active {
  outline: none !important;
  -webkit-tap-highlight-color: transparent;

}


.social-icons {
      display: flex;
      gap: 20px;
    }

    .social-icons a {
      border: 1px solid #eff3f4;
      padding: 12px;
      border-radius: 100px;
      color: #f4f7f7;
      transition: 0.3s;
      font-size: 18px;
    }

    .social-icons a:hover {
      background: #f4f7f8;
      border: 1px solid black;
      color: #000;
    }
.image-box {
  flex: 1;
  display: flex;
  justify-content: center;
  
}

.image-box img {
  width: 350px;
  height: 350px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  border: 5px solid white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.about {
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  padding: 20px 50px;
  flex-wrap: wrap;
}

.gif-box img {
  height: 400px;
  
}

.about-text {
  flex: 1;
  max-width: 600px;
}

.about-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
}
.skills {
  padding: 20px 50px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skills h2 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 40px;
}

.skills-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.skill-card {
  background: rgb(250, 248, 248);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  width: 250px;
  height: 250px;
  color: rgb(8, 0, 0);
}

.skill-card:hover {
  background: linear-gradient(135deg, #f8cdda80, #1d2b6480);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
  border: 1px solid #ffffff55;
  
}

.skill-card i {
  font-size: 100px;
  margin-bottom: 15px;
  color: #012938;
}

.skill-card h3 {
  font-size: 2.5rem;
  margin: 0;
}

#projects {
  padding: 50px;
  text-align: center;
}
.projects h2{
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 40px;
}
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.project-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.project-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.project-card:hover {
  transform: translateY(-15px);
}

.project-card a {
  color: #007bff;
  text-decoration: none;
  margin: 0 5px;
}

.contact-section {
  display: flex;
  justify-content: space-between;
  padding: 50px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h2 {
  color: white;
  font-size: 36px;
  margin-bottom: 20px;
}

.contact-info p {
  color: white;
  margin: 10px 0;
  font-size: 16px;
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  background-color: #f7f4f4;
  color: rgb(17, 17, 17);
  border: none;
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 5px;
  resize: none;
}

.contact-form button {
  background: linear-gradient(to right, #cfa6b0,#611d98,#cfa6b0);
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
  @media (max-width: 768px) {

  .home, .about {
    flex-direction: column;
    text-align: center;
    padding: 100px 20px;
  }

  .image-box img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  border: 5px solid white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  }
  .gif-box img {
    width: 300px;
    height: 300px;
  }
}
    @media (max-width: 768px) {
      .contact-container {
        flex-direction: column;
      }

      .left-content,
      .right-content {
        width: 100%;
      }
    }
@media(max-width: 800px){
  .hideOnMobile{
    display: none;
  }
  .menu-button{
    display: block;
  }
  
}
@media(max-width: 400px){
  .sidebar{
    width: 100%;
  }
  
}
