html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html, body {
  position: relative;
  min-height: 100%;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after {
  content: "";
  content: none;
}

q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.clearfix:before, .clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.alignleft {
  float: left;
}

.alignright {
  float: right;
}

img.aligncenter, div.aligncenter {
  display: block;
  margin: 0 auto;
}

img.alignright, div.alignright {
  margin: 1px 0 2px 10px;
  display: inline;
}

img.alignleft, div.alignleft {
  margin: 1px 10px 2px 0;
  display: inline;
}

#wpadminbar {
  display: none;
}

html {
  margin-top: 0 !important;
}

html {
  font-size: 18px;
}

body {
  font-family: "Jost", Helvetica, Arial, sans-serif;
  background: #111;
  color: #fff;
  padding-top: 4.1rem;
}

h1, h2, h3, h4, h5 {
  font-family: "Unbounded", "Jost", sans-serif;
}

a {
  text-decoration: none;
  transition: all 0.2s linear;
}
a:hover {
  color: #000080;
}

p {
  font-size: 1.2rem;
  line-height: 1.4;
}

h3 {
  font-size: 1.6rem;
}

.wrapper {
  margin-left: auto;
  margin-right: auto;
  max-width: 1680px;
}
@media screen and (max-width: 1680px) {
  .wrapper {
    padding-left: 5%;
    padding-right: 5%;
  }
}

header {
  background: #111;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem 0;
  font-family: "Unbounded", "Jost", sans-serif;
}
header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .logo {
  font-weight: 900;
  font-size: 1.5rem;
  color: #fff;
}
header nav {
  padding-right: 1rem;
}
header nav ul {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
  align-items: center;
}
header nav ul li a {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}
header nav ul li a:hover {
  color: #ff45b2;
}

.burger {
  display: none;
}

.button-close {
  display: none;
}

.button {
  display: inline-block;
  font-family: "Unbounded", "Jost", sans-serif;
  position: relative;
  font-weight: 700;
  text-transform: uppercase;
}
.button span {
  background: #ff45b2;
  color: #fff;
  text-shadow: 0 1px 1px #111;
  padding: 0.5rem 1rem;
  position: relative;
  z-index: 4;
  display: block;
  transition: all 0.2s linear;
}
.button::after, .button::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0.5rem;
  transition: all 0.2s linear;
  z-index: 0;
}
.button::before {
  left: -0.5rem;
  background: linear-gradient(to right top, transparent, 50%, transparent, 50%, #ff45b2);
}
.button::after {
  right: -0.5rem;
  background: linear-gradient(to right top, #ff45b2, 50%, #ff45b2, 50%, transparent);
}
.button:hover span {
  color: #fff;
  background: #ff45b2;
}
.button:hover::before {
  transform: translateX(0.5rem);
}
.button:hover::after {
  transform: translateX(-0.5rem);
}

section.screen {
  padding: 5rem 0;
  position: relative;
}
section.screen h2 {
  font-size: 3rem;
  margin: 0 auto 2.5rem;
  max-width: 960px;
  font-weight: 700;
  text-align: center;
}

section.opener .wrapper {
  min-height: calc(100vh - 14.1rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-shadow: 0 1px 1px #111;
  position: relative;
  z-index: 10;
}
section.opener .opener__title {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
section.opener .opener__title p {
  text-transform: lowercase;
  font-size: 1.3rem;
}
section.opener .opener__title h1 {
  line-height: 1.1;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
}
section.opener .opener__title h1 span {
  font-size: 253%;
  text-transform: uppercase;
  display: block;
  font-weight: 900;
}
section.opener .opener__description {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  line-height: 1.2;
}
section.opener .opener__description .button {
  margin-top: 1rem;
}
section.opener::before {
  content: "";
  background: url(../images/bg-1.png) center/cover no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
section.opener::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

p.only_mobile {
  text-align: center;
  margin: 1.5rem auto;
  display: none;
}

section#cost {
  background-color: #fff;
  color: #000;
}
section#cost .wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
section#cost p {
  text-align: center;
  line-height: 1.3;
}
section#cost p:nth-child(4) {
  padding: 2.5rem 0;
}
section#cost p.trainer {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  border: 1px solid #ccc;
  border-radius: 0.2rem;
  padding: 0.7rem 0.5rem;
  margin: 0 auto;
}
section#cost .cost-info-container {
  min-width: 40rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}
