body {
  padding-top: calc(70px + 3rem + 2rem);
}

.main-header {
  width: 100%;
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
  background-color: #fff;
  position: fixed;
  z-index: 1000;
  box-shadow: 0 3px 5px -3px rgba(0, 0, 0, 0.186);
  top: 0;
}
.main-header a {
  opacity: 0.75;
}
.main-header_top-section {
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background-color: #fff;
  position: relative;
  z-index: 1000;
  transition: all 0.3s;
}
.main-header .main-header_mobile-btn {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  visibility: hidden;
}
.main-header .main-header_mobile-btn .mobile-menu-btn {
  cursor: pointer;
}
.main-header .main-header_mobile-btn .mobile-menu-btn span {
  width: 17px;
  height: 2px;
  background-color: black;
  display: block;
}
.main-header .main-header_mobile-btn .mobile-menu-btn span:nth-child(2) {
  margin: 0.2rem 0;
}
.main-header .main-header_logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.main-header .main-header_logo a {
  transition: all 0.5s;
  font-size: 3rem;
}
.main-header .main-header_logo img {
  width: 250px;
  transition: all 0.5s;
}
.main-header .main-header_control {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  text-transform: uppercase;
  position: relative;
  margin-left: auto;
  z-index: 1000;
}
.main-header .main-header_control:hover .main-header_subscribe-banner {
  visibility: visible;
  opacity: 1;
}
.main-header .main-header_control_languages {
  display: flex;
  padding-left: 1rem;
  border-left: 1px solid black;
  margin-left: 1rem;
}
.main-header .main-header_control_languages li:first-child {
  margin-right: 0.5rem;
}
.main-header .main-header_subscribe-btn {
  display: inline-flex;
  justify-content: center;
  line-height: 56px;
  padding-inline: 30px;
  background: #000;
  color: #fff;
  opacity: 1;
  font-size: 1rem;
  font-weight: 500;
  transition: .25s;
  cursor: pointer;
}
.main-header .main-header_subscribe-btn:hover {
  background: #333;
}
.main-header .main-header_subscribe-banner {
  width: 350px;
  height: 240px;
  position: absolute;
  right: 0;
  top: calc(100% - 1px);
  padding-top: 2rem;
  z-index: 1000;
  visibility: hidden;
  opacity:0;
  transition: .35s;
}
.main-header .main-header_subscribe-banner img {
  cursor: pointer;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.main-header_bottom-section {
  width: 100%;
  position: absolute;
  border-top: 1.2px solid rgb(237, 237, 237);
  box-shadow: 0 3px 5px -3px rgba(0, 0, 0, 0.186);
  top: 100%;
  transition: all 0.5s;
  z-index: 20;
  height: 49px;
}
.main-header_nav {
  width: 100%;
  background-color: #fff;
  padding: 1rem 0;
  z-index: 10;
  position: relative;
}
.main-header_nav ul {
  display: flex;
  justify-content: center;
}
.main-header_nav li {
  margin: 0 0.6rem;
}
.main-header_nav li:hover {
  text-decoration: underline;
}
.main-header_nav-mobile {
  position: fixed;
  width: 100%;
  padding: 2rem;
  min-height: 100vh;
  top: 0;
  padding-top: calc(35px + 3rem);
  z-index: 1;
  display: none;
  opacity: 0;
  background-color: #fff;
}
.main-header_nav-mobile li {
  font-size: 1rem;
  margin: 2rem 1rem;
  opacity: 0.9;
}
.main-header_nav-mobile li:hover {
  text-decoration: underline;
}
.main-header_bottom-section .main-header_control {
  display: none;
}
.main-header.scroll-hide .main-header_logo img {
  width: 200px;
}
.main-header.scroll-hide .main-header_bottom-section {
  top: calc(100% - 49px);
}
.main-header_bottom-section.mobile-mode .main-header_nav-mobile {
  animation-name: nav-mobile-show;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
  display: block;
}
@keyframes nav-mobile-show {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.main-header_subscribe-form {
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 1000000;
  overflow-y: scroll;
  background-color: #fff;
  display: none;
}
.main-header_subscribe-form.active {
  display: block;
}
.main-header_subscribe-form_container {
  width: 700px;
  margin: 0 auto;
  padding: 2rem;
  margin-bottom: 100px;
  font-weight: 500;
  text-transform: none;
}
.main-header_subscribe-form_container img {
  width: 100%;
}
.main-header_subscribe-form_container h3 {
  margin: 1rem 0;
  font-size: 1.5rem;
  font-weight: 500;
}
.main-header_subscribe-form_container p {
  margin: 1rem 0;
}
.main-header_subscribe-form_container ul {
  list-style: circle;
}
.main-header_subscribe-form_container ul li {
  margin: 1rem 0;
}
.main-header_subscribe-form_container a {
  display: block;
  padding: 0.8rem 1.4rem;
  max-width: fit-content;
  background-color: rgb(220, 7, 7);
  color: white;
  text-transform: uppercase;
  font-size: 1.2rem;
  margin: 0 auto;
  margin-top: 2rem;
  transition: all 0.3s;
}
.main-header_subscribe-form_container a:hover {
  background-color: rgba(220, 7, 7, 0.8);
}
.main-header_form-input {
  margin-bottom: 2rem;
}
.main-header_form-input label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  font-weight: 500;
}
.main-header_form-input input {
  width: 100%;
  font-size: 1.2rem;
  padding: 0.5rem;
  border-radius: 0;
  border: 1px solid black;
  height: 45px;
}
.main-header_submit-btn {
  width: 100%;
  font-size: 1.2rem;
  height: 45px;
  padding: 0.5rem 0;
  background-color: #000;
  border: 1px solid black;
  color: #fff;
  text-transform: uppercase;
  font-family: "Raleway", sans-serif;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s;
}
.main-header_submit-btn:hover {
  background-color: #fff;
  color: #000;
}
.main-header_message {
  width: 400px;
  padding: 1rem;
  background-color: #000;
  position: fixed;
  bottom: 0%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.345);
  animation: slide-in;
  animation-fill-mode: forwards;
  animation-duration: 5s;
  display: none;
}
@keyframes slide-in {
  0% {
    bottom: -20%;
  }
  10% {
    bottom: 0%;
  }
  90% {
    bottom: 0%;
  }
  100% {
    bottom: -20%;
  }
}
.main-header_message.active {
  display: block;
}
.main-header_message-container {
  padding: 1rem;
  color: #fff;
  border: 1px solid rgb(255, 255, 255);
  text-align: center;
}

