@keyframes fillBookmark {
    from {
        transform: translateX(-98%);
    }

    to {
        transform: translateX(0%);
    }

}

.content-wrapper {
    color: var(--main-color);
}

.content-wrapper img {
    width: 100%;
}

.margin-for-grid {
    margin: 0.5em;
}

.swiper-inozemcevo {
    z-index: 0;
    position: relative;
    overflow: hidden;

    .swiper-slide img {
        width: 100%;
        object-fit: cover;
        object-position: center;
        height: 550px;
    }

    .swiper-button-next {
        color: #fff;
    }

    .swiper-button-prev {
        color: #fff;
    }

    .swiper-pagination-bullet {
        background: #fff;
        opacity: 0.4;
        width: 14px;
        height: 7px;
        border-radius: 0;
    }

    .swiper-pagination-bullet-active {
        background: #fff;
        opacity: 1;

    }
}

.item-swiper {
    position: relative;
    width: 23vw;
    z-index: 0;


    .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 0;
    }

    .swiper-pagination-bullet {
        background: #fff;
        opacity: 0.4;
    }

    .swiper-pagination-bullet-active {
        background: #fff;
        opacity: 1;

    }

    .swiper-wrapper p {
        position: absolute;
        z-index: 1000;
    }

    .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        z-index: 0;
        opacity: 0.95;
    }

    .swiper-slide img:hover {
        opacity: 1;
    }

    .swiper-wrapper {
        z-index: 0;
    }

    .fixed-text-top-el,
    .fixed-text-bottom-el,
    .fixed-hover-text {
        color: #fff;
        ;
    }

    .fixed-text-top-el {
        position: absolute;
        top: 0;
        height: auto;
        width: 300px;
        padding: 5px 0px;
        border-radius: 2px;
        z-index: 10;
        font-size: 1.4em;
        background-color: var(--main-color);
        text-align: center;
        opacity: 1;
        clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    }

    .fixed-text-bottom-el {
        position: absolute;
        height: auto;
        bottom: 0;
        background-color: var(--main-color);
        padding: 2px 5px;
        width: 100px;
        font-size: 1.4em;
        clip-path: polygon(0 0, 75% 0, 100% 100%, 0 100%);
    }

    .fixed-hover-text {
        display: none;
        position: absolute;
        top: 50%;
        left: 50%;
        font-size: 1.5em;
        transform: translate(-50%, -50%);
    }

}

.possibility {
    img {
        width: 20%;
    }
}

.content-wrapper {
    margin-top: 1em;
}

.content-wrapper h2 {
    font-size: 2.5em;
    color: var(--text-second-color);
    width: auto;
    padding-left: 0.2em;
}

.list-container-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4em;
}

.list-el-container-hover {
    position: absolute;
    top: 50;
    left: 50;
    z-index: 10;
    font-size: 1.4em;
}

.content-wrapper .list-el-container {
    margin-top: 0.2em;
    margin: 0.5em;
    color: var(--text-second-color) !important;
}

.list-el-container {
    border-radius: 12px;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.15),
        0 20px 40px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.list-el-container:hover {
    box-shadow:
        0 8px 12px rgba(0, 0, 0, 0.15),
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 40px 80px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
    filter: brightness(75%);
}

.list-el-container img {
    width: 18em;
    display: block;
    margin: 0 auto;
    text-align: center;
    margin: auto;
}

#map {
    margin: auto;
    margin-bottom: -1em;
    width: 100%;
    height: 350px;
}

.another-reviews {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.another-reviews a {
    color: var(--third-color);
    padding-inline: 1em;
}

@media (max-width: 800px) {
    .list-container-grid {
        padding: 0;
        width: 100%;
        overflow: hidden;
    }

    .swiper-inozemcevo {
        overflow: hidden;
        width: 100%;
    }

    .item-swiper {
        position: relative;
        width: 160px;
        z-index: 0;


        .swiper-slide {
            text-align: center;
            font-size: 18px;
            background: #fff;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            z-index: 0;
        }

        .swiper-pagination-bullet {
            background: #fff;
            opacity: 0.4;
        }

        .swiper-pagination-bullet-active {
            background: #fff;
            opacity: 1;

        }

        .swiper-wrapper p {
            position: absolute;
            z-index: 1000;
        }

        .swiper-slide img {
            display: block;
            /* width: 100%;
            height: 100%; */
            z-index: 0;
            opacity: 0.95;
        }

        .swiper-slide img:hover {
            opacity: 1;
        }

        .swiper-wrapper {
            z-index: 0;
        }
    }

    .swiper-inozemcevo {
        z-index: 0;
        position: relative;
        overflow: hidden;

        .swiper-slide img {
            width: 100%;
            object-fit: fill;
            object-position: center;
            height: 250px;
        }

        .swiper-button-next {
            color: #fff;
        }

        .swiper-button-next::after,
        .swiper-button-prev::after {
            font-size: 24px;
        }

        .swiper-button-prev {
            color: #fff;
        }

        .swiper-pagination-bullet {
            background: #fff;
            opacity: 0.4;
            width: 7px;
            height: 3.5px;
            border-radius: 0;
        }

        .swiper-pagination-bullet-active {
            background: #fff;
            opacity: 1;

        }
    }


    .list-container-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 0.4em;
        gap: 0.3em;
    }

    .content-wrapper h2 {
        text-align: center;
        font-size: 1.9em;
    }

    .fixed-text-info-el-bottom {
        display: block;
    }

    .swiper {
        width: 100%;
    }

    .content-wrapper h2 {
        padding: 0;
        font-size: 1.5em;
    }

    .fixed-text-bottom-el,
    .fixed-text-top-el {
        font-size: 1.2em;
    }

    #map {
        width: 100%;
        height: 300px;
    }

    .bookmark-container-animated p:last-child {
        font-size: 2em;
    }

    .review {
        width: 90%;
        height: 80%;
        border-radius: 4px;
        display: flex;
        flex-direction: column;
        padding: 0.3em;
        color: var(--third-color);

        a {
            color: var(--third-color);
            opacity: 0.8;
        }

        .review-author {
            display: flex;
            flex-direction: row;
            padding: 8px;
            align-items: center;
            margin-bottom: 1.4em;
            justify-content: space-between;
            border-bottom: 1.5px rgba(101, 101, 101, 0.353) solid;
        }

        .review-text {
            font-size: 1.2em;
        }

        .review-author h3 {
            font-size: 1.5em;
        }

        .review-author img {
            width: 7.5em;

        }
    }

    #map {
        margin: auto;
        margin-top: 6em;
        width: 100%;
        height: 175px;
    }
}