@charset "UTF-8";
body {
  margin: 0 !important;
}

.main {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.user_header {
  width: 100%;
  padding: 25px 0 0 5%;
}
.user_header .icon {
  display: inline-block;
  vertical-align: top;
  background-image: url(/i/header_title.svg);
  width: 70px;
  height: 34px;
  background-size: cover;
  background-repeat: no-repeat;
}
.user_header .text {
  display: inline-block;
  vertical-align: top;
  margin-left: 8px;
}
.user_header .text span {
  color: white;
  font-size: 10px;
  line-height: 14px;
  font-weight: 400;
  vertical-align: top;
  letter-spacing: 0.4px;
}

.main_title {
  width: 251px;
  height: 91px;
  background-image: url(/i/main_title.svg);
  background-size: cover;
  background-repeat: no-repeat;
  vertical-align: top;
  margin-left: calc(50vw - 125px);
  margin-top: 5px;
}

.games {
  margin: 100px 5% 0 5%;
  display: flex;
  flex-wrap: wrap;
  gap: 70px;
  justify-content: center;
}
.games .game {
  display: inline-block;
  vertical-align: top;
  margin-top: 20px;
  cursor: pointer;
}
.games .game.active .icon:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50px;
}
.games .game.active .icon:before {
  z-index: 10;
  content: "";
  background-image: url(/i/checked.svg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 36px;
  height: 29px;
  position: absolute;
  top: 45px;
  left: 47px;
}
.games .game .icon {
  position: relative;
  display: inline-block;
  vertical-align: top;
  background-repeat: no-repeat;
  background-size: cover;
  width: 123px;
  height: 128px;
  border-radius: 50px;
}
.games .game .description {
  width: 191px;
  padding: 15px 0 15px 17px;
  display: inline-block;
  vertical-align: top;
}
.games .game .description .title {
  color: white;
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.games .game .description .text {
  color: white;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0.4px;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* максимум 3 строки */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.start_button_container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 80px;
}
.start_button_container .start_button {
  width: 289px;
  height: 67px;
  background-image: url(/i/button.svg);
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.start_button_container .start_button span {
  font-weight: 500;
  font-size: 25px;
  line-height: 24px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #241E4B;
  transform: translateY(-4px);
  user-select: none;
}
.start_button_container .start_button.disabled {
  cursor: not-allowed;
  background-image: url(/i/button_disabled.svg);
}

@media screen and (max-width: 580px) {
  .games {
    margin: 20px 10% 0 10%;
    gap: 30px;
  }
}
