/* Andy Bell’s Modern CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

#root, #app {
  isolation: isolate;
}
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  font-weight: normal;
}




.g-font {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

body {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    background: #B1F0F7;
    background-image: url('/static/game/color/random-grey-variations.png');
}

.base {
    margin-top: 20px;
    padding: 20px 50px;
    background-color: #F5F0CD;
    border-radius: 10px;
    border: 5px solid #FADA7A;
}
.title {
    color: black;
    text-align: center;
    margin: 10px;
    font-size: 1.6rem;
}
h2 {
    font-size: 1rem;
}

table {
    border-collapse: collapse;
    table-layout: fixed;
    background-color: white;
    border: 2px solid #f0c36d;
    margin: 20px auto 0px auto;
}

table th,
table td {
    text-align: center;
    padding: 8px;
    border: 1px solid #f0c36d;
}

table th {
    background-color: #f9e79f;
    font-weight: bold;
}

#start {
    position: absolute;
    z-index: 9;
    margin: 10px;
    padding:5px 20px;
    border-radius: 10px;
    background-color: white;
    border-color: #FADA7A;
    font-size: 2rem;
    transition: transform 0.2s ease-in-out;
}
#start:hover {
    transform: scale(1.1);
}

#timerBox {
    min-width: 10rem;
    text-align: right;
    background-color: white;
    padding: 10px 40px 10px 20px;
    border-radius: 10px;
    border: 3px solid #FADA7A;
}
#timer {
    font-family: monospace;
    font-size: 2rem;
}
.popup {
    animation: popup-zoom 0.3s ease-out forwards;
}

@keyframes popup-zoom {
    from {
        transform: scale(1.5);
    }
    to {
        transform: scale(1.0);
    }
}
.popup2 {
    animation: popup-zoom2 0.5s ease-out forwards;
}

@keyframes popup-zoom2 {
    from {
        transform: scale(3.5);
    }
    to {
        transform: scale(1.0);
    }
}
.questionBox {
    padding: 5px;
    background-color: #F5F0CD;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rule {
    font-size: 2rem;
    margin-right:20px;
}
.question {
    margin: 4px;
    padding: 10px 15px;
    background-color: white;
    border-radius: 10px;
    border: 3px solid #FADA7A;
    font-size: 3.5rem;
    display: inline-block;
}

.answerBox {
    display:flex;
    justify-content: center;
    flex-wrap: wrap;
}
.circle {
    margin:10px 10px;
    width: 4rem;
    height: 4rem;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.2s ease-in-out;
}
.circle:hover {
    transform: scale(1.1);
}