﻿
/* Modal backdrop */

.modal {
    display: none;   
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: visible;  
    background-color: rgba(0, 0, 0, 0.5); 
}

/* Modal content */
.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 8px;
    width: 45%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: visible;
    margin-top: 4%;
    max-height: 72%;

}


/* Close button */
.closemodal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

    .closemodal:hover,
    .closemodal:focus {
        color: #000;
        text-decoration: none;
    }

.btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.btn:hover {
    background-color: #45a049;
}
#Close_Modal:hover{
    color:rgba(0, 0, 0, 0.5);
}
#qrCodeContainer {
    width: 77%;
    text-align: center;
}
.QrImg {
    max-width: 59%;
    margin-left: 120px;
}
.Textlineone {
    font-size: 25px;
    padding-left: 115px;
    font-family: serif;
    margin-left: 12%;
}
.Textlinetwo {
    font-size: 24px;
    padding-left: 15px;
    font-family: serif;
    margin-left: 25%;
}
.Textlinethree {
    font-size: 24px;
    padding-left: 2px;
    font-family: serif;
    margin-left: 30%;
}
.Textlinefour {
    font-size: 24px;
    font-family: serif;
    margin-left: 38%;
}
.qrdisplaytext {
    font-size: 1rem; 
    text-align: end;
    color: black;
    font-weight: normal;
}

.rotate-text {
    transform: rotate(270deg);
    position: absolute;
    bottom: 12rem;
    right: 25rem;
    font-size: 1rem;
    color: black;
    font-weight: normal;
}

/* Responsive Adjustments */
@media (max-height: 72%) {
    .qrdisplaytext {
        font-size: 0.9rem;
        margin-top: 1rem;
    }
    .rotate-text {
        bottom: 25rem;
    }
}



