@font-face {
    font-family: 'regular';
    src: url('./fonts/Assistant.ttf');
}

@keyframes manSlideIn {
    from {
        transform: translateX(40vw);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(40vw);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-40vw);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.desktop {
    display: flex;
}

.mobile {
    display: none;
}

html,
body {
    width: 100%;
    font-family: 'regular', sans-serif;
    direction: rtl;
}

.main {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
}

.topSection {
    width: 100%;
    display: flex;
}

.rightContainer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 70%;
    background-image: url("./images/topSectionBg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative
}

.logo {
    width: 7vw;
    margin-top: 2vw;
    margin-right: 3vw;
}

.bottomTitles {
    display: flex;
    flex-direction: column;
    align-self: flex-end;
    margin-top: 5vw;
    width: auto;
}

.title1 {
    width: 26vw;
    margin-top: 6vw;
    margin-left: 3vw;
}

.man {
    position: absolute;
    bottom: 0;
    right: -1vw;
    width: 20.6vw;
}

.leftContainer {
    width: 30%;
    display: flex;
    background-color: black;
    flex-direction: column;
}

.thanksLeftContainer {
    height: 74vh;
}

.form {
    background-color: #020202;
    display: flex;
    flex-direction: column;
    padding: 1vw 3.9vw;
    gap: 0.7vw;
    width: 100%;
}

.form-titles {
    display: flex;
    flex-direction: column;
    gap: 0.2vw;
    text-align: center;
    line-height: 1;
}

.delekLogo {
    width: 7vw;
    align-self: center;
    margin-top: 2vw;
    margin-bottom: 3vw;
}

.form-title-1 {
    color: rgb(255, 255, 255);
    font-size: 1.6vw;
    font-weight: 700;
}

.form-title-2 {
    color: rgb(255, 255, 255);
    font-family: 'regular';
    font-size: 1.6vw;
}

.asterisk {
    position: absolute;
    top: 4vw;
    left: 6vw;
    font-size: 2vw;
}

.line {
    width: 15vw;
    height: 0.1vw;
    background-color: black;
    align-self: center;
    margin: 0.7vw 0;
}

.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: white;
    padding: 0.6vw 0.8vw;
    text-align: right;
    border-radius: 1.5vw;
    border: 0.156vw solid white;
    line-height: 1;
}

.input::placeholder {
    font-family: 'regular', sans-serif;
    color: white;
}

option {
    color: black;
}

.privacy {
    font-size: 0.8vw;
}

.checkbox-container {
    display: flex;
    flex-direction: column;
    gap: 1vw;
    line-height: 1;
    color: white;
    font-size: 0.9vw;
}

.checkbox-container-inner {
    display: flex;
    flex-direction: row;
    gap: 0.5vw;
    align-items: center;
}

.checkbox {
    height: 1.5vw;
    width: 1.5vw;
    align-self: center;
}

.checkbox-text a {
    color: white;
    text-decoration: underline;
}

.submit {
    font-family: 'regular', sans-serif;
    font-weight: 700;
    font-size: 1.875vw;
    background: #ffffff;
    border: none;
    border: 0.2vw solid #020202;
    border-radius: 1.5vw;
    color: white;
    padding: 0.3vw 0 0.5vw 0;
    color: #020202;
}

.links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2vw;
    font-size: 1vw;
    width: 100%;
    white-space: nowrap;
    margin-top: 1.5vw;
}

.links a {
    color: rgb(255, 255, 255);
    text-decoration: underline;
}

.comfortSection {
    width: 100%;
    aspect-ratio: 1920/2295;
    background-image: url("./images/secondSection.jpg");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1vw;
    padding: 4vw 4vw 0 4vw;
}

.row {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.first-row {
    flex-direction: row;
}

.second-row {
    flex-direction: row-reverse;
}

.comfort-img {
    width: 44vw;
    height: auto;
    filter: drop-shadow(0 0 1vw #000)
}

.comfort-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 40vw;
    font-family: 'regular';
    direction: rtl;
    text-align: right;
}

.second-row .comfort-img {
    margin-top: -2vw;
}

.first-row .comfort-img {
    margin-left: 2vw;
}

.comfort-list li {
    color: white;
    font-size: 1.5vw;
    line-height: 1.5;
    margin-bottom: 1.2vw;
    position: relative;
    padding-right: 1.4vw;
}

.first-row .comfort-list {
    margin-top: 3vw;
    margin-right: 2vw;
}

.second-row .comfort-list {
    margin-top: 3vw;
    margin-left: 3.5vw;
}

.comfort-list li::before {
    content: "•";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.7vw;
    color: white;
}


.comfort-list li span {
    color: white;
    font-weight: 700;
}

.icons-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10vw;
    margin-top: 1vw;
}

.iconImg {
    height: 9vw;
}

