.main-banner {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-wrap: wrap;
  height: 300px;
  justify-content: center;
  margin-bottom: 80px;
  overflow: hidden;
  padding: 40px 0;
  position: relative;
  transition: all .2s;
}
.main-banner--rounded{
  border-radius: 20px;
}
.main-banner .block-image {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
  transition: .5s ease-in-out;
  object-fit: cover;
  object-position: center center;
}
.main-banner:hover .block-image {
  transform: scale(1.03);
}
.main-banner::after {
  background-color: rgba(0, 0, 0, .45);
  bottom: 0;
  content: "";
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1;
}
.main-banner__link {
  align-self: flex-end;
  color: #fff;
  display: block;
  font-size: 14px;
  font-weight: 700;
  position: relative;
  text-align: center;
  text-decoration: none;
  width: 100%;
  z-index: 2;
}
.main-banner__link:hover {
  color: #fff;
  text-decoration: underline;
}
.main-banner__logo {
  display: block;
  max-width: 100%;
  height: calc(100% + 30px);
}
.main-banner__logo-wrap {
  align-items: center;
  align-self: flex-start;
  display: flex;
  height: 37px;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  width: 100%;
  z-index: 2;
}
.main-banner__text {
  align-self: center;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  margin: 0 auto;
  max-width: 1100px;
  position: relative;
  text-align: center;
  z-index: 2;
}
@media (max-width: 1024px) {
  .main-banner__text{
    font-size: 30px;
    max-width: 90%;
  }
}
@media (max-width: 970px){
  .main-banner--rounded{
    margin-right: 15px;
    margin-left: 15px;
  }
}
@media (max-width: 835px) {
  .main-banner__text{
    font-size: 28px;
  }
}
@media (max-width: 800px) {
  .main-banner__text{
    font-size: 24px;
  }
}
@media (max-width: 670px) {
  .main-banner__text{
    font-size: 20px;
  }
}
@media (max-width: 576px) {
  .main-banner {
    height: 200px;
    margin-bottom: 20px;
    padding: 20px 0;
  }
  .main-banner__logo-wrap {
    height: auto;
  }
  .main-banner__logo {
    max-width: 56px;
  }
  .main-banner__text {
    font-size: 18px;
    line-height: 20px;
  }
}
@media (max-width: 450px) {
  .main-banner__text {
    font-size: 15px;
    line-height: 20px;
  }
}