* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* font-family: Arial, sans-serif; */
    font-family: 'Times New Roman', Times, serif;
    display: flex;

    justify-content: center;
    align-items: center;
    height: 120vh;
    background-color: #f4f4f4;
}

.container {
    display: flex;
    width: 80%;
    max-width: 800px;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar {
    /* width: 250px; */
     display: flex;
    flex-direction: column; 
    width: 120px;
   /* width: 50px; */
    background: #9c9494;
    color: white;
    padding: 15px;
}

.sidebar h3,
.sidebar h4 {
    margin-bottom: 10px;
}

.sidebar label {
    /* display: block; */
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
    cursor: pointer;
}

.sidebar input {
    margin-right: 5px;
}

.content {
    flex-grow: 1;
    padding: 20px;
    text-align: center;
}

iframe {
    width: 100%;
    height: 400px;
    border: none;
    background: #fff;
}

#nextProblem {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 16px;
    background: #28a745;
    color: white;
    border: none;
    cursor: pointer;
}

#nextProblem:hover {
    background: #218838;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        text-align: center;
    }

    iframe {
        height: 300px;
    }
}