section#cost .cost-info-container li {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
}
section#cost .cost-info-container li h3 {
  width: 60%;
  text-align: left;
}
section#cost .cost-info-container li div {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
section#cost .cost-info-container li .cost-info--adult {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
section#cost .cost-info {
  display: flex;
  gap: 2.5rem;
  text-transform: uppercase;
  justify-content: center;
  align-items: center;
}
section#cost .cost-info h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
section#cost .cost-info h3 svg {
  width: 2rem;
  height: 2rem;
}

section#contacts {
  background-color: #fff;
}
section#contacts .wrapper {
  display: flex;
}
section#contacts .contacts-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.3rem;
  color: #000;
  padding: 0 2.5rem;
}
section#contacts .contacts-map, section#contacts .contacts-info {
  width: 50%;
}
section#contacts .contacts-tel {
  font-size: 1.3rem;
  color: #000;
}
section#contacts .contacts-socials {
  display: flex;
  gap: 1rem;
}
section#contacts .contacts-socials li a {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}

#rules {
  background-color: #fff;
  color: #000;
}

.rules_button {
  width: fit-content;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  border: 6px solid #ff45b2;
  padding: 2rem 6rem;
  margin-bottom: 3rem;
}

#rules .rules_button h2 {
  margin: 0;
}

#rules ol {
  height: 0;
  opacity: 0;
  max-width: 960px;
  margin: 0 auto;
  transition: height .4s linear, opacity .2s linear;
}

#rules ol.rules_list--show {
  opacity: 1;
  height: auto;
}

.rules_arrow {
  transition: all .3s linear;
}

.rules_arrow--rotate {
  transform: rotate(180deg);
}

#rules ol li {
  display: none;
  list-style-position: inside;
  list-style-type: decimal;
  transition: height .4s linear
}

#rules ol.rules_list--show li {
  display: list-item;
}

#rules ol li:not(:last-child) {
  margin-bottom: 1rem;
}

#equipment ul {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
}

#equipment ul li {
  width: 30%;
  position: relative;
  background: transparent center / cover no-repeat;
}

#equipment ul li::after {
  content: "";
  padding-top: 140%;
  display: block;
}

footer .wrapper {
  display: flex;
  justify-content: space-between;
  padding: 2.5rem 2.5rem;
}

.designed a {
  color: #fff;
  transition: all 0.2s linear;
}
.designed a:hover {
  color: #ff45b2;
}

@media (max-width: 1200px) {
  p.only_mobile {
    display: block;
  }

  header nav {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    background: #000;
    padding: 3rem 3rem 2rem 2rem;
  }
  header nav ul {
    flex-direction: column;
  }
  header nav ul li {
    width: 100%;
    text-align: center;
  }
  header nav ul li a {
    display: block;
    width: 100%;
  }

  .burger {
    display: block;
    width: 2rem;
    height: 2rem;
    border: none;
  }

  .button-close {
    display: block;
    position: absolute;
    right: 2rem;
    top: 1.3rem;
    width: 2rem;
    height: 2rem;
    border: none;
  }

  .nav--show {
    display: block;
  }
}
@media (max-width: 1024px) {
  html {
    font-size: 16px;
  }

  section.screen {
    padding: 3rem 0;
  }
  section.screen h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  section.opener::before {
    background: url(../images/bg-1.png) 35% 0/cover no-repeat;
  }

  section.opener .opener__title h1 span {
    font-size: 200%;
  }

  section#cost .cost-info {
    flex-direction: column;
  }

  section#cost .cost-info-container {
    min-width: auto;
  }
  section#cost .cost-info-container li {
    flex-direction: column;
  }
  section#cost .cost-info-container li h3 {
    width: 100%;
    text-align: center;
  }

  section#contacts .wrapper {
    flex-direction: column;
  }

  section#contacts .contacts-map {
    max-height: 60vh;
    overflow: hidden;
  }
  section#contacts .contacts-map iframe {
    max-height: 100%;
  }

  section#contacts .contacts-map,
section#contacts .contacts-info {
    width: 100%;
  }

  section#contacts .contacts-socials {
    gap: 2rem;
  }

  section#contacts .contacts-info {
    align-items: center;
    padding: 2.5rem 1rem;
    gap: 1.7rem;
  }

  section#contacts .contacts-socials li a {
    width: 2.5rem;
    height: 2.5rem;
  }

  #equipment ul {
    flex-direction: column;
  }

  .rules_button {
    padding: 0.5rem 2rem;
  }

  .rules_arrow {
    width: 2rem;
  }

  #equipment ul li {
    width: 100%;
  }
}