/* FILE LAST EDITED in 2025 */ 

* {
  font-family: Verdana, Arial, sans-serif, Helvetica;
  box-sizing: border-box;
  image-rendering: pixelated;
  color: #222;
}

html, body {
  height: 100%;
  width: 100%;
  margin: 0px;
  padding: 0px;
  overflow: auto;
}

html {
  background: url("/img/risland.jpg"), no-repeat;
  background-size: 100%;
  background-position: center;
}

body {
  background: rgba(0, 0, 0, 0.3);
  background-size: 100%;
  background-position: center;
  box-shadow: inset 0px 0px 20px rgba(0, 0, 0, 0.2);
}

a {
  text-decoration: none;
  color: blue;
  transition: 0.5s;
}

a:hover {
  color: #df1717;
}
.wrapper {
  width: 864px; 
  margin: 0px auto;
}

.block-border {
  display: grid;  
  grid-template-columns: 32px 800px 32px;
  grid-template-rows: 32px auto 32px auto 32px 32px auto; 
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.16);
  grid-template-areas: 
    "top top top"
    "main main main"
    "split split split"
    "side-l news side-r"
    "split3 split3 split3"
    "split2 split2 split2"
    "side-l2 old side-r2"
    "bottom bottom bottom";
  #side-top {
    height: 32px;
    grid-area: top; 
    background: url("/img/grass_block_side.png");
    background-size: 32px;
  }
  #side-left { 
    grid-area: side-l; 
    background: url("/img/rack.png");
    background-size: 32px;
  }
  #side-right { 
    grid-area: side-r; 
    background: url("/img/rack.png");
    background-size: 32px;
  }
  #side-left2 { 
    grid-area: side-l2; 
    background: url("/img/stone.png");
    background-size: 32px;
  }
  #side-right2 { 
    grid-area: side-r2; 
    background: url("/img/stone.png");
    background-size: 32px;
  }
  #side-bottom { 
    height: 32px;
    grid-area: bottom; 
    background: url("/img/bedrock.png");
    background-size: 32px;
  }
  #split {
    grid-area: split;
    background: url("/img/rack.png");
    background-size: 32px;
  }
  #split2 {
    grid-area: split2;
    background: url("/img/stone.png");
    background-size: 32px;
  }
  #split3 {
    grid-area: split3;
    background: url("/img/rack.png");
    background-size: 32px;
  }
  .news {
    grid-area: news;
    background: url("/img/rackground.png");
    background-size: 32px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .old {
    grid-area: old;
    background: url("/img/stoneground.png");
    background-size: 32px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
}

header, footer {
  background: #212121; 
  padding: 10px 16px;
  padding-right: 36px;
  border-radius: 0rem 1.5rem 0rem 0rem;
  
  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  ul {
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
    list-style: none;

    li {
      color: #545454; 
    }

    a {
      display: flex;
      gap: 12px;
      align-items: flex-end;
    }
  }
  a {
    text-decoration: none;
    color: #f7f516;
    font-size: 12px;
    text-shadow: 1px 1px 5px #8c8c25;
    transition: 0.2s;
  }

  a:hover {
    color: white;
    text-shadow: 1px 1px 5px #ccc;
  }
}



main {
  grid-area: main;
  background: linear-gradient(0deg, #ddd, #eee);
  box-shadow: inset 0px -1px 4px rgba(0,0,0, 0.5); 
  padding: 1.5rem 2rem;
  
  .intro {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 1rem;

    a {
      font-size: 12px;
    }

    ul {
      display: flex;
      margin: 0;
      padding: 0;
      list-style: none;
      gap: 1rem;
    }
    li a {
      display: flex;
      gap: 4px;
      align-items: center;
    }
    .img1 {
      width: 800px;
      background: url("/img/bloom.webp");
      background-position: center;
      border-radius: 5rem 5rem 0rem 5rem;
      box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.12);
      background-size: cover;
    }
  }
}

footer {
  p {
    margin: 0;
    color: #555;
  }
}

.legal {
  color: #df1717;
}

p {
  color: #333;
}

h2, h3 {
  border-left: 4px solid #ccc;
  padding-left: 0.5rem;
}

.special {
    color: #f7f516;
    font-size: 12px;
    text-shadow: 1px 1px 5px #8c8c25;
}

footer {
  border-radius: 0px;
  padding-right: 16px;
  padding-bottom: 0px;
}

aside {
  margin-top: 8px;
  text-align: center;
  border-top: 2px solid #eee;
  box-shadow: 0px 0px 6px rgba(255,255,255, 0.5);
  div {
    padding: 1rem 2rem;
    margin: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url("/img/risland.jpg");
    background-size: cover;
    background-position: center;
    p {
      color: #aaa;
      background: rgba(0,0,0,0.7);
      padding: 8px;
      font-size: 12px;
    }
    img {
      padding: 8px;
      background: rgba(0,0,0,0.7);

    }
  }
}

.downloads {
  .block-border {
    display: grid;  
    grid-template-columns: 32px 800px 32px;
    grid-template-rows: 32px 1fr auto; 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.16);
    grid-template-areas: 
    "top top top"
    "main main main"
    "bottom bottom bottom";
  }
}

th {
  text-align: left;
}

td {
  padding-right: 2rem;
}

td:first-child {
  padding-right: 0.5rem;
}
hr {
  border: none;           
  height: 1px;            
  background-color: #ccc; 
  margin: 1em 0;          
}

.cretin {
  position: fixed; bottom: 0; left: 0;
}

@media (max-width: 850px) {
  html, body {
    background: #222;
  }
  .block-border {
    display: inherit !important; 
  }
  header {
    border-radius: 0px;
  }
  .cretin { 
    display: none;
  }
  .wrapper {
    width: auto;
  }
  .img1 {
    display: none;
  }
}
.cretin:hover {
  cursor: pointer;
}

#support:after {
  content: "Support the Dev"
}

@media (max-width: 580px) {
  .separator {
    display: none;
  }
  nav {
    padding-top: 0.2rem;
    padding-bottom: 0.5rem;
    flex-direction: column;
    gap: 1rem;
  }
  .intro ul {
    display: inherit !important;
    li {
      margin-bottom: 1rem;
    }
  }
  #icons {
    display: none;
  }
  header, footer {
    padding-right: 0px;
  }
}

@media (max-width: 420px) {
  #support:after {
    content: "Support"
  }
  header, footer {
    padding: 12px 0px !important;
  }
}

@keyframes jiggle {
  0% {
    transform: scale(1, 1) translateY(0);
  }
  30% {
    transform: scale(1, 1.2) translateY(5px); /* stretch down */
  }
  60% {
    transform: scale(1, 0.9) translateY(-3px); /* compress up */
  }
  100% {
    transform: scale(1, 1) translateY(0); /* back to normal */
  }
}
