/* === Gilroy font === */
@font-face {
  font-family: 'Gilroy';
  src: local("Gilroy Light");
  src: url("../fonts/Gilroy/Gilroy-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal; }

@font-face {
  font-family: 'Gilroy';
  src: local("Gilroy");
  src: url("../fonts/Gilroy/Gilroy-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal; }

@font-face {
  font-family: 'Gilroy';
  src: local("Gilroy Medium");
  src: url("../fonts/Gilroy/Gilroy-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal; }

@font-face {
  font-family: 'Gilroy';
  src: local("Gilroy SemiBold");
  src: url("../fonts/Gilroy/Gilroy-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal; }

@font-face {
  font-family: 'Gilroy';
  src: local("Gilroy Bold");
  src: url("../fonts/Gilroy/Gilroy-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal; }

@font-face {
  font-family: 'Gilroy';
  src: local("Gilroy ExtraBold");
  src: url("../fonts/Gilroy/Gilroy-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal; }

@font-face {
  font-family: 'Gilroy';
  src: local("Gilroy Black");
  src: url("../fonts/Gilroy/Gilroy-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal; }

/* === Base reset === */
nav, footer, header, aside { display: block; }
ul { list-style-type: none; }
a { background-color: transparent; outline: none; text-decoration: none; }

/* === .row container === */
#footer .row {
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px; }

@media (max-width: 420px) {
  #footer .row {
    padding: 0 15px !important; } }

@media (max-width: 360px) {
  #footer .row {
    padding: 0 10px !important; } }

/* === Footer styles === */
.footer {
  position: relative;
  background-color: #080d1d;
  padding-top: 100px; }

.footer::after {
  content: '';
  width: 702px;
  height: 976px;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-image: url("../images/footer-blur.png");
  background-repeat: no-repeat;
  background-size: cover; }

@media (max-width: 1024px) {
  .footer .row {
    padding: 0 20px;
    max-width: none;
    width: 100%; } }

@media (max-width: 520px) {
  .footer {
    overflow: hidden; } }

.footer-logo__container {
  margin-bottom: 48px; }

.footer__logo {
  width: 245px;
  -webkit-transition: 0.375s opacity;
  -o-transition: 0.375s opacity;
  transition: 0.375s opacity;
  display: inline-block; }

@media (min-width: 1024px) {
  .footer__logo:hover {
    opacity: 0.5; } }

.footer__logo img {
  width: 100%;
  height: auto; }

.footer__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 50px; }

.footer-top__links--nav {
  -webkit-transform: translateY(-10px);
  -ms-transform: translateY(-10px);
  transform: translateY(-10px); }

button.footer-top__link {
  cursor: auto; }

.footer-top__link {
  background: none;
  text-align: left; }

.footer-top__link a {
  font-family: 'Inter', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 16px;
  line-height: 1;
  color: #AEB3D1;
  -webkit-transition: 0.375s color;
  -o-transition: 0.375s color;
  transition: 0.375s color;
  display: inline-block;
  padding: 7.5px 0; }

@media (min-width: 1024px) {
  .footer-top__link a:hover {
    color: #0386FE; } }

.footer-top__link--сategory {
  color: #FFFFFF;
  font-family: Gilroy;
  font-size: 18px;
  margin-bottom: 12.5px; }

.footer-top__link--сategory a {
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 18px;
  line-height: 1;
  color: #FFFFFF;
  padding: 0; }

.footer-top__link--nav a {
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 18px;
  line-height: 1;
  color: #FFFFFF;
  padding: 10px 0; }

.footer__middle {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid #aeb3d1;
  border-bottom: 1px solid #aeb3d1; }

.footer-middle__text {
  font-family: 'Inter', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 16px;
  line-height: 1.4;
  color: #AEB3D1; }

.footer-middle__socials {
  margin-left: 70px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr [5];
  grid-template-columns: repeat(5, 1fr);
  grid-auto-flow: row;
  grid-gap: 15px; }

.footer-middle__social {
  width: 40px;
  height: 40px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border: 1px solid rgba(61, 88, 169, 0);
  border-radius: 10px;
  background: rgba(61, 88, 169, 0.2);
  -webkit-transition: 0.375s background, 0.375s border;
  -o-transition: 0.375s background, 0.375s border;
  transition: 0.375s background, 0.375s border; }

.footer-middle__social svg path {
  fill: #0386FE;
  -webkit-transition: 0.375s all;
  -o-transition: 0.375s all;
  transition: 0.375s all; }

@media (min-width: 1024px) {
  .footer-middle__social:hover {
    border: 1px solid #3D58A9; }
  .footer-middle__social:active {
    border: 1px solid #0386FE;
    background-color: #0386FE; }
  .footer-middle__social:active svg path {
    fill: #1E2746; } }

.footer__bottom {
  padding: 30px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap; }

.footer-bottom__copy {
  font-family: 'Inter', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 16px;
  line-height: 1.2;
  color: #8D8E93;
  display: inline-block;
  margin-right: 150px; }

.footer-bottom__link {
  font-family: 'Inter', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 16px;
  line-height: 1.2;
  color: #8D8E93;
  display: inline-block;
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  -webkit-transition: 0.375s border, 0.375s color;
  -o-transition: 0.375s border, 0.375s color;
  transition: 0.375s border, 0.375s color;
  margin-right: 150px; }

.footer-bottom__link:last-child {
  margin-right: 0; }

@media (min-width: 1024px) {
  .footer-bottom__link:hover {
    color: #FFFFFF;
    border-bottom: 1px solid white; } }

@media (max-width: 1280px) {
  .footer__top {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin: -25px -15px 0;
    padding-bottom: 5px; }
  .footer-top__links {
    width: calc(33.33333% - 30px);
    margin: 25px 15px; }
  .footer-middle__socials {
    margin-left: 60px; }
  .footer__bottom {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between; }
  .footer-bottom__copy,
  .footer-bottom__link {
    margin-right: 0; } }

@media (max-width: 768px) {
  .footer__top {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between; }
  .footer__middle {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column; }
  .footer-middle__text {
    margin-bottom: 30px; }
  .footer-middle__socials {
    margin-left: 0; }
  .footer-bottom__copy {
    font-size: 14px; }
  .footer-bottom__link {
    font-size: 14px; } }

@media (max-width: 568px) {
  .footer-top__links {
    width: calc(50% - 30px); }
  .footer-bottom__link--responsibility {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1; }
  .footer-bottom__link--policy {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2; }
  .footer-bottom__copy {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3; } }

@media (max-width: 520px) {
  .footer {
    margin-top: 0; }
  .footer::after {
    width: 400px;
    height: 586.66667px;
    bottom: 0;
    opacity: 0.7; } }

@media (max-width: 520px) and (min-width: 1024px) {
  .footer-top__link--сategory:hover a {
    color: #FFFFFF; } }

@media (max-width: 520px) {
  .footer__logo {
    width: 208px; }
  .footer-middle__text {
    font-size: 14px; }
  .footer__bottom {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center; }
  .footer-bottom__link {
    margin-right: 0;
    margin-bottom: 15px; }
  .footer-bottom__link:last-child {
    margin-bottom: 0; } }

@media (max-width: 398px) {
  .footer {
    margin-top: 0; }
  .footer-logo__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center; }
  .footer-top__links {
    width: 100%; }
  .footer-top__hidden {
    padding-bottom: 10px; }
  .footer-top__links {
    margin: 0 15px;
    border-bottom: 1px solid #aeb3d1; }
  .footer-top__links--nav {
    margin: 30px 15px 0;
    border-bottom: 1px solid rgba(174, 179, 209, 0); }
  .footer-top__links--nav a {
    padding: 10px 0; }
  .footer-top__link {
    position: relative;
    width: 100%;
    display: block;
    background: none;
    text-align: left; }
  .footer-top__link a {
    display: block;
    padding: 8px 0; }
  .footer-top__link--сategory {
    margin-bottom: 0;
    padding: 15px 0; }
  .footer-top__link--сategory a {
    padding: 20px 0; }
  .footer-top__link--сategory::after {
    content: '';
    width: 12px;
    height: 9px;
    background-image: url("../images/icons/arrow-down-white.svg");
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: 0.375s -webkit-transform;
    transition: 0.375s -webkit-transform;
    -o-transition: 0.375s transform;
    transition: 0.375s transform;
    transition: 0.375s transform, 0.375s -webkit-transform; }
  .footer-top__link._active::after {
    -webkit-transform: translateY(-50%) rotate(180deg);
    -ms-transform: translateY(-50%) rotate(180deg);
    transform: translateY(-50%) rotate(180deg); }
  .footer-middle__text {
    text-align: center; }
  .footer-middle__socials {
    grid-gap: 12px; } }

