

.directions_h {
    text-align: center;
    font-weight: 600;
    font-size: 32px;
    padding-top: 40px;
    padding-left: 5px;
    padding-right: 5px;
   
}

.works_rec {
    width: 100%;
    height: auto;
    padding-bottom: 100px;
    background-color: black;
    /* padding-top: 50px; */
    margin: 0 auto;
}
.wphotos_1{
    display: flex;
    gap: 40px;
    max-width: 2000px;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.photo{
  height: 420px;
}
.price_rec{
    width: 100%;
    height: auto;
    background-color: #2e2e2e;
    background-size: 100%;
    top: 0;
    left: 0;
    padding-bottom: 200px;
}
@media (max-width: 640px){
.photo{
  height: auto;
}
}

.activity_card-pic_rec{
  filter: sepia(1);
  filter: brightness(50%);
}


.button_back_conteiner{
  padding-left: 6px;
}
.button_back a{
  text-decoration: none;
  color: white;
}


.button_back{
    cursor: pointer;
    outline: 2px solid transparent;
    outline-offset: 3px;
    transition: background-color .2s ease-in-out, color .2s ease-in-out;
    font-family: 'Geologica';
    padding: 2px 20px;
    margin: 10px;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 20px;
    color: white;
    background: #000000;
    border: 0;
    border-radius: 25px;
}

.button_back:hover{
  background: #242424;
}


        /* Стили для модального окна */
        .modal_img {
            display: none;
            /* По умолчанию скрыто */
            position: fixed;
            /* Фиксированное положение */
            z-index: 4;
            /* Верхний уровень */
            left: 0;
            top: 0;
            width: 100%;
            /* Полная ширина */
            height: 100%;
            /* Полная высота */
            overflow: auto;
            /* Включить прокрутку, если необходимо */
            background-color: rgba(0, 0, 0, 0.9);
            /* Черный цвет с прозрачностью 
            
            .modal-content_img img {
            width: 100%;
            height: auto;
        }
            */
        }
        .modal-content_img {
            margin: auto;
            display: block;
            max-width: 550px;
            padding: 25px;
        }

        .modal-content_img img
{
   position: absolute;
   top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
  height: 90vh;
  object-fit: cover;
}

  @media (max-width: 700px){
    .modal-content_img img {
    height: auto;

}}

