/* quiz.css */
body {
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-top: 20px;
}

p {
    text-align: center;
    color: #555;
}

.content {
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.question {
    font-weight: bold;
    margin-bottom: 10px;
    color: #34495e;
}

.answer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.answer label {
    flex: 1 1 45%;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #ecf0f1;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.answer label:hover {
    background-color: #bdc3c7;
}

.answer input[type="radio"] {
    margin-left: 10px;
}

button {
    display: block;
    width: 150px;
    margin: 20px auto;
    padding: 10px 0;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #2ecc71;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.backbtn
{
    width: 50px;
    height: 50px;
    margin:  20px;
}
button:hover {
    background-color: #27ae60;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform:translate(-50%,-50%);
    display: none;
}
.popup-content{
    
    position: relative;
    width: 400px;
    height: 400px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    box-shadow: 0 5px 15px rgba(0,0,0,22%);
}
.contentbox{
    position: relative;
    width: 300px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.closebtn{
    top:20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #fff url(assets/close.png);
    background-repeat: no-repeat;
    background-size: 10px;
    background-position: center;
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
}
.qr{
    width: 100px;
    height: 100px;
}
.helpline
{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.help p
{
    margin-top: 2px;
}

/* Responsive Styles */
@media (max-width: 600px) {
    .answer label {
        flex: 1 1 100%;
    }

    button {
        width: 100%;
        padding: 15px 0;
    }
}
@media (max-width: 992px) {
    .popup-content{
        display: flex;
        flex-direction: column;
        width: fit-content;
        height: fit-content;
        text-align: center;

    }
}