@import url('reset.css');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html {
  height: 100%;
}

body {
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  line-height: 30px;
  min-height: 100%;
  overflow-x: hidden;
  background-color: #f5f3ff;
  background-image: url(../images/bg-general.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: #3a3a56;
}

.container {
  max-width: 1246px;
  width: 100%;
  margin: 0 auto;
  height: 100%;
}

.ghi23caq8n-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

/* Header */
.ghi23caq8n-subhead {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  right: 0;
  padding: 2px 20px;
  transition: 0.3s;
  background: #00dcf9;
}

.ghi23caq8n-subhead__menu {
  display: flex;
  align-items: center;
  font-size: 18px;
  line-height: 24px;
  text-transform: capitalize;
  font-weight: 500;
  gap: 20px 48px;
  color: #ffffff;
}

.ghi23caq8n-subhead__navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ghi23caq8n-subhead__filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 48px;
  height: 60px;
}

.ghi23caq8n-subhead__element {
  position: relative;
  padding: 2px;
  transition: 0.3s;
}

.ghi23caq8n-subhead__element.active {
  color: #163ad9;
}

.ghi23caq8n-subhead__element::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 0;
  right: 0;
  height: 3px;
  transition: 0.3s;
}

.ghi23caq8n-subhead__element.active::after {
  background: #163ad9;
}

.ghi23caq8n-subhead__element:hover::after {
  background: #163ad9;
}

.ghi23caq8n-burger {
  display: none;
  position: absolute;
  z-index: 8;
  right: 20px;
  width: 22px;
  height: 16px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
}

.ghi23caq8n-burger .ghi23caq8n-alley {
  width: 100%;
  height: 2px;
  border-radius: 10px;
  background: #ffffff;
  transition: transform 0.2s ease-out;
}

.toggle .alley1 {
  background: #ffffff;
  transform: scale(0.9) rotateZ(-44deg) translate(-5px, 2.6px);
}

.toggle .alley2 {
  display: none;
}

.toggle .alley3 {
  background: #ffffff;
  transform: scale(0.9) rotateZ(45deg) translate(-8.9px, -6px);
}

/* Content */
.ghi23caq8n-topic {
  font-size: 55px;
  line-height: 63px;
  font-weight: 800;
  margin-bottom: 60px;
  text-align: center;
  color: #1a59fa;
}

.ghi23caq8n-subtopic {
  color: #582bbf;
  font-size: 48px;
  line-height: 56px;
  font-weight: 800;
  margin-bottom: 20px;
}

.ghi23caq8n-text {
  text-align: center;
  font-size: 16px;
  line-height: 24px;
}

.ghi23caq8n-button {
  font-family: 'Montserrat', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  text-align: center;
  background: #163ad9;
  color: #ffffff;
  width: 100%;
  height: 62px;
  padding: 6px;
  transition: 0.5s;
  border-radius: 100px;
  border: 2px solid #163ad9;
  cursor: pointer;
  user-select: none;
}

.ghi23caq8n-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 240px;
}

.ghi23caq8n-link img {
  width: 100%;
  height: 100%;
}

/* billboard */
.ghi23caq8n-billboard {
  position: relative;
  padding: 110px 20px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ghi23caq8n-billboard__box {
  padding: 34px 90px;
  background-color: #04e8ff;
  background-image: url(../images/billboard.png);
  background-position: bottom;
  color: #ffffff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.ghi23caq8n-billboard__union h2 {
  font-size: 46px;
  line-height: 56px;
  font-weight: 700;
  margin-bottom: 4px;
  text-shadow: 2px 2px 2px #000;
}
.ghi23caq8n-billboard__union p {
  text-shadow: 2px 2px 2px #000;
}
/* rules */

.ghi23caq8n-rules {
  padding: 30px 20px;
}

.ghi23caq8n-rules__box {
  background: #00dcf9;
  border: 3px solid #00dcf9;
  color: #ffffff;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 375px 2fr 1fr;
  gap: 24px 50px;
  align-items: center;
  overflow: hidden;
  margin-bottom: 20px;
}

.ghi23caq8n-rules__photo {
  background-image: url(../images/billboard.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ghi23caq8n-rules__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style-type: disc;
  padding: 24px 0;
}

.ghi23caq8n-rules__list li::marker {
  color: #163ad9;
}

.ghi23caq8n-rules__rating {
  padding: 24px 56px 24px 0;
}

.ghi23caq8n-rules__rating .rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #163ad9;
  margin-bottom: 60px;
}

/* match */

.ghi23caq8n-match {
  padding: 30px 20px;
}

.ghi23caq8n-match__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-bottom: 60px;
}

