html {
  background: #040304;
  margin: 0;
  padding: 0
}

body {
  padding: 0;
  margin: 0;
  font-family: Montserrat, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

.background {
  background: url("/assets/images/bg.png");
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  height: 500px;
  width: 100%;
  position: absolute;
  margin-bottom: 174px;
  z-index: -1;
  -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0)));
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  opacity: 0.5;
}

.main {
  margin: 0 auto;
  padding: 20px;
  max-width: 1300px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: rgba(5, 5, 5, 0.4);
  backdrop-filter: blur(8px);
  margin-top: 20px;
  border-radius: 6px;
  flex-wrap: wrap;
}

.container {
  position: relative;
  overflow: hidden;
  overflow-wrap: break-word;
  padding: 10px;
}

.info-pod {
  position: relative;
  overflow: hidden;
  overflow-wrap: break-word;
  padding: 10px;
  width: 48%;
}

.quick-mods {
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-self: center;
  justify-content: center;
}

.modIcon {
  width: 200px;
  height: 100px;
  margin-left: 10px;
  border-radius: 8px;
  background-color: #222;
}

.modIcon:hover {
  filter: brightness(110%);
}

.updates {
  background: rgba(5, 5, 5, 0.4);
  backdrop-filter: blur(8px);
  padding: 10px;
  max-width: 1300px;
  display: flex;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.update-item {
  margin: 10px;
}

.mods-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: start;
  align-items: auto;
  align-content: start
}

.mod {
  display: block;
  border-radius: 8px;
  width: 300px !important;
  padding: 0;
  margin: 10px;
}

.mods-container .mod p {
  display: inline-block;
  text-align: left !important;
  margin: 0;
}

.mods-container .mod-info {
  padding: 5px;
  position: relative;
  background: #000;
  width: 200px;
}

.mods-container .mod img, .mods-container .mod video {
  position: relative;
  width: 100%;
  height: 150px;
  top: 0;
  border-radius: 8px;
  overflow: none;
  object-fit: cover;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

.mods-container .mod button {
  width: 3em;
  background: #232323;
  border: 1px solid #C98D97;
  border-radius: 4px;
  padding: 5px;
  color: #C98D97;
  transition: ease-in-out 75ms;
  cursor: pointer;
}

.tag {
  background: #222;
  border: 1px solid #C98D97;
  border-radius: 4px;
  display: inline-block;
  line-height: 30px;
  padding: 5px;
  font-size: 0.6em;
  color: #C98D97;
  transition: ease-in-out 75ms;
  /* cursor: pointer; */
}

.mod:hover {
  filter: brightness(120%);
  transition: ease-in-out 75ms;
  transform: scale(105%);
}

.featured-mods-container .featured-mod {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0px;
}

.logo {
  background: url("/assets/images/logo/ML_logo_web_anim.png") center center no-repeat;
  background-size: cover;
  width: 40px;
  height: 40px;
  float: left;
}

.nav-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  max-width: 100%;
  min-height: 40px;
  margin: 0 auto;
  background: rgba(27, 27, 27, 0.8);
  padding: 10px;
  backdrop-filter: blur(8px);
}

.title {
  vertical-align: middle;
  display: inline-block;
  font-size: 110%;
  color: white;
  line-height: 40px
}

.headerTitle {
  background: linear-gradient(90deg, rgba(31, 15, 27, 1) 0%, rgba(0,0,0,0) 100%);
  padding: 10px;
  font-size: 1.1rem;
}

.nav-menu a {
  font-weight: 600;
  text-transform: capitalize;
  border-radius: 8px;
  margin: 10px;
}

.nav-menu i {
  font-size: 10px;
}

.nav-open {
  display: none;
}

.nav input {
  display: none;
}

span {
  line-height: 1.8em;
  color: #eee;
  font-size: 0.8em;
  text-align: left
}

p {
  color: #eee;
  font-size: 100%;
  text-align: left;
  display: block;
  margin: 0;
  margin: 20px 0px 20px 0px;
  line-height: 1.8em;
}

