:root {
  --background-color: #252525;
  --text-color: white;
  --title-color: #ff0060;
  --info-color: #B0B0B0;
  --phone-color: #ff0060;
  --email-color: #1E90FF;
  --footer-border-color: #444444;
  --footer-text-color: #B0B0B0;
  --button-border-color: white;
  --button-select-color: white;
  --button-text-color: white;
  --button-text-select-color: black;
}

:root.light-theme {
  --background-color: white;
  --text-color: black;
  --title-color: #ff0060;
  --info-color: gray;
  --phone-color: #ff0060;
  --email-color: #0000EE;
  --footer-border-color: lightgray;
  --footer-text-color: gray;
  --button-border-color: black;
  --button-select-color: black;
  --button-text-color: black;
  --button-text-select-color: white;
}

* {
  transition: all 0.3s ease;
}

html {
  height: 100%;
}

body {
  text-align: center;
  margin: 0;
  display: flex; /* Enable flexbox on the body */
  flex-direction: column; /* Stack content vertically */
  background-color: var(--background-color);
  color: var(--text-color);
  height: 100%;
}

#page-top {
  margin: 50px 1.5em 0;
  padding-top: 15px;
}

#title {
  max-width: 800px;
  margin-inline: auto;
}

#page-title {
  font-size: 2.5em;
  margin-bottom: 0.3em;
  color: var(--title-color);
}

#tagline-text,
#contact-info,
#email-link {
  text-transform: uppercase;
}

#tagline {
  margin-bottom: 1.25em;
}

#tagline-text {
  font-size: 1.2em;
}

#contact-info {
  font-size: 0.8em;
  color: var(--info-color);
}

/* Links */
#phone-number,
#email-link {
  font-weight: bold;
  margin-top: 0.3em;
  display: inline-block;
  text-decoration: none;
}

#phone-number {
  font-size: 1.4em;
  color: var(--phone-color);
}

#email-link {
  font-size: 1.2em;
  color: var(--email-color);
}

#phone-number:hover,
#email-link:hover {
  text-decoration: underline;
}

#main-content {
  flex: 1; /* Allow the main content to grow and push the footer down */
  margin: 3em 1.5em;
}

/* Footer */
#page-bottom {
  width: 100%; /* Ensure it spans the full width */
  padding: 0.5em 0; /* Keep vertical padding, remove side padding */
  border-top: 1px solid var(--footer-border-color);
  color: var(--footer-text-color);
  font-size: 0.8em;
  font-weight: lighter;
}

/* Mobile Tweaks */
@media (max-width: 600px) {
  #page-top {
    margin: 50px 2em 0;
  }

  #page-title {
    font-size: 2em;
  }

  #tagline-text {
    font-size: 1em;
  }

  #main-content {
    margin: 2em 1.5em;
  }

  #page-bottom {
    font-size: 0.7em;
  }
}