body {
  font-family: Arial, sans-serif;
  margin: 0;
}

.loader-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 8888;
}

.loader {
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top: 4px solid #3498db;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  40% { transform: rotate(180deg); }
  100% { transform: rotate(360deg); }
}

header, footer {
  background-color: white;
  box-shadow: 0 0 5px 0 rgba(32, 33, 36, 0.2);
}

footer, nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

header {
  padding: 20px 50px;
}

main {
  margin: 8px;
}

footer {
  position: fixed;
  bottom: 0;
  padding: 10px 50px;
  width: calc(100% - 100px);
}

.sidenav #closeBtn, nav #openBtn {
  display: none;
}

@media only screen and (max-width: 650px) {
  .sidenav {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: -250px;
    background-color: #e8e8e8;
    padding-top: 60px;
    transition: left 0.5s ease;
  }
  
  .sidenav.active {
    left: 0;
  }
  
  .sidenav #closeBtn {
    display: initial;
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    cursor: pointer;
  }
  
  .sidenav a {
    width: fit-content;
    font-size: 18px;
    margin: 10px;
  }
  
  nav #openBtn {
    display: initial;
    font-size: 22px;
    cursor: pointer;
  }
}

nav a[href] {
  color: black;
  margin-left: 20px;
  text-decoration: none;
  position: relative;
}

nav a[href]::after {
  content: "";
  display: block;
  height: 1px;
  left: 50%;
  position: absolute;
  background: black;
  transition: width 0.3s ease, left 0.3s ease;
  width: 0;
}

nav a[href]:hover::after {
  width: 100%;
  left: 0;
}

.link-icons {
	display: flex;
	flex-grow: 1;
	flex-basis: 0;
	justify-content: flex-end;
	align-items: center;
	position: relative;
}

.link-icons a {
	text-decoration: none;
	color: #394352;
  margin-left: 20px;
}

.link-icons a i {
	font-size: 20px;
}

.link-icons a.discord {
  background-color: #5865f2;
  color: white;
  border-radius: 20px;
  padding: 7px 15px;
}

.link-icons a.cart span {
	display: inline-block;
	text-align: center;
	background-color: #63748e;
	border-radius: 50%;
	color: white;
	font-size: 12px;
	line-height: 16px;
	width: 16px;
	height: 16px;
	font-weight: bold;
	position: absolute;
	top: -5px;
	right: -5px;
}

h1 {
  font-size: 1.5em;
}

h2 {
  font-size: 1.17em;
}

h3 {
  font-size: initial;
}

h4 {
  font-size: 0.83em;
}

h5 {
  font-size: 0.67em;
}

h6 {
  font-size: 0.5em;
}

.center {
  text-align: center;
}

.hidden {
  opacity: 0;
}

.store {
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 50px;
}

.store .product {
  position: relative;
  border-style: solid;
  border-radius: 25px;
  padding: 30px 10px 5px 10px;
  width: max-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px;
  user-select: none;
}

.store .product .popular-tag {
  position: absolute;
  top: 0px;
  left: 0;
  right: 0;
  background-color: gold;
  color: white;
  padding: 4px 0;
  font-weight: bold;
  text-align: center;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}

.buybutton {
  text-align: center;
  background-color: #4CAF50;
  border: none;
  color: white;
  padding: 10px;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 50px;
  margin-top: 10px;
}

table.cart {
  padding: 0 50px;
	width: 100%;
}

table.cart thead td {
	padding: 30px 0;
	border-bottom: 1px solid #EEEEEE;
}

table.cart tbody td {
	padding: 30px 0;
	border-bottom: 1px solid #EEEEEE;
}

table.cart .img {
	width: 80px;
}

table.cart a {
	text-decoration: none;
	color: black;
}

.subtotal {
	margin: 40px 0 20px 50px;
}

.subtotal .text {
	padding-right: 20px;
}

.subtotal .price {
	color: gray;
}

.placeorder {
	margin-left: 50px;
}

.placeorder input[type="button"] {
	padding: 12px 20px;
	border: 0;
	background: #667488;
	color: white;
	font-weight: bold;
	cursor: pointer;
	border-radius: 5px;
  transition: background 0.2s;
}

.placeorder input[type="button"]:hover {
	background: #4e5c70;
}

.discord-info {
  display: flex;
  align-items: center;
  background-color: #5865f2;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 10px;
}

.discord-info .avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}

.discord-info .username {
  font-weight: bold;
  color: white;
}