pre {
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  word-wrap: break-word;
  color: #CA7785;
  padding: 2px;
  border-radius: 2px;
}

/* Code Styling */
.highlighter-rouge {
  color: #CA7785;
  padding: 4px;
  border-radius: 4px;
  background: #111;
  font-size: 1.1em;
}

.highlight {
  padding: 10px;
}

code {
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  word-wrap: break-word;
  color: #B4A6A2;
  padding: 2px;
  border-radius: 2px;
}

/* Code Styling */
.c {
  color: grey;
}

.nn {
  color: #00e0ff;
}

.py {
  color: coral;
}

.kc {
  color: orange;
}

.mi {
  color: #DDC6E7;
}

.ip {
  color: #CA7785;
  padding: 4px;
  border-radius: 4px;
  background: #222;
  font-size: 1.2em;
  border: none;
  margin-top: 6px;
}

.ip:hover {
  filter: brightness(130%);
}

table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

th {
  max-width: 100%;
  padding: 10px;
  text-align: left;
}

td, th {
  color: #eee;
  padding: 5px;
}

.button {
  width: auto;
  height: auto;
  background: rgba(10, 10, 10, 1);
  border: none;
  border-radius: 4px;
  padding: 5px;
  color: #C98D97;
  transition: ease-in-out 75ms;
  cursor: pointer;
  display: inline-block;
  font-weight: bold;
}

.button:hover {
  background: rgba(30, 30, 30, 1);
}

pre {
  color: #eee;
  font-size: 1em;
  text-align: left;
  display: inline-block;
  margin: 0
}

h1, h2, h3, h4, h5, h6 {
  color: #c98d97;
  font-weight: bold;
  display: block;
  text-align: left;
  vertical-align: middle;
  margin: 10px 0px 10px 0px;
}

ul {
  display: block;
  position: relative;
  left: -40px;
  top: 0px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  text-align: left !important;
  width: 100%
}

li {
  list-style-type: none;
  width: auto;
  line-height: 2em;
  color: #eee;
  list-style-position: inside;
  text-indent: -1em;
  font-size: 0.9em !important;
  margin-left: 13px
}

li:before {
  content: '\25A0';
  color: #ca7785;
  margin-right: 8px;
  position: relative;
  top: -2.2px;
  font-size: 12px
}

a {
  color: #998290;
  text-decoration: none;
  -webkit-transition: all 25ms ease-out;
  -moz-transition: all 25ms ease-out;
  -ms-transition: all 25ms ease-out;
  -o-transition: all 75ms ease-out;
  transition: all 75ms ease-out
}

a:hover {
  color: #E6B8D4;
  transition: 100ms;
  -webkit-transition: all 25ms ease-out;
  -moz-transition: all 25ms ease-out;
  -ms-transition: all 25ms ease-out;
  -o-transition: all 75ms ease-out;
  transition: all 75ms ease-out
}

li:hover:before {
  color: #e8a691;
  -webkit-transition: all 75ms ease-out;
  -moz-transition: all 75ms ease-out;
  -ms-transition: all 75ms ease-out;
  -o-transition: all 75ms ease-out;
  transition: all 75ms ease-out
}

body>article>div>div>div>ul>li>img {
  vertical-align: middle;
  position: relative;
  top: 2px;
}

.post-content img {
  max-width: 100%;
  height: auto;
  margin: 0px 0px 10px 0px;
}

.post-meta {
  text-align: left !important;
  color: #998290 !important
}

.emoji {
  font-size: 90%;
  display: inline;
  padding-right: 5px;
  vertical-align: middle
}

.emoji:hover {
  filter: brightness(150%);
  -ms-filter: brightness(150%);
  -moz-filter: brightness(150%);
  -webkit-filter: brightness(150%);
  -webkit-transition: all 75ms ease-out;
  -moz-transition: all 75ms ease-out;
  -ms-transition: all 75ms ease-out;
  -o-transition: all 75ms ease-out;
  transition: all 75ms ease-out
}

.twitterFeed * {
  background-color: black
}

