/* Reset */
html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Welcome Screen */
#start-screen {
    background: url(./img/bg_image1.jpg) center/cover no-repeat;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Typography */
h1 {
    text-align: center;
    padding-top: 250px;
    font-weight: 900;
    text-shadow: 3px 3px 10px rgba(0, 50, 0, 0.8);
    color: black;
}

p {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: black;
}

/* Buttons */
button {
    background-color: #815124;
    border: none;
    border-radius: 10px;
    padding: 1rem;
    color: white;
    font-size: 1rem;
    cursor: pointer;
}

button:hover {
    box-shadow: 8px 8px 5px rgb(160, 209, 161);
    transition: 1s;
    background-color: green;
}

/* Game Screen */
.hidden {
    display: none !important;
}

#game-screen {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    font-family: 'Papyrus', cursive;
    color: black;
}

#game-screen h1{
    text-align: center;
    padding-top: 150px;
}

#game-screen p{
    text-align: center;
    font-size: 1.25rem;
}

/* Background Video */
#video-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Inputs & Buttons */
#input_guess, #check-guess, #play-again {
    font-size: medium;
    padding: 0.5rem;
    border: 2px solid green;
    border-radius: 10px;
    color: #F4E4C1;
    background-color: #2E8B57;
}

#input_guess {
    width: 9rem;
    margin-left: 40%;
}

/* Placeholder Color */
input::placeholder {
    color: #FFD700;
    opacity: 0.8;
}

/* Button Hover Effects */
#check-guess:hover, #play-again:hover {
    background-color: #DAA520;
    border: none;
    box-shadow: 0 0 10px #DAA520;
    transform: scale(1.08);
}

#play-again{
    margin-left: 42%;
}

/* Flower Shower */
#flower-shower {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 1000;
}

.flower {
    position: absolute;
    width: 50px;
    height: 50px;
    background: url('./img/flower.png') center/contain no-repeat transparent;
    opacity: 1;
    animation: fall 5s linear forwards;
}

@keyframes fall {
    0% { transform: translateY(-10vh) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}


