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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  background-color: #f2f5ff;
}

/* Nav Header */
header {
  width: 100%;
  height: 50px;
  background-color: #fff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  z-index: 100;
}

header .logo {
  font-size: 15px;
  color: teal;
  text-decoration: none;
  font-weight: bold;
}

header nav ul {
  display: flex;
  align-items: center;
}

header nav ul li {
  list-style: none;
  padding-left: 20px;
}

header nav ul li a {
  color: #3d3d3d;
  text-decoration: none;
}

/* Hero Styles */
.hero {
  width: 100%;
  padding: 100px 20px;

  background-color: #0d0d0d;

  color: #f1f1f1;
  

  /* position: relative; */
}
 
.hero-left-content h1 {
  font-size: 12px;
}

.hero-left-content h2 {
  font-size: 24px;
  padding: 6px 0;
}

.hero-left-content p {
  padding: 4px 35px 0 0;
 
  
}
.socials {
  position: absolute;
  top: 0;
  margin: 140px 20px;
  right: 0%;
  width: 40px;
  padding: 10px 0px 0px 10px;
  background-color: teal;
  border-radius: 10px;
  display: inline;
  justify-content: center;
}
.socials ul li {
  list-style: none;
  margin-bottom: 8px;
}

.socials ul li:last-child {
  margin-bottom: 0px;
}
.socials img {
  width: 20px;
}
/* Portfolio Style */
.portofolio {
  /* width: 100px; */
  padding: 50px 20px;
}
.project-card {
  background: #fff;
  width: 100%;
  border-radius: 10px;
  padding: 10px;
  margin-top: 20px;
}

.project-image {
  width: 100%;

  border-radius: 10px;
}
.project-image img {
  width: 100%;
  border-radius: 12px;
}

.project-content {
  margin-top: 20px;
}

.project-content p {
  margin-top: 5px;
}

.technologies {
  margin-top: 20px;
}

.technologies ul {
  display: flex;
}

.technologies ul li {
  margin-right: 10px;
  list-style: none;
  font-size: 10px;
  background: #7f151513;
  padding: 4px;
  border-radius: 3px;
}

.view-source-btn {
  margin: 20px 0;
  padding: 8px;
  border: none;
  background: teal;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

/* About Style */

.about {
  width: 100%;
  padding: 50px 20px;
  background: #eee;
}

.about-content {
  padding: 8px 0;
}

.about-image {
  width: 100%;
  height: 200px;
  /* background-color: #363636; */
  border-radius: 10px;
  margin-top: 20px;
}

.about-image img {
  width: 100%;
  height: 120%;
  border-radius: 12px;
}

.about-btn {
  margin: 20px 0;
  padding: 8px;
  border: none;
  background: teal;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

.cts {
  text-decoration: none;
  color: white;
}

/* Contact Style */
.contact {
  width: 100%;
  padding: 30px 20px;
  background-color: #fff;
  margin-top: 50px;
  border-top-left-radius: 70px;
}

.contact-details h2 {
  padding: 8px 0;
}

.contact-details li {
  list-style: none;
  padding: 4px 0px;
}

.contact form {
  margin-top: 30px;
  background: teal;
  border-radius: 10px;
  padding: 20px;
}

.form-controls {
  margin-bottom: 10px;
}

.form-controls label,
.form-controls input,
.form-controls textarea {
  display: block;
  width: 100%;
  color: #fff;
}

.form-controls input,
.form-controls textarea {
  border-radius: 5px;
  border: none;
  padding: 4px 8px;
  margin-top: 3px;
  color: #363636;
}

.contact-btn {
  margin: 20px 0;
  padding: 8px;
  border: none;
  background-color: #fff;
  color: teal;
  border-radius: 6px;
  cursor: pointer;
}

footer {
  width: 100%;
  padding: 5px 0;
  background-color: #ccc;
  text-align: center;
}

footer p {
  font-size: 10px;
  color: #363636;
}
/* Media Query Style for Desktop Screen */
@media (min-width: 900px) {
  body {
    font-size: 15px;
  }
  h2 {
    font-size: 30px;
  }
  /* Header Styles */
  header {
    height: 60px;
    padding: 15px 100px;
  }
  /* Hero Styles */
  .hero {
    padding: 200px 100px;
  }

  .hero h1 {
    font-size: 16px;
  }
  .hero h2 {
    font-size: 45px;
  }
  .hero h3 {
    font-size: 18px;
  }
  .socials {
    margin: 200px 100px;
  }
  /* Protfolio Styles */
  .portfolio {
    padding: 80px 100px;
  }
  .project-card {
    padding: 15px;
    margin-top: 40px;
    display: flex;
  }
  .project-image {
    width: 50%;

    margin-right: 30px;
  }
  .project-content {
    width: 50%;
    margin-top: 0;
  }
  .project-content p {
    margin-top: 20px;
  }
  .technologies {
    margin-top: 20px;
  }
  .view-source-btn {
    padding: 8px 30px;
  }
  /* About Styles */
  .about {
    padding: 80px 100px;
    display: flex;
  }
  .about-content {
    width: 50%;
    margin-right: 30px;
  }
  .about-image {
    width: 40%;
    height: 250px;
  }
  /* .about-image img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
  } */
  .about-btn {
    padding: 8px 30px;
  }
  /* Start Of Contact */
  .contact {
    display: flex;
    padding: 80px 100px;
  }
  .contact-details {
    width: 40%;
    margin-right: 30px;
  }
  .contact form {
    width: 60%;
  }
  .contact-btn {
    padding: 8px 30px;
  }
}
