/*Background Assets Styling */

.menu{
  background-image: url('assets/menu_background.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  width: 99%;
  height: 100%;
}

.game_screen{
  background-image: url('assets/background.png');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}


.hide {
    display: none;
}

.show_disp{
    display: flex;
}

.main_game_screen{
    width: 99%;
    height: 100%;
}
/*Title Card*/
.title{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70vh;
}

.title_card{
    display: block;
    justify-content: center;
    align-items: center;
    height: 50vh;
}

.title_row_1{
    display: flex;
    margin: auto;
    align-items: center;
    justify-content: center;
    transform: rotate(2deg);
}

.title_row_2{
    margin-top: 10px;
}

/*Title Menu*/
.menu_bar{
    display: flex;
    margin-left: auto;
    margin-right: auto;
    width: 100vh;
}

.menu_bar button{
    height: 100px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    width: 500px;
    font-size: 60px;
    border: 5px solid #FFAB00;
    color: #FFAB00;
    background-color: transparent;
    cursor: pointer;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/*Game screen*/

/*Avatar elements*/
/*Animation*/
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes speechFade {
    from {opacity: 0.7; }
    to {opacity: 1; }
} 

.hans_avatar{
    display: flex;
    height: 100vh;
    width: 100vh;
}

.hans_avatar img{
    height: 40vh;
    margin-left: auto;
    margin-top: 57vh;
    /* Apply the animation */
    animation-name: fadeIn;
    animation-duration: 2s; /* Duration of the fade effect */
    animation-timing-function: ease-in;
    animation-fill-mode: forwards; /* Ensures the image stays visible after the animation */
}

.abi_avatar{
    display: flex;
    height: 100vh;
    width: 100vh;
}

.abi_avatar img{
    height: 40vh;
    margin-right: auto;
    margin-top: 57vh;
    /* Apply the animation */
    animation-name: fadeIn;
    animation-duration: 3s; /* Duration of the fade effect */
    animation-timing-function: ease-in;
    animation-fill-mode: forwards; /* Ensures the image stays visible after the animation */
}

/*Speech Bubbles*/
.speech_hans{
    display: flex;
    margin: auto;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 250px;
}

.speech_abi{
    display: flex;
    margin: auto;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 250px;
}

.bubble{
    border: 3px solid black;
    height: auto;
    width: auto;
    border-radius: 20px;
    font-size: 40px;
    background-color: blanchedalmond;
    animation-name: speechFade;
    animation-duration: 2s; /* Duration of the fade effect */
    animation-timing-function: ease-in;
    animation-fill-mode: forwards; /* Ensures the image stays visible after the animation */
}

/*Questions*/
.questions{
    height: 100vh;
    width: 60vh;
}

.ques_form{
    height: 60vh;
    width: 50vh;
    background-color: blanchedalmond;
    border: 2px solid black;
    border-radius: 20px;
    margin-top: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.next_button{
    display: flex;
    margin-top: 70vh;
    margin-left: auto;
    justify-content: center;
    align-items: center;
}

.next_button button{
    width: 100px;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
    background-color: #d2c202;
    border-radius: 40px;
    cursor: pointer;
}

.next_button button:hover{
    background-color: #706b30;
    color: white;
}

/*Next button with questions*/
.next_button_with_questions{
    display: flex;
    margin-top: 10vh;
    margin-left: auto;
    justify-content: center;
    align-items: center;
}

.next_button_with_questions button{
    width: 100px;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
    background-color: #d2c202;
    border-radius: 40px;
    cursor: pointer;
}

.next_button_with_questions button:hover{
    background-color: #706b30;
    color: white;
}

.ques_button{ 
    width: 30vh;
    height: 10vh;
    border-radius: 50px;
    margin-top: 3vh;
    cursor: pointer;
    border: 3px solid black;
    background-color: rgba(255, 235, 205, 0.884);
}

.ques_button:hover{
    background-color: rgba(252, 213, 154, 0.884);
}

.question_div{
    padding-left: auto;
    align-items: center;
    margin: auto;
    justify-content: center;
}

.button_div{
    display: grid;
    align-items: center;
    margin: auto;
    justify-content: center;
}

/*Game Over Screen*/
.game_over_screen{
    width: 100%;
    height: 100%;
}

.game_over_image{
    width: 100vh;
    height: 80vh;
    display: flex;
    margin: auto;
}

.over_title{
    display: flex;
    margin: auto;  
}

/*Back to main menu button*/
.main_menu_return{
    display: flex;
    margin: auto;
    width: 100vh;
}

.main_menu_return button{
    height: 100px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    width: 500px;
    font-size: 60px;
    border: 5px solid #FFAB00;
    color: #FFAB00;
    background-color: transparent;
    cursor: pointer;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}