/* ============================================================
   footer.css — стили компонента footer (BEM)
   Сущность: components/footer.tpl
   ============================================================ */

/* === ROOT === */

.footer__root {
  color: #96afc0;
  background-color: hsla(206, 25%, 11%, 0.7);
}

.footer__root a {
  color: #7395ae;
  font-weight: 500;
  font-size: 0.95rem;
  -webkit-transition: color 0.2s ease, border-color 0.2s ease;
  -o-transition: color 0.2s ease, border-color 0.2s ease;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer__root a:hover,
.footer__root a:focus {
  text-decoration: none;
  color: #6cdaee;
  border-bottom: 2px solid rgba(90, 185, 234, 0.4);
}

/* === CONTAINER === */

.footer__container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .footer__container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .footer__container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .footer__container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .footer__container {
    max-width: 1328px;
  }
}

@media print {
  .footer__container {
    min-width: 992px !important;
  }
}

/* === ROW === */

.footer__row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
  justify-content: center;
}

/* === COL LOGO === */

.footer__col-logo {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 768px) {
  .footer__col-logo {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
}

/* === COL TEXT === */

.footer__col-text {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  text-align: center !important;
}

@media (min-width: 768px) {
  .footer__col-text {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* === LOGO === */

.footer__logo {
  height: 50px;
  opacity: 0.4;
  color: #484f62;
  transition: height 0.4s;
  -webkit-transition: height 0.4s;
  font-size: 28px;
  font-weight: 700;
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.footer__logo:hover {
  opacity: 1;
  transition: all 0.3s 0.05s ease;
  -moz-transition: all 0.3s 0.05s ease;
  -o-transition: all 0.3s 0.05s ease;
  -webkit-transition: all 0.3s 0.05s ease;
}

/* === TEXT === */

.footer__text {
  font-size: 14px;
  color: #96afc0;
  text-align: start;
  margin-top: 25px;
}