hr {
  border-color: #222;
}

.mobile {
  display: none !important;
}

.supporters {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-start;
  align-items: start;
  align-content: start;
}

.supporter {
  margin: 1px !important;
}

.team {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: flex-start;
  align-items: start;
  align-content: start;
  padding: 10px;
  border-radius: 8px;
}

.staff {
  width: 30%;
}

.avatar {
  width: 100px;
  display: inline;
  border-bottom: #998290 groove 3px;
  transition: 75ms linear;
}

.avatar:hover {
  cursor: pointer;
  filter: brightness(120%);
  transition: 75ms linear;
}

.credits {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

.entry {
  background: #111;
  border-radius: 8px;
  padding: 10px;
  width: 100%;
}

.mod-icon {
  border-radius: 6px;
  background-color: #222;
  padding: 2px;
}

.mod-icon:hover {
  filter: brightness(115%);
}

#mod-accounts {
  margin: 0 auto;
  text-align: center;
}

footer {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  text-align: center;
  padding: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
}

footer a {
  margin-left: 20px;
}

iframe {
  width: 100%;
}

.support {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.question {
  background-color: #111;
  padding: 20px;
  margin: 10px;
  border-radius: 4px;
  width: 500px;
}

.question:hover {
  filter: brightness(120%)
}

/* Scoreboards */

.leaderboards {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  max-width: 600px;
  margin: 0 auto;
}

/* 1st */
div.blunder.leaderboards > div:nth-child(1) {
  background: linear-gradient(90deg, rgba(55, 46, 0, 1) 0%, rgba(0,0,0,0) 100%) !important;
}

/* 2st */
div.blunder.leaderboards > div:nth-child(2) {
  background: linear-gradient(90deg, rgba(64, 64, 64, 1) 0%, rgba(0,0,0,0) 100%) !important;
}

/* 3st */
div.blunder.leaderboards > div:nth-child(3) {
  background: linear-gradient(90deg, rgba(55, 28, 0, 1) 0%, rgba(0,0,0,0) 100%) !important;
}


.nameplate {
  background: rgba(10, 10, 10, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 2px;
  border-bottom: 1px solid rgb(10, 10, 10);
}

.nameplate-item {
  margin: 2px;
  border-radius: 8px;
  text-align: left;
}



@media only screen and (max-width: 1100px) {
  .updates {
    flex-direction: column;
  }

  .info-pod {
    width: 100%;
  }

  span {
    font-size: 100%;
  }

  h1 {
    font-size: 5vw !important;
    text-align: center
  }

  h2 {
    font-size: 4vw !important;
    margin: 6vw 0 6vw 0;
  }

  h3 {
    font-size: 5vw !important;
  }

  h4 {
    font-size: 2vw !important;
  }

  .emoji {
    font-size: 120%
  }

  ul {
    float: left;
    margin: 20px
  }

  li {
    font-size: 100%;
    line-height: 1.5
  }

  .nav-menu a {
    font-size: 4vw !important;
  }

  .twitter {
    display: none !important;
  }

  .discord {
    display: none !important;
  }
}

.spin {
  animation-name: spin;
  animation-duration: 1337ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.spin:hover {
  animation-duration: 420ms;
}

.alert {
  color: #a575b0 !important;
  padding: 10px;
  border: 1px #6A4D71 solid;
  border-radius: 8px;
  background: #1c141d;
  font-weight: bold;
}

.mod-cover {
  width: 1100px;
  height: 300px;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  background: red;
}

.mod-pane {
  max-width: 260px;
}

.mod-file {
  background: #111;
  color: #eee;
  padding: 10px;
  border-radius: 4px;
  margin-top: 10px;
  font-size: 0.8em;
}

.mod-file-status {
  float: left;
  position: absolute;
}

.mod-file th {
  color: #99617C;
}

.mod-file:hover {
  filter: brightness(120%);
}

.badge {
  background: #111;
  border: 1px #222 solid;
  display: inline;
  width: auto;
  padding: 5px;
  margin: 10px 0px 10px 0px;
  border-radius: 128px;
  text-transform: capitalize;
  font-weight: bold;
}

.release {
  background: #325B32;
  color: #79DE79;
}

.beta {
  background: rgb(129, 73, 0);
  color: #FCFC99;
}

.alpha {
  background: #990000;
  color: #E97451;
}

.mobile {
  display: none;
}

.fa {}

.nav a {
  display: inline !important;
  white-space: nowrap
}

.entry {
  max-width: 100px;
  margin: 0 auto;
}

.perks-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-around;
  align-items: start;
  align-content: start;
}

.perk {
  width: 400px;
  margin: 10px;
  overflow: hidden;
}

.perk img {
  width: 100% !important;
  object-fit: contain;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #222;
}

::-webkit-scrollbar-thumb {
  background: #888;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.spotlight a  {
  font-size: 15px;
  position: relative;
  margin: 0 auto;
  text-shadow: 0px 0px 20px #000;
}

.spotlight {
  width: 100%;
  height: 250px;
  background-size: cover; 
  background-position: center;
  display: flex;
  align-items: center;
  filter:brightness(140%);
}

/* Navbar */
@media only screen and (max-width: 1100px) {
  label {
    display: block;
    right: 0;
    top: 0px;
    position: absolute;
    cursor: pointer;
    color: #eee;
    font-size: 1.5em;
    user-select: none;
    padding-right: 8px;
  }

  .nav-open {
    display: block;
  }

  .mobile {
    display: block !important;;
  }

  .perk {
    width: 100%;
  }

  .nav-open {
    z-index: 2;
  }

  .nav-menu {
    text-align: left;
    width: 100%;
    display: none;
    flex-direction: column;
    position: relative;
    top: 0px;
    z-index: 1;
    backdrop-filter: blur(8px);
    position: fixed;
    right: 0;
  }

  .links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-menu a {
    display: block;
    margin: 0;
    line-height: 1.5em;
    width: 100%;
    transition: .2s ease-in-out;
    font-size: 1.2em;
    text-indent: 1.2em;
    border-radius: 0px !important;
  }

  .nav-menu a:hover {
    background: #333;
    transition: .2s ease-in-out;
  }

  #nav-open:checked+.nav-menu {
    display: flex;
    transition: .2s ease-in-out;
  }

  .logo {
    background: url("/assets/images/logo/ML_logo_web_anim.png") center center no-repeat;
    background-size: cover;
    width: 40px;
    height: 40px;
  }

  #post-content {
    position: relative;
    top: 00px !important;
  }

  .background {
    position: absolute;
    background-size: cover;
    top: 0;
  }

  .post {
    display: block;
    position: relative;
    margin-top: 100px;
  }

  .perks-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
    align-items: start;
    align-content: start;
  }

  /* Mod Pages */
  .mod-pane {
    display: block;
    max-width: 100% !important;
    position: relative;
    top: 0;
    margin: 0 auto;
  }

  .mod-pane .icon {
    max-width: 45vw;
    border-radius: 512px;
    margin: 0 auto;
    border: 3px #C98D84 solid;
    display: block;
  }

  .mobile {
  }

  .desktop {
    display: none !important;
  }

  .mobile img {
    width: 100% !important;
    display: none;
  }

  #release-date {
    text-align: center;
    font-size: 3vw !important;
  }

  #post-content {
    top: -130px;
  }

  .authors {
    margin: 0 auto;
    display: block;
    text-align: center;
  }

  .authors .author {
    width: 10vw !important;
    border-radius: 0 !important;
  }

  .container p {
    font-size: 1vw;
    text-align: left;
  }

  .container a {
    font-size: 3.5vw;
    text-align: left;
  }

  .mods-container {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: start;
    align-items: auto;
    align-content: start
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.fade-in {
  animation: fadeIn 1s;
  -webkit-animation: fadeIn 1s;
  -moz-animation: fadeIn 1s;
  -o-animation: fadeIn 1s;
  -ms-animation: fadeIn 1s;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 0.6;
  }
}
