@font-face {
    font-family: 'montserrat';
    src: url('montserrat.ttf');
    font-display: swap;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

*::selection {
    color: #fff;
    background-color: #1c1c1c;
    text-shadow: 0 0 .125rem rgb(0 0 0 / .25);
}

body {
    width: 100vw;
    height: 100%;
    padding: 0;
    margin: 0;
    background:#e0e0e0;
    color: #333;
    font-family: 'montserrat';

    scrollbar-gutter: stable;
    scrollbar-width: 0px;

    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6rem;
}

body::-webkit-scrollbar {
    width: 0px;
}

body::-webkit-scrollbar-thumb {
    width: 0px;
}

inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6rem;
}
inner in {
    max-width: 1440px;
    padding: 0 4.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
inner in.top {
    position: relative;
    overflow: hidden;
    padding: 0 1.5rem;
    margin-top: 1.5rem;
}
layer0, layer1 {
    display: flex;
    width: calc(100% - 3rem);
    height: 100%;
    position: absolute;
    z-index: 0;
    border-radius: 1.5rem;
}
layer0 {
    background-image: url(1.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
layer1 {
    background: rgb(255 255 255 / .25);
}
top_in {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 6rem 3rem;
    gap: 6rem;
    z-index: 1;
}
logo {
    width: 128px;
    height: 111px;
    background-image: url(rent_logo.svg);
    background-size: 100% 100%;
}
logo a {
    display: block;
    width: 100%;
    height: 100%;
}
inner in.top in_title {
    max-width: 70%;
    font-size: 64px;
    font-weight: 500;
    line-height: normal;
    text-shadow:
    0 0 .5rem #fff,
    0 0 1rem #fff,
    0 0 1.5rem #fff,
    0 0 2rem #fff,
    0 0 2.5rem #fff,
    0 0 3rem #fff;
}

in_subtitle {
    font-size: 22px;
    line-height: 22px;
    color: #555;
}

in_title {
    font-size: 40px;
    line-height: 40px;
    font-weight: 600;
}

in_description {
    color: #555;
}

in_buttom {
    width: fit-content;
}

in_buttom a, in_block.form button {
    display: flex;
    width: fit-content;
    background: #1c1c1c;
    border-radius: 2rem;
    font-size: 17px;
    line-height: 17px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding: 1rem 2rem;
}

in_buttom.top a {
    background: #dc3545;
}


in_block {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
in_block.two {
    grid-template-columns: repeat(2, 1fr);
}
in_block.three {
    grid-template-columns: repeat(3, 1fr);
}
in_block.four {
    grid-template-columns: repeat(4, 1fr);
}



item {
    display: flex;
    flex-direction: column;
    background: #eaeaea;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 0 1.5rem rgb(0 0 0 / .05);
    gap: 1.5rem;
}

item_title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

item_title img {
    width: 3rem;
    height: 3rem;
}

item_title p {
    font-size: 20px;
    line-height: 20px;
}

item_description {
    line-height: normal;
    color: #555;
}



in_block.two item {
    flex-direction: row;
    gap: 0;
}
item_left, item_right {
    display: flex;
    flex:1;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}
left_title {
    font-size: 26px;
    line-height: 26px;
}
left_in, right_in {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
left_in p:nth-of-type(1), right_in p:nth-of-type(1) {
    color: #555;
}
left_in p:nth-of-type(2) {
    font-size: 20px;
    line-height: 20px;
    color: #333;
}
right_in p:nth-of-type(n+2) {
    font-size: 18px;
    line-height: 18px;
}





in_map {
    position: relative;
    overflow: hidden;
    display: flex;
    line-height: 0;
    border-radius: 1.5rem;
}

footer {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #1c1c1c;
}

footer in {
    width: 1440px;
    padding: 3rem 4.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer logo {
    width: 321px;
    height: 74px;
    background-image: url('rent_footer.svg');
}
footer copy {
    color: #ededed;
}






in_block.form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6rem;
}

in_block.form left_in {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
in_block.form in_form_img {
    width: 100%;
    height: 100%;
    margin-top: 4.5rem;
    border-radius: 1.5rem;
    overflow: hidden;
    background-image: url(2.jpg);
    background-position: center;
    background-size: cover;
}

form#apprent {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    font-size: 24px;
    line-height: 24px;
}
form_group {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
form_group label {
    color: #333;
}

form_group input {
    background: none;
    width: 100%;
    padding: 1.5rem;
    border: none;
    outline: none;
    border-bottom: 1px solid #bbb;
    font-size: 18px;
    line-height: 18px;
}

in_block.form button {
    width: 100%;
    border: none;
    justify-content: center;
    cursor: pointer;
}








@media (max-width: 600px) {
    body {
        gap: 3rem;
        overflow-x: hidden;
    }
    inner {
        width: 100%;
        gap: 3rem;
    }
    in_block {
        grid-template-columns: repeat(1, 1fr) !important;
    }
    in_block.two item {
        flex-direction: column;
        gap: 1.5rem;
    }
    inner in {
        padding: 0 1.5rem;
    }
    top_in {
        padding: 4.5rem 1.5rem;
        gap: 3rem;
        height: auto;
    }
    inner in.top in_title {
        max-width: 100%;
        font-size: 32px;
    }
    in_title {
        font-size: 28px;
    }
    in_map {
        margin-top: 1.5rem;
    }
    in_buttom a, in_block.form button {
        font-size: 15px;
        line-height: 15px;
    }
    layer1 {
        background: rgb(255 255 255 / .5);
    }
    in_block.form {
        gap: 3rem;
        margin: 0;
    }
    in_block.form in_form_img {
        height: 320px;
        margin-top: 1.5rem;
    }
    footer {
        width: 100%;
    }
    footer in {
        width: 100%;
        flex-direction: column;
        gap: 1.5rem;
    }
}