.page-background {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: url('/build/images/design/777back.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-color: #373334;
}

.navbar-new {
    background-color: rgba(55, 51, 52, 0.49);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.navbar-new .navbar-brand img {
    height: 2rem;
}

.navbar-toggler.newDesign-toggler {
    border-color: rgba(0, 0, 0, 0);
}

.nav__element {
    display: flex;
    flex-direction: row;
    color: white;
}

.nav-link {
    color: white !important;
    margin-right: 10px;
}

.button__container {
    margin-right: 10px;
}

.nav__element:hover,
.nav-link:hover {
    color: rgba(255, 255, 255, 0.5) !important;
}

.nav__element.nav-active,
.nav__element.nav-active .nav-link {
    color: rgba(255, 255, 255, 0.5) !important;
}

.icon-class {
    align-self: center;
}

.nav-item {
    align-self: flex-start;
}

.navbar_top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 999;
}

.hero {
    width: 100%;
    color: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
    flex: 1;
}

.overlay {
    border-radius: 25px;
    width: 75vw;
    min-height: 20vh;
    background-color: rgba(0, 0, 0, 0.555);
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.back_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero .content {
    width: 75vw;
    min-height: 20vh;
    background-color: rgba(55, 51, 52, 0.49);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border-radius: 25px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    font-size: 2vw;
    align-self: center;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.content p {
    margin-bottom: 0;
}

.content a {
    text-decoration: underline;
    display: inline;
    padding: 0;
    margin-right: 0;
}

.overlay__order {
    width: 75vw;
    min-height: 20vh;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-row-gap: 1rem;
    grid-column-gap: 1rem;
    align-self: center;
    margin-bottom: 2rem;
}

.overlay__order .black-island:first-child {
    grid-column: span 3;
}

.overlay__schedule {
    width: 75vw;
    min-height: 20vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 1rem;
    grid-column-gap: 1rem;
    align-self: center;
    margin-bottom: 2rem;
}

.content__order {
    position: absolute;
    top: 0;
    height: 20vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    width: 75vw;
    margin: auto;
    padding: 1rem;
    font-size: 2.0vw;
    top: 13%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.animated-icon {
    width: 30px;
    height: 20px;
    position: relative;
    margin: 0;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

.animated-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    background: white;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.animated-icon span:nth-child(1) {
    top: 0;
    transform-origin: left center;
}

.animated-icon span:nth-child(2) {
    top: 10px;
    transform-origin: left center;
}

.animated-icon span:nth-child(3) {
    top: 20px;
    transform-origin: left center;
}

.animated-icon.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 0;
    left: 8px;
}

.animated-icon.open span:nth-child(2) {
    width: 0;
    opacity: 0;
}

.animated-icon.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 21px;
    left: 8px;
}

.page-background img {
    pointer-events: none;
    user-select: none;
}

.black-island {
    border-radius: 25px;
    background-color: rgba(55, 51, 52, 0.49);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.black-island__container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
    justify-content: space-around;
}

.black-island__container * {
    text-align: center;
}

.routes-div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
}

.routes-div * {
    width: 100%;
}

.dates-div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
}

.dates-div * {
    width: 100%;
}

.times-div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
}

.times-div * {
    width: 100%;
}

.selected-item__order,
.selected-item__cityFrom,
.selected-item__cityTo {
    display: none;
    color: white;
    text-decoration: underline;
}

.points-order__container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
    justify-content: space-around;
}

.points-order__container__item {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    padding: 0.5rem;
    justify-content: space-around;
}

.points-order__container__item p {
    margin-bottom: 0;
}

.points-order__container__item button {
    margin-top: 1rem;
}

.success-order {
    display: none;
    color: white;
    margin-top: 3rem;
    text-align: center;
    padding-bottom: 3rem;
}

.phone-numbers {
    display: grid;
    grid-template-columns: 1fr 3fr;
    justify-content: center;
    padding: 0 24px;
}

