@font-face {
  font-family: gpipe;
  src: url(/inc/fonts/AltoneTrial-Regular.ttf);
}

@font-face {
  font-family: gpipelogo;
  src: url(/inc/fonts/AltoneTrial-BoldOblique.ttf);
}

@font-face {
  font-family: gpipesans;
  src: url(/inc/fonts/ModernSans-Light.otf);
}

@font-face {
  font-family: bebas;
  src: url(/inc/fonts/Bebas-Regular.otf);
}

@font-face {
  font-family: coolvetica;
  src: url(/inc/fonts/coolvetica\ rg.otf);
}

@font-face {
  font-family: coolvetica-light;
  src: url(/inc/fonts/coolvetica\ condensed\ rg.otf);
}

@font-face {
  font-family: minecraft;
  src: url(/inc/fonts/Minecraft.ttf);
}

@font-face {
  font-family: minecraft-light;
  src: url(/inc/fonts/Minecraftia-Regular.ttf);
}

* {
  margin: 0;
  text-decoration: none;
}

body {
  background-color: #181818;
  background-image: url(/inc/img/mining.jpg);
  background-blend-mode: overlay;
}

i {
  margin-right: 10px;
}

li,
a,
button {
  font-family: gpipe;
  font-size: 16px;
  color: #edf0f1;
  text-decoration: none;
}

.announcement {
  border-radius: 2px;
  margin-left: 0;
  margin-right: 0;
  background-color: #a53925;
  display: block;
  padding: 5px;
  text-align: center;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  overflow: hidden;
}

.announcement a {
  font-size: 18px;
  font-family: 'bebas', sans-serif;
  text-decoration: none;
  cursor: default;
  pointer-events: none;
  color: #ffffff;
}

/* Admin Modal */
.admin-modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.admin-modal-content {
  background-color: #fff;
  color: #333;
  margin: 15% auto;
  padding: 20px;
  width: 400px;
  border-radius: 10px;
}

#admin-list {
  list-style: none;
  padding: 0;
}

#admin-list li {
  padding: 5px 0;
  font-family: gpipe;
}

