*,
*::after,
*::before {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
}
ul,
li {
  list-style: none;
}
.btn-menu svg {
  display: block;
  width: 32px;
  height: 32px;
  fill: #010300;
}
.header {
  background-color: #fff;
}
@media (max-width: 1024px) {
  .header {
    box-shadow: 0 0 6px 2px #c4c4c4;
  }
}
.header__body {
  border: 1px solid #ebebeb;
  border-top: none;
}
.header__top {
  position: relative;
  min-height: 72px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ebebeb;
}
.header__social {
  display: flex;
  align-items: center;
  gap: 5px;
}
.header__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fafafa;
  border-radius: 12px;
  transition: all 0.3s;
}
.header__social-link:hover {
  background-color: #273b71;
}
.header__social-link svg {
  fill: #010300;
  transition: all 0.3s;
}
.header__social-link:hover svg {
  fill: #f2f2f2;
}
.header__logo {
  position: absolute;
  left: 50%;
  width: 100%;
  max-width: 368px;
  height: 47px;
  display: block;
  padding: 0 20px;
  margin-bottom: -3px;
  transform: translateX(-50%);
  background-color: #fff;
  align-self: flex-end;
}
.header__logo svg {
  fill: #010300;
  display: block;
  width: 100%;
  height: 100%;
}
.header__weather-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.weather-temp {
  font-size: 16px;
  color: #000;
}
.weater-icon {
  width: 32px;
  height: 32px;
}
.header__bootom {
  min-height: 72px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header__menu {
  display: flex;
  align-items: center;
  gap: 25px;
}
.header__link {
  position: relative;
  padding: 10px 0px;
  font-size: 13px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  transition: all 0.3s;
}
.header__link::before {
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: 8px;
  background-color: #ce0707;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s;
}
.header__link:hover::before {
  opacity: 1;
  transform: scale(1);
}
.btn-menu {
  width: 64px;
  height: 100%;
  position: absolute;
  right: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fafafa;
  border-left: 1px solid #ebebeb;
}
@media (max-width: 1310px) {
  .header__top {
    min-height: 60px;
  }
  .header__bootom {
    min-height: 60px;
    justify-content: flex-start;
  }
  .header__item:nth-last-child(-n + 3) {
    display: none;
  }
}
@media (max-width: 1200px) {
  .header .wrapper {
    max-width: 100%;
    padding: 0px 0px 0px 15px;
  }

  .header__logo {
    max-width: 330px;
    height: 40px;
  }
}
@media (max-width: 1024px) {
  .header__top {
    min-height: 60px;
    padding: 0;
    border-bottom: none;
  }
  .header__social {
    display: none;
  }
  .header__bootom {
    width: 76%;
    min-height: 60px;
    justify-content: space-between;
  }
  .header__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border: none;
  }
  .header__logo {
    position: relative;
    align-self: center;
    margin: 0;
    padding: 0;
    max-width: 190px;
    height: 25px;
  }
  .header__weather-link {
    display: none;
  }
  .header__item:nth-last-child(-n + 5) {
    display: none;
  }
  .btn-menu {
    position: relative;
    height: 60px;
    border-right: 1px solid #ebebeb;
  }
}
@media (max-width: 930px) {
  .header__bootom {
    width: 70%;
  }
  .header__item:nth-last-child(-n + 7) {
    display: none;
  }
}
@media (max-width: 760px) {
  .header__bootom {
    width: 30%;
    justify-content: flex-end;
  }
  .header__body {
    justify-content: space-between;
  }
  .header__menu {
    display: none;
  }
}

/*! BASE */
.wrapper {
  max-width: 1620px;
  width: 100%;
  margin: 0px auto;
  padding: 0px 30px;
}
/*! HEADER */
/*! FOOTER */
.footer {
  background-color: #231f20;
  padding: 30px 0;
}
.footer-top {
  padding: 15px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 0 20px;
  border-bottom: 1px solid #303030;
}
.footer-top__logo {
  display: flex;
  flex-grow: 1;
  flex-shrink: 0.1;
  justify-content: center;
}
.footer-top__logo img {
  max-width: 160px;
  height: 300px;
  width: 100%;
}
.footer-top__list {
  flex-grow: 1;
  height: 300px;
  display: flex;
  flex-direction: column;
}
.footer-top__list a {
  font-size: 19px;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  padding: 5px;
  display: flex;
}
.footer-top__list:last-child {
  border-left: 1px solid #303030;
  padding-left: 10px;
}
.footer-top__list:last-child li:last-child {
  margin-top: auto;
}
.footer-top__social {
  display: flex;
  align-items: center;
  gap: 0 5px;
}
.footer-top__social a {
  display: flex;
}
.footer-top__social svg {
  fill: #fff;
  transition: fill 0.2s ease;
}
.footer-mid {
  width: 60%;
  margin: 0 auto;
  display: flex;
  padding: 30px 0;
  gap: 30px;
}
.footer-mid a {
  flex-grow: 1;
  display: flex;
}
.footer-mid img {
  filter: invert(0.3);
  height: 35px;
}
.footer-bot {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #303030;
  padding: 15px 10px 45px;
  color: #fff;
  font-size: 14px;
}
.footer-bot__developer a {
  color: #999;
  text-decoration: none;
}
@media (max-width: 1024px) {
  .footer-top {
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-top__logo {
    flex-basis: 100%;
  }
  .footer-top__list {
    height: auto;
  }
  .footer-top__list:last-child {
    border: none;
    padding: 0;
  }
}
@media (max-width: 768px) {
  .footer-top__list {
    display: none;
  }
  .footer-mid {
    width: 100%;
  }
  .footer-bot {
    flex-direction: column;
    gap: 10px 0;
    align-items: center;
    text-align: center;
  }
  .footer-top__logo img {
    height: 120px;
  }
  .footer-mid {
    padding: 15px 0;
  }
}
@media (hover: hover) {
  .footer a:hover {
    text-decoration: underline;
  }
  .footer-top__social a:hover svg {
    fill: #de4827;
  }
}
