/* ============ fonts TikTok Sans ============*/

@font-face {
  font-family: "TikTok-Light";
  src:
    url("/assets/fonts/TikTokSans/TikTokSans-Light.woff2") format("woff2"),
    url("/assets/fonts/TikTokSans/TikTokSans-Light.woff") format("woff");
  font-display: swap;
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "TikTok-Regular";
  src:
    url("/assets/fonts/TikTokSans/TikTokSans-Regular.woff2") format("woff2"),
    url("/assets/fonts/TikTokSans/TikTokSans-Regular.woff") format("woff");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "TikTok-Medium";
  src:
    url("/assets/fonts/TikTokSans/TikTokSans-Medium.woff2") format("woff2"),
    url("/assets/fonts/TikTokSans/TikTokSans-Medium.woff") format("woff");
  font-display: swap;
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "TikTok-SemiBold";
  src:
    url("/assets/fonts/TikTokSans/TikTokSans-SemiBold.woff2") format("woff2"),
    url("/assets/fonts/TikTokSans/TikTokSans-SemiBold.woff") format("woff");
  font-display: swap;
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "TikTok-Bold";
  src:
    url("/assets/fonts/TikTokSans/TikTokSans-Bold.woff2") format("woff2"),
    url("/assets/fonts/TikTokSans/TikTokSans-Bold.woff") format("woff");
  font-display: swap;
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "TikTok-ExtraBold";
  src:
    url("/assets/fonts/TikTokSans/TikTokSans-ExtraBold.woff2") format("woff2"),
    url("/assets/fonts/TikTokSans/TikTokSans-ExtraBold.woff") format("woff");
  font-display: swap;
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "TikTok-Black";
  src:
    url("/assets/fonts/TikTokSans/TikTokSans-Black.woff2") format("woff2"),
    url("/assets/fonts/TikTokSans/TikTokSans-Black.woff") format("woff");
  font-display: swap;
  font-weight: 900;
  font-style: normal;
}

/* ============ font 129 Kosmos ============*/

@font-face {
  font-family: "Kosmos";
  src:
    url("/assets/fonts/oneTwentyNineKosmos.woff2") format("woff2"),
    url("/assets/fonts/oneTwentyNineKosmos.woff") format("woff");
  font-display: swap;
}

