:root {
  font-size: 14px;
  --reddie: #EE003F;
  --orangie: #FF9150;
  --yellowie: #F8F211;
  --greenie: #5BFD0F;
  --cyanie: #37FFB3;
  --blueie: #0242FD;
  --hotiepink: #f7208c;
  --pinkie: #EBD9FF;
  --pinkieie: #FF89E1;
  --gradient-box: linear-gradient(to bottom, var(--hotiepink), var(--pinkieie), var(--hotiepink));
  --button-gradient: linear-gradient(to left, var(--hotiepink), var(--pinkieie), var(--hotiepink));
}

@font-face {
  font-family: 'Ayumin';
  src: url('../fonts/JF-Dot-AyuMin18.ttf') format('truetype');
}

@font-face {
  font-family: 'Rammetto';
  src: url('../fonts/rammetto-one.regular.ttf') format('truetype');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  image-rendering: pixelated;
  text-align: center;
}

body {
  background: url('../images/thatguy.png');
  background-size: 95px;
  background-repeat: repeat;
  font-family: 'Ayumin', sans-serif;
  color: white;
  min-height: 100vh;
  overflow-y: auto;
  padding: 2rem 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.shop-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  width: 95%;
  max-width: 55rem;
  background: var(--gradient-box);
  border: 5px double var(--hotiepink);
  box-shadow: 3px 3px 0 black;
  padding: 1rem;
  color: white;
}

.left-column {
  display: grid;
  grid-template-rows: 5rem 1fr;
  gap: 0.5rem;
}

.header-title {
  background: var(--gradient-box);
  border: 3px outset var(--hotiepink);
  font-family: 'Rammetto', sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--yellowie);
  box-shadow: 3px 3px 0 black;
  text-shadow: 2px 2px black;
}
.header-title img {
  display: block;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  margin-top: 6px;
}
.product-list-container {
  overflow-y: auto;
  background: var(--gradient-box);
  border: 2px solid var(--hotiepink);
  box-shadow: 3px 3px 0 black;
  max-height: 36rem;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 0.6rem;
}

.product-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--gradient-box);
  border: 2px solid black;
  cursor: pointer;
  box-shadow: 2px 2px 0 black;
  color: var(--hotiepink);
  text-shadow: 1px 1px 0 black;
  font-size: 0.8rem;
  padding-bottom: 0.5rem;
  transition: transform 0.2s;
}

.product-item:hover {
  transform: scale(1.03);
}

