/* =========================================
   FONT
   ========================================= */

@font-face {

  font-family: 'LacyTheThree';

  src: url(
    'https://file.garden/arkcYFq0FjI2TvF7/lacythethree.ttf'
  )
  format('truetype');

}


/* =========================================
   BODY
   ========================================= */

body {

  margin: 0;

  min-height: 100vh;

  display: flex;

  justify-content: center;
  align-items: center;

  font-family: 'LacyTheThree', sans-serif;

  background-image:
    url(
      "https://file.garden/arkcYFq0FjI2TvF7/k02-bg-cloth.gif"
    );

  background-color: #cccccc;

}


/* =========================================
   MAIN CONTAINER
   ========================================= */

.container {

  box-sizing: border-box;

  width: 800px;

  min-height: 100vh;

  padding: 20px;

  display: flex;

  flex-direction: column;

  align-items: center;

  background-color: #fffaf4;

  border-image:
    url(
      "https://file.garden/arkcYFq0FjI2TvF7/border.png"
    )
    5 fill round;

  border-style: solid;

  border-width: 5px;

  border-top: 0;

  border-bottom: 0;

  border-radius: 10px;

}


/* =========================================
   HEADER
   ========================================= */

.gif {

  display: flex;

  justify-content: center;
  align-items: center;

  margin-bottom: 15px;

}


.gif img {

  display: block;

  max-width: 100%;

}


/* =========================================
   NAVIGATION
   ========================================= */

.navbar {

  display: flex;

  justify-content: center;
  align-items: flex-start;

  flex-wrap: wrap;

  gap: 4px;

  text-align: center;

}


.navbar > a {

  text-decoration: none;

}


button {

  color: #52493c;

  font-family: 'LacyTheThree', sans-serif;

  font-size: 15px;

  padding: 3px;

  background: transparent;

  border: 0;

  cursor: pointer;

}


.dropdown {

  position: relative;

  display: inline-block;

}


.dropdown summary {

  color: #52493c;

  font-family: 'LacyTheThree', sans-serif;

  font-size: 15px;

  padding: 3px;

  cursor: pointer;

  list-style: none;

}


.dropdown summary::-webkit-details-marker {

  display: none;

}


.dropdown summary::marker {

  display: none;

}


.dropdown summary:hover,
.navbar button:hover {

  color: #94a9ba;

}


/* =========================================
   DROPDOWN
   ========================================= */

.dropdown-menu {

  position: absolute;

  top: 100%;

  left: 50%;

  transform: translateX(-50%);

  min-width: 120px;

  padding: 5px 0;

  background-color: #fffaf4;

  border: 1px solid #E9E2D8;

  border-radius: 4px;

  z-index: 100;

}


.dropdown-menu a {

  display: block;

  padding: 4px 10px;

  color: #52493c;

  font-family: 'LacyTheThree', sans-serif;

  font-size: 14px;

  text-decoration: none;

  white-space: nowrap;

}


.dropdown-menu a:hover {

  color: #94a9ba;

  background-color: #f5efe8;

}


/* =========================================
   SELECTION
   ========================================= */

::selection {

  background: #94a9ba;

  color: #FFFFFF;

}


/* =========================================
   SCROLLBAR
   ========================================= */

::-webkit-scrollbar {

  width: 10px;

}


::-webkit-scrollbar-track {

  background: #fffaf4;

}


::-webkit-scrollbar-thumb {

  background: #E9E2D8;

}


/* =========================================
   RESOURCES PAGE
   ========================================= */

.resources-page {

  width: 100%;

  box-sizing: border-box;

  margin-top: 10px;

  color: #52493c;

}


/* =========================================
   INTRO
   ========================================= */

.resources-intro {

  box-sizing: border-box;

  width: 100%;

  margin-bottom: 12px;

  padding: 12px;

  text-align: center;

  background-color: #fffaf4;

  border: 1px solid #E9E2D8;

  border-radius: 6px;

}


.resources-intro h1 {

  margin: 0 0 6px 0;

  color: #94a9ba;

  font-size: 21px;

  font-weight: normal;

}


.resources-intro p {

  margin: 4px 0;

  font-size: 13px;

  line-height: 1.35;

}


.resources-intro .intro-small {

  color: #94a9ba;

  font-size: 12px;

}


/* =========================================
   RESOURCE BOXES
   ========================================= */

