.hosting__block.hytale__block {
  padding: 28px 32px;
}

@media screen and (max-width: 1240px) {
  .hosting__block.hytale__block {
    padding: 24px 20px;
  }
}

.hosting__block.hytale__block::before {
  bottom: 310px;
}

@media screen and (max-width: 1240px) {
  .hosting__block.hytale__block::before {
    bottom: 290px;
  }
}

@media screen and (max-width: 767px) {
  .hosting__block.hytale__block::before {
    bottom: 280px;
  }
}

.hytale__list {
  margin-bottom: 24px;
}

.hytale__list::before {
  display: none;
}

.hytale__list li {
  display: flex;
  align-items: center;
}

.hytale__list svg,
.hytale__list img,
.hytale__list i {
  margin-right: 19px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hytale__player {
  font-size: 25px;
  font-weight: 600;
  line-height: 30px;
  color: #ffffff;
  margin-bottom: 14px;
}

@media screen and (max-width: 1240px) {
  .hytale__player {
    font-size: 21px;
  }
}

.hytale__player span {
  font-size: 38px;
  line-height: 45px;
}

@media screen and (max-width: 1240px) {
  .hytale__player span {
    font-size: 32px;
  }
}

.hytale__head {
  font-size: 18px;
  line-height: 175%;
  margin-bottom: 13px;
  height: 95px;
}

@media screen and (max-width: 1240px) {
  .hytale__head {
    font-size: 16px;
  }
}

@media screen and (max-width: 767px) {
  .hytale__head {
    height: auto;
  }
}

.hytale__block-item {
  margin-bottom: 38px;
  position: relative;
}

.hytale__block-item::before {
  content: "";
  position: absolute;
  width: 376.5px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  bottom: -20px;
  left: -32px;
}

@media screen and (max-width: 1240px) {
  .hytale__block-item::before {
    width: 310px;
    left: -20px;
    bottom: -15px;
  }
}

@media screen and (max-width: 991px) {
  .hytale__block-item::before {
    width: 365px;
  }
}

@media screen and (max-width: 767px) {
  .hytale__block-item::before {
    width: calc(100% + 40px);
    max-width: 737px;
    left: -20px;
  }
}

@media screen and (max-width: 1240px) {
  .hytale__block-item {
    margin-bottom: 30px;
  }
}

.hytale__block .hytale__price {
  text-align: left;
}

.hytale__advantage {
  font-size: 20px;
  line-height: 175%;
  margin-bottom: 10px;
}

.hytale__list {
  margin-bottom: 24px;
}

.hosting-hytale {
  padding: 173px 0 13px;
}

@media only screen and (max-width: 767px) {
  .hosting-hytale {
    padding: 123px 0 50px;
  }
}

.hytale-hosting__text {
  margin-bottom: 33px;
}

.hytale-hosting__list {
  display: flex;
  justify-content: center;
  color: var(--theme-title-color);
  font-weight: 500;
  font-size: 23px;
  line-height: 27px;
  margin-bottom: 38px;
}

@media only screen and (max-width: 767px) {
  .hytale-hosting__list {
    display: block;
    font-size: 18px;
    margin-bottom: 30px;
  }
}

.hytale-hosting__list li {
  width: 202px;
  height: 49px;
  background: #e6e6e6;
  border-radius: 51px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-default);
  justify-content: center;
  margin-right: 19px;
}

@media only screen and (max-width: 767px) {
  .hytale-hosting__list li {
    margin-right: 0;
    margin-bottom: 10px;
    width: 100%;
    height: 40px;
  }
  .hytale-hosting__list li:last-child {
    margin-bottom: 0;
  }
}

.hytale-hosting__list li.active {
  background: var(--color-primary);
  color: #fff;
}

.hytale-hosting__list li.active:hover {
  background: var(--color-primary);
}

.hytale-hosting__list li:hover {
  background: #c7c7c7;
}

.hytale-hosting__list li:last-child {
  margin-right: 0;
}

.hytale-hosting__list li img {
  border-radius: 50%;
  margin-right: 11px;
}

