@charset "UTF-8";

.search_input input {
  border: solid 1px #d24663;
  border-right: none;
  padding: 4px 0 4px 8px;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.31;
}
.search_icon_box {
  border: solid 1px #d24663;
  border-left: none;
}
.search_input {
  margin-bottom: 0;
  padding: 18px 0;
}
.game_row {
  margin-bottom: 13px;
}
.game_block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 43px;
  position: relative;
  top: 0;
}
.game_block:hover {
  text-decoration: none;
  top: -2px;
}
.game_mobile_row {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}
.game_mobile_row:nth-child(2) .game_block:nth-child(2) {
  margin-right: 0;
}
.game_img {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 240px;
  height: 240px;
  border-radius: 50px;
}
.game_name {
  width: 200px;
  height: 54px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.35;
  color: #5d5c5d;
  margin-top: 8px;
  text-align: center;
  box-sizing: border-box;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mainBlock {
  min-height: 960px;
}

@media screen and (max-width: 768px) {
  .search_input {
    padding-top: 0;
    margin-right: 1rem;
  }
  .genre_mobile_block {
    justify-content: space-between;
  }
  .game_mobile_row:nth-child(1) .game_block:nth-child(2) {
    margin-right: 0;
  }
  .game_block {
    margin-right: 24px;
  }
  .game_img {
    width: 150px;
    height: 150px;
    border-radius: 30px;
  }
  .game_name {
    width: 150px;
    height: 54px;
    max-height: 81px;
    margin-bottom: 24px;
    -webkit-line-clamp: 3;
  }
  .game_row {
    width: 324px;
  }
  .mainBlock {
    justify-content: center;
    min-height: 0;
  }
  .game_list {
    margin-top: 10px;
  }
}
@media screen and (min-width: 600px) and (max-width: 769px) {
  .mainBlock {
    zoom: 75%;
  }
}
@media screen and (min-width: 480px) and (max-width: 500px) {
  .mainBlock {
    zoom: 120%;
  }
}
@media screen and (max-width: 320px) {
  .mainBlock {
    zoom: 110%;
  }
}
@media screen and (max-width: 280px) {
  .mainBlock {
    zoom: 130%;
  }
}
@media screen and (max-width: 240px) {
  .mainBlock {
    zoom: 150%;
  }
  .game_pg_body {
    margin-top: 50px;
  }
}