.product-image {
  background: var(--gradient-box);
  border-bottom: 1px solid black;
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-name {
  font-family: 'Rammetto', sans-serif;
  font-size: 0.85rem;
  color: var(--greenie);
  padding: 0.6rem 0.4rem 0 0.4rem;
  text-shadow: 1px 1px 0 black;
  line-height: 1.4;
  text-align: center;
}

.right-column {
  display: grid;
  grid-template-rows: 22rem 1fr 4rem;
  gap: 0.5rem;
  max-height: 42rem; 
  overflow-y: auto;
}
.preview-large {
  background: url('../images/ijoiji.png');
  background-size: cover;
  border: 2px solid black;
  box-shadow: 3px 3px 0 black;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--yellowie);
  text-shadow: 1px 1px 0 black;
  padding: 1rem;
  text-align: center;
}
.preview-large img {
  border: 3px groove var(--hotiepink);
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.description-box {
  background: var(--gradient-box);
  border: 2px solid black;
  padding: 1rem;
  overflow-y: auto;
  max-height: 14rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.description-box h1 {
  padding: 1rem;
  color: var(--yellowie);
  font-weight: bold;
  text-shadow: 2px 2px 0 black;
  margin: 0;
  margin-top: 28px;
}
.description-box h2 {
  padding: 1rem;
  color: var(--yellowie);
  font-weight: bold;
  text-shadow: 2px 2px 0 black;
  margin: 0;
  margin-top: 2px;
}
.description-box > div {
  margin-bottom: 0.2rem;
  width: 100%;
}

.description-box span {
  color: var(--greenie);
  font-weight: bold;
  font-family: "Ayumin";
  display: block;
  font-size: 19px;
  line-height: 1.2;
  text-align: center;
  text-shadow: 1px 1px 0 black;
  margin: 0.2rem 0;
  margin-top: 2px;
  width: 100%;
}

.link-box {
  min-width: 322px;
  max-height: 3.5rem;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet);
  border: 2px groove var(--hotiepink);
  font-size: 0.85rem;
  font-weight: bold;
  color: var(--yellowie);
  text-shadow: 1px 1px 0 black;
  box-shadow: 3px 3px 0 black;
  text-align: center;
  padding: 0.25rem 0.5rem;
  overflow: hidden;
}
.link-box a {
  color: var(--yellowie);
  text-shadow: 1px 1px 0 black;
  text-decoration: none;
  font-weight: bold;
}

::-webkit-scrollbar {
  width: 0.75rem;
  height: 0.75rem;
}

::-webkit-scrollbar-track {
  background: linear-gradient(to bottom, var(--pinkieie), var(--hotiepink), var(--pinkieie));
  border: 1px solid var(--hotiepink);
  box-shadow: inset 0 0 3px #55001a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to top, var(--yellowie), var(--cyanie));
  border: 1px solid #55001a;
  border-radius: 0.375rem;
  box-shadow: inset 0 0 2px #000;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to top, var(--cyanie), var(--yellowie));
  border-color: var(--hotiepink);
  box-shadow: inset 0 0 4px #000;
}

::-webkit-scrollbar-corner {
  background: var(--pinkie);
}
@media (max-width: 600px) {
  :root {
    font-size: 12px;
  }

  body {
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0;
    margin-top: 0;
  }

  .shop-container {
    display: flex;
    flex-direction: column;
    width: 95%;
    max-width: 95%;
    padding: 0.5rem;
    gap: 0.5rem;
  }

  .left-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .header-title {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-top: 0;
  }

  .header-title img {
    max-width: 80%;
    margin-top: 0;
  }

  .product-list-container {
    max-height: 28rem;
    padding: 0.25rem;
  }

  .product-list {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.25rem;
    justify-items: center;
  }

  .product-item {
    font-size: 0.7rem;
    padding-bottom: 0.25rem;
    width: 90%;
    max-width: 300px;
    margin: 0 auto 15px;
  }

  .product-image {
    height: 90px;
  }

  .product-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
  }

  .product-name {
    font-size: 0.75rem;
    padding: 0.3rem 0.2rem 0 0.2rem;
  }

  .right-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .preview-large {
    font-size: 0.85rem;
    padding: 0.25rem;
    max-height: 18rem;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .preview-large img {
    border: 2px groove var(--hotiepink);
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    position: relative;
    z-index: 2;
  }

  .preview-large:empty::before {
    content: "";
    display: block;
    width: 80%;
    height: 100%;
    background: url('../images/placeholder.png') center/contain no-repeat;
  }

  .description-box {
    font-size: 0.85rem;
    padding: 0.25rem;
    max-height: 12rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 150px;
    margin-top: 0;
  }

  .description-box-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .description-box-inner.centered {
    justify-content: center;
    height: 100%;
  }

  .description-box h1 {
    font-size: 2.2rem;
    padding-top: 1.09rem;
    padding-left: 5px;
    padding-right: 5px;
  }
    .description-box h2 {
    font-size: 2.1rem;
    padding-top: 0.25rem;
    padding-left: 5px;
    padding-right: 5px;
    margin-top: 15px;
  }

  .description-box span {
    font-size: 1.6rem;
    line-height: 1.1;
    padding-left: 5px;
    padding-right: 5px;
  }

.link-box,
.direct-link {
  font-size: 0.7rem;
  padding: 0.25rem 0.4rem;
  height: 1.4rem;
  width: 95%;
  text-align: center;
  text-shadow: 1px 1px 0 black;
  box-shadow: 3px 3px 0 black;
  }
}


















