* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(120deg, #f7cfd8, #a6f1e0);
  color: #333;
  overflow-x: hidden;
  animation: fadeIn 5s forwards;
}

.navbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  background: #f4f8d3;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav_hover {
  cursor: pointer;
  transition: 0.3s;
}

.nav_hover:hover {
  color: #73c7c7;
  transform: scale(1.1);
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

.menu {
      display: flex;
      gap: 50px;
    }


@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #444;
        padding: 10px;
        border-radius: 8px;
      }

      .menu.show {
        display: flex;
      }
}


.portfolio {
  font-weight: bold;
  font-size: 18px;
  color: #73c7c7;
}

.dark-mode {
  background: #151414;
  color: white;
}

header {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 20px;
  flex-wrap: wrap;
}

.header-content {
  max-width: 500px;
}

.header-content h1 {
  font-size: 3rem;
  color: #2ce2e2;
}

.header-content h3 {
  margin-top: 8px;
  color: #555;
}

.my_img {
  height: 300px;
  width: 300px;
  border-radius: 50%;
  box-shadow: 0 0 10px #f4f8d3;
  object-fit: cover;
}

.social-icons {
  margin: 15px 0;
}

.social-icons i {
  margin-right: 10px;
  font-size: 22px;
  border: 2px solid #73c7c7;
  border-radius: 50%;
  padding: 8px;
  transition: 0.3s;
}

.social-icons i:hover {
  background-color: #73c7c7;
  color: #fff;
  transform: scale(1.1);
}

#more_about_me {
  padding: 8px 15px;
  background-color: #73c7c7;
  color: #fff;
  border: none;
  border-radius: 5px;
  transition: 0.3s;
}

#more_about_me:hover {
  background-color: #2ce2e2;
  transform: scale(1.05);
}

.section {
  padding: 60px 20px;
  text-align: center;
  margin-top: 10px;
 margin-bottom: 100px; 
}

.section h1 {
  margin-bottom: 20px;
  font-size: 2.5rem;
  color: #2ce2e2;
}

.section p {
  max-width: 700px;
  margin: 0 auto;
  color: #444;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 50px;
 margin-bottom: 100px; 
}

.skill-box {
  background: #f4f8d3;
  color: #73c7c7;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: bold;
  transition: 0.3s;
}

.skill-box:hover {
  background: #73c7c7;
  color: #fff;
  transform: scale(1.1);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  justify-items: center;
}

.project-item {
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 10px #ccc;
  transition: 0.3s;
  cursor: pointer;
}

.project-item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #73c7c7;
}

.project-item img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

form input, form textarea {
  width: 90%;
  max-width: 500px;
  padding: 10px;
  border: 2px solid #2ce2e2;
  border-radius: 5px;
  outline: none;
}

form textarea {
  resize: none;
  height: 120px;
}

#submit-button {
  background: #73c7c7;
  color: #fff;
  padding: 8px 20px;
  border: none;
  border-radius: 5px;
  transition: 0.3s;
}

#submit-button:hover {
  background: #2ce2e2;
  transform: scale(1.05);
}

footer {
  text-align: center;
  background: #f4f8d3;
  padding: 10px;
  color: #555;
}

.up-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  height: 40px;
  width: 40px;
  border: none;
  border-radius: 50%;
  background: #2ce2e2;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 0 5px #333;
  transition: 0.3s;
}

.up-button:hover {
  background: #73c7c7;
  transform: scale(1.1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .header-content h1 {
    font-size: 2rem;
  }
  .my_img {
    height: 200px;
    width: 200px;
  }
}