.hytale-hosting__inner {
  color: var(--theme-primary-text);
  display: block;
  background: #1a1832;
  border-radius: var(--border-radius-large);
  overflow: hidden;
  margin-bottom: 30px;
}

.hytale-hosting__inner:last-child {
  margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
  .hytale-hosting__inner {
    border-radius: 20px;
  }
}

.hosting__block-info {
  margin-bottom: 21px;
}

.hytale__player {
  display: flex;
  align-items: center;
}

.wrapper.active .hosting {
  color: var(--theme-text-color);
}

.wrapper.active .hytale__player {
  color: var(--theme-title-color);
}

.wrapper.active .hytale__head {
  color: var(--theme-text-color);
}

.wrapper.active .hytale-hosting__list li.active {
  background: var(--color-secondary);
}

.wrapper.active .hytale-hosting__title {
  background: var(--color-secondary);
  color: var(--theme-primary-text);
}

.wrapper.active .hosting__block.hytale__block .hytale__block-item:before {
  background-color: var(--theme-border-color);
}

.wrapper.active .hytale__advantage {
  color: var(--theme-text-color);
}

.wrapper.active .hytale-hosting__inner {
  background: #fbfbfb;
}

.hytale__list svg[data-icon] {
  color: var(--color-primary);
}

.hytale__list svg path {
  fill: var(--color-primary);
}

.hytale__list i {
  color: var(--color-primary);
}

.wrapper.active .hytale__list svg[data-icon] {
  color: var(--color-secondary);
}

.wrapper.active .hytale__list svg path {
  fill: var(--color-secondary);
}

.wrapper.active .hytale__list i {
  color: var(--color-secondary);
}

.hosting__control {
  padding: 8px 0 120px;
}

.control__blocks {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

@media screen and (max-width: 991px) {
  .control__blocks {
    justify-content: center;
  }
}

.control__block {
  max-width: 519px;
}

@media screen and (max-width: 991px) {
  .control__block {
    max-width: none;
    text-align: center;
  }
}

.control__text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  line-height: 175%;
  margin-bottom: 51px;
}

@media screen and (max-width: 1240px) {
  .control__text {
    font-size: 17px;
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 767px) {
  .control__text {
    margin-bottom: 28px;
  }
}

.control__img {
  width: 550px;
  height: 260px;
  border-radius: 21px;
}

.control__img img {
  border-radius: 3px;
}

@media screen and (max-width: 991px) {
  .control__img {
    display: none;
  }
}

.lang-tariff {
  align-self: flex-start;
}

.hytale__blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}

.hytale__blocks .hosting__block:nth-child(4),
.hytale__blocks .hosting__block:nth-child(5) {
  grid-column: auto;
}

.hytale__blocks .hosting__block:nth-child(4) {
  justify-self: end;
  margin-right: calc(50% - 190px);
}

.hytale__blocks .hosting__block:nth-child(5) {
  justify-self: start;
  margin-left: calc(50% - 190px);
}

@media screen and (max-width: 1240px) {
  .hytale__blocks .hosting__block:nth-child(4),
  .hytale__blocks .hosting__block:nth-child(5) {
    margin-left: 0;
    margin-right: 0;
    justify-self: center;
  }
}

@media screen and (max-width: 991px) {
  .hytale__blocks {
    grid-template-columns: repeat(2, 1fr);
  }

  .hytale__blocks .hosting__block:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 380px;
  }

  .hytale__blocks .hosting__block:nth-child(4),
  .hytale__blocks .hosting__block:nth-child(5) {
    margin-left: 0;
    margin-right: 0;
    justify-self: center;
  }
}

@media screen and (max-width: 767px) {
  .hytale__blocks {
    grid-template-columns: 1fr;
  }

  .hytale__blocks .hosting__block {
    max-width: 100%;
    width: 100%;
  }

  .hytale__blocks .hosting__block:nth-child(4),
  .hytale__blocks .hosting__block:nth-child(5) {
    max-width: 100%;
  }
}
