/*---------------------------------------------------------
                         HEADER
---------------------------------------------------------*/
.logo_head {
  background: center / cover url("../img/website/headers/up-hram.png");
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.4),
      /* Подсветка цветом слоем верх */ rgba(255, 255, 255, 0),
      /* Подсветка цветом слоем середина */ rgba(32, 0, 9, 0.6)
        /* Подсветка цветом слоем низ */
    ),
    url("../img/website/headers/up-hram.png");
  display: flex;
  width: 100%;
  height: auto;
  text-align: center;
  justify-content: center;
  font: normal calc(2em + 1 * (100vw - 120px) / 100) "Secession-Light";
  color: #faf5f5;
  text-shadow: #000000 5px 5px 0.1rem;
  padding-top: 27%;
}

/*--------------------------------------------------
                ПОДВАЛ FOOTER
----------------------------------------------------*/

#footer {
  font-size: 0.9rem;
  font-family: "PT Sans";
  background-color: #f1f1f1;
  justify-content: center;
  border-top: 1px solid #5d001a;
}
.first_block {
  display: grid;
  grid-template-columns: 0.3fr 1fr 0.7fr 0.5fr;
}
h2 {
  font-family: "Secession-Light";
  color: #5d001a;
  text-align: center;
  font-size: 1.1rem;
}
.footer-logo {
  display: flex;
  flex-direction: column;
}
.footer-logo img {
  width: 90%;
  margin: auto auto;
}
.logo-desktop {
  display: flex;
}
.logo-mobile {
  display: none;
}

.footer-about,
.links,
.social-links {
  padding: 0 10%;
}

.footer-about {
  display: flex;
  flex-direction: column;
  text-align: justify;
  color: black;
}
.links {
  display: flex;
  flex-direction: column;
}
.links-box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.links-left,
.links-right {
  display: flex;
  flex-direction: column;
}
.links-left a,
.links-right a {
  margin: 0.3em 0;
  color: black;
  &:hover {
    color: #5d001a;
    font-weight: 700;
  }
}
.social-links {
  display: flex;
  flex-direction: column;
}
.social-links img {
  height: 30px;
  width: 30px;
  transition: 0.2s; /* Время изменения */
  &:hover {
    transform: scale(1.2); /* Увеличиваем масштаб */
  }
}
.social-icons {
  display: grid;
  grid-template-columns: repeat(2, 50%);
  justify-items: center;
  gap: 1.8em 0em;
}
.copy-right-sec {
  padding: 0.4em;
  background: #5d001a;
  color: white;
  font-family: "Secession-Light";
  text-align: center;
  font-size: 1rem;
}
.copy-right-sec a {
  color: #fffdf6;
  font-size: 0.8rem;
}
a {
  text-decoration: none;
}

/*----------------------------------------------
  Изменения для мобильной верстки header  и footer
----------------------------------------------*/
@media (max-width: 768px) {
  .logo_head {
    font: 1.3rem "Secession-Light";
    background-image:
      linear-gradient(
        rgba(255, 255, 255, 0.3),
        /* Подсветка цветом слоем верх */ rgba(255, 255, 255, 0),
        /* Подсветка цветом слоем середина */ rgba(40, 0, 10, 0.4),
        /* Подсветка цветом слоем середина */ rgba(40, 0, 10, 0.8)
          /* Подсветка цветом слоем низ */
      ),
      url("../img/website/headers/up-hram.png");
  }
  .first_block {
    grid-template-columns: 1fr;
  }
  .footer-logo img {
    width: 85%;
    margin: 1em auto;
  }
  .logo-desktop {
    display: none;
  }
  .logo-mobile {
    display: flex;
  }
  .links-left a,
  .links-right a {
    font-size: 0.8rem;
    color: blue;
    margin: 0.4em 0; /* расстояние между строками меню footer*/
    text-align: left;
  }
  .social-links img {
    height: 50px;
    width: 50px;
  }
  h2 {
    text-align: left;
    font-size: 1.4rem;
  }
  .social-icons {
    padding: 1em 0 4em 0;
    grid-template-columns: repeat(2, 50%); /* 2 столбика по 50% */
    gap: 0em 0em;
  }
  .footer-about,
  .links,
  .social-links {
    border-top: 1px solid #4c4a4a;
  }
}
/* footer section end */
