.bubble {
    position: absolute;
    border: 10px solid black;
    border-radius: 20px;
    height: fit-content;
    background-color: white;
    color: black;
    padding: 2px 10px;
    width:  80%;
    font-size: 3vh;
    user-select: none;
}
button {
    background-color: transparent ;
    border: none ;
}

.correct {
    border: 5px solid green ;
    background-color: lightgreen;
}
#credits {
    position: absolute ;
    width: min(50vw,120px) ;
    top: 74vh ;
    left: 10vw;
    z-index: 2;
}
#dialog-box {
    width: 25%;
    height: auto;
    font-size: 2vh;
    display: flex;
    flex-direction: column;
    padding: 1vmin;
}
/* STYLE FOR DIALOG BOX AT END OF ASSESSMENT */
.dialog-box-end {
    border: 5px solid black ;
    background-color: white;
}

#dialog-frame {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.footer { height: 10vh;}
.header { height: 5vh;}
#hint {
    position: absolute;
    font-size: 5vh ;
    max-width: 10vw ;
    right:0 ;
    top:0 ;
    z-index: 5;
}
 .hint{
    position: absolute;
    font-size: 1.5em ;
    max-width: 100px ;
    right:0 ;
    top:0 ;
    z-index: 5;
}
.incorrect {
    border: 5px dotted red ;
    background-color: lightcoral;
}
#instructions {
    display: flex;
    width: 70%;
    justify-content: center;
    font-size: 3vh;
    margin-left: max(72px,7vw) ;
}
#instructions1 {
    position: absolute ;
    top: 30% ;
    left: 18%;
    width: 70%;
    z-index: 10;
}

/* Buttons to change language from English and back again */

#lang , #lang1button , #lang2button {
    width: fit-content;
    padding: 3px ;
    height: fit-content;
}

#main { height: 88vh; }
#next {font-size: 5vh ;
}
#play-audio {
    background-color: transparent;
    font-size: 2em;
    width: max(50px,6%) ;
}

#play_button , #play {
    width: min(200px,18%);
    height: min(70px,9%);
}
#play_button  {
    position: absolute ;
    bottom: 20% ;
    left: 40% ;
}
.white {
    background-color: whitesmoke;
    border: 1px solid black ;
}
#wrapper {
    position: relative;
    margin-top: 3vh;

}


/* Styles for dialog.js */
.dialog7gen_holder {
    position: absolute;
    left: 0;
    top: 0;
    width: 90vw;
    height: 90vh;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

.dialog7gen {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width:50%;
    min-height: 20%;
    border: black 5px solid;
    padding: 5px;
    background-color: white;
    user-select: none;
}

.okbuttonrow {
    display: flex;
    flex-direction: row;
    justify-content: right;
    padding: 5px;
}

