@media (max-width: 1720px) {
    /* Post trip  */


    .post-trip-screen__title {
        white-space: nowrap;
    }

    .post-trip-screen__description {
        order: 1;
        background-color: #f5f5f5;
        margin: 0;
        margin-bottom: 20px;
        border-radius: 40px;
        padding: 50px 100px;
        align-items: center;
        text-align: center;
    }

    .landscape {
        order: 2;
        content: url("/img/landscape-round.svg");
        transform: rotateY(0);
    }

    .post-trip-screen {
        background-color: transparent;
        flex-direction: column;
        height: auto;
    }

    .post-trip-screen__btn {
        text-align: start;
        padding: 20px 45px;
    }
}

@media (max-width: 1630px) {
    /* Functions  */

    .functions {
        flex-direction: column;
        margin: 100px 20px 0 20px;
        font-size: 18px;
        gap: 20px;
        justify-content: baseline;
    }

    .functions > div {
        width: auto;
    }

    .function__header {
        font-size: 40px;
    }

    .functions > div:first-child {
        background: url("/img/big-bus.png") no-repeat 101% 101%;
        background-size: 300px;
    }

    .money-bg {
        bottom: -148px;
        right: -10px;
        width: 365px;
        height: 419px;
    }
}

@media (max-width: 1600px) {
    /* Guide screen  */

    .guide-screen {
        padding: 40px 50px;
        margin-bottom: 100px;
        background-repeat: no-repeat;
    }

    .guide-screen__guide__title {
        white-space: wrap;
    }

    .filter{
        width: 90%;
        /* margin: auto; */
    }



}