.resource-scrollbox {

  box-sizing: border-box;

  width: 100%;

  height: 220px;

  margin-bottom: 12px;

  padding: 10px;

  background-color: #fffaf4;

  border: 1px solid #E9E2D8;

  border-radius: 6px;

  /*
    Makes dropdown links land with
    a little breathing room above.
  */

  scroll-margin-top: 20px;

}


.resource-scrollbox h2 {

  margin: 0 0 7px 0;

  padding-bottom: 5px;

  color: #94a9ba;

  font-size: 18px;

  font-weight: normal;

  border-bottom: 1px dotted #E9E2D8;

}


/* =========================================
   RESOURCE CONTENT
   ========================================= */

.resource-inner {

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    140px;

  gap: 15px;

  height: 175px;

  overflow: hidden;

}


.resource-text {

  height: 100%;

  overflow-y: auto;

  padding-right: 7px;

  font-size: 13px;

  line-height: 1.4;

}


.resource-text::-webkit-scrollbar {

  width: 6px;

}


.resource-text::-webkit-scrollbar-track {

  background: #f5efe8;

}


.resource-text::-webkit-scrollbar-thumb {

  background: #E9E2D8;

}


/* =========================================
   DESCRIPTION
   ========================================= */

.resource-description {

  margin: 2px 0 10px 0;

  font-size: 12px;

  line-height: 1.4;

}


/* =========================================
   RESOURCE LINKS
   ========================================= */

.resource-list {

  margin: 0;

  padding: 0;

  list-style: none;

}


.resource-list li {

  display: flex;

  align-items: center;

  gap: 7px;

  padding: 6px 3px;

  border-bottom: 1px dotted #E9E2D8;

}


.resource-list li:last-child {

  border-bottom: 0;

}


.resource-list span {

  color: #94a9ba;

  flex-shrink: 0;

}


.resource-list a {

  color: #52493c;

  text-decoration: none;

}


.resource-list a:hover {

  color: #94a9ba;

  text-decoration: underline;

}


/* =========================================
   DECORATIVE SIDE
   ========================================= */

.resource-decoration {

  display: flex;

  justify-content: center;
  align-items: center;

  height: 100%;

  background-color: #f5efe8;

  border: 1px solid #E9E2D8;

  border-radius: 4px;

  overflow: hidden;

}


.resource-deco-inner {

  color: #94a9ba;

  font-size: 20px;

  line-height: 1.8;

  text-align: center;

}


/* =========================================
   CREDITS
   ========================================= */

.credits-content {

  height: 175px;

  overflow-y: auto;

  padding-right: 7px;

  font-size: 13px;

  line-height: 1.4;

}


.credits-content::-webkit-scrollbar {

  width: 6px;

}


.credits-content::-webkit-scrollbar-track {

  background: #f5efe8;

}


.credits-content::-webkit-scrollbar-thumb {

  background: #E9E2D8;

}


/* =========================================
   88x31 BUTTONS
   ========================================= */

.neocities-buttons {

  display: flex;

  flex-wrap: wrap;

  align-items: flex-start;

  gap: 6px;

  margin-top: 12px;

}


.neocities-buttons a {

  display: block;

  width: 88px;

  height: 31px;

  flex-shrink: 0;

  line-height: 0;

  text-decoration: none;

}


.neocities-buttons img {

  display: block;

  width: 88px;

  height: 31px;

  object-fit: contain;

  image-rendering: pixelated;

}


.neocities-buttons a:hover {

  opacity: 0.75;

}


/* =========================================
   FOOTER
   ========================================= */

.footer-decoration {

  text-align: center;

  margin: 20px 0 15px 0;

  color: #94a9ba;

  font-size: 13px;

}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 650px) {

  .container {

    width: 100%;

    min-height: 100vh;

    padding: 15px;

  }


  .resource-scrollbox {

    height: auto;

    min-height: 220px;

  }


  .resource-inner {

    grid-template-columns: 1fr;

    height: auto;

  }


  .resource-text {

    max-height: 160px;

  }


  .resource-decoration {

    display: none;

  }


  .credits-content {

    height: auto;

    max-height: 175px;

  }

}


/* =========================================
   PHONE
   ========================================= */

@media (max-width: 450px) {

  .resources-intro h1 {

    font-size: 19px;

  }


  .resource-scrollbox {

    padding: 9px;

  }


  .resource-scrollbox h2 {

    font-size: 17px;

  }


  .neocities-buttons {

    gap: 5px;

  }

}