.phone-numbers a {
    color: white !important;
    text-decoration: none;
}

.phone-numbers img {
    height: 18px;
    object-fit: scale-down;
    justify-self: center;
    align-self: center;
}

.class-for-stores {
    width: 15vw;
}

.schedule {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr;
    justify-content: center;
    padding-right: 15rem;
    padding-left: 15rem;
}

.schedule-double {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr;
    justify-content: center;
}

.public-contract__content__text {
    font-size: 1vw;
}

.our-cars__pictures__list {
    display: none;
}

.mobile-version {
    display: none;
}

.overlay__order .black-island .custom-text-head p {
    margin-top: 0;
    margin-bottom: 0;
    padding: 1rem;
    font-size: 2vw;
    text-align: center;
}

.public-contract__content__text table {
    border-collapse: collapse;
    border: 2px solid rgb(140, 140, 140);
    font-family: sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.public-contract__content__text th,
.public-contract__content__text td {
    border: 1px solid rgb(160, 160, 160);
    padding: 8px 10px;
}

@media screen and (max-width: 1200px) {
    .nav-link {
        margin-left: 5px;
        margin-right: 0;
    }

    .button__container {
        margin-bottom: 10px;
        margin-right: 0;
    }
}

@media screen and (max-width: 800px) {
    .overlay {
        width: 80vw;
        height: 20vh;
        background-color: rgba(0, 0, 0, 0.555);
        position: absolute;
        top: 12%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .hero .content {
        min-height: 30vh;
        width: 80vw;
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        font-size: 3vw;
    }

    .public-contract__content__text {
        font-size: 2vw;
    }

    .overlay__order {
        width: 80vw;
        display: flex;
        flex-direction: column;
    }

    .black-island {
        flex-grow: 1;
    }

    #theTopOne {
        order: -1;
    }

    .overlay__schedule {
        width: 80vw;
        display: flex;
        flex-direction: column;
        margin-top: 2rem;
    }

    .phone-numbers {
        display: grid;
        grid-template-columns: 1fr 4fr;
        justify-content: center;
        width: 40vw;
        align-self: center;
        padding: 0;
    }

    .class-for-stores {
        width: 40vw;
    }

    .schedule {
        display: grid;
        grid-template-columns: 2fr 2fr 2fr;
        justify-content: center;
        padding-right: 0;
        padding-left: 0;
    }

    .desktop-version {
        display: none !important;
    }

    .mobile-version {
        display: flex;
        margin-top: 2rem;
    }

    .mobile-version .content {
        margin-bottom: 2rem;
    }

    .overlay__order .black-island .custom-text-head p {
        font-size: 3vw;
    }
}

@media screen and (max-width: 700px) {
    .overlay {
        width: 80vw;
        height: 15vh;
        background-color: rgba(0, 0, 0, 0.555);
        position: absolute;
        top: 12%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .hero .content {
        min-height: 25vh;
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        font-size: 3vw;
    }

    .public-contract__content__text {
        font-size: 2vw;
    }
}

@media screen and (max-width: 500px) {
    .overlay {
        width: 75vw;
        height: 20vh;
        background-color: rgba(0, 0, 0, 0.555);
        position: absolute;
        top: 12%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .hero .content {
        min-height: 30vh;
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        font-size: 5vw;
    }

    .public-contract__content__text {
        font-size: 3vw;
    }

    .our-cars__pictures__carousel {
        display: none;
    }

    .our-cars__pictures__list {
        display: grid;
        grid-template-columns: 5fr;
    }

    .overlay__order .black-island .custom-text-head p {
        font-size: 4vw;
    }
}

@media screen and (max-height: 400px) {
    .overlay {
        width: 75vw;
        height: 20vh;
        background-color: rgba(0, 0, 0, 0.555);
        position: absolute;
        top: 12%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .hero .content {
        min-height: 30vh;
        width: 75vw;
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        font-size: 2vw;
    }
}
