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

/* Body and Global Settings */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100%;
  padding: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Content Container */
.content {
  z-index: 1;
  text-align: center;
}

/* Section Hyperlink */
.section-hyprlink {
  color: #ff0000;
  text-decoration: none;
  transition: all 0.5s ease;
}
.section-hyprlink:hover {
  color: #000;
  text-decoration: wavy underline;
}

mark {
  background-color: #ff0000;
  padding: 8px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
}
mark:hover {
  background-color: #580472;
}
.mark-hyprlink {
  color: #000000;
  text-decoration: none;
  transition: all 0.5s ease;
}
.mark-hyprlink:hover {
  color: #ffffff;
}
/* Dark Mode Styles */
.dark-mode {
  background-color: rgba(0, 0, 0, 0.9);
}
.dark-mode .section {
  background-color: rgba(49, 49, 49, 0.9);
}
.dark-mode .section-link:hover {
  background-color: #fff;
  color: #333;
}
.dark-mode .mode-toggle {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.dark-mode .mode-toggle:hover {
  background: rgba(255, 255, 255, 0.3);
}
.dark-mode .section-hyprlink {
  color: #ff0000;
  text-decoration: none;
  transition: all 0.5s ease;
}
.dark-mode .section-hyprlink:hover {
  color: #fff;
  text-decoration: wavy underline;
}
.dark-mode .section-description,
.dark-mode .section-title, 
.dark-mode .profile {
  color: #fff;
}

/* Mode Toggle Button */
.mode-toggle {
  position: fixed;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  color: inherit;
  transition: background 0.3s ease;
}
.mode-toggle:hover {
  background: rgba(255, 255, 255, 0.3);
}
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
/* Profile Section */
.profile-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
}
.name {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.description {
  font-size: 1rem;
  color: inherit;
  margin-bottom: 20px;
  text-align: center;
}

/* Links Section */
.links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.link-button {
  color: #fff;
  text-decoration: none;
  padding: 15px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  width: 300px;
  transition: all 0.3s ease;
}
.link-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Sections */
.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #000;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.9);
}
.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.section-image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}
.section-description {
  text-align: center;
  font-size: 1rem;
  color: inherit;
  margin-bottom: 10px;
}
.section-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f80000;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
}
.section-link:hover {
  background-color: #333;
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
  body {
    overflow-y: auto;
  }
  .app {
    max-width: 100%;
    height: auto;
  }
  .profile-image {
    width: 120px;
    height: 120px;
  }
  .name {
    font-size: 1.5rem;
  }
  .description {
    font-size: 0.9rem;
  }
  .link-button {
    padding: 12px;
    font-size: 0.9rem;
  }
  .section {
    padding: 15px;
  }
  .section-title {
    font-size: 1.2rem;
  }
  .section-description {
    font-size: 0.9rem;
  }
  .section-link {
    padding: 8px 16px;
  }
}
