:root {
  --cartridge-light-color: #a7a9ac;
  --cartridge-medium-color: #939598;
  --cartridge-dark-color: #828487;
}

#content > #entries > a {
  @media screen and (max-width: 300px) {
    width: 100%;
  }
}

.cartridge {
  width: 250px;
  aspect-ratio: 0.88;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  

  @media screen and (max-width: 300px) {
    width: 100%;
  }
}

.cartridge:hover > .shadow {
  position: absolute;
  z-index: -1;
  bottom: 0;
  box-shadow: 0 4px 20px var(--secondary-color);
  width: 250px;
  aspect-ratio: 0.9;
}

.cartridge > .top-border {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.cartridge > .top-border > .clipped {
  width: 91%;
  aspect-ratio: 17.3;
  background-color: var(--cartridge-light-color);
  border-radius: 3px 3px 0 0;
}

.cartridge > .branding {
  width: 100%;
  aspect-ratio: 5;
  background-color: var(--cartridge-light-color);
  position: relative;
  display: flex;
  justify-content: center;
  border-top-right-radius: 3px;
}

.cartridge > .branding > .lines {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 5% 0;
  gap: 2px;
}

.cartridge > .branding > .lines > .line {
  height: 6px;
  width: 100%;
  background-color: var(--cartridge-dark-color);
}

.cartridge > .branding > .game-type {
  background-color: var(--cartridge-medium-color);
  width: 200px;
  aspect-ratio: 3.7;
  border: 4px solid var(--cartridge-light-color);
  border-radius: 30px;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cartridge > .branding > .game-type > p {
  color: var(--cartridge-light-color);
  margin: 0;
  font-family: Gill Sans, Gill Sans MT, Calibri, sans-serif;
  font-style: italic; 
}

.cartridge > .central-area {
  width: 100%;
  aspect-ratio: 1.5;
  background-color: var(--cartridge-light-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.cartridge > .central-area > .game-image {
  width: 77%;
  aspect-ratio: 1.1;
  background-color: var(--cartridge-medium-color);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cartridge > .central-area > .game-image > img {
  object-fit: cover;
  padding: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border-radius: 4px;
}

.cartridge > .details {
  position: relative;
  width: 100%;
  aspect-ratio: 7.6;
  background-color: var(--cartridge-light-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0 0 3px 3px;
}

.cartridge > .details > .left {
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: var(--cartridge-medium-color);
  width: 2.6%;
  aspect-ratio: 0.04;
}

.cartridge > .details > .right {
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: var(--cartridge-medium-color);
  width: 2.6%;
  aspect-ratio: 0.04;
}

.cartridge > .details > .bottom-arrow {
  border: 20px solid transparent;
  border-top: 20px solid var(--cartridge-medium-color);
  border-bottom: none;
  width: 0;
  height: 0;
}
