body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #2e1a47, firebrick);
  color: white;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
}

.sticky-header {
  position: sticky;
  top: 0;
  line-height: 3em;
  background-position: top;
  z-index: 1000;
  backdrop-filter: blur(0.8px);
}

nav a {
  position: relative;
  color: white;
  margin: 0 1em;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, orange, #ffcccb);
  bottom: -4px;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-out;
  border-radius: 5px;
}

nav a:hover {
  color: #ffcccb;
  transform: scale(1.05);
}

nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 5%;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  max-width: 600px;
  z-index: 1;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
}

.hero p {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 1.3em;
}

.btn {
  background: #2e1a60;
  color: white;
  border: none;
  padding: 0.8em;
  font-size: 1.1em;
  border-radius: 15px;
  text-decoration: none;
}


.btn:hover {
  background: #2e1a47;
  transition: 0.3s;
  font-size: 1.03em;
}

.discordbtn {
  background: #2e1a60;
  color: white;
  border: none;
  padding: 0.7em 1.4em;
  font-size: 0.9em;
  border-radius: 15px;
  text-decoration: none;
}

.discordbtn:hover {
  background: #2e1a47;
  transition: 0.3s;
  font-size: 1em;
}

.logo-container {
  display: flex;
  align-items: center;
  padding: 10px;
}

.logo-image {
  height: 200px;
  width: auto;
  border-radius: 50%;
}

.bmi-section {
  height: 30vh;
  display: flex;
  align-items: first;
  justify-content: flex-start;
  padding-left: 5%;
  position: relative;
}

.bmi-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.bmi-section-content {
  position: relative;
  max-width: 600px;
  z-index: 1;
}

.water-tracker {
  height: 30vh;
  display: flex;
  align-items: first;
  justify-content: flex-end;
  padding-left: 5%;
  position: relative;
}

.water-tracker::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.water-tracker-content {
  position: unset;
  max-width: 600px;
  z-index: 1;
}

.history {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 5%;
  position: relative;
}

.history::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.history-content {
  position: relative;
  max-width: 600px;
  z-index: 2;
}

.community-call {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 5%;
  position: relative;
}

.community-call::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.community-content {
  position: relative;
  max-width: 600px;
  z-index: 2;
}

.footer {
  margin: 1em 1em 1em;
  display: flex;
  justify-content: center;
}

a:focus, button:focus {
  outline: 3px solid #339af0;
  outline-offset: 2px;
}

html {
  scroll-behavior: smooth;
}

section {
  transition: all 0.4s ease-in-out;
}

section:hover {
  transform: translateY(-2px);
}





