.main {
    height: 560px;
    margin-top: -70px;
}

.main__container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 40px;
}

.main__slider {
    position: absolute;
    z-index: 0;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
}

.main__slider-slide {
    position: relative;
    flex-shrink: 0;
}

.main__slider-slide img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.main__road {
    position: absolute;
    height: 100%;
    top: 0;
    left: 20px;
    width: 62px;
    display: flex;
    justify-content: center;
    background: url('../images/dashed-line.svg') center no-repeat;
    background-size: 62px 100%;
}

.main__title {
    position: relative;
    display: block;
    color: #ffffff;
    text-align: right;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    margin-right: 20px;
}

.main__title::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -25px;
    height: calc(100% + 42px);
    width: 48px;
    border-right: 12px solid #ff7bab;
    border-top: 12px solid #ff7bab;
    border-bottom: 12px solid #ff7bab;
}

.how-to__container {
    position: relative;
    padding-right: 0;
}

.how-to__title {
    color: var(--color-green-dark);
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: -0.572px;
    margin-left: -20px;
    margin-bottom: 15px;
}

.how-to__wrapper {
    display: flex;
    gap: 25px;
    overflow: visible;
}

.how-to__road {
    display: flex;
    justify-content: center;
    flex: 0 0 63px;
    min-height: calc(100% + 20px);
    margin-bottom: -160px;
    padding-top: 115px;
    z-index: 1;
    background: url('../images/how-to-road.svg') center no-repeat;
    background-size: 100%;
    background-position: bottom;
}

.how-to__road::after {
    content: '';
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 62px;
    height: 37px;
    background: url('../images/how-to-road-after.svg') center no-repeat;
    background-size: 100%;
}

.how-to__car {
    background: url('../images/icons/car.png') center no-repeat;
    background-size: cover;
    height: 118px;
    width: 54px;
}

.how-to__list {
    padding-top: 25px;
    padding-bottom: 15px;
}

.how-to__item {
    padding-right: 20px;
}

.how-to__list .how-to__item:not(:last-of-type) {
    border-bottom: 2px solid #d9d9d9;
    padding-bottom: 20px;
}

.how-to__list .how-to__item:first-of-type {
    padding-bottom: 22px;
}

.how-to__list .how-to__item:nth-child(5) img {
    margin-bottom: 10px;
}

.how-to__item-title {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 18px;
}

.how-to__item-title span {
    color: #ff7bab;
    text-overflow: ellipsis;
    font-family: 'Roboto Mono', sans-serif;
    font-size: 26px;
    font-style: italic;
    font-weight: 100;
    line-height: 30px;
}

.how-to__item-content p,
.how-to__item-title p {
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: -0.3px;
}

.how-to__item-content span {
    display: block;
    color: #757575;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    margin-top: 10px;
}

.how-to__item-content {
    padding-left: 35px;
}

.how-to__item-content img {
    max-width: 165px;
}

.auth-section {
    font-family: 'Roboto', sans-serif;
}

.auth-section__container {
    position: relative;
    background: url('../images/auth-section.jpg') center no-repeat;
    background-size: cover;
    padding-top: 80px;
    padding-bottom: 90px;
}

.auth-section__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.auth-section__reg,
.auth-section__login {
    width: 144px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-inter);
    font-size: 14px;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: -0.2px;
    text-align: center;
    border-radius: 3px;
}

.auth-section__reg {
    padding: 8px 10px 11px;
    color: #ffffff;
    background: #01b988;
    margin-bottom: 5px;
}

.auth-section__login {
    font-size: 12px;
    color: #757575;
    background: rgba(203, 203, 203, 1);
    padding: 8px 10px 11px;
    margin-bottom: 5px;
}

.auth-section__check {
    color: #0d99ff;
    font-family: var(--font-inter);
    font-size: 10px;
    font-weight: 400;
    line-height: 30px;
    text-decoration: underline;
}

.photo {
    height: 250px;
}

.photo__container {
    position: relative;
    height: 100%;
}

.photo__container img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.photo .sticker {
    position: absolute;
    width: 91px;
    height: 88px;
    left: 0;
    top: -25px;
}

.photo .logo {
    position: absolute;
    width: 65px;
    height: 70px;
    bottom: 25px;
    right: 20px;
}

.reservation__top {
    position: relative;
}

.reservation__top img {
    position: absolute;
    width: 490px;
    top: 80px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.reservation__middle {
    position: relative;
    padding-top: 50px;
    font-family: 'Inter', sans-serif;
}

.reservation__title {
    color: var(--color-green-dark);
    font-size: 26px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: -0.572px;
    margin-bottom: 5px;
}

.reservation__middle-img {
    position: relative;
    width: 100%;
    height: 100px;
    margin-bottom: 5px;
}

.reservation__middle-img img {
    position: absolute;
    top: calc(50% - 10px);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    object-fit: cover;
}

.reservation__middle p {
    color: #757575;
    font-size: 12px;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: -0.228px;
    max-width: 230px;
}

.reservation__bottom {
    position: relative;
    height: 460px;
    width: 100%;
}

.reservation__bottom img {
    position: absolute;
    width: calc(100% + 40px);
    height: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

@media (min-width: 400px) {
    .main__title {
        font-size: 30px;
    }

    .how-to__title {
        font-size: 26px;
    }

    .how-to__item-content p,
    .how-to__item-title p {
        font-size: 18px;
    }

    .how-to__item-content img {
        max-width: 100%;
    }

    .how-to__item-title span {
        font-size: 30px;
    }
}

@media (min-width: 420px) {
    .main__title {
        font-size: 34px;
        line-height: 41px;
    }
}