/* ============ Preloader ============ */
div.preload {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
div.preload > p {
  display: flex;
  align-items: center;
  font-family: "Kosmos";
  overflow: visible;
  font-weight: 400;
  font-size: 3.375rem;
  color: #be0505;
}

div.preload > p > span.procent {
  margin-left: 112.5px;
  font-family: "Kosmos";
  overflow: visible;
  font-weight: 400;
  font-size: 3rem;
  color: #0f1961;
}

header,
main,
footer {
  visibility: hidden;
}

/* ============ Normalize default styles ============ */
html {
  scroll-behavior: smooth;
}
body {
  width: 100%;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

section.content {
  margin: 0 auto;
  max-width: 1440px;
}

div.line {
  display: flex;
  align-items: center;
  padding-inline-end: 10px;
  width: 100%;
}

div.line span {
  font-family: "Kosmos";
  white-space: nowrap;
  font-size: 3rem;
  font-weight: 400;
  color: #be0505;
  letter-spacing: 0.07em;
  padding-inline: 10px;
}

div.line hr {
  background-color: #0f1961;
  height: 6.75px;
  max-width: 1440px;
  margin-inline: 20px;
  width: 100%;
  border-radius: 4.6875rem;
  position: relative;
  top: 9.75px;
}
/* ============ empty__db__message ============ */
span.empty__db__message {
  font-family: "Kosmos";
  overflow: visible;
  font-size: 3rem;
  font-weight: 500;
  color: #be0505;
  letter-spacing: 0.07em;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ============ Header ============ */
header {
  height: 128.25px;
  padding-inline: 20px;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 998;
  background-color: rgba(255, 255, 255, 0.4);
}
nav {
  margin: 0 auto;
  height: 100%;
  max-width: 1440px;
}
nav > ul {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  list-style: none;
}
nav > ul > li:last-child {
  display: none;
}
li > a {
  text-decoration: none;
  font-family: "TikTok-SemiBold";
  font-size: 1.875rem;
  color: #000;
  letter-spacing: 0.07em;
}
a.news__page__link {
  font-family: "Kosmos";
  overflow: visible;
  color: #be0505;
}

a.events__page__link {
  color: #0f1961;
}
nav > ul > li {
  padding-inline: 10px;
}
nav > ul > li > a > img {
  width: 122.25px;
}

/* ============ Mobile menu ============ */
nav.side__mobile__menu {
  position: fixed;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  padding: 25px 4cqw;
  z-index: 998;
}
nav.side__mobile__menu > ul {
  height: 100%;
  width: 100%;
  overflow: auto;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  list-style: none;
}
nav.side__mobile__menu li {
  height: 50px;
  width: 100%;
  margin-block: 20px;
  display: flex;
  align-items: center;
}
/* ============ Main ============ */
main {
  min-height: calc(100vh - 128.25px - 274.5px);
}
/* ============ Footer ============ */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 286.5px;
}
footer > hr {
  background-color: #0f1961;
  width: 1440px;
  height: 6.75px;
  border-radius: 4.6875rem;
  margin-bottom: 1.3rem;
}
section.content.footer {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-inline: 1rem;
}
img.tall__pattern {
  height: 250.5px;
}
div.contacts {
  height: 235.5px;
  width: 667.25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

div.contacts > h1 {
  font-family: "TikTok-SemiBold";
  font-size: 1.875rem;
  color: #0f1961;
  letter-spacing: 0.07em;
  margin-bottom: 6px;
}

div.contacts__block {
  width: 100%;
  display: flex;
  gap: 10.5px;
  justify-content: space-between;
}
div.block {
  display: flex;
  flex-direction: column;
  gap: 10.5px;
}

div.block > h3 {
  font-family: "TikTok-Regular";
  font-size: 1.5rem;
  color: #000;
  letter-spacing: 0.07em;
}
div.block > a,
div.block > p {
  display: block;
  font-family: "TikTok-Light";
  font-size: 1.5rem;
  color: #000;
  letter-spacing: 0.07em;
  text-decoration: none;
}
.footer-social_links {
  display: flex;
  height: 36.75px;
  align-items: center;
  gap: 11px;
}
div.contacts > div.contacts__block:nth-child(3) > div.block:nth-child(1) > a {
  margin-top: 10.5px;
}
img.triangle__pattern {
  align-self: center;
  height: 190px;
}
div.site__data {
  display: flex;
  flex-direction: column;
}
div.site__data > a {
  line-height: 1.3;
  font-family: "TikTok-Regular";
  font-size: 1.5rem;
  color: #0f1961;
  text-decoration: underline;
  letter-spacing: 0.07em;
  text-underline-offset: 0.234375rem;
}

@media screen and (hover: hover) {
  .hover:hover {
    opacity: 0.5;
    transition: 0.3s ease-in-out;
    cursor: pointer;
  }
}

@media screen and (max-width: 1439px) {
  /* ==================== PRELOADER START ==================== */
  div.preload > p {
    display: flex;
    align-items: center;
    font-family: "Kosmos";
    font-weight: 400;
    font-size: 3.375rem;
    color: #be0505;
  }
  div.preload > p > span.procent {
    margin-left: 112.5px;
    font-family: "Kosmos";
    font-weight: 400;
    font-size: 3rem;
    color: #0f1961;
  }

  section.content {
    max-width: 1080px;
  }

  div.line {
    padding-inline-end: 7px;
  }

  div.line span {
    font-size: 2.2rem;
  }

  div.line hr {
    height: 5px;
    max-width: 1080px;
    margin-inline: 15px;
    border-radius: 3.5rem;
    top: 7px;
  }

  /* header */
  header {
    height: 96.1875px;
  }
  nav {
    max-width: 1080px;
  }
  nav > ul {
    justify-content: space-between;
  }
  li > a {
    font-size: 1.4rem;
  }
  a.news__page__link {
    font-family: "Kosmos";
    color: #be0505;
  }

  a.events__page__link {
    color: #0f1961;
  }
  nav > ul > li > a > img {
    width: 91.6875px;
  }
  /* main */
  main {
    min-height: calc(100vh - 96.1875px - 205.875px);
  }
  /* footer */
  footer {
    height: 214px;
  }
  footer > hr {
    max-width: 1080px;
  }
  img.tall__pattern {
    height: 187px;
  }
  div.contacts {
    height: 176px;
    width: 500px;
  }

  div.contacts > h1 {
    font-size: 1.4rem;
    margin-bottom: 6px;
  }

  div.block {
    gap: 7.9px;
  }

  div.block > h3 {
    font-size: 1.125rem;
  }
  div.block > a,
  div.block > p {
    font-size: 1.125rem;
  }
  div.contacts > div.contacts__block:nth-child(3) > div.block:nth-child(1) > a {
    margin-top: 7.9px;
  }
  img.triangle__pattern {
    height: 142px;
  }
  div.site__data {
    display: flex;
    flex-direction: column;
  }
  div.site__data > a {
    line-height: 1.3;
    font-size: 1.125rem;
    text-underline-offset: 0.234375rem;
  }
  div.site__data > a:last-child {
    width: 230px;
    text-wrap: wrap;
  }
}

@media screen and (max-width: 1079px) {
  /* ==================== PRELOADER START ==================== */
  div.preload > p {
    display: flex;
    align-items: center;
    font-family: "Kosmos";
    font-weight: 400;
    font-size: 3.375rem;
    color: #be0505;
  }
  div.preload > p > span.procent {
    margin-left: 112.5px;
    font-family: "Kosmos";
    font-weight: 400;
    font-size: 3rem;
    color: #0f1961;
  }
  /* ==================== PRELOADER END ====================== */
  section.content {
    max-width: 1080px;
  }

  /* header */
  header {
    height: 96.1875px;
    left: 0;
  }
  nav {
    max-width: 1080px;
  }
  li > a {
    font-size: 1.4rem;
  }

  nav > ul > li {
    display: none;
  }
  nav > ul > li:last-child,
  nav > ul > li:first-child {
    display: block;
  }

  nav > ul > li > a > img {
    width: 91.6875px;
  }
  /* main */
  main {
    min-height: calc(100vh - 96.1875px - 205.875px);
  }
  /* footer */
  footer > hr {
    width: 100%;
  }
}

@media screen and (max-width: 975px) {
  /* ==================== PRELOADER START ==================== */
  div.preload > p {
    display: flex;
    align-items: center;
    font-family: "Kosmos";
    font-weight: 400;
    font-size: 2.375rem;
    color: #be0505;
  }
  div.preload > p > span.procent {
    margin-left: 20.5px;
    font-family: "Kosmos";
    font-weight: 400;
    font-size: 2rem;
    color: #0f1961;
  }
  /* ==================== PRELOADER END ====================== */
  /* header */
  header {
    height: 90px;
  }
  nav > ul > li > a > img {
    width: 70px;
  }
  /* main */
  main {
    min-height: calc(100vh - 140px - 314px);
  }
  /* footer */
  footer {
    height: 314px;
  }
  section.content.footer {
    position: relative;
    height: 214px;
  }
  footer > hr {
    max-width: 1080px;
  }
  img.tall__pattern {
    height: 187px;
  }
  div.contacts {
    height: 176px;
    width: 500px;
  }

  div.contacts > h1 {
    font-size: 1.4rem;
    margin-bottom: 6px;
  }

  div.block {
    gap: 7.9px;
  }

  div.block > h3 {
    font-size: 1.125rem;
  }
  div.block > a,
  div.block > p {
    font-size: 1.125rem;
  }
  div.contacts > div.contacts__block:nth-child(3) > div.block:nth-child(1) > a {
    margin-top: 7.9px;
  }
  img.triangle__pattern {
    height: 142px;
  }
  div.site__data {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    justify-content: center;
    padding-inline: 1rem;
    position: absolute;
    top: calc(314px - 1.3rem - 76px);
    left: 0;
  }
  div.site__data > a {
    display: block;
    text-wrap: nowrap !important;
    line-height: 1.3;
    font-size: 1.125rem;
    text-underline-offset: 0.234375rem;
  }
}
@media screen and (max-width: 675px) {
  /* ==================== PRELOADER START ==================== */
  div.preload > p {
    display: flex;
    align-items: center;
    font-family: "Kosmos";
    font-weight: 400;
    font-size: 2rem;
    color: #be0505;
  }
  div.preload > p > span.procent {
    margin-left: 20px;
    font-family: "Kosmos";
    font-weight: 400;
    font-size: 1.5rem;
    color: #0f1961;
  }
  /* ==================== PRELOADER END ====================== */

  div.line span {
    font-size: 1.5rem;
  }

  /* header */
  header {
    height: 70px;
  }
  nav > ul > li > a > img {
    width: 50px;
  }
  /* main */
  main {
    min-height: calc(100vh - 140px - 314px);
  }
  /* footer */
  footer {
    min-height: 314px;
  }
  section.content.footer {
    position: relative;
    height: 214px;
  }
  footer > hr {
    max-width: 1080px;
  }
  img.tall__pattern {
    height: 187px;
  }
  div.contacts {
    height: 176px;
    width: 480px;
  }

  div.contacts > h1 {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  div.block {
    gap: 7.9px;
  }

  div.block > h3 {
    font-size: 1rem;
  }
  div.block > a,
  div.block > p {
    font-size: 1rem;
  }
  div.contacts > div.contacts__block:nth-child(3) > div.block:nth-child(1) > a {
    margin-top: 7.9px;
  }
  img.triangle__pattern {
    display: none;
  }
  div.site__data {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    justify-content: center;
    padding-inline: 1rem;
    position: absolute;
    top: calc(314px - 1.3rem - 76px);
    left: 0;
  }
  div.site__data > a {
    display: block;
    text-wrap: nowrap !important;
    line-height: 1;
    font-size: 0.9rem;
    text-underline-offset: 0.1rem;
  }
}
@media screen and (max-width: 560px) {
  /* ============ empty__db__message ============ */
  span.empty__db__message {
    font-size: 2.2rem;
  }

  div.line hr {
    margin-inline-start: 0;
    margin-inline-end: 15px;
  }

  /* header */
  header {
    height: 65px;
  }
  li > a {
    font-size: 1rem;
  }

  nav > ul > li > a > img {
    width: 50px;
  }

  footer {
    height: 500px;
  }
  section.footer.content {
    justify-content: start;
    height: 100%;
    flex-direction: column;
    gap: 30px;
  }
  div.contacts {
    height: 320px;
    gap: 10px;
    width: 100%;
  }
  section.footer.content * {
    text-align: center;
  }
  div.contacts__block {
    flex-direction: column;
    align-self: center;
    align-items: center;
  }
  div.contacts > div.contacts__block:nth-child(3) {
    flex-direction: column-reverse;
  }
  div.site__data {
    position: relative;
    top: 0;
  }
  img.tall__pattern {
    display: none;
  }
  img.triangle__pattern {
    display: none;
  }
}
