body {
  font-family: Arial, sans-serif;
  background-color: #fafafa;
  margin: 0;
  padding: 0;
  color: #ffffff;
}

/* Header */
header {
  background-color: #4b2b63;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.2rem 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  top: 0;
  color: #000000;
}

header h1 {
  color: #ffffff;
}

nav a {
  text-decoration: none;
  color: #ffffff;
  margin: 0 0.6rem;
  font-weight: bold;
}

nav a:hover {
  color: #dce4ec;
}

/* About */
.about {
  display: flex;
  background-color: #6b478d;
  gap: 2.5em;
  justify-content: center;
}

.about img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  padding: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.about-text {
  padding: 1.5rem;
  width: 50%;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Project */
.project {
  color: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.proj-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.proj-item {
  background-color: #d4c0e6;
  padding: 2rem;
  border-radius: 12px;
  width: 250px;
  text-align: center;
}

.proj-item:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.proj-item button {
  background-color: #4b2b63;
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.proj-item button:hover {
  background-color: #6b478d;
}

/* Skills */
.skills {
  background-color: #6b478d;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skills img{
  width: 50%
}

.skills-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.skills-item {
  padding: 2rem;
  border-radius: 12px;
  width: 250px;
  text-align: center;
  
}

.progress {
  width: 100%;
  height: 6px;
  background-color: #a382c3;
  border-radius: 3px;
  margin-top: 0.5rem;
}

.progress .bar {
  height: 100%;
  background-color: white;
  border-radius: 3px;
}

/* Contact */
.contact {
  text-align: center;
  padding: 3rem 1rem;
  color: #000000;
}

.contact form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 500px;
  margin: auto;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  resize: none;
}

.contact button {
  background-color: #4b2b63;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.contact button:hover {
  background-color: #6b478d;
}

footer {
  color: #000000;
  text-align: center;
}

/* Responsive design */
@media only screen and (max-width: 850px) {
  header{
    display: flex;
    flex-direction: column;
    padding: 1.5rem
  }

  .about {
    flex-direction: column;
    text-align: center;
    gap: 0px;
  }

  .about img {
    margin: 1.5rem auto;
  }

  .about-text{
    width: fit-content;
    margin-top: 0%;
  }

  .proj-container {
    flex-direction: column;
    align-items: center;
  }

  .skills-container {
    flex-direction: column;
  }
}
