* {
  padding: 0;
  border: 0;
  margin: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:focus,
:hover {
  outline: none;
}

a {
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  -webkit-tap-highlight-color: transparent;
}

button {
  outline: none;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  -webkit-tap-highlight-color: transparent;
}

ul {
  list-style: none;
}

@font-face {
  font-family: "Atyp";
  font-style: normal;
  font-weight: 400;
  src: url("/font/AtypDisplay-Regular.woff2") format("woff2"),
    url("/font/AtypDisplay-Regular.woff") format("woff"),
    url("/font/AtypDisplay-Regular.ttf") format("true-type");
}

body {
  background-image: url("images/bg.png");
  background-size: cover;
  font-family: "Atyp", sans-serif;
  font-size: 18px;
  color: #d7dce0;
}

.channels-choose .logo {
  display: block;
  width: 123px;
  height: 113px;
  object-fit: contain;
  margin: 41px auto 0;
  text-align: center;
  object-position: center;
}

.channels-choose .line-big {
  display: block;
  content: "";
  background-color: #ffffff;
  width: 100vw;
  height: 1px;
  left: 0;
  margin-top: 33px;
}

.channels-choose .header {
  font-family: "Atyp";
  font-style: normal;
  font-weight: 400;
  font-size: 60px;
  line-height: 113.4%;
  text-align: center;

  color: #ffffff;

  margin-top: 33px;
}

.channels-choose .line {
  display: flex;
  max-width: 1032px;
  margin: 20px auto 0;
  align-items: center;
}

.channels-choose .line span {
  background-color: #ffffff;
  opacity: 0.7;
  content: "";
}

.channels-choose .line .round {
  border-radius: 50%;
  min-width: 5px;
  width: 5px;
  height: 5px;
}

.channels-choose .line .mid-line {
  width: 100%;
  height: 1px;
  content: "";
}

.channels-choose .filters {
  display: flex;
  align-items: center;
  gap: 70px;
  margin: 35px auto 0;
  width: fit-content;
  flex-wrap: wrap;
  justify-content: center;
}

.channels-choose .filters-item {
  font-family: "Atyp";
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 34px;

  color: #ffffff;

  display: flex;
  align-items: center;
  gap: 9px;

  cursor: pointer;

  transition: color 0.3s;
}

.channels-choose .filters-item:hover {
  color: #f35449;
}

.channels-choose .filters-item.active {
  color: #f23d30;
  pointer-events: none;
}

.channels-choose .filters-item img {
  width: 27px;
  height: 21px;
  object-fit: contain;
  object-position: center;
}

.channels-choose .rests {
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;

  margin: 55px auto 70px;
}

.channels-choose .rest-item {
  position: relative;
  width: 400px;
}

.channels-choose .rest-item::after {
  display: block;
  content: "";
  width: 210px;
  height: 2px;
  background-color: #ffffff;

  position: absolute;

  top: 274px;

  right: 50%;
  transform: translateX(50%);
}

.channels-choose .rest-item .rest-img {
  width: 100%;
  height: 258px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 32px;
}

.channels-choose .rest-item .rest-name {
  font-family: "Atyp";
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 25px;
  text-align: center;

  color: #ffffff;
  width: 100%;

  transition: color 0.3s;
}

.channels-choose .rest-item .rest-link {
  display: block;
  margin: 20px auto 0;
  width: fit-content;
  color: white;
  padding: 8px 12px 10px 12px;

  background-color: #f23d30;
  border-radius: 4px;

  transition: background-color 0.3s;
}

.channels-choose .rest-item .rest-link:hover {
  background-color: #9c1910;
}

@media (max-width: 1200px) {
  .channels-choose .line {
    max-width: 572px;
  }
}

@media (max-width: 800px) {
  .channels-choose .logo {
    width: 154px;
    height: 142px;
    margin: 35px auto 0;
  }

  .channels-choose .line {
    max-width: 100%;
    margin: 20px 35px 0;
  }

  .channels-choose .header {
    font-size: 40px;
    line-height: 113.4%;
  }

  .channels-choose .filters {
    gap: 25px;
    row-gap: 8px;
    width: 98%;
  }

  .channels-choose .filters-item {
    font-size: 18px;
    line-height: 26px;
  }

  .channels-choose .filters-item img {
    width: 20px;
    height: 15px;
  }

  .channels-choose .rest-item {
    width: 265px;
  }

  .channels-choose .rest-item .rest-name {
    font-size: 15px;
    line-height: 136.9%;
  }
}
