* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: black;
    background: linear-gradient(rgba(8, 15, 37, 0.6), rgba(8, 15, 37, 0.6)), url("https://images5.alphacoders.com/778/thumb-1920-778285.jpg");#https://images.unsplash.com/photo-1527100673774-cce25eafaf7f?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=934&q=80 #http://images.freehdw.com/800/3d-abstract_hdwallpaper_dark-blue-water-paint_45004.jpg #https://wallpaperstock.net/forest-lake-ducks-lodge-night-wallpapers_50809_1920x1080.jpg
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #FFC884;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.grid-container {
    display: grid;
    grid-gap: 10px;
    padding: 10px;
}

.grid-item {
    border: 4px solid rgba(255, 200, 132, 1);
    padding: 20px;
    font-size: 30px;
    text-align: center;
}
.highlight {
    color: #cc7a00;
}

.break-word {
    word-break: break-all;
}

.link {
    cursor: pointer;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.post-content {
    text-align: justify;
}

.text-center {
    text-align: center;
}

.img-center {
    display: block;
    margin: 0 auto;
}

h2 {
    font-size: 1.5em;
}

p {
    font-size: 1em;
}



img {
    max-width: 100%;
    transform:scale(0.95);
    -ms-transform:scale(0.95); /* IE 9 */
    -moz-transform:scale(0.95); /* Firefox */
    -webkit-transform:scale(0.95); /* Safari and Chrome */
    -o-transform:scale(0.95); /* Opera */
	vertical-align: middle;
}

.flex-row-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background-color: rgba(8, 15, 37, 0.8);
}

footer {
    text-align: center;
    padding: 5px 0;
    margin-top: auto;
}

.nav-item {
    text-decoration: none;
    color: #FFC884;
    transition: background-color 0.2s, color 0.2s;
}

.nav-item:hover {
    background-color: #FFC884;
    color: #cc7a00;
}

.nav-item {
    padding: 10px;
}

#nav-bar {
    border-top: 2px solid #FFC884;
    border-bottom: 2px solid #FFC884;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.801);
}

#hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px 0;
}

#main-heading {
    margin-top: 30px;
    padding: 0 20px;
    font-size: 2em;
}

#main-container {
  margin: 2% 15%;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 2400px;
  align-self: center;

}

#main #main-container {
  text-align: center;
}

#main-container h2 {
    margin-bottom: 20px;
    text-align: center;
}

.box {
  margin: 20px;
  padding: 25px;
  flex-basis: 33%;
  flex-grow: 1;
  flex-shrink: 1;
  #border: 2px solid #FFC884;
  min-width: 45%;
  align-items: center;
}

.box img{
  border: 2px solid #FFC884;
  }

/* Patchlog */

#patchlog #box {
  margin: 10px;
  padding: 0.1%;
  #flex-basis: 100%;
  #border: 2px solid #FFC884;
  min-width: 45%;
  align-items: center;
}

#mainpage {
	text-align: justify;
}

/* Rating */

#rating #main-container {
  flex-direction: column;
  align-items: center;
}
/* Discord */

#discord #main-container {
  flex-direction: column;
  align-items: center;
}

/* Downloads */

#downloads #main-container {
  flex-direction: column;
  align-items: stretch;
}

/*News*/

#news #main-container{
  justify-content: center;
  align-items: center;
}

/*Bans*/

#bans #main-container{
  justify-content: right;
  align-items: right;
}
.bans tbody tr:nth-child(odd) td, .bans tbody tr:nth-child(odd) th {
  background-color: #001f33;
}
.bans tbody tr:hover td, .bans tbody tr:hover th {
  background-color: #000d33;
}
table {
  margin-bottom: 18px;
  padding: 0px;
  border-collapse: collapse;
  font-size: 18px;
  margin-left:auto; 
  margin-right:auto;
}
table th, table td {
  padding: 5px 5px 5px;
  line-height: 16px;
  text-align: left;
}
table th {
  padding-top: 9px;
  font-weight: bold;
  vertical-align: middle;
  font-size: 22px;
}
table td {
  vertical-align: top;
  border-top: 1px solid #FFC884;
}
table tbody th {
  border-top: 1px solid #FFC884;
  vertical-align: top;
}
input {
  padding: 4px;
  width: 300px;
  border: 1px solid #ccc;
  border-radius: 3px;
  float:right;
}

/**/

#post{
  width: 100%;
  margin-top: 2.5em;
}

#post h2,p{
  text-align: left;
  margin-bottom: 0;
}
#post #caption{
	font-size: 0.8em;
	opacity: 0.7;
}
#posttext{
  margin-top: 1em;
  font-size: 1.1em;
}


.column img {
  color: #999;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 1;
  cursor: pointer; 
}

.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Create four equal columns that floats next to eachother */
.column {
  float: left;
  width: 25%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Caption text */
.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

img.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* MEDIA QUERIES */
@media (max-width: 1000px) {

    /* Header */
    /*#region*/
    #main-heading {
        font-size: 2.5em;
    }

    #nav-bar.flex-row-center {
        flex-direction: column;
    }

    .dropdown-content {
        white-space: normal;
        text-align: center;
    }

    #main-container {
        margin: 50px;
    }

    /*#endregion*/
    /* General */
    /*#region*/
    #main-container {
        margin: 50px 0;
    }

    /*h2 {
        font-size: 1em;
    }*/

    /*#endregion*/
    /* Header */
    /*#region*/
    #main-heading {
        font-size: 1em;
        margin: 0;
    }

    #hero img {
        display: none;
    }

    #hero {
        padding: 5px;
    }
	#news #main-container{
		width: 100%
    /*#endregion*/
	}
	
	#discord #main-container{
		width: 100%
	}
