


body{
    margin:0;
    font-family:system-ui, Arial;
    background:hsl(216, 19%, 5%);
    color:#e8eef5;
    overflow: hidden;
}


/* START SCREEN */

#startScreen{
    width:100vw;
    height: 100vh;
    background-image:url("images/normal_house2.png");
    background-size:cover;
    background-position:center;
    text-align:center;
    padding-top:100px;
}

#gameName{
    width: fit-content;
    margin: auto;
    border-radius: 25pt;
    padding: 5px;
    color:#69863a;
    background:#eecda882;
    font-size:4rem;
}

#councilBudget{
    color:#ffffff;
    background:#0c417e57;
    max-width:250px;
    font-size:1.25rem;
}

#houseBudget{
    color:#ffffff;
    background:#5c370c73;
    max-width:250px;
    font-size:1.25rem;
}
.gameDescription{
    font-size:1.4rem;
    max-width:700px;
    margin:40px auto;
    background:#eecda886;
    color:black;
    padding:20px;
    border-radius:10px;
}

.startButton{
    padding:15px 40px;
    font-size:1.8rem;
    border:none;
    border-radius:20px;
    background:#4b2807;
    color:white;
    cursor:pointer;
}

.startButton:hover{
    background:#633a14;
}


/* GAME LAYOUT */

#game{
    width:100%;
}

#scenery{
    width:100%;
    height:70vh;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    position:relative;
}

/*Clickable areas of the background*/
.clickHere{
    position:absolute;
    cursor: pointer;
    border: 2px dashed #0dc4818f;
}

.clickHere:hover{
    border: 2px solid #c40d0d8f;
}

/* UI AREA */

#ui{
    padding:10px;
}


/* DIALOGUE BOX */

#dialogueBox{
    width:80%;
    margin:auto;
    background:#000000bf;
    padding-bottom: 20px;
    padding-right: 20px;
    border-radius:10px;
    font-size:1.5rem;
}

#speaker{
    font-style: italic;

    font-size:1.8rem;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
    background: #b8966f3d;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;


}

#dialogue{
    padding-left: 20px;
}
#clickable{
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
}


.popup{
    visibility: hidden;
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000099;
    display:flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup.show{
    visibility: visible;
    animation: fadeIn 0.3s;
}

.popupBox{
    background: #ffffff;
    color: #000000;
    padding: 25px;
    border-radius: 10px;
    max-width: 500px;
    text-align: center;
}

.popupBox button{
    margin-top: 15px;
    padding: 10px 20px;
    border: none; 
    border-radius: 8px;
    background: #69863a;
    color: #e8eef5;
    cursor: pointer;
}

.popupBox button:hover{
    background: #2f3a1d;
}
/* NEXT BUTTON */

.nextButton{
    display:block;
    margin:8px auto;
    margin-right: 30px;
    padding:12px 30px;
    font-size:1.2rem;
    border:none;
    border-radius:10px;
    background:#69863a;
    color:white;
    cursor:pointer;
}

.nextButton:hover{
    background:#2f3a1d;
}


/* CHOICE BUTTONS */

#choices{
    text-align:center;
}

#choices button{
    margin:10px;
    padding:10px 20px;
    font-size:1rem;
    border:none;
    border-radius:10px;
    background:#4b2807;
    color:white;
    cursor:pointer;
}

#choices button:hover{
    background:#633a14;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}