
/* Сообщения на фотках */
.tags {
    position: relative;
}

.tags_box {
    position: sticky;
    inset: 0;
    padding: 12px 16px;
    overflow: hidden;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;

    pointer-events: none;

    user-select: none;
    -ms-user-select: none;
}

.tag {
    overflow: hidden;
    animation: tag_show .6s ease-in-out 1 forwards;
}

.tag span {
    min-height: 36px;
    box-sizing: border-box;

    background: linear-gradient(236.05deg, rgba(108, 200, 241, 0.5) -16.56%, rgba(120, 166, 255, 0.5) 14.44%, rgba(126, 150, 255, 0.5) 29.12%, rgba(136, 139, 255, 0.5) 45.9%, rgba(151, 140, 255, 0.5) 56.19%, rgba(185, 123, 255, 0.5) 87.71%);
    backdrop-filter: blur(8px);

    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    margin: 4px 0;

    color: var(--text-primary);
    font-family: "Montserrat", sans-serif;
    font-size: var(--text-S);
    line-height: var(--text-S-line);
    font-weight: 600;
}

@media (max-width: 599px) {
    .tag span {
        font-size: var(--text-XSS);
        line-height: var(--text-XSS-line);
    }
}

@media (max-width: 1280px) {
    .tag span {
        min-height: 34px;
    }
}

@keyframes tag_show {
    0% {
        max-height: 1px;
    }
    100% {
        max-height: 100px;
    }
}


/* Анимация блоков при скролле */
.block {
    opacity: 0;
    transform: translateY(200px);
    transition: opacity 0.5s ease-in, transform 0.5s ease-in;
}

.block.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Самолёт 1 */
.planer_1.planer {
    top: 0;
    left: 0;

    width: 455px;
    height: 334px;

    background-image: url("../assets/way.svg");
    background-position: top left;
    background-size: 445px auto;
}

.planer_1.planer > i {
    top: -962px;
    left: -775px;

    width: 1300px;
    height: 1300px;
}

/* Самолёт 2 */
.planer_2.planer {
    bottom: 0;
    right: 0;

    width: 715px;
    height: 460px;

    background-image: url("../assets/way-middle.svg");
    background-position: bottom right;
    background-size: 705px auto;
}

.planer_2.planer > i {
    bottom: -1447px;
    right: -1055px;

    width: 1903px;
    height: 1903px;

    animation: planer_opacity 6s linear 1 forwards, rotate 40s linear 2s infinite;
}

/* Самолёт 3 */
.planer_3.planer {
    bottom: 0;
    right: 0;

    width: 464px;
    height: 536px;

    background-image: url("../assets/way-right.svg");
    background-position: bottom right;
    background-size: 454px auto;
}

.planer_3.planer > i {
    bottom: -873px;
    right: -980px;

    width: 1450px;
    height: 1450px;

    animation-direction: reverse;
}

.planer_3.planer i:before,
.planer_3.planer i:after {
    background-image: url("../assets/plane2.svg");
}


/* Самолёты (общее) */
.planer {
    position: absolute;

    z-index: 1;

    background-repeat: no-repeat;

    overflow: hidden;
}

.planer > i {
    position: absolute;
    z-index: 1;

    animation: rotate 40s linear infinite;
}

.planer > i i {
    display: block;
    width: inherit;
    height: inherit;
    transform: rotate(60deg);
}

.planer > i,
.planer > i i {
    border-radius: 50%;
}

.planer i:before {
    right: -16px;
    transform: rotate(-75deg);
}

.planer i:after {
    left: -16px;
    transform: rotate(102deg);
}

.planer i:before,
.planer i:after {
    content: '';

    position: absolute;
    top: calc(50% - 16px);

    z-index: 1;

    width: 40px;
    height: 40px;

    background-image: url("../assets/plane.svg");
    background-size: 40px auto;
    background-position: 0 0;
    background-repeat: no-repeat;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

@keyframes planer_opacity {
    0% {
        opacity: 0;
    }
    99% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
