@font-face {
  font-family: 'nexa';
  src: url('assets/fonts/nexa.ttf');
}
html {
  background-image: url("/agos/assets/bg_tile_blobby.webp");
  background-repeat: repeat;
  background-size: 192px 192px;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none;     /* Edge/IE */
}

body {
  background-image: url("/agos/assets/bg_tile_blobby.webp");
  background-repeat: repeat;
  background-size: 192px 192px;
  font-family: "nexa", sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: overlay;
}
      
.navbar {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 10px;
  position: relative;
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
}


.navbar-inner {
  background-image: url("/agos/assets/bg_menu_tile_fixed.webp");
  background-repeat: repeat;
  background-size: 256px 256px;
  border-radius: 20px;
  padding: 10px 40px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  width: 90%;
  max-width: 1100px;
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  width: 100%;
  padding: 0;
  margin: 0;
}

.navbar li a {
  font-size: 28px;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  -webkit-text-stroke: 1px rgba(100, 120, 160, 0.6);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.credit {
  display: inline-block;
  width: fit-content;
  height: fit-content;
  padding: 0;
  margin: 0;
  line-height: 1;
  background-color: transparent;
}

p {
  font-family: "nexa", sans-serif;
}

p.credit {
  margin: 0;
}

a:visited {
  color: black;
  text-decoration: underline;
}

a:link {
  color: black;
  font-size: 20px;
}

.image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: fit-content;
  text-align: center;
  margin: 10vh auto 0 auto;
}

.image-container img {
  width: auto;
  height: 50vh;
}

.logo {
  text-align: center;
  -webkit-animation: woosh 2s ease-in-out infinite alternate;
  animation: woosh 2s ease-in-out infinite alternate;
  -moz-animation: woosh 2s ease-in-out infinite alternate;
}

@media (max-width: 600px) {
  .logo {
    transform: scale(0.8);
  }
}

@keyframes woosh {
  from {
    scale: 1;
    transform: rotate(3deg);
  }
  50% {
    transform: rotate(-3deg);
  }
  to {
    scale: 0.95;
    transform: rotate(3deg);
  }
}

.site-footer {
  width: 100vw;
  margin: 0;
  padding: 0;
  position: relative;
  bottom: 0;
  left: 0;
  overflow: hidden;
  margin-top: auto;
}

.footer-inner {
  background-image: url("/agos/assets/bg_menu_tile_fixed.webp");
  background-repeat: repeat;
  background-size: 256px 256px;
  border-radius: 0;
  padding: 10px 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  color: white;
  text-align: center;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
}

.footer-inner p {
  margin: 0 0 10px;
  font-size: 16px;
  -webkit-text-stroke: 0.5px rgba(100, 120, 160, 0.6);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.footer-links li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  -webkit-text-stroke: 0.5px rgba(100, 120, 160, 0.6);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.footer-links li a i {
  margin-right: 8px;
  font-size: 18px;
  vertical-align: middle;
}

.page-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.footer-links i.fa-youtube {
  color: #ff4f4f;
}

.footer-links i.fa-discord {
  color: #7289da;
}

.music-button {
  background-color: #F08C50;
  color: white;
  border: none;
  border-radius: 999px;
  padding: 0.4em 1.2em;
  font-size: 1em;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease;
  box-shadow: none;
  outline: none;
  margin: 1rem auto;
  min-width: unset;
  width: fit-content;
  display: block;
}

.music-button:hover {
  background-color: #e67b40;
}

#rotate-message {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background-color: #F08C50;
  color: white;
  text-align: center;
  font-weight: bold;
  z-index: 9999;
  font-family: "nexa", sans-serif;
}

@media screen and (orientation: portrait) and (max-width: 500px) {
  #rotate-message {
    display: block;
  }
}


.forum-preview {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.forum-container {
  background-color: #e67242;
  border-radius: 24px;
  padding: 1.5rem;
  width: 90%;
  max-width: 900px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.forum-post {
  background-color: #ffa861;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
}

.post-info {
  max-width: 70%;
}

.post-info h2 {
  font-size: 1.3rem;
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  text-decoration: underline;
}

.post-info p {
  margin: 0;
  font-weight: normal;
}

.post-avatar {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

#login-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.login-box {
  background-color: #fff;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.login-box input[type="file"] {
  margin-bottom: 1rem;
}

.login-box button {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  background-color: #F08C50;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

#login-error {
  color: red;
  margin-top: 1rem;
}
