body {
  margin: 0;
  font-family: "MS Gothic";
  font-size: 15px;
  line-height: 1.5;
  background-image: url("https://files.catbox.moe/c9ieb3.gif");
  color: #edfaf7;
}

.muted {
  color: #afe0d5;
}

.wrap {
  max-width: 1000px;
  margin: 24px auto;
  padding: 0;
  position: relative;
}

.site-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 15px;
  align-items: flex-start;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.main-column {
  min-width: 0;
}

.card {
  background-image: url('https://files.catbox.moe/47pj1y.gif');
  border: 5px ridge #0a9180;
  padding: 5px;
  margin-bottom: 15px;
}

.card-box {
  background: rgba(0, 0, 0, 0.5);
  padding: 2px;
  max-width: 100%;
}

a {
  color: #43e6c5;
  text-decoration: underline;
}

a:hover {
  color: #00b064;
  text-decoration: underline;
}

.heading {
  display: block;
  width: 100%;
  text-align: justify;
  font-family: 'Engravers MT';
  font-size: 20px;
}

.divider {
  border: 1px solid #006269;
  margin-top: 0px;
  margin-bottom: 12px;
}

.header-img {
  display: block;
  text-align: center;
  margin-top: 15px;
}

.header-img img {
  max-width: 100%;
  height: auto;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-nav a {
  display: block;
  padding: 6px 8px;
  background: rgba(0, 0, 0, 0.2);
  border: 2px ridge #006269;
  text-decoration: none;
}

.side-nav a:hover {
  background: rgba(0, 0, 0, 0.35);
}

/* mobile */
@media (max-width: 800px) {
  .wrap {
    max-width: 700px;
    padding: 0 10px;
  }

  .site-layout {
    grid-template-columns: 1fr;
  }
}

.footer-text {
  margin: 0;
  text-align: center;
  color: #afe0d5;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
  gap: 6px;
}


.buttons a,
.buttons img {
  display: block;
}

.buttons img {
  width: 88px;
  height: 31px;
  object-fit: cover; 
}

.buttons a {
  line-height: 0;
}

.about {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content:center;
  gap: 10px;
}

.aboutimg {
  flex-shrink: 0;
}

.aboutimg img {
  width: 100%;
  height: auto;
  display: block;
}

.abouttext {
  flex: 1 1 auto;
}

.tama {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  justify-content: center;
  align-items:center;
}

.tama a {
  display: block;
  width: 70px; 
  height: 70px;  
}

.tama img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}