@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}

body, html {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 6rem;
  width: 100%;
  padding: 0 2.5%;
  z-index: 6;
  background: #fff;
}
header img {
  height: 4.5rem;
  width: 4.5rem;
}
header nav {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 2rem;
}
header nav a {
  color: #000;
  font-size: 1.2em;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}
header nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  height: 2px;
  width: 0%;
  transition: 0.15s ease;
}
header nav a:hover::after {
  width: 100%;
}
header #ham {
  height: 2.25rem;
  width: 2.25rem;
  background: none;
  border: none;
  display: none;
  justify-content: center;
  align-items: center;
  flex-flow: column;
}
header #ham div {
  height: 0.25rem;
  width: 100%;
  background: #160B58;
  margin: 0.25rem 0;
  border-radius: 10px;
  transition: 0.5s ease;
}
header #ham div.active:first-child {
  transform: translate(0, 12px) rotate(45deg);
}
header #ham div.active:nth-child(2) {
  opacity: 0;
}
header #ham div.active:nth-child(3) {
  transform: translate(0, -12px) rotate(-45deg);
}

#offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 50%;
  background: #fff;
  display: none;
  justify-content: center;
  align-items: center;
  flex-flow: column;
  gap: 2rem;
  transform: translateX(100%);
  transition: 0.5s ease;
  z-index: 5;
}
#offcanvas.active {
  transform: translateX(0);
}
#offcanvas a {
  color: #000;
  text-decoration: none;
  font-size: 1.25em;
}

@media only screen and (max-width: 900px) {
  header {
    height: 5rem;
    position: sticky;
    top: 0;
    left: 0;
    background: #fff;
  }
  header img {
    height: 4rem;
    width: 4rem;
  }
  header nav {
    display: none;
  }
  header #ham {
    display: flex;
  }
  #offcanvas {
    display: flex;
  }
}
footer {
  padding: 1.5rem 10%;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 4;
}
footer nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}
footer nav a {
  font-size: 1.15em;
  text-decoration: none;
  color: #000;
  position: relative;
}
footer nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  height: 2px;
  width: 0%;
  transition: 0.15s ease;
}
footer nav a:hover::after {
  width: 100%;
}
footer img {
  height: 4rem;
  width: 4rem;
}

@media only screen and (max-width: 850px) {
  footer {
    flex-flow: column;
    gap: 1.5rem;
  }
  footer nav {
    gap: 1rem;
    flex-flow: row wrap;
  }
  footer nav a {
    font-size: 1em;
  }
}
main {
  width: 1400px;
  margin: 0 auto;
}
main h1 {
  font-size: 10em;
  font-weight: 900;
}
main .category {
  margin-top: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #000;
}
main .category h2 {
  font-size: 5em;
  margin-bottom: 2rem;
  font-weight: 800;
}
main .category .coaches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15%;
  width: 100%;
  row-gap: 1.5rem;
}
main .category .coaches .item {
  position: relative;
  z-index: 2;
}
main .category .coaches .item img {
  height: 15rem;
}
main .category .coaches .item .name {
  margin: 1rem 0 2rem;
  position: relative;
}
main .category .coaches .item .name h4 {
  font-size: 1.35em;
  line-height: 1em;
}
main .category .coaches .item .name h3 {
  font-size: 2em;
  line-height: 1.25em;
}
main .category .coaches .item .contacts a {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  text-decoration: none;
}
main .category .coaches .item .contacts a:hover .icon {
  transform: scale(1.05);
}
main .category .coaches .item .contacts a .icon {
  height: 40px;
  width: 40px;
  background: rgb(18, 45, 157);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: transform 0.15s ease;
}
main .category .coaches .item .contacts a .icon svg {
  color: #fff;
  height: 20px;
  width: 20px;
}
main .category .coaches .item .contacts a span {
  color: #000;
  font-weight: 500;
  font-size: 17px;
}
main .star {
  position: absolute;
  z-index: 1;
  height: 20rem;
  width: 20rem;
  stroke: rgba(0, 0, 0, 0.25);
  stroke-width: 1.5;
}
main .star:nth-child(even) {
  left: -5%;
}
main .star:nth-child(odd) {
  right: -5%;
}
main .star.mobile {
  display: none;
}

footer {
  margin-top: 5rem;
}

@media only screen and (max-width: 1500px) {
  main {
    width: 90%;
  }
  main h1 {
    font-size: 8em;
  }
}
@media only screen and (max-width: 1200px) {
  main .category h2 {
    font-size: 3em;
  }
  main .category .coaches {
    grid-template-columns: 50% 50%;
    row-gap: 2rem;
  }
  main .star {
    height: 12rem;
    width: 12rem;
  }
}
@media only screen and (max-width: 850px) {
  main {
    width: 600px;
  }
  main h1 {
    text-align: center;
  }
  main .star.mobile {
    display: block;
  }
}
@media only screen and (max-width: 700px) {
  main {
    width: 90%;
    padding-top: 2rem;
  }
  main h1 {
    font-size: 5em;
  }
  main .category .coaches {
    grid-template-columns: 1fr;
  }
  main .category .coaches .item img {
    width: 75%;
    height: initial;
    display: block;
    margin: 0 auto;
  }
  main .category .coaches .item .name {
    margin: 1rem 0;
  }
  main .category .coaches .item .name::after {
    left: 0;
    transform: translateX(0);
  }
  main .category .coaches .item .contacts {
    padding: 0;
  }
  main .star {
    display: none;
  }
  main .star.mobile {
    display: none;
  }
}/*# sourceMappingURL=style.css.map */