@font-face {
    font-family: 'Amatic SC'; 
    src: url('https://www.digipard.me/stuff/AmaticSC.woff'); 
}

body, html {
  height: 100%;
  font-family: "Amatic SC", 'Comic Sans MS', 'Trebuchet MS', 'Verdana', sans-serif;
  background-color: #010032;
}


.bgimg {
  background-repeat: no-repeat;
  background-size: auto;
  background-image: url("https://www.digipard.me/bilder/sleepingDigipardHeader.jpg");
  background-position: center;
  min-height: 100%;
  min-width: 100%;
  max-height: 100%;
  max-width: 100%;
}

@media (max-width: 800px) {
  .bgimg {
    background-size: contain; 
    min-height: 60%; 
    min-width: 100%; 
  }
}


.games {
  display: none;
}


.top {
  position: fixed;
  width: 100%;
  z-index: 1;
}

.bar {
  overflow: hidden;
  background-color: black;
  opacity: 0.8;
}

.bar .bar-item {
  padding: 8px 16px;
  float: left;
  text-align: center;
  color: white;
  text-decoration: none;
  font-size: 50px;
}

.bar .bar-item:hover {
  background-color: #ccc;
  color: black;
}



.container {
    padding-top: 64px;
    padding-right: 160px;
    padding-bottom: 64px;
    padding-left: 160px;
  background-color: #010032;
  color: white;
}

.container h1 {
  text-align: center;
  font-size: 64px;
  margin-bottom: 64px;
}

.content, .w3-auto {
  margin-left: auto;
  margin-right: auto;
}

.content {
  max-width: 980px;
}

.white, .hover-white:hover {
  color: #000 !important;
  background-color: #ddd9d6 !important;
}

.xxlarge {
  font-size: 36px !important;
}


.tablink {
  padding: 16px;
  cursor: pointer;
  text-align: center;
  color: white;
  background-color: black;
  border: 1px solid darkgrey;
}

.tablink:hover {
  background-color: red;
  transition: background-color 0.3s ease;
}


.games h1 {
  font-size: 36px;
  margin-bottom: 16px;
  text-align: left;
}

.games p {
  color: black;
  font-size: 18px;
  font-family: "Ariel", sans-serif;
  letter-spacing: -0.5px; 
}

.games hr {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 16px 0;
}


.tag {
  display: inline-block;
  padding: 8px;
  background-color: darkgrey;
  color: white;
  border-radius: 4px;
  font-size: 30px;
}

.tag.red {
  background-color: red;
}

.tag.grey {
  background-color: grey;
}


footer {
  text-align: center;
  background-color: black;
  color: white;
  padding: 48px 16px;
  font-size: 24px;
}

footer a {
  color: rgb(255, 255, 255);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/*///////////////////////////////*/

.display-middle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.display-bottomleft {
  position: absolute;
  left: 0;
  bottom: 0;
}

.display-middle {
  transform: translate(-50%, -50%);
}

.bar {
  justify-content: space-between;
  align-items: center; 
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.col {
  flex: 1; 
}

.row {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 16px;
}

.col.s4 {
  grid-column: span 4; 
}

.left {
  float: left;
}

.right {
  float: right;
}

.games {
  display: none; 
}

.show {
  display: block; 
}

@media (max-width: 900px) {
  .hide-small {
  }

  .container {
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  background-color: #010032;
  color: white;
    font-size: 24px;
}
.tag.xlarge{
    display: none;
}

  .container h1 {
    font-size: 50px;
    }

.bar .bar-item {
  font-size: 28px;
}
}

.center {
  text-align: center;
}

.display-middle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.padding-large {
  padding: 12px 24px !important;
}
a {
  text-decoration: none;
}
