body {
  color: white;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: black;
}

a {
  text-decoration: none;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

.main {
  width: 100%;
  height: 70px;
  background-color: black;
  position: fixed;
  top: 0;
  z-index: 1000;
}

.navbar {
  overflow: hidden;
  padding: 10px 0;
}

.nav {
  float: left;
  padding: 0 20px;
  font-size: 24px;
  line-height: 1.5;
}

.menu-container {
  float: right;
  padding: 0 20px;
}

.menu {
  display: inline-block;
  padding: 0 10px;
  font-size: 20px;
  line-height: 1.5;
}

.hero-section {
  background-image: url('./banner.jpg');
  padding-top: 80px;
  background-size: cover;
  background-position: center;
  height: 660px;
  text-align: left;
  display: flex;
  justify-content: end;
  align-items: center;
  color: #fff;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  color: black;
  display: flex;
  justify-content: end;
  align-items: end;
  padding-left: 40%;
}

.hero-text h1 {
  padding-bottom: 0px;
}

.hero-content h1 {
  font-size: 36px;
}

.hero-content p {
  font-size: 20px;
}

.about {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: black;
  padding-top: 40px;
  padding-bottom: 40px;
  height: 660px;
}

.photo {
  text-align: center;
}

.photo img {
  max-width: 100%;
  height: 100%;
  display: block;
  border-radius: 10px;
}

.about-me {
  flex: 1;
  color: white;
  padding: 0 20px;
}

.about-me h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.about-me p {
  font-size: 16px;
  line-height: 1.6;
}

.internships {
  display: flex;
  justify-content: space-between;
  color: black;
  background-color: white;
  height: 660px;
  padding-top: 70px;
  padding-bottom: 40px;
}

.internships > div {
  flex: 1;
  margin: 0 5px;
}

.internships img {
  border-radius: 20px;
}

#projects {
  display: flex;
  height: 660px;
  padding-top: 70px;
  padding-bottom: 40px;
  gap: 10px;
}

#projects > div {
  flex: 1;
  border: 1px solid #ccc;
  padding: 10px;
}

#skills {
  display: flex;
  gap: 20px;
  background-color: white;
  color: black;
  align-items: center;
}

.skill {
  flex: 0 0 auto;
}

.allskills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding-top: 100px;
  padding-bottom: 40px;
  height: 560px;
  gap: 20px;
  flex: 1;
  align-items: center;
}

.allskills > div {
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: linear-gradient(to right, #0cc0df, #ffde59);
  color: black;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: left;
  font-size: 16px;
}

.con-main {
  display: flex;
  flex-direction: row;
  color: white;
  background-color: black;
  height: 500px;
  padding-top: 70px;
  padding-bottom: 40px;
  padding-left: 70px;
}

.thankyou {
  padding-left: 100px;
}

.contact h2 {
  font-size: 30px;
}

.contact-details {
  flex: 1;
  width: 100%;
  max-width: 600px;
  margin: 0 5px;
  text-align: left;
  font-family: Arial, sans-serif;
}

.contact-details p {
  margin: 20px 0;
  display: flex;
  align-items: left;
}

.contact-details span.icon {
  margin-right: 10px;
  font-size: 40px;
}

.contact-details span.label {
  font-size: 26px;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  margin-left: 40px;
  display: block;
}

.social-media {
  display: flex;
  justify-content: left;
  padding-left: 30px;
  margin-top: 20px;
  flex: 1;
  width: 100%;
  max-width: 600px;
}

.social-media a {
  margin: 0 10px;
}

.icon {
  font-size: 40px;
  margin-right: 10px;
}

.contact h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

/* Mobile styles */
@media (max-width: 768px) {
  .main {
      height: auto;
  }

  .nav {
      font-size: 18px;
      padding: 0 10px;
  }

  .menu-container {
      display: flex;
      flex-direction: column;
      padding: 0;
  }

  .menu {
      padding: 10px 0;
      font-size: 18px;
  }

  .hero-section {
      height: auto;
      text-align: center;
      justify-content: center;
      padding: 20px;
  }

  .hero-content {
      padding-left: 0;
      justify-content: center;
      align-items: center;
  }

  .hero-content h1 {
      font-size: 24px;
  }

  .hero-content p {
      font-size: 16px;
  }

  .about {
      flex-direction: column;
      height: auto;
      padding: 20px;
  }

  .photo img {
      width: 100%;
      height: auto;
  }

  .about-me {
      padding: 0;
      text-align: center;
  }

  .about-me p {
      font-size: 14px;
  }

  .internships {
      flex-direction: column;
      height: auto;
      padding: 20px;
  }

  .internships > div {
      margin-bottom: 20px;
  }

  #projects {
      flex-direction: column;
      height: auto;
      padding: 20px;
  }

  #projects > div {
      margin-bottom: 20px;
  }

  #skills {
      flex-direction: column;
      padding: 20px;
  }

  .skill {
      font-size: 24px;
  }

  .allskills {
      grid-template-columns: 1fr;
      height: auto;
  }

  .allskills > div {
      font-size: 20px;
      padding: 10px;
  }

  .con-main {
      flex-direction: column;
      padding: 20px;
  }

  .contact-details span.icon {
      font-size: 30px;
  }

  .contact-details span.label {
      font-size: 20px;
      margin-left: 20px;
  }

  .social-media {
      justify-content: center;
      padding-left: 0;
  }
}
