\* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --option-height: 400px;
  --option-width: 60px;
  --radius: 1.875rem;
  --gutter: 10px;
  --bg: #f5f5f5;
}

.wrapper {
  display: flex;
  height: 60vh;
  justify-content: center;

}
.additional-content{
    max-width: 957px;
    height: 50%;
    display: block;
    margin: 20% auto;
}
.additional-content h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}
.additional-content p {
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.options {
  display: flex;
  flex-direction: row;
  min-width: 700px;
  max-width: calc(var(--total-options) * 130px);
  height: var(--option-height);
  width: 100%;
  height: 50vh;
}

.option {
  background-color: color-mix(in srgb, var(--bg), CanvasText 10%);
  margin: var(--gutter);
  flex-grow: 1;
  border-radius: var(--radius);
  flex: 0 0 var(--option-width);
  transition: flex-grow 1.25s cubic-bezier(.17, .84, .44, 1);
  background-position: center;
  background-size: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.65);
}

.option:not(.active) {
  cursor: pointer;
}

.option.active {
  flex-grow: var(--total-options);
}

.img-modal-custom {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  overflow: auto;
}

.img-modal-content {
  display: block;
  margin: 5% auto;
  max-width: 90%;
  max-height: 80vh;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.img-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}


/* Уточнение: данный брейкпоинт для max-width является sm. */
/* max-width брейкпоинты имеют отступ (-0.02px), чтобы избежать перекрытия с min-width. */
@media (max-width: 767.98px) {
  .options {
    flex-direction: column;
    min-height: 100vh;
    min-width: auto;
  }
.footer-contacts a {
    color: #fff;
    text-decoration: none;
    justify-content: center;
}
.additional-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}
.additional-content p {
    font-size: 1.0rem;
    margin-bottom: 20px;
}
.additional-content {
    max-width: 957px;
    height: auto; 
    display: block;
    margin: 20% auto;
}
}