.footer-text {
    width: 100%;
    color: #000000;
    font-family: 'regular', sans-serif;
    font-size: 1.15vw;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 1vw;
    margin-top: auto;
    z-index: 2;
}

.footer-text a {
    color: black;
    text-decoration: underline;
}

.privacy-info-banner {
    background: black
}

.floating-form {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 8.7vw;
    z-index: 3;
}

.floating-form-inner {
    z-index: 3;
    background: #000000;
    display: none;
    position: fixed;
    justify-content: center;
    align-items: center;
    bottom: 0;
    width: 100%;
    color: white;
}

.floating-form-inner form {
    width: 90%;
}

.floating-form-inner .form .form-inputs {
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
    gap: 1vw
}

.floating-form-inner .form .form-inputs .input {
    flex: 1 0 10%;
}

.floating-form-inner .form .form-inputs .submit {
    flex: 0 0 auto;
    padding: 0.1vw 2vw;
}

.ads-container {
    font-size: 0.8vw;
}

.clear {
    height: 1vw;
}

.error {
    outline: 1px solid tomato;
}

.error::placeholder {
    color: tomato;
}

.clear {
    height: 1vw;
}

@media screen and (max-width: 768px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: flex;
    }

    .topSection {
        flex-direction: column;
    }

    .rightContainer {
        width: 100%;
        background-image: url("./images/topSectionMobile.jpg");
        aspect-ratio: 640/421;
    }

    .whiteDelek {
        position: absolute;
        top: 4vw;
        left: 2vw;
        width: 9vw;
        z-index: 5;
    }

    .leftContainer {
        position: relative;
        width: 100%;
    }

    .title1 {
        width: 40vw;
        margin-right: unset;
        margin-top: 12vw;

    }

    .title2 {
        width: 90vw;
        margin-bottom: 3vw;
    }

    .bottomTitles {
        align-items: center;
    }


    .leftContainer {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 2vw;
        width: 100%;
        position: relative;
    }

    .form {
        width: 53vw;
        margin: 0;
        padding: 4vw;
        gap: 1vw;
    }

    .input {
        font-size: 3.438vw;
        padding: 1.6vw 1.8vw;
        border-radius: 3vw;
    }

    .form-title-1 {
        font-size: 3.5vw;
    }

    .form-title-2 {
        font-size: 3.5vw;
    }

    .submit {
        font-size: 3.5vw;
        border-radius: 3vw;
        padding: 1.3vw 0 0.5vw 0;
    }

    .man {
        position: absolute;
        width: 46vw;
        bottom: 0;
        left: 51vw;
        z-index: 2;
        animation: manSlideIn 0.9s ease-out forwards;
    }

    .checkbox-container {
        font-size: 2vw;
    }

    .checkbox {
        height: 2vw;
        width: 2vw;
    }

    .links {
        font-size: 2.3vw;
    }

    .comfortSection {
        width: 100%;
        background-image: url("./images/secondSectionMob.jpg");
        aspect-ratio: 640/1904;
    }

    .row {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 4vw;
    }

    .comfort-list {
        width: 90vw;
        margin-right: 3vw;
        margin: 0;
        padding: 0;
        text-align: right;
    }

    .first-row .comfort-list {
        padding: 0 5vw;
    }

    .second-row .comfort-list {
        padding: 0 5vw;
    }

    .comfort-list li {
        font-size: 3vw;
        align-items: center;
    }

    .comfort-list li::before {
        font-size: 4vw;
        right: -1vw;
        top: -1vw;
    }

    .comfort-img {
        width: 98vw;
        margin: 0;
        opacity: 0;
        transform: translateX(0);
    }

    .first-row .comfort-img.mobile.visible {
        animation: slideInRight 1s ease-out forwards;
    }

    .second-row .comfort-img.mobile.visible {
        animation: slideInRight 1s ease-out forwards;
    }

    .first-row .comfort-img {
        margin: unset;
    }

    .second-row .comfort-list {
        margin-right: 2vw;
        margin-left: unset;
    }

    .second-row {
        margin-top: -4vw;
    }

    .icons-row {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, auto);
        column-gap: 23vw;
        row-gap: 7vw;
        justify-items: center;
        margin-top: 0vw;
    }

    .logo {
        width: 12vw;
    }

    .iconImg {
        height: 20vw;
    }

    .footer-text {
        color: #000000;
        font-family: 'regular';
        font-size: 2.6vw;
        line-height: 1;
        text-align: center;
        padding: 2vw 1vw;
        margin-bottom: 1vw;
        text-align: justify;
    }

    .floating-form-inner .form {
        padding: 2vw 0;
    }

    .floating-form-inner .form .form-inputs .input {
        flex: 1 0 35%;
    }

    .clear {
        height: 34vw;
    }
}