@font-face {
    font-family: 'ploni';
    src: url('../fonts/ploni-light-aaa.eot');
    src: url('../fonts/ploni-light-aaa.woff2') format('woff2'),
    url('../fonts/ploni-light-aaa.woff') format('woff');
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: 'ploni';
    src: url('../fonts/ploni-regular-aaa.eot');
    src: url('../fonts/ploni-regular-aaa.woff2') format('woff2'),
    url('../fonts/ploni-regular-aaa.woff') format('woff');
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: 'ploni';
    src: url('../fonts/ploni-medium-aaa.eot');
    src: url('../fonts/ploni-medium-aaa.woff2') format('woff2'),
    url('../fonts/ploni-medium-aaa.woff') format('woff');
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: 'ploni';
    src: url('../fonts/ploni-bold-aaa.eot');
    src: url('../fonts/ploni-bold-aaa.woff2') format('woff2'),
    url('../fonts/ploni-bold-aaa.woff') format('woff');
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: 'ploni';
    src: url('../fonts/ploni-demibold-aaa.eot');
    src: url('../fonts/ploni-demibold-aaa.woff2') format('woff2'),
    url('../fonts/ploni-demibold-aaa.woff') format('woff');
    font-style: normal;
    font-weight: 600;
}

*,
body,
form,
div,
p {
    margin: 0;
    padding: 0;
    border: 0;
}

::-webkit-input-placeholder {
    color: rgba(0, 0, 0, 0.5) !important;
    opacity: 1 !important;
    direction: rtl !important;
    text-align: right !important;
}

:-moz-placeholder {
    color: rgba(0, 0, 0, 0.5) !important;
    opacity: 1 !important;
    direction: rtl !important;
    text-align: right !important;
}

::-moz-placeholder {
    color: rgba(0, 0, 0, 0.5) !important;
    opacity: 1 !important;
    direction: rtl !important;
    text-align: right !important;
}

:-ms-input-placeholder {
    color: rgba(0, 0, 0, 0.5) !important;
    opacity: 1 !important;
    direction: rtl !important;
    text-align: right !important;
}

html,
body {
    width: 100%;
    height: 100%;
    direction: rtl;
    -webkit-text-size-adjust: 100%;
    color: #fff;
    background-color: #121F3D;
}

html,
body,
input,
button {
    font-family: 'ploni', Arial, Helvetica, sans-serif;
}

h1,
h2 {
    font-weight: normal;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    background: transparent;
}

a {
    text-decoration: underline;
    color: inherit;
}

label:not(.sr-only) {
    font-size: 14px;
}

label input {
    vertical-align: middle;
    width: 17px;
    height: 17px;
    margin-left: 10px;
}

input:not([type="checkbox"]) {
    width: 90%;
    background: #fff;
    padding: 0 12px;
    height: 40px;
    border-radius: 20px;
    box-sizing: border-box;
    color: #121F3D;
    font-size: 14px;
    text-align: right;
}

input[type="tel"],
input[type="email"] {
    text-align: left;
    direction: ltr;
}

button[type="submit"] {
    width: fit-content;
    background: #fff;
    font-size: 25px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    background-color: #FF4F32;
    padding: 5px 43px;
    border-radius: 23px;
    margin: 15px auto 0;
}

button:disabled {
    cursor: default;
}

input:disabled {
    opacity: 0.5;
}

select {
    width: 90%;
    height: 40px;
    padding: 0 12px 0 0;
    border-radius: 20px;
    box-sizing: border-box;
    color: rgba(0, 0, 0, 0.5);
    outline: 1px solid;
    border-left: 12px solid transparent;
}

select:focus {
  outline: 2px auto -webkit-focus-ring-color; /* Restores Chrome's native focus ring */
}

select:has(option:checked:not([value=""])) {
  color: #121F3D;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.error {
    position: absolute;
    bottom: 0;
    left: 50%;
    color: #fb8467;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: 600;
    background: #121c3e;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    padding: 0 10px;
    white-space: nowrap;
}

#wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#content {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding-top: 15px;
}

header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

header > img {
    width: 148px;
}

header > h1 {
    font-size: 34px;
    margin-top: 10px;
    line-height: 50px;
    letter-spacing: -1px;
    color: #5ECCB4;
}

header > h1 > span {
    display: block;
    font-size: 40px;
    line-height: 40px;
    color: #FF4F32;
    letter-spacing: -2px;
    font-weight: 700;
}

header > h2 {
    font-size: 26px;
    letter-spacing: -1px;
    line-height: 32px;
    margin-top: 10px;
}

#content > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 29px;
    margin-top: 30px;
}

#content > ul > li:not(:first-child) {
    border-right: 5px solid #FF4F32;
    padding-right: 29px;
}

#content > ul > li > img {
    height: 50px;
}

#content > ul > li > span {
    display: block;
    font-size: 33px;
    font-weight: bold;
}

#content > form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

#content > form > div {
    position: relative;
}

#content > form > div > p {
    font-size: 14px;
}

#newsletter-error {
    top: 100%;
}

#disclaimer {
    padding: 0 60px 20px;
    margin-top: auto;
    padding-top: 25px;
}

#disclaimer > p {
    font-size: 16px;
    line-height: 21px;
}

#thankyou {
    width: 490px;
    background: transparent url('../images/ty-background.png') center center no-repeat;
    background-size: cover;
    aspect-ratio: 489 / 287;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto 0;
}

#thankyou > p {
    font-size: 43px;
    line-height: 43px;
    font-weight: 600;
}

@media (max-width: 768px) {
    input:not([type="checkbox"]) {
        width: 85%;
        padding: 0 2.875vw;
        font-size: 3vw;
        height: 9vw;
        border-radius: 5vw;
    }

    select {
        width: 85%;
        height: 9vw;
        padding: 0 2.875vw 0 0;
        border-radius: 5vw;
        border-left: 2.875vw solid transparent;
        font-size: 3vw;
    }

    label:not(.sr-only) {
        font-size: 2.7vw;
    }

    label input {
        width: 3.656vw;
        height: 3.656vw;
        margin-left: 1.563vw;
    }

    .error {
        font-size: 2.7vw;
        border-top-right-radius: 1.563vw;
        border-top-left-radius: 1.563vw;
        padding: 0 1.563vw;
    }

    #content {
        max-width: none;
    }

    #content > img {
        width: 25.125vw;
    }

    #content > h1 {
        font-size: 6.5vw;
        margin-top: 3.938vw;
        line-height: 7.813vw;
    }

    #content > h1 > span {
        font-size: 6.438vw;
        letter-spacing: -0.313vw;
    }

    #content > h2 {
        font-size: 4.2vw;
        letter-spacing: -0.15vw;
        line-height: 5vw;
        margin-top: 1vw;
    }

    #content > ul {
        gap: 4.531vw;
        margin-top: 5.688vw;
    }

    #content > ul > li > img {
        height: 10.813vw;
    }

    #content > ul > li > span {
        font-size: 6.156vw;
    }

    #content > form {
        gap: 3.344vw;
        margin-top: 6.031vw;
        max-width: 95vw;
    }

    #content > form > div > p {
        font-size: 2.7vw;
    }

    button[type="submit"] {
        font-size: 4.906vw;
        padding: 0.781vw 6.719vw;
        border-radius: 4.594vw;
    }

    #disclaimer {
        padding: 0 9.375vw 3.125vw;
        margin-top: 9.063vw;
    }

    #disclaimer > p {
        font-size: 3vw;
        line-height: 4vw;
    }

    #thankyou {
        width: 76.563vw;
        margin: 6.25vw auto 0;
    }

    #thankyou > p {
        font-size: 6.719vw;
        line-height: 6.719vw;
    }
}