/* Common */

* {
    box-sizing: border-box;
}

body {
    background-color: #005B5B;
}

.scene-object {
    transition: 1s linear top, 1s linear left, filter .5s;
    position: absolute;
    background-size: 100% 100%;
}

/* Main */

.main-container {
    width: 1280px;
    height: 720px;
    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    left: 50%;
    box-shadow: 0 0 0 5px black, 0 0 0 15px #d4cca3, 0 0 0 20px black;
    background-image: url('./assets/scene-1/background-scene-1.png');
    background-size: cover;
    overflow: hidden;
}

.quiz-container {
    width: 1280px;
    height: 720px;
    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    left: 50%;
    box-shadow: 0 0 0 5px black, 0 0 0 15px #d4cca3, 0 0 0 20px black;
    background-color: #FFF30C;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    display: none;
}

.tree {
    filter: brightness(1);
}

.tree:active {
    filter: brightness(0.6);
    transition: filter 0s;
}

.grass {
    filter: brightness(1);
    animation: grass-animation 2s linear infinite;
}

.grass:active {
    filter: brightness(0.6);
    transition: filter 0s;
}

@keyframes grass-animation {
    0% {
        transform: translateX(0px) skewX(0deg);
    }
    33% {
        transform: translateX(-5px) skewX(5deg);
    }
    67% {
        transform: translateX(5px) skewX(-5deg);
    }
    100% {
        transform: translateX(0px) skewX(0deg);
    }
}

.street-sign {
    filter: brightness(1);
}
.street-sign:active {
    filter: brightness(0.6);
    transition: filter 0s;
}

.main-area {
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-title {
    rotate: -7deg;
}

.game-title:active {
    rotate: 0deg;
    transition: rotate 0s;
}

.sun {
    filter: brightness(1);
}

.sun:active {
    filter: brightness(0.6);
    transition: filter 0s;
}

.moon {
    filter: brightness(1);
}

.moon:active {
    filter: brightness(0.6);
    transition: filter 0s;
}

.cloud {
    filter: brightness(1);
}

.cloud:active {
    filter: brightness(0.6);
    transition: filter 0s;
}

.full-screen-button {
    filter: brightness(1);
    cursor: pointer;
}

.full-screen-button:active {
    filter: brightness(0.6);
    transition: filter 0s;
}

.avatar {
    width: 48px;
    height: 94px;
    z-index: 99;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url('./assets/scene-1/avatar.png');
    background-size: 100% 100%;
}

.target-point {
    width: 20px;
    height: 20px;
    position: absolute;
    background: radial-gradient(circle, red, darkred);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.quiz-barrier {
    z-index: 999;
    cursor: pointer;
}

.quiz-area {
    font-family: Calibri;
    width: 1180px;
    height: 640px;
    background-color: #FFFFCC;
    border: 5px solid #663300;
    padding: 100px;
}

.quiz-title-img {
    width: 445px;
    height: 82px;
    position: absolute;
    top: 20px;
    left: 15px;
    rotate: -5deg;
    background-image: url('./assets/quiz-title.png');
    background-size: 100% 100%;
    z-index: 2;
}

.quiz-close-button {
    width: 87px;
    height: 87px;
    z-index: 99;
    background-image: url('./assets/close-button.png');
    position: absolute;
    top: 0;
    left: 1184px;
    background-size: 100% 100%;
    cursor: pointer;
}

.quiz-left-corner {
    position: absolute;
    top: 550px;
    left: 25px;
    width: 145px;
    height: 155px;
    background-image: url('./assets/corner.png');
    background-size: 100% 100%;
    z-index: 3;
}

.quiz-right-corner {
    position: absolute;
    top: 559px;
    left: 1100px;
    width: 155px;
    height: 145px;
    background-image: url('./assets/corner.png');
    background-size: 100% 100%;
    transform: scaleX(-1);
    z-index: 4;
}

.quiz-title {
    font-weight: bold;
    font-size: 24px;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.quiz-option {
    width: 100%;
    height: 100px;
    background-color: #FFF30C;
    color: #663300;
    border: 5px solid #663300;
    border-radius: 20px;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    user-select: none;
}

.quiz-option::before {
    width: 0;
    height: 10px;
    background-color: #653300;
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    pointer-events: none;
    transition: .2s linear;
}

.quiz-option:hover::before {
    width: 100%;
}

.parallax-box {
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1800px;
}

.white-circle {
    border-radius: 50%;
    width: 145px;
    height: 145px;
    background-color: rgba(255, 255, 255, .5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.parallax-text {
    font-weight: bold;
}