@media (max-width: 1450px) {
    /* Tickets  */

    .tickets-list {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Main screen  */


    /* .main-screen-text {
        width: auto;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    } */

    .main-screen-nav {
        margin-top: 50px;
    }

    /* Search screen  */

    .search-big {
        display: none;
    }

    .search-medium {
        display: flex;
        flex-direction: column;
        box-shadow: none;
        border: 0;
        gap: 20px;
        height: auto;
        padding: 0;
        margin-top: 50px;
        position: static;
        font-size: 18px;
        width: 90%;
    }

    .search-medium > * {
        display: flex;
        justify-content: space-between;
        width: 100%;
        height: auto;
        align-items: center;
    }

    .point {
        box-shadow: 0px 2px 20px 0px #0000001a;
        width: 100%;
        padding: 0px 20px;
        border-radius: 50px;
        height: 100%;
        border: 1px solid #f1f1f1;
    }

    .select-menu {
        top: 40px;
    }

    .swap {
        content: url("../img/medium-swap.svg");
    }

    .search-medium > *:last-child > div {
        gap: 10px;
        display: flex;
    }

    .search-medium > *:first-child > div {
        width: 46%;
    }

    .search__select {
        width: 100%;
    }

    .select-menu__item {
        padding:15px 20px 15px 20px;
    }

    .search-btn {
        width: 38%;
        white-space: wrap;
        padding: 15px 0;
        height: auto;
    }

    .calendar {
        width: 38%;
        box-shadow: 0px 2px 20px 0px #0000001a;
        display: flex;
        align-items: center;
        border-radius: 50px;
        border: 1px solid #f1f1f1;
        padding: 15px 0;
        justify-content: left;
        padding-left: 20px;
    }

    .calendar > * {
        display: flex;
        align-items: center;
    }

    #select_date {
        width: 100%;
        white-space: nowrap;
    }

    .main-screen {
        height: unset;
    }

    /* Tickets  */

    .tickets {
        width: 1015px;
        margin-top: 20px;
    }

    .filter {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .filter > *:last-child > *:last-child {
        display: none;
    }
}

@media (max-width: 1520px) {
    /* Marketing */

    .marketing-text {
        background: url("/img/medium-marketing-text.svg") no-repeat 50% 15%;
    }

    .apps {
        margin: 425px 0 0 0;
    }

    .marketing {
        height: 1000px;
    }

    .phone {
        background: url("/img/phone-2.png") no-repeat 50% 100%;
    }

    .marketing__cloud-2 {
        position: absolute;
        width: 677px;
        height: 542px;
        background: linear-gradient(90deg, rgba(62, 255, 152, 0.8) -103.92%, rgba(87, 255, 90, 0.8) 103.92%);
        background-color: black;
        filter: blur(125px);
        transform: rotate(35.25deg);
        z-index: -1;
        top: -275px;
        right: -275px;
    }


}

@media (min-width: 1501px) {
    /* Advantages  */

    .advantages-medium {
        display: none;
    }

    .advantages-small {
        display: none;
    }

    .advantages-big {
        margin: 200px auto 0 auto;
        width: 1395px;
    }

    .advantages__header {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .advantages__header > span:nth-child(1) {
        font-size: 60px;
        font-weight: 500;
        color: #212121;
        text-align: center;
        width: 100%;
        line-height: 78px;
    }

    .advantages__header > span:nth-child(2) {
        padding: 30px 40px;
        line-height: 30px;
        background-color: #f5f5f5;
        white-space: nowrap;
        border-radius: 60px;
        font-size: 30px;
        color: #212121;
    }

    .advantages__header > span:nth-child(3) {
        font-size: 90px;
        font-weight: 300;
        color: #378bee;
        line-height: 90px;
    }

    .advantages__phone {
        background: url("/img/big-phone-in-circle.png") no-repeat 50% 50%;
        height: 1009px;
        position: relative;
    }

    .advantage {
        position: absolute;
    }

    .advantage__inner {
        position: absolute;
        width: 325px;
        font-size: 18px;
        gap: 30px;
        display: flex;
        flex-direction: column;
    }

    .advantage__inner > div {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .advantage:nth-child(1) > .advantage__inner {
        top: -250px;
    }

    .advantage:nth-child(1) {
        top: 350px;
        left: 0px;
    }

    .advantage:nth-child(2) > .advantage__inner {
        top: -250px;
        right: 0;
    }

    .advantage:nth-child(2) {
        right: 0px;
        top: 350px;
    }

    .advantage:nth-child(3) > .advantage__inner {
        top: -115px;
    }

    .advantage:nth-child(3) {
        top: 630px;
        left: 0px;
    }

    .advantage:nth-child(4) > .advantage__inner {
        top: -115px;
        right: 0;
    }

    .advantage:nth-child(4) {
        right: 0px;
        top: 630px;
    }

    .advantage__header {
        font-size: 30px;
        color: #212121;
        font-weight: 300;
    }
}

@media (max-width: 1450px) {



    .main-screen-text img {
        content: url("../img/medium-main-screen-text.svg");
        /* width: auto; */
        height: auto;
        max-height: 330px;
        max-width: 100vw;
        margin-left: -50px;
    }
    .main-screen-nav {
        margin-top: 115px;
;
    }

}


@media ((max-width: 1500px) and (min-width: 769px)) {
    /* Advantages  */

    .advantages-big {
        display: none;
    }

    .advantages-small {
        display: none;
    }

    .advantages-medium {
        margin: 200px 200px 0 200px;
    }

    .advantages__header {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        text-align: center;
    }

    .advantages__header > span:nth-child(1) {
        font-size: 60px;
        font-weight: 500;
        color: #212121;
        line-height: 78px;
    }

    .advantages__header > span:nth-child(2) {
        padding: 30px 40px;
        line-height: 30px;
        background-color: #f5f5f5;
        white-space: nowrap;
        border-radius: 60px;
        font-size: 30px;
        color: #212121;
        margin: 0 auto;
    }

    .advantages__header > span:nth-child(3) {
        font-size: 90px;
        font-weight: 300;
        color: #378bee;
        line-height: 90px;
    }

    .advantages {
        margin-top: 50px;
        display: grid;
        justify-content: space-between;
        grid-template-columns: repeat(2, 450px);
        gap: 30px;
        font-size: 18px;
    }

    .advantage {
        display: flex;
        gap: 20px;
    }

    .advantage > div {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .advantage__header {
        font-weight: 300;
        font-size: 30px;
        color: #212121;
    }

    .advantages__phone {
        display: flex;
        justify-content: center;
        background: url("/img/big-phone-in-circle.png") no-repeat 50% 50%;
        width: 100%;
        height: 875px;
    }
}

@media (max-width: 1350px) {
    /* Guide screen  */

    .guide-screen__icon {
        height: 100px;
        width: 100px;
    }

    .arrow {
        content: url("/img/medium-down-arrow.svg");
        width: 16px;
        height: 31px;
        margin: 0;
        margin-left: 42px;
    }

    .guide-screen {
        height: auto;
        padding: 40px 50px;
        background-size: 105% 100%;
        background-position: 45% 40%;
    }

    .guide {
        flex-direction: column;
        margin: 0;
    }

    .guide-screen__title {
        font-size: 40px;
        text-align: start;
    }

    .guide > *:not(.arrow) {
        flex-direction: row;
        width: 100%;
        height: auto;
        gap: 15px;
        align-items: center;
        padding: 10px 0;
    }

    .guide > *:not(.arrow) > div {
        width: 100%;
    }

    .guide-screen__guide__title {
        justify-content: flex-start;
        text-align: start;
        margin: 0;
        font-size: 24px;
    }

    .guide-screen__description {
        text-align: start;
        font-size: 16px;
    }

    .guide-screen__icon {
        margin: 0;
    }

    /* Advantages  */

    .advantages-medium {
        margin: 200px 50px 0 50px;
    }

    .advantages-medium .advantages__header > span:nth-child(1) {
        font-size: 30px;
        font-weight: 500;
        line-height: 39px;
    }

    .advantages-medium .advantages__header > span:nth-child(2) {
        padding: 20px 30px;
        line-height: 20px;
        font-size: 20px;
        color: #212121;
    }

    .advantages-medium .advantages__header > span:nth-child(3) {
        font-size: 70px;
        line-height: 70px;
    }

    .advantages-medium .advantages {
        font-size: 15px;
        grid-template-columns: repeat(2, 350px);
    }

    .advantages-medium .advantage__header {
        font-size: 20px;
    }
}

@media (max-width: 1200px) {
    /* Footer  */

    .footer {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        height: auto;
        gap: 50px;
    }

    .footer-company,
    .footer-contacts {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .footer-company {
        margin-top: 50px;
        gap: 100px;
    }

    .footer-contacts {
        gap: 40px;
        margin-bottom: 50px;
        /* font-size: 14px; */
        /* flex-direction: column; */
    }
}

@media (min-width: 1096px) {
    .veryShortLine {
        display: none;
    }

    .additionally {
        display: none;
    }

    .pathLine {
        display: none;
    }

    .time {
        display: none;
    }

    .location {
        display: none;
    }

    .date {
        display: none;
    }

    .card {
        height: 200px;
        width: 500px;
        background-color: #f3f3f3;
        border-radius: 20px;
        padding: 15px 15px 15px 15px;
        display: flex;
        justify-content: space-between;
        position: relative;
    }

    .begin,
    .end {
        display: flex;
        align-items: center;
    }

    .end {
        position: absolute;
        bottom: 0;
    }

    .place {
        margin-left: 15px;
        display: flex;
        justify-content: space-between;
        width: 250px;
    }

    .path {
        font-size: 20px;
        width: 300px;
        display: flex;
        flex-direction: column;
        position: relative;
        height: 100%;
    }

    .shortDate {
        font-weight: 500;
        font-size: 15px;
        width: 82px;
        height: 32px;
        border-radius: 7px;
        padding: 7px 10px 7px 10px;
        background-color: #cfe5ff;
    }
    .prices {
        display: flex;
        flex-direction: column;
        width: 160px;
        font-size: 15px;
    }

    .lowerPrice {
        margin-top: auto;
    }

    .price {
        text-align: center;
        width: auto;
    }

    .prices button {
        font-size: 16px;
        margin-top: 5px;
        width: 115px;
        height: 30px;
        border-radius: 30px;
        padding: 8px 25px 8px 25px;
        font-size: 16px;
    }

    .there {
        all: unset;
        color: #378bee;
        border: #378bee solid 1px;
    }

    .roundTrip {
        all: unset;
        color: white;
        background-color: #378bee;
    }

    .shortLine {
        position: absolute;
        top: 46px;
        left: 26px;
    }

    .triangles {
        display: flex;
        flex-direction: column;
        position: absolute;
        height: 222px;
        top: -11px;
        left: 306px;
    }

    .triangle {
        height: 20px;
        width: 20px;
        background-color: white;
        transform: rotate(45deg);
        border-radius: 3px;
    }

    .lowerTriangle {
        margin-top: auto;
    }
}

@media (max-width: 1095px) {
    /* Header */

    nav {
        font-size: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        margin-left: 50px;
    }

    /* Main screen  */

    .main-screen__cloud {
        background: linear-gradient(90deg, rgba(104, 255, 144, 0.8) -103.92%, rgba(125, 255, 127, 0.8) 103.92%);
        background-color: black;
        filter: blur(125px);
        transform: rotate(35.25deg);
        z-index: -1;
    }

    .main-screen__cloud:first-child {
        bottom: -400px;
        left: -250px;
    }

    .main-screen__cloud:nth-child(2) {
        top: -300px;
        right: -350px;
    }

    /* Tickets  */

    .tickets {
        width: 715px;
    }

    /* Comments  */

    .comments-list {
        padding: 0 20px;
    }
}

@media ((max-width: 1095px) and (min-width:769px)) {
    .shortLine {
        display: none;
    }

    .additionally {
        display: none;
    }

    .pathLine {
        display: none;
    }

    .time {
        display: none;
    }

    .location {
        display: none;
    }

    .date {
        display: none;
    }

    .card {
        height: 230px;
        width: 354px;
        background-color: #f3f3f3;
        border-radius: 20px;
        padding: 15px 15px 15px 15px;
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .begin,
    .end {
        display: flex;
        align-items: center;
    }

    .end {
        margin-top: 22px;
    }

    .place {
        margin-left: 15px;
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .path {
        font-size: 18px;
        width: 100%;
        height: 100%;
    }

    .shortDate {
        font-weight: 500;
        font-size: 15px;
        width: 82px;
        height: 32px;
        border-radius: 7px;
        padding: 7px 10px 7px 10px;
        background-color: #cfe5ff;
    }
    .prices {
        display: flex;
        width: 160px;
        font-size: 15px;
        gap: 15px;
        margin-top: auto;
    }

    .price {
        text-align: center;
        width: auto;
    }

    .prices button {
        font-size: 15px;
        margin-top: 5px;
        width: 115px;
        height: 30px;
        border-radius: 30px;
        padding: 8px 20px 8px 20px;
        font-size: 16px;
    }

    .there {
        all: unset;
        color: #378bee;
        border: #378bee solid 1px;
    }

    .roundTrip {
        all: unset;
        color: white;
        background-color: #378bee;
    }

    .veryShortLine {
        position: absolute;
        top: 44px;
        left: 26px;
    }

    .triangles {
        display: flex;
        flex-direction: column;
        position: absolute;
        height: 375px;
        top: -55px;
        left: 167px;
        transform: rotate(90deg);
    }

    .triangle {
        height: 20px;
        width: 20px;
        background-color: white;
        transform: rotate(45deg);
        border-radius: 3px;
    }

    .lowerTriangle {
        margin-top: auto;
    }

    .city {
        display: flex;
        align-items: center;
    }
}

@media (max-width: 900px) {
    /* Guide screen  */

    .guide-screen {
        background-image: url("/img/main-screen-bg-text-rotate-v3.svg");
    }

    /* Advantages  */

    .advantages-medium {
        margin: 200px 20px 0 20px;
    }

    .advantages-medium .advantages__phone {
        background: url("/img/small-phone-in-circle.png") no-repeat 50% 50%;
        height: 500px;
    }
}

@media (max-width: 768px) {
    /* Header */

    .menu-icon {
        display: block;
    }

    nav {
        display: none;
    }

    /* Main screen  */

    .main-screen {
        margin: 20px 20px 0 20px;
    }

    .main-screen-nav__item {
        font-size: 15px;
        padding: 15px 0px 15px 5px;
    }

    .main-screen-nav {
        width: 98%;
        /* margin: 45px auto 0 auto; */
    }

    .main-screen-nav__item:first-child {
        padding-right: 10px;

    }

    .main-screen-nav__item:last-child {
        padding-left: 10px;
    }

    /* Tickets  */

    .tickets-list {
        grid-template-columns: 1fr;
    }

    .tickets {
        width: 500px;
    }

    /* Guide screen  */

    .guide-screen {
        margin: 140px 5px 0 5px;
    }

    /* Post trip  */

    .post-trip-screen {
        font-size: 18px;
        margin: 100px 5px 0 5px;
    }

    .post-trip-screen__description {
        padding: 50px 25px;
    }

    .post-trip-screen__title {
        font-size: 40px;
    }

    .post-trip-screen__title > span {
        font-size: 70px;
    }

    /* Marketing */

    .marketing {
        margin: 200px 20px 0 20px;
        background: url("/img/main-screen-bg-text-rotate-v3.svg") no-repeat #378bee;
    }

    /* Comments  */

    .comments {
        font-size: 16px;
    }

    .comments__header {
        font-size: 40px;
    }

    .comment__user-data {
        font-size: 18px;
    }

    .comment__user-data > div:last-child {
        font-size: 16px;
    }

    .comment__text__header {
        font-size: 20px;
    }

    .comment {
        padding: 35px 42px;
    }

    .comment:last-child {
        display: none;
    }

    .comments-list {
        padding: 0 5px;
    }

    /* Advantages  */

    .advantages-big {
        display: none;
    }

    .advantages-medium {
        display: none;
    }

    .advantages-small {
        margin: 200px 20px 0 20px;
    }

    .advantages__header {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        text-align: center;
    }

    .advantages__header > span:nth-child(1) {
        font-size: 30px;
        font-weight: 500;
        color: #212121;
        line-height: 39px;
    }

    .advantages__header > span:nth-child(2) {
        font-size: 40px;
        font-weight: 300;
        color: #378bee;
        line-height: 40px;
    }

    .advantages__header > span:nth-child(3) {
        padding: 15px 20px;
        line-height: 18px;
        background-color: #f5f5f5;
        border-radius: 60px;
        font-size: 18px;
        color: #212121;
        margin: 0 auto;
    }

    .advantages {
        margin-top: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        grid-template-columns: 300px;
        gap: 25px;
        font-size: 15px;
    }

    .advantage {
        display: flex;
        gap: 20px;
        width: 300px;
    }

    .advantage > div {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .advantage__header {
        font-weight: 300;
        font-size: 20px;
        color: #212121;
    }

    .advantages__phone {
        background: url("/img/small-phone-in-circle.png") no-repeat 50% 50%;
        width: 100%;
        height: 500px;
    }
}

@media ((min-width: 521px) and (max-width: 768px)) {
    .veryShortLine {
        display: none;
    }

    .additionally {
        display: none;
    }

    .pathLine {
        display: none;
    }

    .time {
        display: none;
    }

    .location {
        display: none;
    }

    .date {
        display: none;
    }

    .card {
        height: 200px;
        width: 500px;
        background-color: #f3f3f3;
        border-radius: 20px;
        padding: 15px 15px 15px 15px;
        display: flex;
        justify-content: space-between;
        position: relative;
    }

    .begin,
    .end {
        display: flex;
        align-items: center;
    }

    .end {
        position: absolute;
        bottom: 0;
    }

    .place {
        margin-left: 15px;
        display: flex;
        justify-content: space-between;
        width: 250px;
    }

    .path {
        font-size: 20px;
        width: 300px;
        display: flex;
        flex-direction: column;
        position: relative;
        height: 100%;
    }

    .shortDate {
        font-weight: 500;
        font-size: 15px;
        width: 82px;
        height: 32px;
        border-radius: 7px;
        padding: 7px 10px 7px 10px;
        background-color: #cfe5ff;
    }
    .prices {
        display: flex;
        flex-direction: column;
        width: 160px;
        font-size: 15px;
    }

    .lowerPrice {
        margin-top: auto;
    }

    .price {
        text-align: center;
        width: auto;
    }

    .prices button {
        font-size: 16px;
        margin-top: 5px;
        width: 115px;
        height: 30px;
        border-radius: 30px;
        padding: 8px 25px 8px 25px;
        font-size: 16px;
    }

    .there {
        all: unset;
        color: #378bee;
        border: #378bee solid 1px;
    }

    .roundTrip {
        all: unset;
        color: white;
        background-color: #378bee;
    }

    .shortLine {
        position: absolute;
        top: 46px;
        left: 26px;
    }

    .triangles {
        display: flex;
        flex-direction: column;
        position: absolute;
        height: 222px;
        top: -11px;
        left: 306px;
    }

    .triangle {
        height: 20px;
        width: 20px;
        background-color: white;
        transform: rotate(45deg);
        border-radius: 3px;
    }

    .lowerTriangle {
        margin-top: auto;
    }
}

@media (max-width: 735px) {
    /* Functions  */

    .functions {
        margin: 100px 5px 0 5px;
        font-size: 15px;
    }

    .functions > div {
        display: flex;
        justify-content: start;
        height: auto;
        padding: 30px;
        padding-bottom: 200px;
    }

    .function__buttons {
        margin-top: 30px;
        align-items: center;
    }

    .functions > div:first-child {
        background-size: 275px;
    }

    .function__header {
        font-size: 30px;
    }

    .function__buttons {
        font-size: 18px;
    }

    .money-bg {
        bottom: -115px;
        right: -5px;
        width: 280px;
        height: 322px;
    }
}

@media (max-width: 700px) {
    /* Footer  */

    /*     
    .footer {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        height: auto;
        gap: 50px;
    }
    
    .footer-company, .footer-contacts {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    
    .footer-company{
        margin-top: 50px;
        gap: 100px;
    } */

    .footer-company{
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        width: 100%;
        padding-left: 20px;
    }

    .footer-company-social {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .footer-contacts {
        gap: 40px;
        margin-bottom: 50px;
        /* font-size: 14px; */
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        padding-left: 20px;
    }
}

@media (max-width: 615px) {
    /* Main screen  */

    .main-screen-text img {
        margin: 0;
    }

    .main-screen-text {
        width: unset;
        height: 225px;
    }

    .main-screen {
        height: 420px;
        margin: 30px 5px 0 5px;
        background: url("/img/main-screen-bg-text-v2.svg") #378bee 50% 50%;
    }

    .main-screen-text {
        margin-top: 40px;
        display: flex;
        justify-content: center;
    }

    .main-screen-nav {
        margin: 40px auto 0 auto;
    }

    .main-screen-text img {
        content: url("../img/small-main-screen-text.svg");
    }

    .main-screen__cloud:first-child {
        bottom: -460px;
        left: -400px;
    }

    .main-screen__cloud:nth-child(2) {
        top: -1000px;
        right: -525px;
    }

    /* Search screen  */

    .search-medium {
        display: none;
    }

    .tickets-list {
        margin-top: 20px;
    }

    .search-small {
        display: flex;
        flex-direction: column;
        box-shadow: none;
        border: 0;
        gap: 10px;
        height: auto;
        padding: 0;
        margin-top: 30px;
        position: static;
        font-size: 18px;
        width: 90%;
        padding: 0 2.5%;
    }

    .nayti {
        margin-top: 10px;
    }

    .search-small > * {
        width: 100%;
    }

    .search-small > *:last-child {
        display: flex;
        justify-content: center;
        gap: 5px;
    }

    .swap {
        content: url("/img/small-swap.svg");
        width: 117%;
    }
}

@media (max-width: 520px) {
    /* Tickets  */

    .tickets {
        width: 354px;
    }

    .filter > *:last-child {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: baseline;
    }

    /* Marketing */

    .marketing-text {
        background: url("/img/small-marketing-text.svg") no-repeat 50% 15%;
    }

    .apps {
        font-size: 18px;
        text-align: center;
        margin-top: 350px;
        gap: 30px;
    }

    .apps-list {
        gap: 10px;
    }
}

/* Ticket  */

@media (max-width: 520px) {
    .shortLine {
        display: none;
    }

    .additionally {
        display: none;
    }

    .pathLine {
        display: none;
    }

    .time {
        display: none;
    }

    .location {
        display: none;
    }

    .date {
        display: none;
    }

    .card {
        height: 230px;
        width: 354px;
        background-color: #f3f3f3;
        border-radius: 20px;
        padding: 15px 15px 15px 15px;
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .begin,
    .end {
        display: flex;
        align-items: center;
    }

    .end {
        margin-top: 22px;
    }

    .place {
        margin-left: 15px;
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .path {
        font-size: 18px;
        width: 100%;
        height: 100%;
    }

    .shortDate {
        font-weight: 500;
        font-size: 15px;
        width: 82px;
        height: 32px;
        border-radius: 7px;
        padding: 7px 10px 7px 10px;
        background-color: #cfe5ff;
    }
    .prices {
        display: flex;
        width: 160px;
        font-size: 15px;
        gap: 15px;
        margin-top: auto;
    }

    .price {
        text-align: center;
        width: auto;
    }

    .prices button {
        font-size: 15px;
        margin-top: 5px;
        width: 115px;
        height: 30px;
        border-radius: 30px;
        padding: 8px 20px 8px 20px;
        font-size: 14px;
    }

    .there {
        all: unset;
        color: #378bee;
        border: #378bee solid 1px;
    }

    .roundTrip {
        all: unset;
        color: white;
        background-color: #378bee;
    }

    .veryShortLine {
        position: absolute;
        top: 44px;
        left: 26px;
    }

    .triangles {
        display: flex;
        flex-direction: column;
        position: absolute;
        height: 375px;
        top: -55px;
        left: 167px;
        transform: rotate(90deg);
    }

    .triangle {
        height: 20px;
        width: 20px;
        background-color: white;
        transform: rotate(45deg);
        border-radius: 3px;
    }

    .lowerTriangle {
        margin-top: auto;
    }

    .city {
        display: flex;
        align-items: center;
    }
}

@media (max-width: 475px) {
    /* Post trip  */

    .post-trip-screen__title {
        white-space: wrap;
    }

    .post-trip-screen__btn {
        padding: 15px 25px;
        width: 260px;
    }
}

@media (max-width: 420px) {
    /* Marketing */

    .marketing__cloud-1 {
        bottom: -400px;
    }

    .marketing__cloud-2 {
        top: -450px;
    }

    .out-phone {
        position: absolute;
        background: url("/img/out-phone.png") no-repeat 50%;
        width: 100%;
        height: 500px;
        z-index: 3;
        bottom: -170px;
    }

    .marketing-out {
        position: relative;
    }

    .phone {
        display: none;
    }

    .apps {
        margin-top: 290px;
    }

    .marketing {
        height: 700px;
        margin: 200px 5px 0 5px;
        margin-bottom: 100px;
    }

    .apps-list {
        display: none;
    }

    .apps-list-mini {
        display: flex;
        flex-wrap: wrap;
        width: 284px;
        gap: 10px;
    }

    /* Comments  */

    .comments__header {
        font-size: 30px;
    }

    .main-screen-nav__itemspan {
    margin-left: -10px;
}
}

@media (max-width: 400px) {
    /* Main screen  */

    .main-screen-nav__item > img {
        /* display: none; */
    }

    .main-screen-nav {
        padding: 5px;
    }

    .main-screen-nav__item {
        padding: 15px 0px 15px 0px;
    }

    .main-screen-nav__item:first-child {
        padding: 15px 5px 15px 0px;
    }
    .main-screen-nav__item:last-child {
        padding: 15px 0px 15px 5px;
    }
}

@media (max-width: 380px) {
    /* Tickets  */

    .tickets {
        width: 290px;
    }

    .filter > *:last-child > *:first-child {
        flex-wrap: wrap;
    }

    /* Card  */

    .card {
        height: auto;
        width: 290px;
    }

    .prices {
        flex-direction: column;
        margin: 35px auto 0 auto;
    }

    .triangles {
        height: 310px;
        left: 135px;
        top: -25px;
    }

    /* Guide screen  */

    .guide-screen {
        height: auto;
        padding: 30px;
        margin: 100px 5px 0 5px;
    }

    .guide-screen__title {
        font-size: 30px;
    }

    .guide-screen__guide__title {
        font-size: 20px;
    }

    .guide-screen__description {
        font-size: 15px;
    }

    /* Post trip  */

    .post-trip-screen {
        display: none;
        margin: 100px 5px 0 5px;
        padding-bottom: 30px;
        font-size: 15px;
    }

    .post-trip-screen-small {
        display: flex;
        background-color: #f5f5f5;
        border-radius: 30px;
    }

    .post-trip-screen-small > div {
        margin: 30px 30px 0 30px;
    }

    .post-trip-screen__title {
        margin: 30px 0 0 30px;
        font-size: 30px;
        white-space: nowrap;
        text-align: center;
    }

    .post-trip-screen__title > span {
        font-size: 40px;
        text-align: end;
        display: block;
        width: 100%;
    }

    .landscape {
        content: url("/img/landscape.svg");
        order: 0;
        width: 93%;
        margin-top: 20px;
    }

    .post-trip-screen__btn {
        margin: 20px auto 0 auto;
        width: 240px;
        font-size: 18px;
    }
}

@media (max-width: 370px) {
    /* Post trip  */

    .post-trip-screen__title {
        white-space: wrap;
    }
}
