* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #bfbfbf;
  flex-direction: column;
  gap: 10px;
}

main[data-testid="test-about-page"] {
  background: #fff;
  width: 600px;
  max-width: 90%;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
  position: relative;
}

main::before {
  content: "About Me";
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 600;
  width: 100%;
  height: 140px;
  background: linear-gradient(180deg, #d92027, #b31312);
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
}

section {
  padding: 1.5rem;
}

h2 {
  color: #d92027;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.about-header {
  font-size: 1.5rem;
}

p {
  color: #444;
  font-size: 0.9rem;
  line-height: 1.5;
}
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

nav a {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(180deg, #d92027, #b31312);
  color: #fff;
  padding: 0.8rem 1.4rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

nav a:hover,
nav a:focus {
  transform: translateY(-3px);
  background: linear-gradient(180deg, #b31312, #910d0c);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  outline: none;
}

nav a:active {
  transform: scale(0.97);
}

@media (max-width: 600px) {
  nav {
    flex-direction: column;
    gap: 1rem;
  }

  nav a {
    width: 80%;
    text-align: center;
  }
}
@media (max-width: 768px) {
  main[data-testid="test-about-page"] {
    width: 90%;
  }
}
