.titleLoja {
  font: normal 25pt Arial;
  color: white;
  opacity: 0;
  cursor: none;
  transition: 1s;
}

.titleUpgrades {
  font: normal 20pt Arial;
  color: white;
  opacity: 0;
  cursor: none;
  transition: 1s;
  grid-column: span 5;
  width: 100%;
  text-align: center;
  margin: 10px 0;
}

.titleLoja:hover {
  font: normal 25pt Arial;
  color: white;
  opacity: 1;
  cursor: none;
}

.titleUpgrades:hover {
  font: normal 20pt Arial;
  color: white;
  opacity: 1;
  cursor: none;
  grid-column: span 5;
  width: 100%;
  text-align: center;
  margin: 10px 0;
}

#upgrades,
#loja {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #2b2b2b;
  border-radius: 15px;
  margin-left: 0;
  overflow-y: auto;
  padding-right: 10px;
  box-sizing: border-box;
}

#loja {
  width: 90%;
  height: 65%;
  border: 2px solid #ff4646;
}

#upgrades {
  width: 75%;
  height: 30%;
  border: 2px dashed #ff4646;
}

#upgradeArea {
  display: grid;
  width: 70%;
  height: 80%;
  grid-template-columns: repeat(4, 1fr);
}

.meme-card,
.reset-card {
  display: flex;
  align-items: center;
  width: 73%;
  background: #252525;
  padding: 25px;
  margin-top: 5px;
  margin-bottom: 10px;
  border-radius: 12px;
  transition: 0.3s;
  cursor: pointer;
  font: normal 15pt Arial;
  color: white;
}

.meme-card {
  border: 2px solid #18189b;
}

.reset-card {
  border: 2px solid #796701;
}

.meme-card:hover {
  border: 2px solid #2727f3;
  box-shadow: 0 0 3px #2424ff;
  transform: scale(1.02);
}

.reset-card:hover {
  border: 2px solid gold;
  box-shadow: 0 0 3px #ffdd1a;
  transform: scale(1.02);
}

.memeImage {
  width: 145px;
  height: 105px;
  object-fit: cover;
  border-radius: 15px;
  border: 2px solid black;
}

.meme-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.meme-info p {
  padding-left: 10px;
  margin: 2px 0;
  font-size: 13pt;
}

.upgradeAddClick {
  display: flex;
  background: silver;
  width: 50px;
  height: 50px;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  cursor: pointer;
  border: 2px solid white;
  border-radius: 15px;
  box-shadow: 0 0 10px silver;
}

.upgradeMultClick {
  display: flex;
  background: gold;
  width: 50px;
  height: 50px;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  cursor: pointer;
  border: 2px solid yellow;
  border-radius: 15px;
  box-shadow: 0 0 10px gold;
}

@media (max-width: 768px) {
  #loja {
    width: 95%;
    height: 65vh;
    margin: 0 auto;
  }

  #upgrades {
    width: 95%;
    height: auto;
    min-height: 100px;
    margin: 0 auto;
  }

  #upgradeArea {
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
  }

  .meme-card,
  .reset-card {
    width: 95%;
    max-width: 450px;
    margin: 5px auto;
    padding: 10px;
    font: normal 9pt Arial;
    box-sizing: border-box;
    color: white;
  }

  .meme-card {
    border: 2px solid #18189b;
    animation: pulsar-meme 1.5s infinite alternate;
  }

  .reset-card {
    border: 2px solid #796701;
    animation: pulsar-reset 1.5s infinite alternate;
  }

  @keyframes pulsar-meme {
    from {
      box-shadow:
        0 0 1.5px #2424ff,
        0 0 5px #2424ff;
    }

    to {
      box-shadow:
        0 0 5px #2424ff,
        0 0 10px #2424ff,
        0 0 15px #2424ff;
    }
  }

  @keyframes pulsar-reset {
    from {
      box-shadow:
        0 0 1.5px #ffdd1a,
        0 0 5px #ffdd1a;
    }

    to {
      box-shadow:
        0 0 5px #ffdd1a,
        0 0 10px #ffdd1a,
        0 0 15px #ffdd1a;
    }
  }

  .memeImage {
    width: 85px;
    height: 50px;
    object-fit: cover;
    border-radius: 15px;
    border: 1.5px solid black;
    flex-shrink: 0;
  }

  .meme-info {
    flex: 1;
    margin-left: 10px;
  }

  .meme-info p {
    font: normal 8pt Arial;
    color: white;
    padding-left: 0;
    margin: 1px 0;
  }

  .titleLoja,
  .titleUpgrades {
    opacity: 1;
    font-size: 14pt;
  }
}