.ghi23caq8n-match__element {
  border-radius: 20px;
  overflow: hidden;
}

.ghi23caq8n-match__element img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ghi23caq8n-match__box {
  padding: 50px 34px;
  background: #00dcf9;
  color: #ffffff;
  border-radius: 20px;
}

.ghi23caq8n-match__box ul {
  list-style-type: disc;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ghi23caq8n-match__box ul li::marker {
  color: #163ad9;
}

/* Passions */
.ghi23caq8n-reviews {
  position: relative;
  padding: 30px 20px 80px;
}

.ghi23caq8n-reviews__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ghi23caq8n-reviews__element {
  background: #67d4e2;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
  padding: 58px 42px;
  border: 3px solid #00dcf9;
}

/* Footer */

.ghi23caq8n-enduring {
  position: relative;
  color: #ffffff;
  background: #00dcf9;
  padding: 36px 20px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
}

.ghi23caq8n-enduring__block {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ghi23caq8n-enduring__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px 80px;
  color: #163ad9;
}

.ghi23caq8n-enduring__element {
  padding: 2px;
  transition: 0.5s;
  text-decoration: underline;
}

.ghi23caq8n-enduring__element:hover {
  text-decoration: none;
}

.ghi23caq8n-enduring__coperight {
  text-align: center;
  font-size: 16px;
  line-height: 22px;
}

/* Info */

.ghi23caq8n-information {
  padding: 110px 20px 80px;
}

.ghi23caq8n-information h1 {
  text-transform: capitalize;
  position: relative;
  z-index: 2;
  font-size: 55px;
  line-height: 62px;
  font-weight: 800;
  margin-bottom: 60px;
  text-align: center;
  color: #6745ff;
}

.ghi23caq8n-information h2 {
  font-weight: 700;
  margin-bottom: 20px;
}

.ghi23caq8n-information h3 {
  font-weight: 700;
  margin-bottom: 20px;
}

.ghi23caq8n-information p {
  margin-bottom: 20px;
}

.ghi23caq8n-information ul {
  list-style-type: disc;
  padding-left: 24px;
}

.ghi23caq8n-information li {
  margin-bottom: 14px;
}

.ghi23caq8n-information a {
  display: inline-block;
  font-weight: 700;
}

@media (max-width: 1060px) {
  body {
    font-size: 18px;
    line-height: 28px;
  }

  .ghi23caq8n-burger {
    display: flex;
  }

  .ghi23caq8n-subhead__global {
    display: none;
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    background: #00dcf9;
    width: 80%;
    overflow-y: auto;
  }

  .ghi23caq8n-subhead__menu {
    flex-direction: column;
  }

  .ghi23caq8n-subhead__navbar {
    flex-direction: column;
    padding: 60px 20px 40px;
  }

  .ghi23caq8n-subhead__element {
    text-align: center;
    width: 100%;
    padding: 10px 20px;
  }

  .ghi23caq8n-subhead__element::after {
    bottom: 0;
  }

  .ghi23caq8n-topic {
    font-size: 42px;
    line-height: 52px;
    margin-bottom: 30px;
  }

  .ghi23caq8n-billboard__box {
    padding: 24px 40px;
  }

  .ghi23caq8n-billboard__union h2 {
    font-size: 32px;
    line-height: 44px;
  }

  .ghi23caq8n-subtopic {
    font-size: 30px;
    line-height: 38px;
  }

  .ghi23caq8n-rules__box {
    grid-template-columns: 1fr 1fr;
  }

  .ghi23caq8n-rules__rating {
    grid-column: 2;
  }

  .ghi23caq8n-rules__photo {
    grid-row: 1/3;
  }

  .ghi23caq8n-rules__list {
    padding: 24px 24px 24px 0;
  }

  .ghi23caq8n-match__list {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 30px;
  }

  .ghi23caq8n-match__box {
    padding: 30px 24px;
  }

  .ghi23caq8n-reviews {
    padding: 30px 20px 60px;
  }

  .ghi23caq8n-reviews__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .ghi23caq8n-reviews__element {
    padding: 30px 20px;
    border: 3px solid #8570ff;
    gap: 16px;
  }

  .ghi23caq8n-information {
    padding: 120px 20px 60px;
  }

  .ghi23caq8n-information h1 {
    font-size: 36px;
    line-height: 42px;
    margin-bottom: 30px;
  }
}

@media (max-width: 860px) {
  body {
    font-size: 16px;
    line-height: 26px;
  }

  .ghi23caq8n-topic {
    font-size: 36px;
    line-height: 48px;
  }

  .ghi23caq8n-billboard__union h2 {
    font-size: 28px;
    line-height: 40px;
  }

  .ghi23caq8n-billboard__box {
    flex-direction: column;
    text-align: center;
  }

  .ghi23caq8n-rules__box {
    grid-template-columns: 1fr;
  }

  .ghi23caq8n-rules__photo {
    grid-row: auto;
  }

  .ghi23caq8n-rules__rating {
    grid-column: auto;
    padding: 0 40px 30px;
  }

  .ghi23caq8n-rules__list {
    padding: 0 40px;
  }

  .ghi23caq8n-rules__rating .rating {
    margin-bottom: 30px;
  }

  .ghi23caq8n-match__box ul {
    list-style-position: inside;
    padding: 0;
  }

  .ghi23caq8n-reviews__list {
    grid-template-columns: 1fr;
  }

  .ghi23caq8n-enduring {
    font-size: 16px;
    line-height: 22px;
  }

  .ghi23caq8n-enduring__block {
    flex-direction: column;
  }

  .ghi23caq8n-enduring__list {
    flex-direction: column;
    gap: 14px;
  }

  .ghi23caq8n-enduring__coperight {
    font-size: 14px;
    line-height: 20px;
  }
}

.popup-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  z-index: 10;
  border-radius: 8px;
  border: 1px solid #00dcf9;
}
@media (max-width: 768px) {
  .popup-cookie {
    border-radius: 20px;
  }
}
.popup-cookie-inner {
  max-width: 1000px;
  padding: 52px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 1030px) {
  .popup-cookie-inner {
    gap: 30px;
  }
}
@media (max-width: 768px) {
  .popup-cookie-inner {
    padding: 47px 20px 20px;
    height: auto;
    flex-direction: column;
    gap: 37px;
  }
}
.popup-cookie-text {
  font-size: 18px;
  line-height: 30px;
  color: #574e44;
  width: 64.8%;
}
@media (max-width: 768px) {
  .popup-cookie-text {
    font-size: 16px;
    line-height: 30px;
    text-align: left;
    width: 100%;
  }
}
.cookies-btns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
@media (max-width: 1030px) {
  .cookies-btns {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .cookies-btns {
    justify-content: center;
    gap: 18px;
  }
}
.cookies-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #eff0f6;
  font-size: 16px;
  line-height: 18px;
  color: #574e44;
  cursor: pointer;
  height: 54px;
  padding: 0 26px;
  box-shadow: 0px 4px 8px 0px rgba(74, 58, 255, 0.08);
}
.cookies-btn:hover {
  background: #ff8c27;
  color: #ffffff;
}
.cookies-btn-active {
  background: #ff8c27;
  color: #ffffff;
}

@media (max-width: 1030px) {
  .cookies-btn {
    padding: 0 16px;
    font-size: 14px;
  }
}

@media (max-width: 830px) {
  .cookies-btn {
    padding: 0 10px;
    font-size: 14px;
    line-height: 16px;
    height: 44px;
  }
}

@media (max-width: 768px) {
  .cookies-btn {
    padding: 0 26px;
    font-size: 16px;
    line-height: 18px;
    height: 54px;
  }
}

@media (max-width: 420px) {
  .cookies-btn {
    padding: 0 16px;
  }
}

@media (max-width: 320px) {
  .cookies-btn {
    padding: 0 10px;
    font-size: 14px;
  }
}

.header-logo {
  width: 207px;
  height: auto;
}

.terms-text {
  margin-top: 100px;
}
