.hero {
  background-color: #1f1f1f;
  background-image: none;
  height: auto;
  padding: 0 20px 20px;
}

.hero-savuk-image-wrapper {
  position: relative;
}

.hero-savuk-image-wrapper::after {
  width: 333px;
  height: 465px;
  color: #e63c3c;
  left: 636px;
  top: 100px;
  position: absolute;
}

.hero-title {
  color: #ffffff;
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  margin: 0;
}

@media (width >= 768px) {
  .hero-title {
    font-size: 24px;
    line-height: 36px;
  }
}

@media (width >= 1280px) {
  .hero-title {
    font-size: 28px;
    line-height: 40px;
  }
}

.hero-text {
  opacity: 0.65;
  font-weight: 400;
}

.hero-wrapper-image {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

@media (width >= 1280px) {
  .hero-wrapper-image {
    flex-direction: row;
    gap: 46px;
  }
}

@media (width < 768px) {
  .hero-savuk-image {
    width: 280px;
    height: 210px;
  }
}

/* Block 2 */
.history-text {
  text-align: center;
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 30px;
  text-align: left;
  font-weight: 300;
}

@media (width >= 768px) {
  .history-text {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 50px;
  }
}

@media (width >= 1280px) {
  .history-text {
    font-size: 20px;
    line-height: 30px;
  }
}

@media (width >= 1440px) {
  .history-text {
    padding: 0 0 20px;
  }
}

.history-wrapper {
  background-color: #f5f5f5;
  padding: 20px 40px;
}

@media (width >= 768px) {
  .history-wrapper {
    padding: 20px 60px;
  }
}

.history-main {
  background-color: #e63c3c;
  color: #ffffff;
  padding: 15px;
}

.padding-block {
  padding: 30px 20px;
}

@media (width >= 768px) {
  .padding-block {
    padding: 70px 20px 20px;
  }
}

@media (width >= 1280px) {
  .padding-block {
    padding: 100px 60px 20px;
  }
}

@media (width >= 1440px) {
  .padding-block {
    padding: 100px 110px 20px;
  }
}

@media (width < 768px) {
  .media-image {
    width: 280px;
    height: 420px;
  }
}

@media (width < 768px) {
  .image-small {
    width: 280px;
    height: 187px;
  }
}

@media (width < 768px) {
  .media {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20pxx;
  }
}

@media (width >= 768px) {
  .media {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    grid-template-rows: repeat(2, 500px);
    padding: 40px;
    justify-content: space-evenly;
  }
}

@media (1280px<= width < 1440px) {
  .media {
    display: grid;
    grid-template-columns: repeat(3, 320px);
    grid-template-rows: repeat(2, 500px);
    padding: 40px;
    justify-content: space-evenly;
  }
}

@media (width >= 1440px) {
  .media {
    display: grid;
    grid-template-columns: repeat(4, 320px);
    grid-template-rows: repeat(5, 500px);
    padding: 40px;
    justify-content: space-evenly;
  }
}


/* Block 7 */
@media (width < 768px) {
  .media-small {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20pxx;
  }
}

@media (width >= 768px) {
  .media-small {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    grid-template-rows: repeat(2, 230px);
    padding: 40px;
    justify-content: space-evenly;
  }
}

@media (1280px<= width < 1440px) {
  .media-small {
    display: grid;
    grid-template-columns: repeat(3, 320px);
    grid-template-rows: repeat(2, 230px);
    padding: 40px;
    justify-content: space-evenly;
  }
}

@media (width >= 1440px) {
  .media-small {
    display: grid;
    grid-template-columns: repeat(4, 320px);
    grid-template-rows: repeat(3, 230px);
    padding: 40px;
    justify-content: space-evenly;
  }
}

@media (width < 768px) {
  .image-small-2 {
    width: 280px;
    height: 187px;
  }
}

/* Block 8 */
.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

@media (width >= 768px) {
  .wrapper {
    flex-direction: row;
    justify-content: center;
  }
}

@media (width < 768px) {
  .image-small-3 {
    width: 280px;
    height: 192px;
  }
}

/* Block 10 */
@media (width < 1280px) {
  .image-small-4 {
    width: 280px;
    height: 94px;
  }
}


/* Block 12 */

@media (width < 768px) {
  .media-small-2 {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
  }
}

@media (width >= 768px) {
  .media-small-2 {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    padding: 40px;
    justify-content: space-evenly;
  }
}

@media (1280px<= width < 1440px) {
  .media-small-2 {
    display: grid;
    grid-template-columns: repeat(3, 320px);
    padding: 40px;
    justify-content: space-evenly;
  }
}

@media (width >= 1440px) {
  .media-small-2 {
    display: grid;
    grid-template-columns: repeat(3, 320px);
    padding: 40px;
    justify-content: space-evenly;
  }
}

@media (width < 768px) {
  .image-small-5 {
    width: 280px;
    height: 186px;
  }
}

.title-padding {
  padding: 20px;
}
