html {
    font-size: 10px;
    font-family: mondia,helvetica,arial,sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100vh;
    background-color: #fffced;
    margin:0px;
} 

@font-face {
    font-family: mondia;
    src: url(font/Mondia.otf);
}

.logoIMG {
    width:44%;
   margin-bottom: 20px;
   
} 

.logo {
    height: 13%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    text-align: center;
}

.bgContent{
    background-image: url(img/background.jpg);
    background-size: cover;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16px;
   
}

.bgContent2{
    justify-content:center ;
}

.bgContent .welcome {
    font-size: 40px;
   margin-top: 230px; 
    margin-bottom: 0px;
}

.bgContent > :nth-child(2) {
    text-align: center;
    width: 280px;
    margin-bottom: 50px;
}

.bgContent > :nth-child(3) {
    padding:12px 30px;
}

.bgContent2 .qhistory {
    margin-top: auto;
    margin-bottom: 20px;
}

.formBox {
    background-color: #fffced;
    width: 322px;
    height: fit-content;
    margin-top: 43px;
    box-shadow: 0px 13px 12.9px 0px rgba(0, 0, 0, 0.10);
    padding: 10px;
}

.formBox > :nth-child(1){
    text-align: center;
    font-size: 2.4rem;
    margin: 30px 0 15px 0;
}

.formBox > :nth-child(2){
    font-size: 1.3rem;
    margin: 0px 0;
}

.formBox > form {
    margin: 10px 0;
}

form > input{
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    font-family: inherit;
    margin: 10px 0;
    border: 1px solid grey;
}

.linkR {
    display: block;
    text-align: right;
}

input[type=submit]  { 
    background-color: black;
    color: white;
    text-decoration: none;
    font-family: inherit;
}

a{
    font-family: inherit;
    color: black;
   
}

button{ 
    background-color: black;
    padding: 10px;
    font-family: inherit;
}

button>a { 
    color: white;
    text-decoration: none;
    font-family: inherit;
}

.ques {
    position: relative;
    font-size: 1.4rem;
    background-image: url(img/questionBox.png);
    background-size: 100% 100%;
    padding: 15px 30px 16px 15px;
    margin: 0 0 20px 80px;
}

.bird {
    bottom: -35px;
    left: -65px;
    position: absolute;
}

.bubbleCover {
    bottom: 0px;
    position: absolute;
    left:-18.4px
}

.backButton {
    align-self: flex-start;
    margin: 25px 0 0 30px;
    width: 11px;
    height: 20px;
}

.questionBox {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
}

.questionBox>p {
    align-self: flex-end;
    font-size: 1.4rem;
    padding-right: 25px;
}

.answer {
    align-self: flex-end;
    color:white;
    background-image: url(img/bubblechat.png);
    background-size: cover;
    width:264px;
    height: 47px;
    font-size:1.4rem;
    box-sizing: border-box;
    margin: 10px;
    padding:12px 0 0 20px;
    cursor: pointer;
    
}

#submitAns {
    display: flex;
    flex-direction: column;
    align-self: flex-end;
}

#resultIMG {
    object-fit: cover;
    max-height: 288px;
    width: 100vw;
    object-position: top;
    margin-top: 30px;
}

.resultBox {
    padding:0 30px;
}
#scentName {
    font-size: 24px;
}

#scentDesc {
    font-size: 16px;
}

.resultBar {
    display:flex;
    width: 100%;
    justify-content: space-between;
    font-size: 1.6rem;
    position: relative;
    top: 60px;
    padding: 0 30px 0 60px;
    box-sizing: border-box;
}

.resultBar > img{
    position: absolute;
    left:25px;
    width: 29px;
}

#scentLink > input {
    padding: 20px 0px;
    margin-top: 40px;
}

table {
    width: 80%;
    margin-top: 40px;
}

table,th,td {
    border: 1px solid black;
    border-collapse: collapse;
    
}

th,td {
    padding:8px 20px;

}

th {
    background-color: black;
    color: white;
    text-align: left;
    font-weight: normal;
}

.historyTitle {
    font-size: 20px;
    position: absolute;
    top:145px;
}

.quizhistorybird {
    margin: 23px 60px;
    font-size: 16px;
    align-self: flex-start;
    position: relative;
}

.quizhistorybird > img {
    position: absolute;
    left: -40px;
    top: -2px;
    width: 29px;
}

