@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Roboto:wght@100;300;400;500;700;900&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  padding: 0;
  margin: 0;
  font-family: "Roboto", sans-serif;
  background-color: #34353b;
}

header {
  height: 100vh;
  padding: 36px 100px;
  background-image: url(background.png);
  background-position: right;
  background-size: contain;
  background-repeat: no-repeat;
  width: 100vw;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 90%;
  z-index: 99;
}

header nav img {
  height: 56px;
  width: 56px;
  object-fit: contain;
  filter: invert(70%) sepia(96%) saturate(558%) hue-rotate(359deg)
    brightness(103%) contrast(106%);
}

header nav ul {
  display: flex;
}

header nav ul li {
  list-style: none;
  margin: 0px 20px;
}

header nav ul li a {
  color: #98999a;
  text-decoration: none;
  transition: all ease 0.5s;
}

header nav ul li a:hover {
  color: #fbfbfb;
}

header nav ul li .active {
  color: #fbfbfb;
}

header nav .search {
  height: 48px;
  width: 200px;
  background-color: #3d3e42;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 4px;
  border-radius: 10px;
}

header nav .search input {
  border: none;
  background-color: transparent;
  width: 80%;
  color: #fbfbfb;
  outline: none;
}

header nav .search input:focus {
  border: none;
  outline: none;
}

header nav .search input::placeholder {
  color: #98999a;
  font-size: 16px;
}

header nav .search i {
  color: #98999a;
}

.landing {
  display: flex;
  height: 90vh;
  background-color: transparent;
  align-items: center;
  justify-content: space-between;
}

.landing .intro {
  display: flex;
  flex-direction: column;
}

.landing .intro h3 {
  color: #fbfbfb;
  font-weight: 400;
  font-size: 32px;
  margin-left: 10vw;
}

.landing .intro h3 span {
  color: #fec86a;
  font-weight: 600;
  font-size: 3.5rem;
}

.intro button {
  height: 48px;
  width: 144px;
  margin-top: 2.5vh;
  margin-left: 10vw;
  background-color: transparent;
  border: 2px solid #fec86a;
  border-radius: 8px;
  color: #fec86a;
  font-size: 16px;
  transition: all ease 0.5s;
}

.intro button:hover {
  background-color: #fec86a;
  color: #34353b;
  cursor: pointer;
}

.socials {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-top: 50vh;
}

.socials .line {
  background-color: #fec86a;
  height: 15vh;
  width: 2.5px;
}

.socials i {
  color: #fbfbfb;
  font-size: 36px;
}
.socials a{
  text-decoration: none;
}

.about {
  height: 50vh;
  width: 100vw;
  padding: 100px;
}

.about h1 {
  font-size: 56px;
  font-weight: 700;
  color: #fbfbfb;
  font-family: "Libre Baskerville", serif;
}

.about .description {
  display: flex;
  align-items: start;
}

.about .description .line {
  height: 2.5px;
  width: 400px;
  background-color: #fec86a;
  margin-right: 32px;
}

.about .description p {
  color: #fbfbfb;
  font-size: 20px;
}

.about .description p span {
  color: #fec86a;
}

.skills {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 100px;
}

.skills h1 {
  font-size: 56px;
  font-weight: 700;
  color: #fbfbfb;
  font-family: "Libre Baskerville", serif;
}

.cards {
  display: flex;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 50px;
  gap: 2.5vh;
}

.skill-card {
  height: 20vw;
  width: 20vw;
  background-color: #3d3e42;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  gap: 2.5vh;
  transition: all ease 0.5s;
}

.skill-card:hover {
  background-color: #fec86a;
}

.skill-card img {
  height: 7.5vw;
  width: 7.5vw;
  object-fit: contain;
}

.skill-card h2 {
  font-size: 24px;
  font-weight: 400;
  color: #fbfbfb;
}

.portfolio {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 100px;
}

.portfolio h1 {
  font-size: 56px;
  font-weight: 700;
  color: #fbfbfb;
  font-family: "Libre Baskerville", serif;
}

.portfolio-cards {
  display: grid;
  grid-template-columns: auto auto auto;
  margin-top: 50px;
  gap: 2.5vh;
}

.portfolio-card {
  position: relative;
  height: 30vw;
  width: 30vw;
  background-color: #3d3e42;
  border-radius: 20px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  gap: 2.5vh;
  transition: all ease 0.5s;
}

.portfolio-card img {
  position: relative;
  height: 30vw;
  width: 30vw;
  object-fit: cover;
}

