body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    padding: 2em;
    color: #333;
    background-image: url('../images/background.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    overflow:hidden;
  }


  
#media-container {
  display: flex;
  justify-content: center;  /* center horizontally */
  align-items: center;      /* center vertically */
  margin: 20px auto;
  min-height: 70vh;         /* ensures vertical space */
} 
#game-container {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.6) 69%, rgba(0, 0, 0, 0.9) 100%);
    margin: auto;
    position: absolute;
    width: 94%;
    left: 0px;
    bottom: 0px;
    height: 96%;
    display: flex;
    align-items: center;
    flex-direction: column;
    color: white;
    justify-content: flex-end;
    padding: 2% 3%;
}

#npc-container {
  display: flex;
  /* justify-content: center;   /* side by side */
}

#dialogue-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: x-large;
    font-weight: 500;
    margin: 20px;
}
  button, input {
    width: 100%;
    height: 80px;
    margin: 5px;
    border-radius: 10px;
    background-color: #f3f3f3;
    font-family: "Jua", sans-serif;
    font-size: 20px;
  }

button {
    width: 100%;
    height: 70px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(to right, #77530a, #ffd277, #77530a, #77530a, #ffd277, #77530a);
    background-size: 150%;
    background-position: left;
    color: #ffd277;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition-duration: 1s;
    overflow: hidden;
}

    button::before {
        position: absolute;
        content: attr(data-text);
        color: #ffd277;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 98%;
        height: 90%;
        border-radius: 8px;
        transition-duration: 1s;
        background-color: rgba(0, 0, 0, 0.842);
        background-size: 200%;
        font-size: 18px;
    }

    button:hover {
        background-position: right;
        transition-duration: 1s;
    }

        button:hover::before {
            background-position: right;
            transition-duration: 1s;
        }

    button:active {
        transform: scale(0.95);
    }

#choices-container {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    width: 100%;
    gap: 15px;
}

.cta, .cta svg {
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .cta:hover svg {
        margin-right: 5px;
        transition: all 0.2s ease;
    }

::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar {
    width: 5px;
    background-color: #F5F5F5;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #D62929;
    background-image: -webkit-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.4) 50%, transparent, transparent)
}



.cta, .cta svg {
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .cta:hover svg {
        margin-right: 5px;
        transition: all 0.2s ease;
    }
