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

body {
  font-family: Arial, sans-serif;
  background-color: #f3ede3;
  color: #222;
  line-height: 1.6;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background-color: #faf7f0;
  border-bottom: 1px solid #d8cbbb;
}

nav h2 {
  font-size: 22px;
  color: #4a3728;
}

nav a {
  text-decoration: none;
  color: #4a3728;
  margin-left: 20px;
}

nav a:hover {
  color: #7a6652;
}

section {
  max-width: 1000px;
  margin: auto;
  padding: 80px 8%;
}

.hero {
  min-height: 70vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #faf7f0;
  padding: 60px;
  margin-top: 40px;
  margin-bottom: 40px;
  border: 1px solid #d8cbbb;
  border-radius: 15px;
  box-shadow: 6 13px 25px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.hero p {
  color: #7a6652;
  margin-bottom: 10px;
  max-width: 600px;
}

.hero::before {
  content: "";
  width: 70px;
  height: 4px;
  background-color: #7a6652;
  position: absolute;
  top: 35px;
  left: 60px;

  border-radius: 5px;
}

.hero h1 {
  font-size: 55px;
  margin-bottom: 15px;
  color: #4a3728;
  letter-spacing: -1px;
}

.hero h3 {
  font-size: 24px;
  font-weight: normal;
  color: #7a6652;
  margin-bottom: 20px;
}

.button {
  display: inline-block;
  padding: 11px 20px;
  background-color: #4a3728;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  width: fit-content;
  transition: 0.2s;
}

.button:hover {
  background-color: #4a3728;
  transform: translateY(-2px);
}

h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #4a3728;
}

.about {
  background-color: #faf7f0;
}

.about p {
  max-width: 700px;
  color: #555;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills span {
  background-color: #faf7f0;
  border: 1px solid #d8cbbb;
  padding: 8px 15px;
  border-radius: 4px;
  color: #4a3728;
}

.project {
  background-color: #faf7f0;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid #d8cbbb;
  border-radius: 5px;
}

.project h3 {
  margin-bottom: 10px;
  color: #4a3728;
}

.project p {
  color: #7a6652;
  margin-bottom: 15px;
}

.project a {
  color: #4a3728;
  font-weight: bold;
}

.contact p {
  margin-bottom: 8px;
  color: #7a6652;
}

footer {
  text-align: center;
  padding: 25px;
  background-color: #faf7f0;
  border-top: 1px solid #d8cbbb;
  color: #7a6652;
}

@media (max-width: 600px) {
  nav {
    padding: 20px;
  }

  nav div {
    display: none;
  }

  section {
    padding: 60px 25px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero h3 {
    font-size: 20px;
  }
}