@media screen and (max-width: 992px) {
  body {
    padding-top: calc(35px + 3rem + 2rem);
  }
  .main-header .main-header_bottom-section {
    display: block;
  }
  .main-header .main-header_logo a {
    font-size: 1.5rem;
  }
  .main-header .main-header_logo img {
    width: 200px;
  }
  .main-header.scroll-hide .main-header_logo img {
    width: 150px;
  }
  .main-header .main-header_nav {
    display: none;
  }
  .main-header .main-header_bottom-section {
    top: calc(100% - 49px);
  }
}
@media screen and (max-width: 750px) {
  .main-header .main-header_subscribe-form_container {
    width: 100%;
  }
  .main-header .main-header_subscribe-form_container h3 {
    font-size: 1.2rem;
  }
}
@media screen and (max-width: 576px) {
  .main-header_form {
    width: 90%;
    margin: 0 auto;
  }
  .main-header_message {
    width: 90%;
  }
  .main-header .main-header_subscribe-btn.desktop {
    display: none;
  }
  .main-header .main-header_control {
    position: static;
  }
  .main-header .main-header_subscribe-banner {
    width: 90%;
    right: 50%;
    top: 110px;
    transform: translateX(50%);
  }
  .main-header .main-header_control_languages {
    padding-left: 0;
    border: none;
    margin-left: 0;
  }
  .main-header .main-header_control_languages li {
    margin: 0;
  }
  .main-header .main-header_control_languages li:first-child {
    margin-right: 0.5rem;
  }
  .main-header .main-header_mobile-btn {
    visibility: visible;
  }
  .main-header .main-header_bottom-section .main-header_control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid black;
    padding-top: 2rem;
    margin-top: 2rem;
  }
  .main-header_subscribe-btn {
    width: 100%;
  }
}