@font-face { font-family: 'mazda-regular'; src: url('./fonts/MazdaType-Regular.ttf'); }
@font-face { font-family: 'mazda-mid'; src: url('./fonts/MazdaType-Medium.ttf'); }
@font-face { font-family: 'one-bold'; src: url('./fonts/OENaPro-Bold.ttf'); }
@font-face { font-family: 'one-regular'; src: url('./fonts/OENaPro-Regular.ttf'); }
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
    font-family: 'one-regular';
    direction: rtl;
}

.main {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.section-1 {
    display: flex;
    flex-direction: column;
    background-image:  url('./images/desk-bg-dark.png'), url('./images/desk-bg-3.jpg');
    background-size: 100% auto, cover;
    background-position: center bottom, center bottom;
    height: 100svh;
    max-height: min(100vw* (1080/1920), 100svh);
    min-height: calc(100vw* (700/1920));
    background-repeat: no-repeat;
    position: relative;
    container-type: size;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo-container {
    position: absolute;
    direction: ltr;
    left: min(5cqw,5cqh);
    top: min(5cqw,5cqh);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4cqw;
    z-index: 2;
}
.logo {
    width: 5cqw;
    aspect-ratio: 77 / 71;
}
.menu-container {
    position: relative;
}
.menu {
    width: 3cqw;
    height: 3cqw;
    cursor: pointer;
}
.menu-div {
    position: absolute;
    background: white;
    left: 2cqw;
    top: 2cqw;
    z-index: 1;
    display: none;
    flex-direction: column;
    align-items: center;
    direction: rtl;
    gap: min(4cqw,4cqh);
    padding: min(2cqw,2cqh);
}
.menu-div .logo {
     width: min(12cqw,12cqh);
}
.red-menu,
.black-menu,
.white-menu {
    width: min(20cqw,20cqh);
}
.x {
    align-self: flex-start;
    width: min(4cqw,4cqh);
    height: min(4cqw,4cqh);
    cursor: pointer;
}

.section-1-content {
    align-items: center;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
.top {
    width: 100%;
    display: flex;
    flex-grow: 2;
}
.right {
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    container-type: size;
}
.form-container {
    height: 100%;
    width: 90%;
    background: #ffffffe8;
    padding: 0 5cqw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: min(2cqw, 2cqh);
}
.form-title {
    font-family: 'one-bold';
    text-align: center;
    font-size: min(5cqw,5cqh);
}
.input {
    font-family: 'one-regular';
    background: white;
    border: 0;
    font-size: min(4cqw,4cqh);
    padding: min(2cqw,2cqh);
    color: rgb(56, 56, 56);
}
.input::placeholder {
    color: rgb(56, 56, 56);
}
.checkbox-container {
    display: flex;
    gap: min(3cqw, 3cqh);
    font-size: min(2.6cqw,2.6cqh);
}
.checkbox {
    height: min(10cqw,10cqh);
    width: min(10cqw,10cqh);
}
.submit {
    background: black;
    color: white;
    font-family: 'one-bold';
    padding: min(2cqw,2cqh);
    font-size: min(5cqw,5cqh);
}
.red {
    color: red;
}
.left {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: min(1cqw,1cqh);
    position: relative;
}
.left-content {
    position: absolute;
    bottom: min(8cqw,8cqh);
    left: min(20cqw,20cqh);
    color: white;
    text-align: left;
    line-height: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: min(1cqw,1cqh);
}
.left-title {
    font-family: 'mazda-regular';
    font-size: min(8cqw,8cqh);
}
.left-subtitle-1 {
    font-size: min(4cqw,3.95cqh);
}
.left-subtitle-2 {
    font-size: min(3cqw,3cqh);
    padding-bottom: min(2cqw,2cqh);
}
.left-subtitle-3 {
    font-size: min(3cqw,3cqh);
    border: 1px solid white;
    width: fit-content;
    padding: min(2cqw,2cqh) min(4cqw,4cqh);
}
.left-buttons  {
    padding: 5vw 0 3vw;
    gap: 5vw;
    display: flex;
    width: 90%;
}
.left-buttons a{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex: 2 1 40%;
    padding: min(1cqw,1cqh) 0 min(2cqw,2cqh);
    font-size: min(4cqw,4cqh);
    border: 0.5vw solid white;
    text-decoration: none;
    color: white;
}
.section-1-terms {
    text-decoration: none;
    color: black;
    font-size: 1vw;
    text-align: center;
    justify-content: center;
}
.section-2 {
    width: 100%;
    padding: 2vw;
    display: flex;
    justify-content: center;
    align-items: center;
}
.section-2-right {
    width: 70%;
    font-size: 2.2vw;
    text-align: center;
}
.black-side-view {
    width: 30%;
}
.section-3 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3vw;
}
.swiper-slide img {
    width: 100%;
}
.section-4 {
    width: 100%;
    justify-content: center;
    align-items: center;
    font-size: 3vw;
    padding: 5vw;
    padding: 2vw 5vw;
}
.section-4 video {
    aspect-ratio: 1920/1080;
    background: rgba(0, 0, 0, 0.158);
    width: 100%;
}
.section-5 {
    width: 100%;
    font-size: 1.5vw;
    padding: 4vw 2vw;
    text-align: center;
    background: black;
}
.section-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1vw;
    cursor: pointer;
}
.section-6 img {
    width: 40vw;
}
.popup {
    position: fixed;
    margin: auto;
    max-width: 80vw;
    border: 0;
    padding: 1vw;
    border-radius: 1vw;
}
.popup-x {
    width: 3vw;
    height: 3vw;
    cursor: pointer;
}
.popup img {
    width: 100%;
    object-fit: contain;
}

.error {
    outline:1px solid tomato !important;
}
.error::placeholder {
    color: tomato !important; 
}
.thanks {
    font-size: min(6cqw,6cqh);
    text-align:center;
}
.desktop { display: flex; }
.mobile { display: none; }
.inline { display: inline-flex; color: red;}
.mobile-inline { display: none; }

@media (max-width:768px) {
    body, html {
        overflow-x: hidden;
    }
    .section-1 {
        background: none;
        max-height: unset;
        min-height: unset;
        height: unset;
        width: 100vw;
        justify-content: flex-start;
        container-type: unset;
    }
    .section-1-content {
        height: unset;
        flex-direction: column;   
    }
    .section-1-title {
        flex-grow: 0;
    }
    .top {
        flex-direction: column-reverse;
    }
    .logo-container{
        width: 100%;
        justify-content: space-between;
        top: 0;
        left: 0;
        padding: 3vw;
    }
    .logo {
        width: 10vw;
    }
    .menu {
        width: 8vw;
        height: 8vw;
    }
    .menu-div {
        left: unset;
        right: 2vw;
    }
    .left {
        width: 100%;
        background: url('./images/desk-bg-dark.png'), url('./images/mob-bg-3.jpg');
        aspect-ratio: 640/840;
        background-size: 100% auto, 100% 100%;
        background-position: bottom center, center center;
        background-repeat: no-repeat;
        justify-content: flex-end;
    }
    .left-content {
        width: 100%;
        position: static;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    .left-title {
        padding-bottom: 45vw;
        padding-top: 10vw;
    }
    .left-subtitle-1 {
        font-size: 6vw;
    }
    .left-subtitle-2 {
        font-size: 4vw;
    }
    .left-subtitle-3 {
        font-size: 5vw;
        padding: 3vw 4vw;
    }
    
    .right {
        width: 100%;
        container-type:unset;
        background: #e9eaeb;
    }
    .form-container {
        width: 85%;
        padding: unset;
        background: unset;
    }
    .form {
        height: unset;
        padding: 7vw 0;
        gap: 4vw;
    }
    .checkbox-container {
        align-items: center;
    }
    .section-1-terms {
        text-decoration: none;
        color: black;
        font-size: 3vw;
        text-align: center;
        justify-content: center;
    }
    .section-2 {
        flex-direction: column-reverse;
        padding: 0 1vw 7vw 1vw;
    }
    .black-side-view {
        width: 70%
    }
    .section-2-right {
        width: 100%;
        font-size: 4.5vw;
    }
    .section-4 {
        padding: 3vw 0;
    }
    .section-6 {
        padding: 3vw 0;
    }
    .section-6 img {
        width: 100%;
    }
    .popup {
        padding: 4vw;
    }
    .popup-x {
        width: 8vw;
        height: 8vw;
    }
    .thanks {
        padding: 40vw 0;
        font-size: min(6cqw,6cqh);
        text-align:center;
    }
    .desktop { display: none; }
    .mobile { display: flex; }
    .mobile-inline { display: inline-flex; color: red;}

}