
body {
    font-family: arial;
}

.modal {
    display: none;
    position: fixed;
    z-index: 50;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.voucher {
    margin: auto;
    display: flex;
    background-color: white;
    position: relative;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.voucher-left {
    width: 25%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.logo-section {
    background-color: #857550;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.logo-section img {
    width: 50px;
    height: 50px;
}

.signature-section {
    background-color: white;
    /* White background */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Divider with dotted line */
.divider {
    width: 2px;
    background: repeating-linear-gradient(white 0px,
            white 10px,
            #9B9B9B 10px,
            #9B9B9B 20px);
    position: relative;
}

.divider::before,
.divider::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 2px dashed #ccc;
    z-index: 1;
    border-radius: 50%;
}

.divider::before {
    top: -10px;
    left: -10px;
}

.divider::after {
    bottom: -10px;
    left: -10px;
}

/* Right section */
.voucher-right {
    width: 75%;
    display: flex;
    flex-direction: column;
}


.voucher-body {
    background-color: white;
    /* White background */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}



/* mobile */
@media only screen and (max-width: 767px) {
    .reminder_txt {
        margin: auto;
        padding-top: 1.5rem;
        text-align: center;
    }

    .signature-text {
        font-size: 12px;
        font-weight: bold;
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        color: #333;
    }

    .voucher-header {
        background-color: #857550;
        height: 4.5rem;
        font-size: 16px;
        font-weight: bold;
        color: white;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .voucher-body p {
        font-size: 12px;
        color: black;
        margin: 0;
    }

    .modal-content {
        background-color: #fefefe;
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
    }

    div.the_wheel {
        background-image: url(./wheel_phone.png);
        background-position: center;
        background-repeat: no-repeat;
        width: fit-content;

    }

    .spin_body {
        background-image: url(./back_phone.png);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        text-align: center;
	height: 90vh;
    	background-attachment: fixed;
	overflow: hidden;
    }

    .title_txt {
        color: #FFFFFF;
        padding: 1rem 0rem;
        font-size: 1.5em;
        font-weight: bold;
    }

    .pin {
        content: url("./pin_2.png");
        position: absolute;
        top: 8rem;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
    }

    .spin_count {
        color: #FFFFFF;
        font-size: 1.17em;
        font-weight: bold;
    }

    .spin_btn {
        font-size: 1.3em;
        font-weight: 700;
        padding: 1rem 0rem;
        text-align: center;
        cursor: pointer;
        background-color: #30373E;
        color: #FFFFFF;
        border-radius: 2rem;
        margin: auto;
    }
}

/* web */
@media only screen and (min-width: 768px) {
    .reminder_txt {
        margin: auto;
        padding-top: 1.5rem;
        text-align: center;
    }

    .signature-text {
        font-size: 16px;
        font-weight: bold;
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        color: #333;
    }

    .voucher-header {
        background-color: #857550;
        height: 4.5rem;
        font-size: 32px;
        font-weight: bold;
        color: white;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .voucher-body p {
        font-size: 18px;
        color: black;
        margin: 0;
    }

    .modal-content {
        background-color: #fefefe;
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 60%;
    }

    div.the_wheel {
        background-image: url(./wheel_web.png);
        background-position: center;
        background-repeat: no-repeat;
        width: fit-content;

    }

    .spin_body {
        background-image: url(./back_web.png);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        text-align: center;
    }

    .title_txt {
        color: #FFFFFF;
        padding: 1rem 0rem;
        font-size: 1.5em;
        font-weight: bold;
    }

    .pin {
        content: url("./pin.png");
        position: absolute;
        top: 8.5rem;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
    }

    .spin_count {
        color: #FFFFFF;
        font-size: 1.17em;
        font-weight: bold;
    }

    .spin_btn {
        font-size: 1.3em;
        font-weight: 700;
        padding: 1rem 0rem;
        text-align: center;
        cursor: pointer;
        background-color: #30373E;
        color: #FFFFFF;
        border-radius: 2rem;
        width: 25em;
        margin: auto;
    }
}


