@font-face {
  font-family: "Avenir";
  src: url("../fonts/Avenir-Light.ttf");
  font-weight: 300;
}

@font-face {
  font-family: "Avenir";
  src: url("../fonts/Avenir-Regular.ttf");
  font-weight: 400;
}

@font-face {
  font-family: "Avenir";
  src: url("../fonts/Avenir-Medium.ttf");
  font-weight: 500;
}

@font-face {
  font-family: "Avenir";
  src: url("../fonts/Avenir-Heavy.ttf");
  font-weight: 800;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@200;300;400;500;600;700;800&display=swap');

html {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: Mukta, Calibri, sans-serif;
}

*,
*::before,
*::after {
  -moz-box-sizing: inherit;
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

img {
  max-width: 100%;
}

body {
  background: linear-gradient(#070f34 5%, #08275f 30%, #02040f 80%) fixed;
  background: linear-gradient(180deg,
      #0b1238 0%,
      #1a1b4b 35%,
      #120826 70%,
      #05030f 100%);
  color: #fff;
}

.btn {
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  background: none;
  box-shadow: none;
  border: 0;
  appearance: none;
  cursor: pointer;
}

.page__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 16px 50px 16px;
}

.page__logo {
  object-fit: cover;
  width: 244px;
  height: 22.5px;
  margin-bottom: 56px;
}

.page__title {
  text-align: center;
  font-size: 50px;
  font-family: Mukta, Calibri, sans-serif;
  font-weight: 900;
  margin-bottom: 14px;
}

.page__subtitle {
  text-align: center;
  font-size: 20px;
  font-family: "Roboto";
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 20px;
}

.page__text {
  text-align: center;
}

.text__content {
  color: #c68dff;
  text-align: center;
  font-size: 20px;
  font-family: Mukta, Calibri, sans-serif;
  font-weight: 800;
  line-height: 24px;
  text-transform: uppercase;
}

.page__cursive {
  text-align: center;
  color: #1e1e1e;
  font-style: italic;
  font-size: 20px;
  font-family: Mukta, Calibri, sans-serif;
  font-weight: 800;
  line-height: 24px;
  text-transform: lowercase;
}

.zodiaks {
  align-content: flex-start;
}

.zodiaks__list {
  max-width: 1160px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 0;
  margin: 0;
  margin-bottom: 20px;
}

.zodiaks__item {
  list-style: none;
  /* margin-bottom: 30px; */
}

.zodiaks__item:nth-child(6n) {
  margin-right: 0;
}

.zodiaks__image {
  width: 220px;
  /* height: 160px; */
  display: flex;
  justify-content: center;
  align-items: center;

  box-shadow: 0 0 50px rgb(255 255 255 / 36%);
  overflow: hidden;
}

.zodiaks__image img {
  object-fit: contain;
}

.zodiaks__name {
  color: #fff;
  text-align: center;
  font-size: 24px;
  font-family: Mukta, Calibri, sans-serif;
  font-weight: 800;
  line-height: 24px;
  margin-top: 10px;
  margin-bottom: 5px;
}

.zodiaks__date {
  display: block;
  width: 160px;
  color: #d4c3f7;
  text-align: center;
  font-size: 20px;
  font-family: Mukta, Calibri, sans-serif;
  line-height: 24px;
  font-style: italic;
}

.footer {
  padding: 100px 16px 0px 16px;
  width: 100%;

  font-weight: 400;
  font-size: 12px;
  font-family: Mukta, Calibri, sans-serif;
  line-height: 16px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3px;
}

.footer-link {
  padding: 0 8px;
  font-weight: 400;
  letter-spacing: 0em;
  text-align: left;
  transition: all 0.2s ease;

  font-size: 12px;
  font-family: Mukta, Calibri, sans-serif;
  line-height: 12px;
  text-decoration: underline;
}

.footer-link:not(:last-child) {
  border-right: 1px solid #fff;
}

.footer-link:hover {
  color: #48209d;
}

@media (max-width: 520px) {
  .zodiaks__image {
    width: 160px;
  }

  .zodiaks__list {
    gap: 8px;
  }
}

@media (max-width: 390px) {
  .zodiaks__image {
    width: 150px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding-top: 70px;
  }

  .footer-link {
    padding-top: 5px;
    width: 100%;
    text-align: center;
  }

  .footer-link:nth-child(n) {
    margin-top: 0px;
    border-right: none;
  }

  .page__logo {
    display: block;
    margin: 0 auto;
    margin-bottom: 56px;
  }

  .text__content,
  .page__cursive {
    display: block;
  }

  .page__title {
    font-size: 40px;
  }

  .page__subtitle {
    font-size: 16px;
    margin-bottom: 36px;
  }

  .zodiaks__name {
    font-size: 20px;
  }

  .zodiaks__date {
    font-size: 16px;
  }
}