*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: Poppins, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #212121;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

main {
  flex-grow: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Oswald, sans-serif;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-header {
  background-color: #e0e0e0;
  background-image: linear-gradient(to right, #03a9f4, #212121);
  position: sticky;
  top: 0;
  z-index: 999;
  margin-bottom: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.page-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.club-list .link {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: #03a9f4;
}

.downloads .link {
  text-decoration: none;
  color: #03a9f4;
}

.page-nav {
  display: flex;
  gap: 8px;
}

.page-nav .link {
  transition:
    background-color 150ms ease-in-out 150ms,
    color 150ms ease-in-out 0ms;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  display: block;
  padding: 4px 8px;
}

.page-nav .link:hover,
.page-nav .link:focus,
.page-nav .link:active {
  color: #f44336;
  background-color: #fff;
}

.hero {
  color: #fff;
  background-color: #212121;
  background-image:
    linear-gradient(to bottom, rgb(0 0 255 / 15%), rgb(0 0 255 / 15%)),
    url("https://cdn.pixabay.com/photo/2016/11/22/22/24/adult-1850925_1280.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 48px;
  border-radius: 12px;
}

.hero-title {
  font-size: 32px;
  line-height: 1.333;
  letter-spacing: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-title::before,
.hero-title::after {
  background-color: #fff;
  width: 100px;
  height: 2px;
  content: "";
}

.hero-title:hover::before,
.hero-title:hover::after {
  background-color: #03a9f4;
}

.section {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 2px dashed #212121;
}

.section-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.333;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 20px;
}

.section-text {
  line-height: 1.5;
  text-indent: 24px;
}

.club-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.club-list .item {
  position: relative;
  flex-basis: calc((100% - 32px) / 3);
  overflow: hidden;
  border-radius: 8px;
  box-shadow:
    0 3px 3px -2px rgb(0 0 0 / 20%),
    0 3px 4px 0 rgb(0 0 0 / 14%),
    0 1px 8px 0 rgb(0 0 0 / 12%);
}

.club-list .content {
  padding: 8px;
}

.club-list .title {
  font-size: 16px;
  line-height: 1.333;
  text-transform: uppercase;
  color: #fff;
  background-color: #0288d1;
  position: absolute;
  top: 0;
  right: 0;
  margin-bottom: 8px;
  padding: 8px 12px;
}

.club-list .link:hover,
.club-list .link:focus {
  color: #0288d1;
}

.club-list .link:active {
  color: #f44336;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  flex-basis: calc((100% - 32px) / 3);
}

.downloads {
  margin-top: 20px;
}

.downloads li:not(:last-child) {
  margin-bottom: 8px;
}

.downloads .link:hover,
.downloads .link:focus {
  text-decoration: underline;
  color: #0288d1;
}

.downloads .link:active {
  color: #f44336;
}

.page-footer {
  background-color: #212121;
  margin-top: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.page-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright-text {
  color: #fff;
  flex-basis: 300px;
}

.social-links {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
  align-self: flex-end;
}

.manager-chat-btn {
  text-transform: uppercase;
  color: #fff;
  background-color: #03a9f4;
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 999;
  padding: 12px 16px;
  border: none;
  border-radius: 4px;
  box-shadow:
    rgb(0 0 0 / 20%) 0 3px 1px -2px,
    rgb(0 0 0 / 14%) 0 2px 2px 0,
    rgb(0 0 0 / 12%) 0 1px 5px 0;
  cursor: pointer;
}

.manager-chat-btn:hover {
  background-color: #0288d1;
}
