* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  width: 100%;
  height: 100%;
  font-family: Arial, sans-serif;
  overflow: hidden;
}

.background {
  position: fixed;
  width: 100%;
  height: 100%;
  background: url('assets/background/bg.gif') no-repeat center center/cover;
  z-index: -1;
}

.info-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 30px;
  width: 400px;
  max-height: 80%;
  overflow-y: auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

h1 {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.social-links a img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s, opacity 0.3s;
}

.social-links a:hover img {
  transform: scale(1.2);
  opacity: 0.8;
}

.age {
  font-size: 18px;
  color: #555;
  cursor: pointer;
}

.age:hover {
  display: none;
}

.birth-info {
  font-size: 18px;
  color: #444;
  display: none;
}

.age:hover + .birth-info {
  display: block;
}

.bio {
  font-size: 16px;
  color: #444;
  margin-top: 15px;
  line-height: 1.6;
  text-align: center;
}

.bio p {
  margin-bottom: 10px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  backdrop-filter: blur(5px);
}

.overlay h2 {
  font-size: 36px;
  color: white;
  cursor: pointer;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s, opacity 0.3s;
}

.overlay h2:hover {
  transform: scale(1.1);
  opacity: 0.9;
}
