@font-face {
    font-family: 'regular';
    src: url('./fonts/Assistant.ttf');
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    font-family: 'regular', sans-serif;
    direction: rtl;
}

.main {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
}

.top {
    display: flex;
    background-image: url('./images/desktop-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    position: relative;
    flex: 1;
}

.logo {
    position: absolute;
    left: 13vw;
    top: 1vw;
    width: 15vw;
}

.delek {
    position: absolute;
    bottom: 1vw;
    right: 1vw;
    width: 5vw;
    object-fit: contain;
    z-index: 1;
}

.top-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 60vw;
    padding: 0vw 10vw 0 0;
    align-items: center;
    text-align: center;
    gap: 1vw;
}

.title1 {
    font-size: 2.865vw;
    color: white;
    padding: 2.4vw 0;
    margin-right: 12vw;
}

.title2 {
    font-size: 2.865vw;
    color: black;
}

.car {
    width: 42vw;
    margin-right: -9vw;
    margin-top: 3vw;
}

.israel {
    width: 18vw;
    position: absolute;
    left: 31vw;
    /* bottom: 0; */
    bottom: -1.3vw;
    z-index: 1;
}

.hero-image {
    width: 50vw;
    /* margin-top: 3vw; */
    margin-top: 2vw;
}

.hero-title {
    font-size: 2.6vw;
    color: black;
    font-weight: 600;
}

.form-wrapper{
    position: absolute;
    display: flex;
    flex-direction: column;
    /* left: 7vw; */
    /* left: 3.5vw; */
    left: 5vw;
    align-items: center;
    margin-top: 2vw;
}

.form {
    margin-top: 1vw;
    background: rgba(255, 255, 255, 0.732);
    display: flex;
    flex-direction: column;
    padding: 1vw 3.9vw;
    /* text-align: center; */
    gap: 0.5vw;
    width: 27vw;
}

.form-titles {
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
    text-align: center;
    line-height: 1;
}

.form-title-1 {
    color: black;
    font-size: 2.604vw;
    font-weight: 800;
    width: fit-content;
    align-self: center;
    padding: 1.5vw 0;
}


.form-title-2 {
    color: #1c1b1a;
    font-family: 'regular';
    /* font-size: 1.6vw; */
    margin-left: 2vw;
    font-size: 2.4vw;
    font-weight: 700;
    /* margin-right: -4.5vw; */
    align-self: center;
    /* margin-left: 1vw; */
}
.form-title-3 {
    align-self: center;
    color: black;
    font-family: 'regular';
    font-size: 1.875vw;
    margin-right: -4.5vw;
    /* margin-left: 1vw; */
}

.asterisk {
    position: absolute;
    top: 4.2vw;
    left: 6.3vw;
    font-size: 2vw;
}

.line {
    width: 15vw;
    height: 0.1vw;
    background-color: black;
    align-self: center;
    /* margin: 0.7vw 0; */
    margin: 0.5vw 0;
}

.price-1 {
    color: black;
    /* font-size: 3vw; */
    font-size: 4.3vw;
    font-weight: 700;
    line-height: 0.6;
}

.price-2 {
    color: black;
    font-size: 1.5vw;
    font-weight: 700;
}

.input {
    width: 100%;
    background: none;
    font-size: 1vw;
    font-family: 'regular', sans-serif;
    color: black;
    padding: 0.6vw 0.8vw;
    text-align: right;
    border-radius: 1.5vw;
    border: 0.156vw solid black;
    line-height: 1;
}

.input::placeholder {
    font-family: 'regular', sans-serif;
    color: black;
}

.privacy {
    font-size: 0.8vw;
}

.checkbox-container {
    display: flex;
    gap: 1vw;
    line-height: 1.2;
    font-size: 0.8vw;
}

.checkbox {
    height: 1.5vw;
    width: 1.5vw;
    align-self: center;
}

.submit {
    font-family: 'regular', sans-serif;
    font-size: 1.875vw;
    background: black;
    border: none;
    border-radius: 1.5vw;
    color: white;
    padding: 0.3vw 0 0.5vw 0;
    cursor: pointer;
}

.bottom {
    display: flex;
    flex-direction: column;
    background-color: white;
    /* padding: 1vw; */
    padding: 0.5vw 1vw;
    /* gap: 1vw; */
    gap: 0.4vw;
    z-index: 2;
}

.bottom-top {
    display: flex;
    gap: 2vw;
    align-items: center;
}

.bottom-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
}

/* .bottom-bottom::after {
    content: '';
    width: 100%;
    height: 1px;
    background-color: black;
    position: absolute;
    bottom: -0.5vw;
    right: 0;
} */

