/* 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: "Orbitron", sans-serif;
    font-optical-sizing: auto;
    font-weight:900;
    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: #FCC737;
    background-image: url('/static/game/jyanken/moulin.png');
}

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


#start {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    z-index: 9;
    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: translate(-50%, -50%) scale(1.1);
}

#exectionBox {
    display: flex;
}
#timerBox {
    min-width: 10rem;
    text-align: right;
    background-color: white;
    padding: 10px 40px 10px 20px;
    border-radius: 10px;
    border: 3px solid #7E1891;
}
#timer {
    font-family: monospace;
    font-size: 2rem;
}
#questionNum {
    font-family: monospace;
    font-size: 1.5rem;
    margin-right:10px;
    align-self: center;
    min-width: 10rem;
    text-align: right;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    border: 3px solid #7E1891;
}
.popup {
    animation: popup-zoom 0.3s ease-out forwards;
}

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

@keyframes popup-zoom2 {
    from {
        transform: scale(5.5);
    }
    to {
        transform: scale(1.0);
    }
}
.questionBox {
    padding: 5px;
    background-color: #F5F0CD;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.rule {
    font-size: 2rem;
    margin-right:20px;
}
.question {
    margin: 4px;
    background-color: white;
    border-radius: 10px;
    border: 3px solid #7E1891;
    font-size: 3.5rem;
    display: inline-block;
    /* transform: rotate(180deg) scale(1.0); */
}
.answerBox {
    display: flex;
}
.answer {
    width: 100px;
    height: 100px;
    margin: 4px;
    border-radius: 10px;
    border: 3px solid #E73879;
    font-size: 3.5rem;
    display: inline-block;
    transition: transform 0.2s ease-in-out;
}
.answer:hover {
    transform: scale(1.1);
}
.set {
    position: relative;
    margin: 4px;
    display: inline-block;
}
.imgText {
    position: absolute;
    font-size: 1.2rem;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}