@font-face {
  font-family: "Montserrat Alternates";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/montserrat-z-600.woff2") format("woff2");
  unicode-range: U+005A, U+007A;
}

@font-face {
  font-family: "Montserrat Alternates";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/montserrat-z-700.woff2") format("woff2");
  unicode-range: U+005A, U+007A;
}

@font-face {
  font-family: "Montserrat Alternates";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/montserrat-z-800.woff2") format("woff2");
  unicode-range: U+005A, U+007A;
}

:root {
  --accent-color: rgb(91, 41, 147);
  --main-font: "Montserrat", sans-serif;
  --main-font-color: rgb(64, 61, 68);
  --white-text-color: rgb(255, 255, 255);
  --shadow-background: rgba(64, 61, 68, 0.02);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--main-font);
  font-weight: 500;
  color: var(--main-font-color);
}

main {
  padding: 0;
}

.montserrat-alternates-semibold {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.montserrat-alternates-bold {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.montserrat-semibold {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  margin-bottom: 0;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
}

img {
  display: block;
}

ul,
li {
  list-style: none;
  text-decoration: none;
}

a {
  text-decoration: none;
}

.container {
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
}

.main-title-container {
  width: 100%;
  padding: 0 16px;
  margin-bottom: 16px;
}

.main-title {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.00098em;
  color: var(--accent-color);
  text-align: center;
  margin-top: 16px;
  width: 100%;
}

.main-title::after {
  display: block;
  content: "";
  border: 1px solid rgba(64, 61, 68, 0.2);
  text-align: center;
  margin-top: 8px;
  margin-bottom: 8px;
}

.main-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

@media screen and (min-width: 320px) {
  .join-btn {
    background-color: var(--accent-color);
    align-self: center;
    border-radius: 1000px;
    padding: 26px 44px;
  }

  .join-btn:hover {
    background-image: linear-gradient(
      to right,
      rgb(91, 41, 147),
      rgb(155, 104, 212)
    );
  }

  .join-link {
    font-weight: 600;
    font-size: 14px;
    color: var(--white-text-color);
  }

  .social-media-item-icon {
    width: 22px;
    height: 22px;
    fill: white;
  }
}

@media screen and (min-width: 1280px) {
  .container {
    max-width: 1778px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 32px 0;
  }

  .regular-section {
    background-color: var(--white-background-color);
  }

  .main-title {
    font-size: 40px;
    line-height: 1.1;
    margin-top: 8px;
    margin-bottom: 8px;
    text-shadow: none;
  }

  .main-title::after {
    margin-top: 30px;
    margin-bottom: 24px;
  }

  .join-btn {
    padding: 24px 38px;
  }

  .join-link {
    font-size: 16px;
  }

  .social-media-item-icon {
    width: 42px;
    height: 43px;
    fill: white;
  }

  .main-title-container {
    margin-bottom: 0;
    padding: 0;
  }
}

.page404 {
  line-height: 400px;
  text-align: center;
  font-size: 24px;
}
