* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --bg-color: #ffe4ec;
  --text-color: #333;
  --accent-color: #d87093;
  --section-bg: rgba(255, 240, 245, 0.8);
}
body.dark-mode {
  --bg-color: #252020;
  --text-color: #f8cfe0;
  --accent-color: #ff69b4;
  --section-bg: rgba(20, 20, 20, 0.8);
}
body {
  font-family: "Courier New", monospace;
  background-color: var(--bg-color);
  background-size: cover;
  color: var(--text-color);
  overflow-x: hidden;
  scroll-behavior: smooth;
  transition: background 0.6s ease, color 0.4s ease;
  text-align: center;
}
header {
  min-height: 30vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.theme-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;      
  border: none;           
  cursor: pointer;
  outline: none;
  padding: 0;             
  transition: transform 0.3s ease;
}
.theme-btn:hover {
  transform: scale(1.1); 
}
#theme-icon {
  width: 100px;            
  filter: drop-shadow(0 0 2px var(--accent-color));
}
.photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-color);
  margin-bottom: 20px;
  transition: border 0.3s ease;
}
header h1 {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(255, 182, 193, 0.5);
}
header p {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 25px;
}
a.button {
  display: inline-block;
  padding: 10px 25px;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
}
a.button:hover {
  background: var(--accent-color);
  color: white;
  box-shadow: 0 0 10px var(--accent-color);
}
section {
  background-color: var(--section-bg);
  border: 1px solid var(--accent-color);
  border-radius: 20px;
  padding: 60px 20px;
  margin: 60px auto;
  max-width: 900px;
  box-shadow: 0 0 15px rgba(255, 182, 193, 0.2);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease, border 0.4s ease;
}
section.show {
  opacity: 1;
  transform: translateY(0);
}
h2 {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}
h2::after {
  content: "";
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  display: block;
  margin: 10px auto 0;
  border-radius: 10px;
}
footer {
  text-align: center;
  padding: 40px;
  background: var(--section-bg);
  color: var(--text-color);
  font-size: 0.9rem;
  border-top: 1px solid var(--accent-color);
}
@media (max-width: 600px) {
  header h1 {
    font-size: 2.2rem;
  }
  section {
    padding: 40px 15px;
  }
}
