﻿body {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #1c2d3d 0%, #3b536c 100%);
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  backdrop-filter: blur(25px) brightness(0.75);
  height: 100vh;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
}
#AMPLogo {
  position: fixed;
  bottom: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 80%);
  width: 256px;
  max-width: 100%;
  cursor: pointer;
}
#AMPLogo:hover {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0) 70%);
}
#AMPLogo:active {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 80%);
}
.d-none {
  display: none !important;
}
#copyButton {
  background: transparent;
  padding: 0;
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.5);
}
#copyButton:hover {
  color: rgba(255, 255, 255, 0.75);
}
#copyButton:active {
  color: rgba(255, 255, 255, 0.5);
}
button,
a.button {
  background: #3498DB;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  text-decoration: none;
}
button .mat-icon,
a.button .mat-icon {
  margin-right: 8px;
}
button:hover,
a.button:hover {
  background: #2980B9;
}
button:active,
a.button:active {
  transition: none;
  background: #3498DB;
}
button:visited,
a.button:visited {
  color: white;
}
.ServerInfo {
  z-index: 10;
  margin: 0;
  padding: 0;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  background: #34495E;
  color: rgba(255, 255, 255, 0.5);
  max-width: 95%;
  margin-top: -64px;
}
.ServerInfo a {
  color: rgba(255, 255, 255, 0.75);
}
.ServerInfo a:hover {
  color: #ffffff;
}
.ServerInfo a:visited {
  color: rgba(255, 255, 255, 0.75);
}
.ServerInfo a:active {
  color: rgba(255, 255, 255, 0.75);
}
.ServerInfo .BannerImage {
  width: 100%;
}
.ServerInfo h1,
.ServerInfo .ServerName {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 4px 0;
  padding: 0;
  font-weight: 100;
  font-size: 16pt;
}
.ServerInfo h2,
.ServerInfo .ServerDescription,
.ServerInfo .ServerRules {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 16px 0;
  padding: 0;
  font-size: 12pt;
}
.ServerInfo p {
  margin: 0 0 16px 0;
}
.ServerInfo .InfoHeader {
  /* .BannerImage is a full width image in the background, .HeaderLines overlays the banner image, sticking to the bottom of it regardless of the image height */
  position: relative;
  display: flex;
  flex-direction: column;
}
.ServerInfo .InfoHeader .HeaderLines {
  position: absolute;
  bottom: 0px;
  left: 0px;
  padding: 16px;
  width: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0) 50%);
}
.ServerInfo .InfoHeader .HeaderLines h1,
.ServerInfo .InfoHeader .HeaderLines h2 {
  text-shadow: 0 4px 4px #000000;
}
.ServerInfo .InfoHeader .HeaderLines h2 {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}
.ServerInfo .InfoStatus {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: green;
  color: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  padding: 0 0 0 8px;
  font-size: 12pt;
  font-weight: 100;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}
.ServerInfo .InfoStatus div {
  margin-left: 8px;
}
.ServerInfo .InfoBody {
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 460px;
  max-width: 100%;
  box-sizing: border-box;
}
.ServerInfo .InfoBody .ServerInfoLines {
  display: flex;
  flex-direction: column;
  grid-gap: 8px;
}
.ServerInfo .InfoBody .ServerInfoLines .Line {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.ServerInfo .InfoBody .ServerInfoLines .Line .mat-icon {
  margin-right: 8px;
}
.ServerInfo hr {
  background: rgba(255, 255, 255, 0.1);
  height: 1px;
  margin: 0;
  padding: 0;
  border: none;
}
.ServerInfo .InfoActions {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 16px;
  grid-gap: 8px;
}
.ServerInfo .InfoActions .JoinDiscord {
  background-color: #6E83D6;
}
.ServerInfo .InfoActions .JoinDiscord:hover {
  background-color: #5A6EB5;
}