@font-face {
  font-family: "BoubasFont";
  src: url("boubasfont.woff2") format("woff2");
}

html,
body {
  color: rgba(62, 62, 62, 0.772);
  font-family: "BoubasFont", cursive;
  height: 100%;
  margin: 0;
  background-color: #aac4c7;
  background: linear-gradient(180deg, #aac4c7, #44947c93);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}

button {
  border-radius: 10px 10px;
  color: rgba(62, 62, 62, 0.772);
  border: 1px solid rgba(255, 255, 255, 0);
  background-color: rgba(135, 135, 135, 0.45);
  box-shadow: 0px 3px 5px 1px rgba(255, 255, 255, 0.594) inset;
  backdrop-filter: blur(1px);
  transition: 0.2s;
}
button:hover {
  transform: scale(1.05);
  border-color: rgba(87, 255, 193, 0.272);
  background-color: rgba(87, 255, 193, 0.272);
}
button:active {
  transform: scale(0.95);
  border-color: rgba(87, 255, 193, 0.272);
  background-color: rgba(87, 255, 193, 0.272);
}

.navbar-container {
  position: fixed;
  font-family: "BoubasFont", cursive;
  z-index: 999;
}

.navbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #44947c;
  overflow: hidden;
  border-radius: 15px;
  display: flex;
}

.navbar a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 16px;
}

.navbar a:hover {
  background-color: #ff8162;
  color: black;
}

/* Mobile Responsiveness */
@media screen and (max-width: 450px) {
  .hide-on-mobile {
    display: none;
  }

  .show-on-mobile {
    display: block;
  }

  .navbar-container {
    zoom: 80%;
  }

  .generic-container {
    padding: 15px;
  }

  .generic-row {
    flex-direction: column;
    justify-content: flex-start;
  }

  .generic-column {
    text-align: center;
    width: 100%;
    padding: 0px;
  }

  .landing-block {
    margin-bottom: 10px;
  }

  .dynmap {
    padding: 10px;
    height: 400px;
  }

  .mc-container {
    height: 450px;
  }
}

/* General Styles */
.hide-on-mobile {
  display: block;
}

.show-on-mobile {
  display: none;
}

.generic-header-l {
  text-align: left;
  margin-left: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.generic-footer-r {
  text-align: right;
  margin-right: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.generic-center {
  text-align: center;
  margin: 25px 50px;
}

.generic-container {
  transform: translateY(50px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  border: 2px solid black;
  border-radius: 20px;
  background-color: #ffffff30;
  backdrop-filter: blur(15px);
}

.generic-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: flex-start;
}

.generic-column {
  text-align: center;
}

.generic-post {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0);
  background-color: rgba(180, 180, 180, 0.45);
  box-shadow: 0px 15px 25px 5px rgba(255, 255, 255, 0.765) inset;
  backdrop-filter: blur(2px);

  padding: 20px;
  text-align: left;
  margin-bottom: 20px;
}

.generic-row button {
  font-size: x-large;
  padding: 10px;
}

.landing-background {
  background-image: url("https://cdn.boubas.net/assets/kokathing_4k.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
}

/* Minecraft Stats */
.mc-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  background-color: hsla(0, 0%, 100%, 0.5);
  border: 2px solid rgb(139, 139, 139);
  border-radius: 10px;
  padding: 20px;
  max-width: 400px;
  max-height: 200px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  font-family: "minecraftFont";
  color: white;
}

.mc-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  padding: 5px;
  background-color: lightgray;
  width: 100%;
  border-radius: 10px;
  flex-wrap: wrap;
  max-width: fit-content;
}

.mc-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 5px;
}

.mc-playercount-column {
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.mc-image {
  display: flex;
  justify-content: flex-start;
  overflow: hidden;
  border-radius: 5px;
}

.mc-motd,
.mc-version,
.mc-players {
  display: flex;
  justify-content: flex-start;
  padding: 10px;
  border-radius: 10px;
  background-color: gray;
}

.mc-motd,
.mc-version {
  background-color: gray;
}

.mc-players {
  padding: 5px;
}

/* Dynmap */
.dynmap {
  position: relative;
  background-color: hsla(0, 0%, 100%, 0.5);
  border: 2px solid rgb(139, 139, 139);
  border-radius: 10px;
  padding: 20px;
  height: 600px;
}

.dynmap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  overflow: hidden;
  border-radius: 5px;
}

/* Button Link */
.button-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: rgb(69, 69, 69);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.button-link:hover {
  background-color: #ff8162;
}

/* Projects Background */
.projects-background {
  background-image: url("https://cdn.boubas.net/assets/spawn.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* Comments Section */
.commentsSection-preview {
  min-height: 200px;
  text-align: center;
  max-width: 500px;
}

.comment-preview {
  text-align: center;
  margin: 20px;
}
