@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Light.ttf");
  font-weight: 300;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.ttf");
  font-weight: 400;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Medium.ttf");
  font-weight: 500;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Bold.ttf");
  font-weight: 800;
}

@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;
  height: 100%;
}

body {
  height: 100%;
  background: linear-gradient(#070f34 5%, #08275f 30%, #02040f 80%) fixed;
  font-family: Mukta, sans-serif;
  color: #fff;
}

*,
*::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%;
}

.btn {
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  background: none;
  box-shadow: none;
  border: 0;
  appearance: none;
  cursor: pointer;
}

.page {
  display: flex;
  flex-direction: column;
  padding-bottom: 30px;
  min-width: 320px;
  height: 100%;
  overflow-x: hidden;
}

.page__container {
  display: flex;
  flex-direction: column;
  padding: 70px 16px 50px 16px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  max-width: 1200px;
  min-height: 100%;
  overflow-y: scroll;
}

.page__container::-webkit-scrollbar {
  display: none;
}

.page__logo {
  object-fit: cover;
  width: 244px;
  height: 22.5px;
  margin-bottom: 56px;
  filter: invert(1);
}

.page__title {
  text-align: center;
  font-size: 50px;
  font-family: Roboto;
  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: 50px;
}

.page__text {
  text-align: center;
}

.text__content {
  color: #8d9dff;
  text-align: center;
  font-size: 20px;
  font-family: Roboto;
  font-weight: 800;
  line-height: 24px;
  text-transform: uppercase;
}

.page__cursive {
  text-align: center;
  font-style: italic;
  font-size: 20px;
  font-family: Roboto;
  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;
  padding: 0;
  margin: 0;
  margin-bottom: 20px;
}

.zodiaks__item {
  list-style: none;
  margin-bottom: 30px;
  margin-right: 40px;
}

.zodiaks__item:nth-child(6n) {
  margin-right: 0;
}

.zodiaks__image {
  width: 160px;
  height: 160px;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.zodiaks__image>img {
  height: 100px;
  width: 100px;
  object-fit: contain;
}

.zodiaks__item:nth-child(1)>a>.btn>.zodiaks__image {
  background: linear-gradient(143deg, #f5797e 0%, #f39c7f 100%);
}

.zodiaks__item:nth-child(2)>a>.btn>.zodiaks__image {
  background: linear-gradient(143deg, #a18cd1 0%, #fbc2eb 100%);
}

.zodiaks__item:nth-child(3)>a>.btn>.zodiaks__image {
  background: linear-gradient(143deg, #f6d365 0%, #fda085 100%);
}

.zodiaks__item:nth-child(4)>a>.btn>.zodiaks__image {
  background: linear-gradient(143deg, #40fd85 0%, #6fcaf8 100%);
}

.zodiaks__item:nth-child(5)>a>.btn>.zodiaks__image {
  background: linear-gradient(143deg, #fccb90 0%, #d57eeb 100%);
}

.zodiaks__item:nth-child(6)>a>.btn>.zodiaks__image {
  background: linear-gradient(143deg, #f093fb 0%, #f5576c 100%);
}

.zodiaks__item:nth-child(7)>a>.btn>.zodiaks__image {
  background: linear-gradient(143deg, #4facfe 0%, #00f2fe 100%);
}

.zodiaks__item:nth-child(8)>a>.btn>.zodiaks__image {
  background: linear-gradient(143deg, #43e97b 0%, #38f9d7 100%);
}

.zodiaks__item:nth-child(9)>a>.btn>.zodiaks__image {
  background: linear-gradient(143deg, #fa709a 0%, #fee140 100%);
}

.zodiaks__item:nth-child(10)>a>.btn>.zodiaks__image {
  background: linear-gradient(143deg, #30cfd0 0%, #7537c0 100%);
}

.zodiaks__item:nth-child(11)>a>.btn>.zodiaks__image {
  background: linear-gradient(143deg, #5ee7df 0%, #b490ca 100%);
}

.zodiaks__item:nth-child(12)>a>.btn>.zodiaks__image {
  background: linear-gradient(143deg, #f37d7d 0%, #f789e4 100%);
}

.zodiaks__name {
  text-align: center;
  font-size: 24px;
  font-family: Roboto;
  font-weight: 800;
  line-height: 24px;
  margin-top: 10px;
  margin-bottom: 5px;
}

.zodiaks__date {
  display: block;
  width: 160px;
  color: #bababa;
  text-align: center;
  font-size: 20px;
  font-family: Roboto;
  line-height: 24px;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 550px;
  width: 100%;
  padding: 5px 16px;
  margin: 0 auto;
  font-size: 11px;
  line-height: normal;
}

.footer p {
  padding: 0;
  margin: 0;
  text-align: center;
}

.footer a {
  text-decoration: underline;
}

@media screen and (max-width: 1190px) {
  .zodiaks__item:nth-child(6n) {
    margin-right: 40px;
  }

  .zodiaks__item:nth-child(5n),
  .zodiaks__item:nth-child(12) {
    margin-right: 0px;
  }
}

@media screen and (max-width: 991px) {
  .zodiaks__item:nth-child(5n) {
    margin-right: 40px;
  }

  .zodiaks__item:nth-child(4n) {
    margin-right: 0px;
  }
}

@media screen and (max-width: 791px) {
  .zodiaks__item:nth-child(4n) {
    margin-right: 40px;
  }

  .zodiaks__item:nth-child(3n) {
    margin-right: 0px;
  }
}

@media screen and (max-width: 591px) {
  .zodiaks__item:nth-child(even) {
    margin-right: 0px;
  }

  .zodiaks__item:nth-child(odd) {
    margin-right: 40px;
  }
}

@media screen and (max-width: 400px) {
  .zodiaks__list {
    justify-content: space-evenly;
  }

  .zodiaks__item {
    margin-right: 0px !important;
  }
}

@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;
    filter: invert(1);
  }

  .zodiaks__item {
    margin-bottom: 24px;
  }

  .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;
  }
}