/* Animations */
.search-results .result-row {
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Admin Actions Button */
.admin-actions-button {
  position: fixed;
  top: 50%;
  right: 0;
  background-color: #e74c3c;
  padding: 10px;
  border-radius: 10px 0 0 10px;
  color: white;
  text-align: center;
  cursor: pointer;
}

.admin-actions-button a {
  color: white;
  font-family: gpipe;
}

/* Style the player history search section */
.player-history {
  text-align: center;
  margin: auto;
  max-width: 600px;
  padding: 20px;
}

.player-history h2 {
  font-family: minecraft;
  font-size: 36px;
  color: #ffffff;
}

.filters {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.filter-btn {
  background-color: #333;
  color: #fff;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: gpipelogo;
}

.filter-btn.active {
  background-color: #e74c3c;
}

.block-dropdown {
  margin-top: 20px;
}

.block-dropdown select {
  width: 100%;
  padding: 10px;
  background-color: #1f1f1f;
  color: #edf0f1;
  border-radius: 5px;
  border: 1px solid #444;
  font-family: gpipe;
}

/* Search results styling */
.results-header {
  display: flex;
  justify-content: space-around;
  padding: 10px;
  background-color: #333;
  color: #fff;
  font-family: gpipe;
}

.results-list .result-row:nth-child(odd) {
  background-color: #1f1f1f;
}

.results-list .result-row:nth-child(even) {
  background-color: #333;
}

.result-row {
  display: flex;
  justify-content: space-around;
  padding: 10px;
  color: #edf0f1;
}


/* search */
input[type="text"] {
  width: 100%;
  max-width: 400px;
  padding: 12px;
  border-radius: 8px;
  border: 2px solid #444;
  background-color: #1f1f1f;
  color: #edf0f1;
  font-family: gpipe;
  font-size: 16px;
  margin-bottom: 20px;
  outline: none;
  transition: border-color 0.3s ease;
}

input[type="text"]::placeholder {
  color: #888;
}

input[type="text"]:focus {
  border-color: #e74c3c;
}

form button {
  background-color: #e74c3c;
  border: none;
  padding: 12px 20px;
  font-family: gpipe;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #d63d29;
}


/* index */

.pagecontent {
  margin-top: 100px;
  margin-left: 256px;
  margin-right: 5%;
}

.contentheader p {
  text-align: left;
  color: #ffffff;
  font-family: minecraft;
  font-size: 40px;
  cursor: default;
  pointer-events: none;
  text-decoration: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.description-server {
  text-align: left;
  padding-right: 50%;
  color: #aaaaaa;
  font-family: coolvetica;
  font-size: 18px;
  cursor: default;
  pointer-events: none;
  text-decoration: none;
  padding-top: 10px;
}

.stevepng {
  float: right;
  margin-top: -300px;
  margin-right: 19%;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  overflow: hidden;
}

.model2 {
  text-align: right;
  padding-top: 200px;
  padding-right: 15%;
  color: #ffffff;
  font-family: minecraft;
  font-size: 40px;
}

.model2tagline {
  padding-right: 20%;
}

.description-join {
  text-align: right;
  color: #aaaaaa;
  font-family: coolvetica;
  font-size: 18px;
  padding-top: 10px;
}

.description-join .boldyesyoucan {
  font-family: minecraft;
  font-size: 25px;
  margin-right: 23%;
  color: #e4e3be;
}

.joinsteps {
  padding-left: 59.5%;
  text-align: right;
  color: #aaaaaa;
  font-size: 20px;
  padding-top: 40px;
  text-align: left;
  font-family: coolvetica;
  text-decoration: none;
}

.discordiframe {
  margin-left: 20%;
  margin-top: -350px;
}

/* table of contents */
.toc {
  list-style-type: none;
  padding: 0;
  margin: 0;
  line-height: 1.5;
}

.toc li {
  margin-bottom: 10px;
  padding: 5px;
}

.toc a {
  color: #e74c3c;
  text-decoration: none;
  font-family: gpipesans;
  font-size: 16px;
}

.toc a:hover {
  text-decoration: underline;
}

/* arial font to numbers only bc our font sucks but looks nice */
.number-font {
  font-family: Arial, sans-serif;
}

/* keep other text in the other font */
.rules-container p,
.rules-container li,
.rules-container h2 {
  font-family: inherit;
}

/* more number formatting */
.rules-container p span.number-font,
.rules-container li span.number-font,
.rules-container h2 span.number-font {
  font-family: Arial, sans-serif;
}

.rules-container h1,
.rules-container h2,
.rules-container h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.rules-container p {
    margin-bottom: 10px;
}

/* Mods that aren’t allowed
.rules-section {
  margin-bottom: 20px;
}

.rules-section h2 {
  font-family: Arial, sans-serif;
  color: #ffffff;
  font-size: 28px;
  margin-bottom: 10px;
}

.rules-section ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.rules-section ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  font-family: Arial, sans-serif;
}

.rules-section ul li::before {
  content: "- ";
  color: #e74c3c;
}

.rules-section p {
  margin-bottom: 10px;
}

.compact-list {
  line-height: 1.5;
  padding: 20px;
}

.compact-list li{
  padding: 5px;
}

.compact-list li a {
  font-family: Arial, sans-serif;
} */

/* bans */
.ban-list-container {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 80px;
  padding: 20px;
  background-color: #181818;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.ban-list-title {
  font-family: gpipesans;
  color: #ffffff;
  font-size: 36px;
  text-align: center;
  margin-bottom: 20px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 12px 15px;
  text-align: left;
  color: #edf0f1;
}
th {
  background-color: #333;
  font-family: gpipesans;
  font-size: 20px;
}
tr:nth-child(even) {
  background-color: #1f1f1f;
}
tr:nth-child(odd) {
  background-color: #181818;
}
tr:hover {
  background-color: #333;
}
.expired {
  text-decoration: line-through;
  color: #e74c3c;
}
.appeal-info {
  background-color: #333;
  padding: 15px;
  border-radius: 10px;
  color: #edf0f1;
  font-family: Arial, sans-serif;
  margin-bottom: 20px;
}

/* pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  font-family: Arial, sans-serif;
}
.pagination a {
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  border: 1px solid #ddd;
  margin: 0 4px;
  background-color: #333;
  font-family: Arial, sans-serif;
}
.pagination a:hover {
  background-color: #ddd;
  color: #333;
}
.pagination a.active {
  background-color: #e74c3c;
  color: #fff;
  border: 1px solid #e74c3c;
}
.pagination .page-number {
  font-family: Arial, sans-serif;
}

/* downloads */
.downloads-container {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 80px;
  padding: 20px;
  background-color: #181818;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.downloads-title {
  font-family: gpipesans;
  color: #ffffff;
  font-size: 36px;
  text-align: center;
  margin-bottom: 20px;
}
.downloads-section {
  margin-bottom: 20px;
}
.downloads-section ul {
  list-style-type: none;
  padding: 0;
}
.downloads-section ul li {
  background-color: #1f1f1f;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.downloads-section ul li:nth-child(odd) {
  background-color: #181818;
}
.downloads-section ul li a {
  color: #edf0f1;
  text-decoration: none;
  font-family: Arial, sans-serif;
}
.downloads-section ul li .vtext {
  color: #747474;
  font-size: 16px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  text-align: left;
}
.downloads-section ul li button {
  background: #edf0f1;
  color: #333;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.downloads-section ul li button i {
  margin-right: 0px;
}
.downloads-section ul li button:hover {
  background: #cacbcb;
}

/* silly footer stuff */
.footer {
  position: fixed;
  background-color: #1a1a1a;
  text-align: center;
  bottom: 0;
  width: 100%;
  padding-bottom: 15px;
  padding-top: 15px;
  background-image: url(/inc/img/bedrock.jpg);
  background-blend-mode: overlay;
  background-repeat: repeat;
  background-size: 90px;
  left: 0;
  right: 0;
}

.footer p {
  color: #696969;
  font-size: 8px;
  font-family: minecraft-light;
  text-decoration: none;
  cursor: default;
  pointer-events: none;
}

.socials {
  float: none;
  margin: 0 auto;
  margin-top: 5px;
  text-align: center;
}

.socials a {
  font-size: 20px;
  color: #696969;
  margin: 0 10px;
}

.socials a:hover {
  color: #e4e4e4cc;
}


.flex-wrapper {
  display: flex;
  min-height: 100px;
  flex-direction: column;
  justify-content: space-between;
}

.dropbtn {
  background-color: #1f1f1f;
  color: #edf0f1;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropbtn:hover, .dropbtn:focus {
  background-color: #e74c3c;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #1f1f1f;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  top: 100%;
}

.dropdown-content a {
  color: #edf0f1;
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.dropdown-content a i {
  margin-right: 8px;
}

.dropdown-content a:hover {
  background-color: #e74c3c;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* 404 page styles */
.error-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 10px;
  color: #edf0f1;
  font-family: Arial, sans-serif;
  text-align: center;
  margin-top: 20px;
}

.error-container a {
  color: #6eb9f7;
  text-decoration: underline;
  font-family: Arial, sans-serif;
  font-size: 24px;
}

.error-title {
  font-family: gpipesans;
  color: #ffffff;
  font-size: 36px;
  margin-bottom: 20px;
}

.error-message {
  font-size: 24px;
  margin-bottom: 20px;
}

.error-image {
  display: inline-block;
  margin-left: 20px;
}

#minecraft-age-bar {
  position: fixed;
  top: 20%;
  right: 0;
  transform: none;
  background-color: #e74c3c;
  color: white;
  padding: 10px 15px;
  font-family: minecraft;
  font-size: 16px;
  border-radius: 10px 0 0 10px;
  box-shadow: -2px 2px 5px rgba(0,0,0,0.3);
  z-index: 1000;
  writing-mode: horizontal-tb;
}
