body {
    text-align: center;
    background-color: black;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
}

.game {
    display: flex;
    flex-direction: column;
    width: 800px;
    height: 500px;
    margin: auto;
    background: url(img/background.png) center/cover;
    border-radius: 20px;
}

.game__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.game__button {
    width: 60px;
    height: 60px;
    background-color: wheat;
    border: 4px solid black;
    font-size: 24px;
    transition: transform 300ms ease-in;
}

.game__button:hover {
    transform: scale(1.1);
}

.game__timer {
    width: 100px;
    background-color: white;
    text-align: center;
    border: 5px solid black;
    border-radius: 20px;
    font-size: 32px;
    margin-top: 8px;
    visibility: hidden;
    user-select: none;
    cursor: auto;
}

.game__score {
    text-align: center;
    width: 50px;
    height: 50px;
    line-height: 130%;
    margin-top: 8px;
    font-size: 35px;
    border-radius: 50%;
    border: 3px solid black;
    background-color: darksalmon;
    color: white;
    visibility: hidden;
    user-select: none;
    cursor: auto;
}

.game__field {
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: 40px;
}

.pop-up {
    /* block이 기본값이라 안써줘도 됌 */
    display: block;
    width: 400px;
    height: 140px;
    margin: auto;
    padding: 20px;
    background-color: #00000090;
    border-radius: 20px;
    color: white;
    text-align: center;
    transform: translateY(-145%);
}

.pop-up--hide {
    display: none;
}

.pop-up__refresh {
    width: 60px;
    height: 60px;
    font-size: 24px;
    background-color: wheat;
    border: 2px solid black;
    border-radius: 50%;
}

.pop-up__message {
    display: block;
    font-size: 38px;
}

.carrot, .bug {
    transition: transform 100ms ease-in;
}

.carrot:hover, .bug:hover {
    transform: scale(1.1);
    cursor: pointer;
}