.portfolio-card .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 2.5vh;
  height: 30vw;
  width: 30vw;
  background-color: #34353ba2;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: all ease 0.5s;
}

.portfolio-card .overlay h3 {
  color: #fbfbfb;
  font-size: 24px;
}

.portfolio-card .overlay p {
  color: #fbfbfb;
  font-size: 16px;
  text-align: center;
}

.portfolio-card .overlay button {
  height: 36px;
  width: 108px;
  background-color: #fec86a;
  border: 1px solid #fec86a;
  border-radius: 8px;
  color: #34353b;
  font-size: 12px;
  transition: all ease 0.5s;
  cursor: pointer;
}

.portfolio-card .overlay:hover {
  opacity: 1;
}

.portfolio button {
  margin-top: 50px;
  height: 48px;
  width: 144px;
  background-color: #fec86a;
  border: 1px solid #fec86a;
  border-radius: 8px;
  color: #34353b;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all ease 0.5s;
}

.portfolio button:hover {
  background-color: #cc9e4e;
}

.experience {
  display: flex;
  flex-direction: column;
  /* height: 100vh; */
  width: 100vw;
  position: relative;
  align-items: center;
  justify-content: center;
}

.darker-div {
  background-color: #34353a;
  width: 100vw;
  height: 10vh;
}

.experience h1 {
  position: absolute;
  color: #fbfbfb;
  font-size: 56px;
  font-family: "Libre Baskerville", serif;
  transform: translate(-50%, -50%);
  top: 10%;
  left: 15%;
}

