body,
html {
    height: 100vh;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../img/bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* overflow-y:hidden; */
    background-attachment: fixed;
}

.splash-screen {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    width: 50%;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    animation: fadeOut 3s ease-in-out forwards;
}
.page-h{
    width: 80%;
    display: block;
}
.gift-image{
    height: 34%;
    margin-bottom: 53px;
}
/* From Uiverse.io by faxriddin20 */
.slider {
    background-color: #ccc;
    border-radius: 100px;
    padding: 1px;
    margin: 10px;
    cursor: pointer;
    transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0s;
    align-items: center;
    position: relative;
    display: block;
    width: 46px;
    height: 22px;
}

.slider::after {
    content: "";
    display: flex;
    top: 1px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: #f0272a;
    border-radius: 200px;
    position: absolute;
    box-shadow: transparent 0px 0px 0px 2px, rgba(0, 0, 0, 0.3) 0px 6px 6px;
    transition: left 300ms cubic-bezier(0.4, 0, 0.2, 1) 0s,
    background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0s;
    will-change: left, background-color;
}

.switch input[type="checkbox"]:checked + .slider {
}

.switch input[type="checkbox"]:checked + .slider::after {
    left: 24px; /* This makes the slider move */
}

.switch input[type="checkbox"] {
    display: none;
}

.switch {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: red;
}

.switch-en {
    flex-direction: none;
}

.switch-ar {
    flex-direction: row-reverse;
}

.language {
    color: #F0272A;
}
.main-content {
    display: none;
    text-align: center;
    width: 305px;
    height: -webkit-fill-available;
}
.banner-form{
    margin-top: 9%;
    padding-bottom: 10%;
}
.banner-form img {
    width: 100%;
    border-radius: 10px 10px 0px 0px;
}
.form{
    background: white;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0px 0px 10px 10px;
}
.form h2 {
    margin-bottom: 5px;
    font-size: 20px;
    font-weight: bold;
}
.form h3 {
    margin-bottom: 0px;
    font-size: 16.68px;
    font-weight: 600;
}
.input-group textarea {
    width: 100%;
    font-size: 14px;
    padding: 10px 10px 10px 40px;
    border: none;
    resize: none;
}
.error-message {
    color: red;
    font-size: 14px;
    display: none;
}
.upload-container {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}
.upload-box {
    width: 49%;
    padding: 11px;
    border: 1px solid #A8A8A8;
    text-align: center;
    cursor: pointer;
    position: relative;
    border-radius: 5px;
}
.upload-box img {
    width: 100%;
    border-radius: 5px;
    display: none;
}
.upload-box .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 15%;
    height: 8%;
    font-size: 14px;
    cursor: pointer;
    display: none;
}
.upload-box.disabled {
    background: #ddd;
    pointer-events: none;
}
.submit-btn {
    background: #ffcc00;
    padding: 10px;
    border: none;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
}
input::placeholder, textarea::placeholder {
    color: red;
    opacity: 1;
}
label {
    display: flex;
    margin: 0;
    padding: 0;
}
.error {
    color: #c40a0a;
    font-size: 12px;
    /*display: none;*/
}
.input-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    border: 1px solid #ccc;
    padding: 5px;
    background: #fff;
    margin-bottom: 16px !important;
}

.form-input svg {
    position: absolute;
    left: 10px;
    width: 20px;
    height: 20px;
}

.form-ar .form-input svg {
    right: 10px;
    left: 0;
}
.input-group input {
    width: 100%;
    padding: 6px 10px 3px 40px;
    border: none;
    outline: none;
    font-size: 12px;
}

.form-ar .form-input input,
.form-ar .form-input textarea {
    padding: 6px 40px 3px 10px;
}

.content-image{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.content-image p{
    color: #636363;
    font-size: 9.53px;
}
.content-image-gallery{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.content-image-gallery p{
    color: #636363;
    font-size: 9.53px;
}
.thankyou-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    justify-content: space-between;
    padding-bottom: 15%;
}
.win-gift{
    width: 88%;
}
.logo-second {
    /* position: absolute; */
    top: 0;
    left: 50%;
    /* transform: translateX(-50%); */
    /* z-index: 1000; */
}

@media (max-width: 768px) {
    .upload-box .remove-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    .page-logo {
        width: 50%;
    }
    .splash-screen {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        height: 100vh;
        width: 90%;
        position: fixed;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        animation: fadeOut 3s ease-in-out forwards;
    }
}

@media (max-width: 480px) {
    .upload-box .remove-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    .page-logo {
        width: 64%;
    }
    .splash-screen {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        height: 100vh;
        width: 90%;
        position: fixed;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        animation: fadeOut 3s ease-in-out forwards;
    }

}
.form-input-outer{
    margin-bottom: 8px;
}
.form-input-outer .form-input{
    position: relative;
    width: 100%;
}
.form-input input, .form-input textarea{
    padding: 5px 5px 5px 45px;
    width: 100%;
    height: 38px;
    font-size: 12px;
    margin-bottom: 2px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.form-input textarea{
    height: 60px;
}
.form-input svg{
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}
.form-input.form-textarea svg{
    top: 30%;
}
.form-input label{
    display: none;
    font-size: 12px;
}
.privicy{
    background: #fff;
}
.privacy-policy a{
    font-size: 13px;
    color: red;
    font-weight: bold;
    text-decoration: none;
}