@font-face {
    font-family: 'adobe-regular';
    src: url('./fonts/AdobeHebrew-Regular.otf');
}
@font-face {
    font-family: 'heebo-regular';
    src: url('./fonts/HeeboRegular.ttf');
}
@font-face {
    font-family: 'heebo-light';
    src: url('./fonts/Heebo-Light.ttf');
}
@font-face {
    font-family: 'bss-bold';
    src: url('./fonts/BlueSkyStandard-Bold.ttf');
}
@font-face {
    font-family: 'bss-light';
    src: url('./fonts/BlueSkyStandard-Light.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}


.main {
    display: flex;
    flex-direction: row;
    direction: rtl;
    height: 100%;
}
.right {
    position: relative;
    width: 65vw;
}
.video {
    width: 100%;
}
.overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    aspect-ratio: 1280 / 720;
    box-shadow: inset 0 -5vw 17vw 1vw #000000;
}
.overlay-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;;
}
.logo {
    width: 100%;
    width: 7vw;
    padding-top: 2vw;
}
.title1 {
    padding: 1vw 0;
    font-family: 'heebo-regular';
    color: white;
    font-size: 2vw;
    text-align: center;
    line-height: 1.2;
}
.lightblue {
    color: #00cacd;
}
.overlay-bottom {
    width: 90%;
    color: white;
    font-family: 'heebo-light';
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-bottom: 4vw;
}
.overlay-bottom-price {
    display: flex;
     color: white;
    font-family: 'heebo-light';
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 2.2vw;
    line-height: 0.7;
    padding: 0.2vw 0.5vw;
    margin-bottom: 4vw;
    
}
 .overlay-bottom-price .line-bold{
    font-family: 'heebo-regular';
    font-weight: 800;
}
.right-bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    top: -7vw;
}
.car-prices {
    display: flex;
    flex-direction: row;
    gap: 4vw;
}
.car-price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 0.5vw;
    /* width: 100%; */
}
.car-price-top img {
    width: 3vw;
}
.car-price-bottom {
    border-top: 0.1vw solid #424146;
    border-bottom: 0.1vw solid #424146;
    font-family: 'heebo-light';
    font-size: 1vw;
    width: 100%;
    padding: 0.1vw 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.smaller{
    font-size: 0.9vw;

}
.car-prices .car-price:last-child{
  margin-right: 7vw;   
}
.bold {
    font-size: 1.2vw;
}
.cars {
    width: 59%;
}



.left {
    width: 35%;
    display: flex;
    flex-direction: column;
}
.left-top {
    display: flex;
    flex-direction: column;
    flex-grow: 2;
    justify-content: center;
    align-items: center;
    padding: 2vw 3vw;
    width: 100%;
    gap: 1vw;
}
.left-top-title {
    font-family: 'bss-bold';
    font-size: 2vw;
}
.form {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 0.7vw;
}
.input {
    width: 100%;
    background: none;
    border: 0.1vw solid  #525252;
    padding: 0.5vw 1vw;
    font-family: 'heebo-regular';
    font-size: 1vw;
    color: black;
}
.input::placeholder {
    color: #919191;
}
.select {
    width: 100%;
    background: url('./images/arrow.png');
    background-repeat: no-repeat;
    background-position: 0.7vw 0.8vw;
    background-size: 1vw;
    border: 0.1vw solid  #525252;
    padding: 0.65vw 1vw;
    font-family: 'heebo-regular';
    font-size: 1vw;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: #919191;
}
.select option {
    color: black;
}
.checkbox-div {
    display: flex;
    flex-direction: column;
    gap: 1vw;
    font-family: 'heebo-light';
    line-height: 1;
    font-size: 0.8vw;
    color: #919191;
    padding: 1vw 0;
}
.submit {
    font-family: 'bss-light';
    background: #00cacd;
    border: none;
    font-size: 1.5vw;
    letter-spacing: 0.2vw;
    padding: 1vw;
    cursor: pointer;
}
.learn-more {
    font-family: 'heebo-light';
    background: #00cacd;
    border: none;
    font-size: 1.5vw;
    text-decoration: none;
    color: black;
    padding: 1vw;
}
.left-bottom {
    padding: 0 3vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.logo-black {
    width: 30%;
    padding: 0 0 1vw 0;
}
.terms {
    font-family: 'heebo-regular';
    line-height: 1.1;
    color: #7b7b7b;
    font-size: 0.8vw;
    text-align: center;
}
.terms a {
    color: #7b7b7b;
}
.strip {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0vw 0;
}
.strip img {
    width: 100%;
    cursor: pointer;
}

.links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-family: 'heebo-regular';
    padding-top: 1vw;
    font-size: 1vw;
    width: 100%;
}
.links a {
    color: black;
    text-decoration: none;
}
.thanks {
    font-family: 'heebo-regular';
    font-size: 2vw;
}
.error {
    border: 0.1vw solid #f73f3f;
}
.error::placeholder {
    color: tomato;
}
.modal {
    display: none;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    position: fixed;
    width: 100%;
    height: 100%;
    margin: auto;
    border: none;
    /* background: #e2e2e2; */
    object-fit: contain;
    overflow: auto;
    gap: 2vw;
}
.modal img {
    max-width: 70vw;
}
.closeModal {
    padding: 1vw;
    background: white;
    border: 0.1vw solid grey;
    align-self: flex-start;
}

.mobile {
    display: none;

}
.desktop {
    display: flex;
}

@media screen and (max-width: 768px) {
    .main {
        flex-direction: column;
    }
    .right {
        width: 100%;
    }

    .mobile {
        display: flex;
    }
    .desktop {
        display: none;
    }

    .overlay {
        height: calc(100vw *  938/ 750);
    }
    .overlay-top {
        width: 100%;
    }
    .logo {
        padding-top: 5vw;
        width: 30%;
    }
    .title1 {
        font-size: 6vw;
        padding: 4vw 0;
    }
    .overlay-bottom {
        width: 100%;
        justify-content: center;  
        padding-bottom: 14vw;
    }
    .overlay-bottom-price {
        font-size: 5vw;
    }
    .right-bottom {
        top: -10vw;
    }
    .cars {
        width: 95%;
    }
    .car-prices {
        width: 90%;
        justify-content: space-around;
    }
    .car-price-top img{
        width:9vw;
    }
    .car-price-bottom {
        font-size: 2.8vw;
    }
    .smaller{
    font-size: 2.6vw;
}
    .car-prices .car-price:first-child{
        margin-left: unset;   
    }
    .bold {
        font-size: 3.5vw;
    }
    .left {
        width: 100%;
    }
    .left-top {
        padding: 3vw 8vw;
    }
    .left-top-title {
        font-size: 7vw;
        padding-bottom: 6vw;
    }
    .form {
        gap: 3vw;
    }
    .input {
        font-size: 4vw;
        padding: 2vw 3vw;
    }
    .select {
        padding: 2.5vw 3vw;
        font-size: 4vw;
        background-size: 4vw;
        background-position: 3vw 3vw;
    }
    .checkbox-div {
        font-size: 3vw;
        gap: 3vw;
    }
    .submit {
        font-size: 6vw;
        padding: 3vw;
    }
    .learn-more {
        font-size: 6vw;
        padding: 3vw;
    }
    .logo-black {
        padding: 7vw 0;
    }
    .terms {
        font-size: 3vw;
        padding: 1vw 0;
    }
    .strip {
        padding: 4vw 0;
    }
    .closeModal {
        padding: 3vw;
    }
    
    .modal img {
        max-width: 95vw;
    }
    .links {
        gap: 7vw;
        font-size: 3vw;
    }
    .thanks {
        font-family: 'heebo-regular';
        font-size: 6vw;
    }
}