* {
    margin: 0;
    padding: 0;
}

:root {
    --text-color: #dddddd;
}

body {
    background-color: #242226;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
}

h1 {
    padding: 12px 0;
    margin-bottom: 8px;
    text-align: center;
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    justify-content: center;
}

.card {
    border-radius: 8px;
    box-shadow: 2px 1px 14px rgb(255 255 255 / 0.5);
}

.warn-div {
    text-align: center;
    font-size: 24px;
    color: rgb(243, 129, 129);
}

#timer-container {
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}

.timer-list ul p {
    margin: 8px;
}

.timer {
    width: calc(100vw / 2);
    height: calc(100vh / 2);
    text-align: center;
    display: table;
    color: var(--text-color);
    position: relative;
}

.group-name {
    position: absolute;
    top: 8%;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    font-size: 80px;
}

.remain-time {
    display: table-cell;
    vertical-align: middle;
    font-size: 150px;
}

h2 {
    text-align: center;
    padding-top: 16px;
    padding-bottom: 16px;
}

.timer-list {
    text-align: center;
}

.timer-input {
    width: 50px;
    margin-right: 8px;
    font-size: 16px;
}

.timer-text {
    margin-right: 8px;
    font-size: 16px;
}

.button {
    padding: 4px 8px;
    font-size: 16px;
    border-radius: 8px;
    border: 0;
}

.button:hover {
    background-color: #aaa;
}

.time-config {
    padding: 8px;
}

.config-div {
    display: flex;
    width: min-content;
    margin: auto;
    justify-content: center;
}

header {
    text-align: center;
    margin-bottom: 16px;
}

.delete {
    margin-bottom: 16px;
}

#question {
    height: calc(100vh - 150px);
}

#question-buttons {
    display: flex;
    justify-content: space-between;
    margin: 0 12px;
}

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

.popup-err {
    border: 2px solid rgb(200, 100, 100);
    border-radius: 8px;
    padding: 8px;
    background-color: #242226;
}

.popup-success {
    border: 2px solid rgb(100, 200, 100);
    border-radius: 8px;
    padding: 8px;
    background-color: #242226;
}

#popup-msg {
    position: fixed;
    right: 12px;
    top: 12px;
}