.strip {
    width: 25vw;
    cursor: pointer;
}

.strip1 {
    width: 17vw;
}

.strip2 {
    width: 30vw;
}

.terms {
    font-size: 1.1vw;
    line-height: 1;
}

.terms a {
    color: inherit;
}

.links {
    display: flex;
    gap: 2vw;
    font-size: 1vw;
    margin-right: auto;
    align-self: end;
    /* padding-left: 2vw; */
}

.links a {
    color: black;

}

.thanks-div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35vw;
    text-align: center;
    font-size: 2.85vw;
    width: 100%;
}

.desktop {
    display: flex
}

.mobile {
    display: none
}

.error {
    border: 0.156vw solid tomato;
}

.error::placeholder {
    color: tomato;
}

dialog {
    position: fixed;
    margin: auto;
    border: 0;
    border-radius: 12px;
}

.dialog-container {
    display: flex;
    flex-direction: column;
}

#dialog_close_btn {
    user-select: none;
    width: fit-content;
    border: none;
    cursor: pointer;
    font-size: 2vw;
    padding: 0.5vw;
    background: none;
}

@media (max-width: 768px) {
    .top {
        /* aspect-ratio: 1080/2000; */
        aspect-ratio: 1080/1859;
        background-image: url('./images/mobile-bg.jpg');
        background-size: cover;
        justify-content: center;
        flex: unset;
    }

    .logo {
        top: 2vw;
        left: 2vw;
        width: 12vw;
    }

    .delek {
        width: 9vw;
        bottom: 7vw;
        right: 88vw;
    }

    .top-right {
        width: 100%;
        padding: 0;
        justify-content: flex-start;
    }

    .title1 {
        font-size: 5.37vw;
        padding: 5vw 0 4vw 10vw;
    }

    .car {
        /* width: 73vw; */
        width: 83.15vw;
        margin-right: 0;
    }

    .israel {
        width: 32vw;
        position: absolute;
        right: -9vw;
        /* bottom: -2vw; */
        bottom: 0;
    }

    .hero-image {
        width: 84vw;
        margin-top: 5vw;
    }

    .hero-title {
        font-size: 5.6vw;
    }

    .form-wrapper {
        left: unset;
        bottom: 0;
        width: 69%;
        /* padding: 2vw 5vw; */
        gap: 3vw;
        margin-top: unset;
    }
    .form {

        width: 100%;
        /* padding: 2vw 5vw; */
        gap: 3vw;
    }

    .line {
        width: 38vw;
        height: 0.2vw;
        margin: 2vw 0;
    }

    .form-title-1 {
        font-size: 6vw;
        margin-bottom: 2.15vw;
        padding: 1vw 0;
    }

    .form-title-2 {
        font-size: 5.3vw;
        /* margin-left: 5.5vw; */
    }
    .form-title-3 {
        margin-top: 1vw;
        /* font-size: 3.5vw; */
        font-size: 4.537vw;
        margin-left: 5.5vw;
    }

    .asterisk {
        position: absolute;
        top: 13vw;
        left: 19.5vw;
        font-size: 4vw;
    }

    .price-1 {
        font-size: 10vw;
        line-height: 0.6;
    }

    .price-2 {
        font-size: 4.5vw;
    }

    .input {
        font-size: 4vw;
        border-radius: 5vw;
        padding: 1vw 4vw;
    }

    .privacy {
        font-size: 2.6vw;
        padding: 0 4vw;
    }

    .checkbox-container {
        font-size: 2.5vw;
        padding: 0 4vw 0 0;
    }

    .checkbox {
        width: 4vw;
        height: 4vw;
    }

    .submit {
        border-radius: 5vw;
        font-size: 6vw;
    }

    .bottom {
        gap: 2vw;
        flex-direction: column;
        padding-bottom: 1vw;
    }

    .bottom-top {
        gap: unset;
        flex-direction: column;
        align-items: baseline;
    }

    .bottom-bottom {
        flex-direction: column;
    }

    .strip {
        width: 54vw;
    }

    .strip1 {
        width: 70%;
    }

    .strip2 {
        width: 100%;
    }

    .terms {
        /* font-size: 2.43vw; */
        padding-top: 1vw;
        font-size: 2.31vw;
    }

    .links {
        justify-content: center;
        font-size: 3vw;
        gap: 5vw;
        padding: 1vw;
        margin: unset;
        align-self: center;
    }

    .thanks-div {
        height: 85vw;
        font-size: 7vw;
    }

    .desktop {
        display: none
    }

    .mobile {
        display: flex
    }

    #dialog_close_btn {
        font-size: 7vw;
    }
}