:root{
  --main-light: #F0EDF4;
	--main-dark: #3A3A3C;
  --transparent-dark: #75757575;
	--main-dark: #44475a;
	--grey: #181818;
	--purple: #6d5981;
  --wisteria2: #9f91ad;
   --wisteria3: #8c7f99;
  --wisteria: #CAB8DD;
  --second-dark: #3A3A3C;
  --grey: #3A3A3C;
  --lilac: #D8B4E2;
  --orange: #E8B89A;
  --pink: #F9C5D1;

}

* {
  box-sizing: border-box;
}

html, body{
  height: 100%; 
  margin: 0;
}

@font-face {
    font-family: "dos";
    src: url("font/Px437_DOS-V_TWN16.ttf");
}

@font-face {
    font-family: "courier prime";
    src: url("font/CourierPrime-Regular.ttf");
}


body {
  /*background-image: url(smirk.gif);*/
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  width: 100%;
  background-color:var(--purple);
  color: var(--main-light);
  font-family: "dos", monospace;
  font-size: 18px;
  /*word-break: break-word;*/
}
h1 {
  text-align: center;
  color: var(--wisteria)
}
h2, h3, h4 {
  text-align: center;
}

h3, h4 {
  font-style: italic;
}

.bgcolor{
  background-color: var(--transparent-dark);
}

.page{
  position: relative;
  display: flex;
  flex-wrap: wrap; 
  justify-content: center;
  flex: 1 1 auto;
  width: 100%;  background-size: cover;
  background-position: center;
  background-image: url(/assets/img/bg/bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
  overflow-y: auto;
}

.page > * {
  position: relative;
  z-index: 1;
}

.content{
  flex: 1 0 auto;
  text-align: left;
  max-width: 62.5%;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 2em;
}  

.header {
  text-align: center;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--wisteria);
  color: var(--wisteria);
} 
.header a {
  color: var(--wisteria);
}
.header h1 {
  margin: 0.1em;
}

.link-box {
  display: block;
  background-color: var(--wisteria3);
  color: var(--main-dark);
  padding: 10px 15px;
  margin: 8px 0;
  border-radius: 6px;
  text-decoration: none;
  color: var(--wisteria);
  transition: background-color 0.2s ease;
}

.link-box:hover {
  background-color: var(--wisteria);
  color:var(--purple)
}

.dualcolumn {
  margin-top: 2em;
  display: flex;
  width: 100%;
  gap: 2em;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;
}

.column {
  flex: 1 1 45%;
  flex-shrink: 0;
  padding: 1em;
  border: 2px solid var(--wisteria);
  background-color: var(--wisteria2);
  opacity: 82%;
  border-radius: 2px;
  border-width: 2px;
  min-width: 300px;
  text-align: center;
}

a {
  color: var(--wisteria)
}

footer {
  border-top: 2px solid var(--wisteria);
  text-align: center;
}

footer a {
  color: var(--wisteria);
}

footer p {
  padding:0%;
  margin-top: 0.25em;
}

.no-bullets {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

#blog-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
    color: var(--main-light);
  }

#blog-table th,
#blog-table td {
  padding: 12px  24px;
  border-bottom: 1px solid var(--purple);
}

#blog-table tr:hover {
  background-color: var(--wisteria);
  color: var(--purple);
}

#blog-table a {
  color: inherit;
  text-decoration: none;
}

#files-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
  color: var(--main-light);
}

#files-table th,
#files-table td {
  padding: 12px  24px;
  border-bottom: 1px solid var(--purple);
}

#files-table tr:hover {
  background-color: #bd93f9;
  color: #111;
}

#files-table a {
  color: inherit;
  text-decoration: none;
}


#gallery-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
  color: var(--main-light);
}

#gallery-table th,
#gallery-table td {
  padding: 12px  24px;
  border-bottom: 1px solid var(--purple);
}

#gallery tr:hover {
  background-color: #bd93f9;
  color: #111;
}

#gallery-table a {
  color: inherit;
  text-decoration: none;
}


@media (max-width: 800px) {
  body {
    font-size: 16px;
  }
  
  .page {
    background-image: url(/assets/img/bg/bgmobile.jpg);
  }

  .content {
    max-width: 95%;
  }

  .dualcolumn {
    flex-wrap: wrap; /* allow stacking */
  }
  
  .column {
    flex: 1 1 100%;  /* full width columns on small screens */
    min-width: auto; /* override fixed min-width */
    padding: 0.5em 0;
  }

  .header h1 {
    font-size: 1.5em;
  }

  .link-box {
    padding: 8px 10px;
    font-size: 16px;
  }
}

.badge-scroller {
  width: 100%;
  max-width: 100vw;
  overflow-x: auto;
  padding: 0;
  justify-content: center;
  white-space: nowrap;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.badge-scroller::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.badge-row {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  gap: 6px;
  /*animation: scroll-left 60s linear infinite;*/
}
@media (max-width: 1320px) {
  .badge-row {
    animation: scroll-left 30s linear infinite;
  }
}

@keyframes scroll-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.badge-row img {
  flex-shrink: 0;
  width: 88px;
  height: 31px;
}

#changelog {
  overflow-y: scroll;
}

/*
#img {
  width: 20%;
  height: auto;
  margin-left: 5%;
  margin-right: 10%;

}
*/
