

@font-face {
    font-family: 'Dubai-Light';
    font-style: normal;
    font-weight: 300;
    src: url('../font/Dubai-Light.ttf') format('truetype');
}
@font-face {
    font-family: 'Dubai-Regular';
    font-style: normal;
    font-weight: 400;
    src: url('../font/Dubai-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Dubai-Medium';
    font-style: normal;
    font-weight: 500;
    src: url('../font/Dubai-Medium.ttf') format('truetype');
}
@font-face {
    font-family: 'Dubai-Bold';
    font-style: normal;
    font-weight: 700;
    src: url('../font/Dubai-Bold.ttf') format('truetype');
}
body {
    font-family: 'Dubai-Regular', sans-serif;
    margin-bottom: 200px;
    height: 100dvh;
    padding: 0;
}


.image-container {
    position: relative;
    max-width: 828px;
    width: 820px;
    margin: auto;
}
.image-container-content {
    position: absolute;
    left: 179px;
    width: 72.5%;
    height: 100%;
    margin: auto;
}

.image-container #main-image {
    position: absolute;
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    min-width: 789px;
}
.image-container #main-image-without-dimension {
    position: absolute;
    display: none;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    min-width: 789px;
}

.logo-upload {
    display: none;
}

#logo-upload-label {
    font-size: 15px;
    background-color: #499f9a;
    font-family: "Dubai-Bold", sans-serif;
    color: white;
    text-transform: uppercase;
    cursor: pointer;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    border-color: transparent !important;
    margin-bottom: 5px;
    gap:10px;
    width: 20rem;
}

#download-pdf, #eraser {
    margin-top: 1rem;
    border-radius: 5px;
    padding: 8px 15px;
    width: max-content;
}

#logo-preview-one, #logo-preview-two, #logo-preview-three {
    height: 100%;
}

#preview-container-one, #preview-container-two, #preview-container-three {
    opacity: 0;
    height: 85%;
    max-height: 85%;
}

#preview-container-two {
    height: 75%;
    max-height: 75%;
}

#preview-container-three {
    height: 62.5%;
    max-height: 62.5%;
}


#government-of-dubai-logo-one, #government-of-dubai-logo-two, #government-of-dubai-logo-three {
    max-width: 100%;
    height: 100%;
    max-height: 50px;
    /*position: absolute;*/
    top: -6px;
}

#image-overlay-one, #image-overlay-two, #image-overlay-three {
    position: absolute;
    display: flex;
    top: 88.5px;
    margin: auto;
    width: 100%;
    padding: 0 36px;
    height: 49px;
    z-index: 1;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
}

#image-overlay-two {
    top: 300.5px;
}
#image-overlay-three {
    top: 535.5px;
}
#image-text-overlay-one, #image-text-overlay-two, #image-text-overlay-three {
    position: absolute;
    top: 170.5px;
    /* left: 149px; */
    right: 0;
    /* margin: 0 28px; */
    z-index: 1;
    width: 100%;
    opacity: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

#image-text-overlay-two {
    top: 384px;
}
#image-text-overlay-three {
    top: 620px;
}


.image-text-rtl{
    font-size: 0.8rem;
    display: block;
    text-align: end;
}
.image-text-ltr{
    font-size: 0.8rem;
    display: block;
    text-align: start;
}

.upload-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.reset-container{
    display: flex;
    justify-content: center;
    gap: 20px;
}

.instructions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 30px 0;
    background-color: rgb(0 0 0 / 5%);
    gap: 10px;
    margin-bottom: 30px;
    text-wrap: nowrap;
}

.instructions h6 {
    text-decoration: underline;
}

.instructions .header {
    font-family: "Dubai-Bold", sans-serif;
    font-size: 30px;
    color: rgb(0 0 0 );
}
.header-group{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 80%;
}
.header-group-rtl{
    text-align: right;
}
.header-group-ltr{
    text-align: left;

}

.instructions .sub-header {
    font-size: 12px;
    color: rgb(0 0 0 / 70%);
}

.instructions .helper-text {
    font-size: 12px;
    color: rgb(0 0 0 / 60%);
}

.helper-text-group{
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    width: 20rem;
}

@media print {
    .no-print {
        display: none;
    }
}
@media print {
    .no-print {
        display: none;
    }
}

@media (max-width: 1280px) {
    .header-group{
        grid-template-columns: 1fr;
        gap:20px;
        align-items: center;
    }
    .header-group >:nth-child(1) { order: 1; text-align: center}
    .header-group >:nth-child(2) { order: 3; text-align: center}
    .header-group >:nth-child(3) { order: 2; text-align: center}
}



