@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: 100% auto; 
    width: 100%;
    aspect-ratio: 1920/839;
    position: relative;
}
.logo {
    position: absolute;
    left: 13vw;
    top: 1vw;
    width: 15vw;
}
.delek {
    position: absolute;
    bottom: 3vw;
    right: 1vw;
    width: 5vw;
    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: 50vw;
    margin-right: 15vw;
    margin-top: 3vw;
}
.israel {
    width: 16.75vw;
    position: absolute;
    right: 2vw;
    bottom: 0;
}
.description {
    width: 37vw;
    margin-right: 13vw;
}

.form {
    position: absolute;
    background: rgba(255, 255, 255, 0.732);
    display: flex;
    flex-direction: column;
    padding: 1vw 4.01vw;
    left: 7vw;
    bottom: 0;
    gap: 1vw;
    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: 1.6vw;
    font-weight: 700;
}

.form-title-2 {
    color: black;
    font-family: 'regular';
    font-size: 1.6vw;
}

.price-1 {
    color: black;
    font-size: 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: 3vw;
    width: 3vw;
    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;
}
.bottom {
    display: flex;
    flex-direction: column-reverse;
    gap: 0.5vw;
    padding: 1vw 1.5vw;
    background-color: white;
}
.bottom-top {
    display: flex;
    gap: 2vw;
    align-items: center;
}
.strip1 {
    width: 17vw;
}
.strip2 {
    width: 30vw;
}
.terms {
    font-size: 0.8vw;
    line-height: 1;
}
.terms a {
    color: inherit;
}
.links {
    display: flex;
    gap: 2vw;
    font-size: 0.8vw;
    justify-content: flex-end;
    width: 100%;
}
.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; }
@media (max-width: 768px) {
    .top {
        aspect-ratio: 1080/1862;
        background-image: url('./images/mobile-bg.jpg');
    }
    .logo {
        top: 2vw;
        left: 2vw;
        width: 12vw;
    }
    .delek {
        width: 10vw;
        bottom:5vw;
    }
    .top-right {
        width: 100%;
        padding: 0;
        justify-content: flex-start;
    }
    .title1 {
        font-size: 5.37vw;
        padding: 5vw 0 4vw 10vw; 
    }
    .car {
        width: 74%;
        padding-top: 3vw;
        margin-right: 26vw;
        margin-top: unset;
    }
    .israel {
        width: 32vw;
        position: absolute;
        right: 0;
        top: 15.6vw;
    }
    .description {
        margin-top: 12vw;
        width: 80%;
        margin-right: unset;
    }
    .form {
        left: 12.5vw;
        bottom: 0;
        width: 75%;
        padding: 2vw 5vw;
        gap: 2vw;
    }
    .form-title-1 {
        font-size: 4.5vw;
    }

    .form-title-2 {
        font-size: 4.5vw;
    }

    .price-1 {
        font-size: 7vw;
        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; }
    .checkbox-container {
        font-size: 2.5vw;
    }
    .checkbox {
        width: 6vw;
        height: 6vw;
    }
    .submit {
        border-radius: 5vw;
        font-size: 6vw;
    }
    .bottom {
        padding: 5vw 10vw;
        gap: 3vw;
        flex-direction: column;
    }
    .bottom-top {
        flex-direction: column;
        gap: 3vw;
    }
    .strip1 {
        width: 70%;
    }
    .strip2 {
        width: 100%;
    }
    .terms {
        font-size: 2.43vw;
    }
    .links {
        justify-content: center;
        font-size: 2.5vw;
        gap: 5vw;
        padding: 1vw;
    }
    .thanks-div {
        height: 85vw;
        font-size: 7vw;
    }
    .desktop { display: none }
    .mobile { display: flex }
}