body{
    background: #fff16;
}
#main{
    margin: auto;
    text-align: center;
    padding-top: 8rem;
}

#name{
    font-family: "Poppins", sans-serif;
    color: #2f2f2f;
    font-weight: 600;
    font-style: normal;
    font-size: 3rem;
    line-height: 3rem;
    margin-top:30px
}

#about{
    padding-left: 30%;
    padding-right: 30%;
    text-align: center;
}

img {
  border-radius: 50%;
}

p {
  color: #2f2f2f;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}
 
@media screen and (max-width: 800px) {
  #main {
      padding-top: 1rem;
  }
    #about {
      padding-left: 10%;
      padding-right: 10%;
  }
  .project-flex {
    flex-direction: column;
    align-items: flex-start;
  }
}

.fa {
  padding: 20px;
  font-size: 30px;
  width: 30px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 50%;
  background: #2f2f2f;
  color: #fcfcfc;
}

html {
  scroll-behavior: smooth;
}

.scroll-down {
  margin-top: 15px;
  font-size: 2rem;
  cursor: pointer;
  color: #2f2f2f;
  animation: bounce 2s infinite;
}

.fa-angle-down {
  padding: 15px;
  font-size: 30px;
  width: 30px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 0%;
  background: none;
  color: #2f2f2f;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(10px); }
  60% { transform: translateY(5px); }
}

#projects {
  padding: 4rem 10%;
  background-color: #f8f8f8;
  text-align: left;
}

.project {
    margin-bottom: 3rem;
  }


.project-flex {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.project img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  flex-shrink: 0;
}

.project-text {
  flex: 1;
  min-width: 250px;
}

.project-text h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #2f2f2f;
}

.project-text p {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  color: #555;
}

.project-text strong {
  font-weight: 1000;
}

.project-text a {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  display: inline-block;
  margin-top: 0.5rem;
  color: #2f2f2f;
  font-weight: 500;
  text-decoration: underline;
}
