html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;

  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* *******************************
 Top Navigation Menu to other pages
********************************* */
.top-nav {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 1000;
  background: rgba(0,0,0,0.5);
  padding: 0.5rem 1rem;
  border-radius: 10px;
}

.menu-item {
  color: white;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
}

.menu-item:hover {
  color: #ffdd57;
  transform: scale(1.2);
}

:root {
  --fade-duration: 1.6s;
}

/* **********************
 Layout setting per page
************************* */
.page {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  scroll-snap-align: start;
}

/* Background */
.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page::before {
  content: "";
  position: absolute;
  inset: 0;
  /*background: rgba(0,0,0,0.3);*/
  background: rgba(255,255,255,0.6);
  z-index: 1;
}

/* Text in page */
.content {
  position: relative;
  z-index: 2;
  color: black;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  padding: 1rem 2rem;
}

.page-contact .content {
  max-width: 600px;
  margin: 0 auto;
}

/* ****************
 Email contact info
***************** */
.contact-email {
  position: fixed;
  bottom: 16px;
  left: 48%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 9999;
}

.contact-discord {
  position: fixed;
  bottom: 16px;
  left: 52%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 9999;
}