.lighter-div {
  background-color: #3d3e42;
  width: 100vw;
  /* height: 90vh; */
  padding: 10vh;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.lighter-div .exp {
  height: 30vh;
  width: 50vw;
  position: relative;
  margin-left: 20vh;
}

.exp h2 {
  color: #fbfbfb;
  font-size: 32px;
  font-weight: 400;
}

.exp h2::before {
  content: "";
  height: 20px;
  width: 20px;
  color: #fec86a;
  background-color: #fec86a;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 7.5%;
  left: -5%;
  border-radius: 50%;
  box-shadow: 0px 0px 20px 5px #fec86a;
}

.exp-desc::before {
  content: "";
  height: 190px;
  width: 2.5px;
  background-color: #fbfbfb;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 55%;
  left: -5%;
}
.exp-desc h3 {
  color: #fbfbfb;
  font-size: 20px;
  font-weight: 400;
  margin: 10px 0;
}

.exp-desc p {
  color: #fbfbfb;
  font-size: 16;
  font-weight: 400;
}

.contact-me {
  width: 100vw;
  padding: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-me h1 {
  font-size: 56px;
  color: #fbfbfb;
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
}

.contact {
  display: flex;
  gap: 24px;
}

.contact-card {
  background-color: #fec86a;
  padding: 10px;
  border-radius: 8px;
  display: flex;
  gap: 10px;
  margin-top: 7.5vh;
}


/* Additional styles for very small screens (screen width < 480px) */
@media (max-width: 479px) {
  header {
    padding: 36px 10px; /* Further adjust padding for very small screens */
  }

  header nav {
    padding: 10px 10px;
  }

  header nav ul li {
    margin: 0 5px; /* Further reduce margin for list items for very small screens */
  }

  header nav .search {
    width: 120px; /* Further reduce the width of the search bar for very small screens */
  }

  header nav .search input {
    width: 60%;
  }

  header nav .search input::placeholder {
    font-size: 12px; /* Further reduce the font size of the placeholder text */
  }
}

/* Additional styles for smaller screens (screen width < 768px) */
@media (max-width: 767px) {
  .about {
    padding: 60px 20px; /* Adjust padding for smaller screens */
  }

  .about h1 {
    font-size: 40px; /* Reduce font size for smaller screens */
  }

  .about .description .line {
    width: 60%; /* Adjust line width for smaller screens */
    margin-right: 10px; /* Reduce margin for smaller screens */
  }

  .about .description p {
    font-size: 16px; /* Reduce font size for smaller screens */
  }

  .skills {
    padding: 30px 20px; /* Adjust padding for smaller screens */
  }

  .skills h1 {
    font-size: 40px; /* Reduce font size for smaller screens */
  }

  .cards {
    gap: 10px; /* Adjust the gap between skill cards for smaller screens */
  }

  .skill-card {
    height: 25vw; /* Adjust height for smaller screens */
    width: 25vw; /* Adjust width for smaller screens */
  }

  .skill-card img {
    height: 10vw; /* Adjust image size for smaller screens */
    width: 10vw;
  }

  .skill-card h2 {
    font-size: 20px; /* Reduce font size for smaller screens */
  }
}

/* Additional styles for very small screens (screen width < 480px) */
@media (max-width: 479px) {
  .about {
    padding: 50px 10px; /* Further adjust padding for very small screens */
  }

  .about h1 {
    font-size: 30px; /* Further reduce font size for very small screens */
  }

  .about .description .line {
    width: 80%; /* Further adjust line width for very small screens */
    margin-right: 5px; /* Further reduce margin for very small screens */
  }

  .about .description p {
    font-size: 14px; /* Further reduce font size for very small screens */
  }

  .skills {
    padding: 20px 10px; /* Further adjust padding for very small screens */
  }

  .skills h1 {
    font-size: 30px; /* Further reduce font size for very small screens */
  }

  .cards {
    gap: 5px; /* Further adjust the gap between skill cards for very small screens */
  }

  .skill-card {
    height: 30vw; /* Further adjust height for very small screens */
    width: 30vw; /* Further adjust width for very small screens */
  }

  .skill-card img {
    height: 12vw; /* Further adjust image size for very small screens */
    width: 12vw;
  }

  .skill-card h2 {
    font-size: 16px; /* Further reduce font size for very small screens */
  }
}

/* Additional styles for smaller screens (screen width < 768px) */
@media (max-width: 767px) {
  .experience {
    align-items: flex-start; /* Align content to the left for smaller screens */
  }

  .experience h1 {
    font-size: 40px; /* Reduce font size for smaller screens */
    top: 10%; /* Adjust the position for smaller screens */
    left: 10%;
  }

  .darker-div {
    height: 7vh; /* Adjust height for smaller screens */
  }

  .lighter-div {
    padding: 5vh 10px; /* Adjust padding for smaller screens */
  }

  .lighter-div .exp {
    height: auto; /* Remove fixed height for smaller screens */
    width: 100%; /* Use full width for smaller screens */
    margin-left: 0; /* Remove margin for smaller screens */
  }

  .exp h2 {
    font-size: 28px; /* Reduce font size for smaller screens */
  }

  .exp h2::before {
    top: 10%; /* Adjust position for smaller screens */
    left: -8%;
  }

  .exp-desc::before {
    top: 55%; /* Adjust position for smaller screens */
    left: -8%;
  }

  .exp-desc h3 {
    font-size: 18px; /* Reduce font size for smaller screens */
  }

  .exp-desc p {
    font-size: 14px; /* Reduce font size for smaller screens */
  }
}

/* Additional styles for very small screens (screen width < 480px) */
@media (max-width: 479px) {
  .experience h1 {
    font-size: 30px; /* Further reduce font size for very small screens */
  }

  .lighter-div {
    padding: 5vh 5px; /* Further adjust padding for very small screens */
  }

  .exp h2 {
    font-size: 24px; /* Further reduce font size for very small screens */
  }

  .exp h2::before {
    height: 15px; /* Further reduce the size of the circle for very small screens */
    width: 15px;
    top: 8%;
    left: -10%;
  }

  .exp-desc::before {
    height: 150px; /* Further reduce the size of the vertical line for very small screens */
    width: 2px;
    top: 55%;
    left: -10%;
  }

  .exp-desc h3 {
    font-size: 16px; /* Further reduce font size for very small screens */
  }

  .exp-desc p {
    font-size: 12px; /* Further reduce font size for very small screens */
  }
}
/* Additional styles for smaller screens (screen width < 768px) */
@media (max-width: 767px) {
  .contact-me h1 {
    font-size: 40px; /* Reduce font size for smaller screens */
  }

  .contact {
    flex-direction: column; /* Stack contact cards vertically for smaller screens */
  }

  .contact-card {
    margin-top: 20px; /* Increase the spacing between contact cards for smaller screens */
  }

  .contact-card i {
    font-size: 24px; /* Reduce icon size for smaller screens */
  }

  .contact-card p {
    font-size: 18px; /* Reduce text size for smaller screens */
  }
}

/* Additional styles for very small screens (screen width < 480px) */
@media (max-width: 479px) {
  .contact-me h1 {
    font-size: 30px; /* Further reduce font size for very small screens */
  }

  .contact-card {
    margin-top: 15px; /* Further increase the spacing between contact cards for very small screens */
  }

  .contact-card i {
    font-size: 20px; /* Further reduce icon size for very small screens */
  }

  .contact-card p {
    font-size: 16px; /* Further reduce text size for very small screens */
  }
}

