@font-face {
    font-family: 'one-reg';
    src: url('./fonts/oenaproregular.ttf');
}

@font-face {
    font-family: 'one-light';
    src: url('./fonts/oenaprolight.ttf');
}

@font-face {
    font-family: 'maz-reg';
    src: url('./fonts/mazdatyperegular.ttf');
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    direction: rtl;
    font-family: 'one-reg', sans-serif;
    line-height: 1;
}

.video-wrapper {
    position: relative;
    width: 100%;
}

video {
    width: 100%;
    display: block;
}

.sound-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.sound-button:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.sound-button svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.scroll-arrow-container {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 10;
    animation: floating 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.scroll-arrow:hover {
    background: #fff;
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.scroll-arrow img {
    width: 35px;
    height: auto;
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

.form-container {
    display: flex;
    flex-direction: column;
    padding: 3vw 20vw;
}

.form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
}

.form-title {
    font-family: 'one-light', sans-serif;
    font-size: 1.5vw;
}

.form-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5vw;
}

.submit,
.input {
    flex: 1 1 30%;
    padding: 0.5vw;
    font-family: 'one-reg', sans-serif;
    font-size: 0.8vw;
    letter-spacing: 0.1vw;
    border-radius: 4px;
}

.input {
    color: #000000a0;
    border: 1px solid #00000039;
    background: white;
}

.submit {
    background: black;
    color: white;
    border: none;
}

.submit:disabled {
    background: #0000006e;
}

.submit-red {
    color: #fc0000;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    font-size: 0.7vw;
    margin-top: 0.5vw;
    font-family: 'one-light', sans-serif;
}

.swiper-container {
    padding-bottom: 2vw;
}

.terms {
    font-size: 0.7vw;
    color: black;
    font-family: 'one-light', sans-serif;
}

.terms a {
    color: black;
}

.links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.5vw;
    width: 100%;
    padding: 1vw;
}

.link {
    list-style: none;
}

.link a {
    font-size: 1vw;
    color: black;
}

.swiper-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 1vw 0 3vw 0;
    gap: 1vw;
}

.swiper-title-top {
    font-size: 1.3vw;
    max-width: 73%;
    font-family: 'one-light', sans-serif;
}

.swiper-title-bottom {
    font-size: 2.7vw;
    padding: 0.5vw 0;
    font-family: 'one-reg', sans-serif;
    border-top: 2px solid #910A2D;
    border-bottom: 2px solid #910A2D;
}

.swiper-slide img {
    width: 50vw;
    height: 100%;
    font-weight: 800;
}

.swiper-button-next,
.swiper-button-prev {
    color: white !important;
}

.footer-container {
    font-size: 1.5vw;
    color: white;
    background: black;
    display: flex;
    padding: 2.5vw;
    justify-content: center;
    font-family: 'maz-reg', sans-serif;
    letter-spacing: 0.2vw;
}

.error {
    outline: 1px solid tomato;
}

.error::placeholder {
    color: tomato;
}

.thanks-text {
    text-align: center;
    font-size: 3vw;
}

.desktop {
    display: inline;
}

.mobile {
    display: none;
}

@media (max-width: 768px) {
    .sound-button {
        bottom: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }

    .sound-button svg {
        width: 18px;
        height: 18px;
    }

    .form-container {
        padding: 6vw 8vw;
    }

    .form {
        gap: 2vw;
    }

    .form-title {
        font-size: 5vw;
        text-align: center;
    }

    .form-inputs {
        gap: 2vw;
    }

    .submit,
    .input {
        flex: 1 1 100%;
        padding: 2vw;
        font-size: 3.5vw;
    }

    .checkbox-container {
        font-size: 2.5vw;
        gap: 2vw;
    }

    .swiper-container {
        padding-bottom: 4vw;
    }

    .swiper-title {
        flex-direction: column;
        padding-inline: 4vw;
        gap: 2vw;
    }

    .swiper-title-top {
        max-width: unset;
        font-size: 4.5vw;
        text-align: center;
    }

    .swiper-title-bottom {
        font-size: 6.5vw;
        padding: 1vw 0 2vw 0;
    }

    .terms {
        font-size: 2vw;
    }

    .links {
        gap: 2vw;
    }

    .link a {
        font-size: 3vw;
    }

    .swiper-slide img {
        width: 100%;
        margin: auto;
    }

    .swiper-button-next {
        left: 10vw !important;
    }

    .swiper-button-prev {
        right: 10vw !important;
    }

    .footer-container {
        font-size: 5vw;
        padding: 5vw;
        letter-spacing: 0.4vw;
    }

    .thanks-text {
        font-size: 4vw;
    }


    .desktop {
        display: none;
    }

    .mobile {
        display: inline;
    }

    .scroll-arrow-container {
        display: none;
        bottom: 20px;
        left: 20px;
    }

    .scroll-arrow {
        width: 45px;
        height: 45px;
    }

    .scroll-arrow img {
        width: 22px;
    }

    @keyframes floating {
        0% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-8px);
        }

        100% {
            transform: translateY(0);
        }
    }
}