@import url('https://fonts.googleapis.com/css?family=Poppins:400,600&display=swap');

/* Unvisited link */
a:link {
  color: rgb(255, 200, 11);
}

/* Visited link */
a:visited {
  color: rgb(227, 179, 20); 
}

/* Hover over link */
a:hover {
  color: rgb(181, 62, 255);
}

/* Selected link */
a:active {
  color: rgb(108, 40, 175);
}

html {
  height: 100%;
}

body {
  font-family: 'Poppins', sans-serif; /* Apply the font */
  font-size: 16px; /* Set the base font size */
  color: #c9c9c9;
  letter-spacing: 0.05em;
  opacity: 0;
}

.title h1:after {
  content: '';
  position: absolute;
  left: -30px;
  right: -30px;
  bottom: -15px; /* Adjust this value to move the underline up or down */
  height: 3px; /* Thickness of the underline */
  background: linear-gradient(to right, #797979, #797979, #797979); /* A shiny gradient effect */
  border-radius: 2px; /* Optional: adds rounded corners to the underline */
}

body.fade-in {
  opacity: 1;
  transition: transform 0.75s ease-in-out, opacity 0.75s ease-in-out; /* Apply a smooth transition */
}

.navigation button {
  display: inline-block;
  margin: 0 5px;
}

.section {
  display: none; /* Initially hide all sections */
}

.section.active {
  display: block; /* Only show the active section */
}

.yellow-text {
  color: rgb(255, 194, 11);
}

h1 {
  font-size: 2em; /* 2 times the size of the base font size */
}

p {
  font-size: 1em; /* Keep paragraph text at the base font size */
  line-height: 1.6; /* Set the line height */
}

.steamTitle {
  text-shadow: 0px 3px 4px #0000002a;
  letter-spacing: 0.125em;
}

.page-overlay {
  opacity: 1;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  transition: 0.4s ease-in-out;
}

/* Header banner with background image */
.header-banner {
  position: relative;
  width: 100%;
  max-width: 1600px;
  height: 110px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 48px auto 16px auto;
  overflow: hidden;
  padding: 0 48px;
  box-sizing: border-box;
  background-image: url('Images/About/HomeHeader.jpg');
  background-size: cover;
  background-position: center;
}

/* Overlay for readability */
.header-banner::before {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(30, 20, 40, 0.55);
  z-index: 0;
}

.header-title, .header-icons {
  position: relative;
  z-index: 1;
}

.header-title {
  font-size: 3em;
  font-weight: 700;
  color: #fff;
  text-align: left;
  letter-spacing: 0.03em;
  margin-left: 12px;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
  white-space: nowrap;
}

.header-icons {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 32px;
  margin-right: 12px;
  flex-shrink: 0;
}

.header-icons a {
  display: flex;
  align-items: center;
}

.header-icons a img {
  height: 48px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.2s, transform 0.2s;
  display: block;
}

.header-icons a img:hover {
  opacity: 1;
  transform: scale(1.08);
}

@media (max-width: 700px) {
  .header-banner {
    height: 80px;
    padding: 0 12px;
    margin-top: 32px;
  }
  .header-title {
    font-size: 1.5em;
  }
  .header-icons a img {
    height: 32px;
  }
  .header-icons {
    gap: 16px;
  }
}

.contact-fab {
  position: fixed;
  right: 24px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  background: none;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.contact-fab svg {
  width: 40px;
  height: 40px;
  display: block;
}

.contact-fab:hover {
  box-shadow: 0 8px 24px rgba(123,47,242,0.25);
  transform: scale(1.08);
}