* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #c0c0c0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

#main {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    max-width: 900px;
}

#canvas-container {
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    overflow: hidden;
}


#canvas {
    border: 3px solid black;
    border-style: inset;
    cursor: pointer;
    background-color: #c0c0c0;
}

.box {
    display: flex;
    flex-direction: column;
    width: 180px;
    padding: 15px;
    background-color: #b2b2b2;
    border: 3px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    min-height: 200px;
}

.radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 12px;
    position: relative;
}

.radio input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #808080;
    border-radius: 50%;
    background-color: #d9d9d9;
}

.radio input[type="radio"]:checked {
    background-color: #336699;
    border: 2px solid #d9d9d9;
}

.radio label {
    cursor: pointer;
    font-size: 14px;
}

.button {
    margin-top: 15px;
    padding: 8px 15px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    border: 3px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    background-color: #b2b2b2;
    color: #000;
    transition: all 0.1s;
}

.button:hover {
    background-color: #c2c2c2;
}

.button:active {
    border-color: #808080 #ffffff #ffffff #808080;
    background-color: #a0a0a0;
}

@media (max-width: 768px) {
    #main {
        flex-direction: column;
        align-items: center;
    }

    .box {
        width: 512px;
        margin-bottom: 15px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .radio {
        margin-right: 15px;
    }

    .button {
        margin-top: 0;
    }
}

#status {
    align-items: center;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    padding: 15px;
    border: 4px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    background-color: #a0a0a0;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
    min-height: auto;
}

#remaining {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    color: #333;
    padding: 10px 15px;
    margin-top: 10px;
    background: #b2b2b2;
    border: 3px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    min-width: 100px;
}

#remaining i {
    margin-left: 8px;
    font-size: 24px;
    color: black;
}
#audio-controls {
    margin-top: 15px;
    display: flex;
    justify-content: center;
}

#mute-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

#mute-button i {
    font-size: 18px;
}