@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700;900&display=swap');

* {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  box-sizing: border-box;
}

h3 {
  font-weight: 300;
  font-size: 30px;
  margin: 10px;
}

h4 {
  font-weight: 300;
  font-size: 18px;
}

.main-content {
  color: var(--text);
  margin-top: 85px !important;
  text-align: center !important;
}

.center, .liked-games {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  line-height: 1.7;
  margin: 0px 150px;
}

::placeholder {
  color: var(--shadow);
  font-size: 16px;
}

.input-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.input-container {
  background: var(--background2);
  border: 0px solid var(--theme);
  padding: 0px 20px;
  font-size: 16px;
  width: 30%;
  color: var(--shadow);
  margin: 20px 0px;
  -webkit-border-radius: 15px;
  border-radius: 15px;
  text-decoration-style: solid;
  text-decoration-color: var(--text);
  transition: 500ms;
  outline: none;
  display: flex;
  align-items: center;
}

.input-container:default {
  border-width: 2px;
}

#searchInput {
  padding: 15px;
  font-size: 16px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  text-align: left;
  width: 30vw;
  text-decoration-style: solid;
  text-decoration-color: var(--text);
  transition: 300ms;
}

.game-card {
  width: 150px;
  height: 150px;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  transition: all 300ms;
  border: 3px solid transparent;
  display: block;
  margin: 15px;
}

.game-card:hover {
  box-shadow: 0 0 20px var(--shadow);
  border-color: var(--theme);
}

.game-card:active{
  border-color: transparent;
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card .content {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column-reverse;
  position: absolute;
  padding: 5px;
  bottom: 0;
  opacity: 0;
  transition: ease 300ms;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.game-card .title {
  font-size: 16px;
  color: #fff;
  text-align: center;
  font-weight: 700;
  line-height: 1.4;
}

.game-card:hover .content {
  opacity: 1;
}

.game-card ion-icon {
  position: absolute;
  display: inline-block;
  padding: 5px;
  color: #e64553;
  text-align: center;
  font-size: 20px;
  background: var(--text-secondary);
  border-radius: 16px;
  top: 8px;
  right: 8px;
  z-index: 9996;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

.box {
  color: var(--text);
  text-align: center;
  background: transparent;
  padding: 5px;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
  border-radius: 10px;
  text-decoration-style: solid;
  text-decoration-color: var(--text);
}

.box a {
  text-decoration-style: solid;
  text-decoration-color: var(--text);
  color: var(--text);
}

kbd {
  font-family: Arial, sans-serif;
  background-color: var(--background3);
  border: 1px solid var(--placeholder);
  padding: 5px 10px;
  border-radius: 3px;
}

#randomText {
  padding: 25px 0px;
}

.discord-button {
  color: var(--text);
  background: #404eed;
  border: 0px;
  font-size: 16px;
  padding: 15px 20px;
  border-radius: 15px;
  transition: all 300ms;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin: 10px 0px;
}

.discord-button:hover {
  transform: scale(0.95);
}

.button {
  padding: 11px 10px;
  background: var(--background2);
  font-size: 16px;
  font-weight: 700;
  outline: none;
  border-radius: 10px;
  color: var(--text);
  border: none;
  cursor: pointer;
  transition: 250ms;
  margin: 10px 0px;
}

.button:hover {
  background: var(--background3);
}

@media screen and (max-width: 1000px) {
  .center, .liked-games{
    margin: 0px 100px;
  }
}

@media screen and (max-width: 800px) {
  .center, .liked-games{
    margin: 0px 50px;
  }
}

.search-logo {
  width: 150px;
  height: 150px;
  margin: 20px;
}