@font-face {
    font-family: 'Cupid Love';
    src: url('fonts/cute_love-webfont.woff2') format('woff2'),
         url('fonts/cute_love-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'edwardianscriptitc';
    src: url('font3/edwardianscriptitc.woff2') format('woff2'),
         url('font3/edwardianscriptitc.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Marykate Regular';
    src: url('font5/Marykate\ Regular.woff2') format('woff2'),
         url('font5/Marykate\ Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /*background-image: url("cute4.jpg");*/
    background-color: #FCF4DF;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0;
    padding: 0; 
    font-size: 23px;
    color: #FCF4DF;
    margin: 0; 
    padding: 0; 
    overflow-x: hidden;
    -webkit-text-stroke: 0.8px black;

    
}


.progress{
  position: absolute;
  top: 10;                  /* stick to the top edge */
  left: 50%;
  transform: translateX(-50%);

  width: 200px;
  height: 10px;
  background: #FCF4DF; 
  border-radius: 30px; 
  overflow: hidden;  
}


 .container, button {
    font-family: 'Cupid Love', Arial, sans-serif;
}

.container1 {
    text-align: center;
    padding: 20px;
    
    
}

.footer{
    white-space: nowrap;
    font-size: 20px;
    color: rgb(141, 76, 76);
    -webkit-text-stroke: 0px black;
    
}
.footer a {
    color: rgb(141, 76, 76);
    -webkit-text-stroke: 0px black;

    
}

.image-container {
    position: absolute;
    bottom: 0;
    top: 45%;
    left: 50%;
    transform: translateX(-50%);
}


.container {
    text-align: center;
    padding: 20px;
    
    
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    transform: translateY(-130%);
}

.button-container button {
    margin: 0 10px;
}


button {
    background-color: #7fbaf1;
    color: white;
    padding: 0; 
    border: 0.8px solid #000000;
    text-align: center;
    display: inline-block;
    font-size: 30px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 25px;
    width: 170px;
    height: 55px;
    line-height: 50px;


}

h1 {
    font-size: 80px;
    text-align: center;
    margin: 0;
    color: #ffffff; /* Set a single color */
    font-family: 'Cupid Love', Arial, sans-serif; /* Choose one font-family */
    -webkit-text-stroke: px black; 
}


/*h1 a {
    text-decoration: none;
    color: #ED499C;
    font-family: 'edwardianscriptitc', Arial, sans-serif; 
     -webkit-text-stroke: 0px black;
}


h1 b {
    font-weight: normal; /* Ensures the b element doesn't inherit boldness 
    color: rgb(141, 76, 76);
} */

.heading {
    text-align: center;
}

.main-heading {
    color: #ED499C;
    font-size: 86px;
    font-family: 'edwardianscriptitc', Arial, sans-serif; 
    transform: translateX(-187px);
    position: absolute;
}
.inline {
    color: #ED499C;
    font-size: 86px;
    font-family: 'edwardianscriptitc', Arial, sans-serif; 
    transform: translateX(60px);
    position: absolute;

}

.cute-girl {
    font-size: 42px;
    font-family: 'Marykate Regular', Arial, sans-serif; 
    color: #9EADED; /* กำหนดค่าสีของข้อความ */
    -webkit-text-stroke: 0.8px black; /* เพิ่มเส้นขอบสีดำ */
    transform: translateY(100px) translateX(-140px);
    position: absolute;
    white-space: nowrap;
}


.Questiosn {
    font-size: 35px;
}


.startbutton {
    top: 200%;
    bottom: 100%;
    transform: translateY(190px);
} 

.footer {
    position: absolute;
    bottom: 20px; /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    color: rgb(141, 76, 76);
    text-align: center;
    font-family: 'Cupid Love';
    font-size: 20px;
}

.footer a {
    color: rgb(141, 76, 76);
    text-decoration: none;
    -webkit-text-stroke: 0px black;
    font-family: 'Cupid Love';
}

.footer a:hover {
    text-decoration: underline;
}

.QuizSummary {
    font-size: 60px;
    color: #9EADED;
    transform: translateY(-20%);
}


#summary {
    font-size: 35px;
    color: #F197CE;
    transform: translateY(-140%);
    
}

#congratulations {
    font-size: 35px;
    transform: translateY(-180%);
}
@media screen and (max-width: 600px) {
    h1 {
        font-size: 60px; 
    }
}

@media (max-width: 375px) {
    body {
        font-size: 16px;
    }

    .container {
        grid-template-columns: 1fr;
    }

    .image-container img {
        position: absolute;
        bottom: 0;
        top: 45%;
        left: 50%;
        transform: translateY(-140px) translateX(-50%);
        width: 230px;
        height: auto;
    }
    
    
    .container {
        text-align: center;
        padding: 20px;
        
        
    }

    /*.booog {
        width: 100px;
        height: ;
    } */
    
    .button-container {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        transform: translateY(-80%);

    }
    
    .button-container button {
        margin: 10px;
        width: 150px;
        height: auto;
        font-size: 24px;
        width: 130px;
        height: 50px;
    }
    
    .button-booog {
        width: 130px;
        height: 50px;
        font-size: 25px;
    }
    
    button {
        background-color: #7fbaf1;
        color: white;
        padding: 0; 
        border: 0.8px solid #000000;
        text-align: center;
        display: inline-block;
        font-size: 30px;
        margin: 4px 2px;
        cursor: pointer;
        border-radius: 25px;
        width: 170px;
        height: 50px;
        line-height: 50px;
    
    
    }

    .heading {
        text-align: center;
    }
    
    .main-heading {
        color: #ED499C;
        font-size: 80px;
        font-family: 'edwardianscriptitc', Arial, sans-serif; 
        transform: translateY(-60px) translateX(-170px);
        position: absolute;
    }
    .inline {
        color: #ED499C;
        font-size: 80px;
        font-family: 'edwardianscriptitc', Arial, sans-serif; 
        transform: translateY(-60px) translateX(60px);
        position: absolute;
    
    }
    
    .cute-girl {
        font-size: 35px;
        font-family: 'Marykate Regular', Arial, sans-serif; 
        color: #9EADED; /* กำหนดค่าสีของข้อความ */
        -webkit-text-stroke: 0.8px black; /* เพิ่มเส้นขอบสีดำ */
        transform: translateY(30px) translateX(-120px);
        position: absolute;
        white-space: nowrap;
    }
    
    
    .Questiosn {
        font-size: 30px;
    }
    
    
    .startbutton {
        top: 200%;
        bottom: 100%;
        transform: translateY(80px);
    } 
    
    .footer {
        position: absolute;
        bottom: 20px; /* Adjust as needed */
        left: 50%;
        transform: translateX(-50%);
        font-size: 16px;
        color: rgb(141, 76, 76);
        text-align: center;
        font-family: 'Cupid Love';
        font-size: 15px;
    }
    
    .footer a {
        color: rgb(141, 76, 76);
        text-decoration: none;
        -webkit-text-stroke: 0px black;
        font-family: 'Cupid Love';

    }
    
    .footer a:hover {
        text-decoration: underline;
    }
    
    .QuizSummary {
        font-size: 50px;
        color: #9EADED;
        transform: translateY(60%);
    }
    
    
    #summary {
        font-size: 35px;
        color: #F197CE;
        transform: translateY(-10%);
        
    }
    
    #congratulations {
        font-size: 25px;
        transform: translateY(-90%);
    }
}

/* Medium phones */
@media (min-width: 376px) and (max-width: 414px) {
    body {
        font-size: 18px;
    }

    .container {
        grid-template-columns: 1fr 1fr;
    }
    .image-container img {
        position: absolute;
        bottom: 0;
        top: 45%;
        left: 50%;
        transform: translateY(-180px) translateX(-50%);
        width: 290px;
        overflow: hidden;
        height: auto;
        
    }
    
    
    .container {
        text-align: center;
        padding: 20px;
        
        
    }

    /*.booog {
        width: 100px;
        height: ;
    } */
    
    .button-container {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        transform: translateY(-80%);

    }
    
    .button-container button {
        margin: 10px;
        width: 150px;
        height: auto;
        font-size: 24px;
        width: 130px;
        height: 50px;
    }
    
    .button-booog {
        width: 130px;
        height: 50px;
        font-size: 25px;
    }
    
    button {
        background-color: #7fbaf1;
        color: white;
        padding: 0; 
        border: 0.8px solid #000000;
        text-align: center;
        display: inline-block;
        font-size: 30px;
        margin: 4px 2px;
        cursor: pointer;
        border-radius: 25px;
        width: 170px;
        height: 50px;
        line-height: 50px;
    
    
    }

    .heading {
        text-align: center;
    }
    
    .main-heading {
        color: #ED499C;
        font-size: 80px;
        font-family: 'edwardianscriptitc', Arial, sans-serif; 
        transform: translateY(-60px) translateX(-170px);
        position: absolute;
    }
    .inline {
        color: #ED499C;
        font-size: 80px;
        font-family: 'edwardianscriptitc', Arial, sans-serif; 
        transform: translateY(-60px) translateX(60px);
        position: absolute;
    
    }
    
    .cute-girl {
        font-size: 35px;
        font-family: 'Marykate Regular', Arial, sans-serif; 
        color: #9EADED; /* กำหนดค่าสีของข้อความ */
        -webkit-text-stroke: 0.8px black; /* เพิ่มเส้นขอบสีดำ */
        transform: translateY(40px) translateX(-120px);
        position: absolute;
        white-space: nowrap;
    }
    
    
    .Questiosn {
        font-size: 30px;
    }
    
    
    .startbutton {
        top: 200%;
        bottom: 100%;
        transform: translateY(110px);
    } 
    
    .footer {
        position: absolute;
        bottom: 20px; /* Adjust as needed */
        left: 50%;
        transform: translateX(-50%);
        font-size: 16px;
        color: rgb(141, 76, 76);
        text-align: center;
        font-family: 'Cupid Love';
        font-size: 15px;
    }
    
    .footer a {
        color: rgb(141, 76, 76);
        text-decoration: none;
        -webkit-text-stroke: 0px black;
        font-family: 'Cupid Love';

    }
    
    .footer a:hover {
        text-decoration: underline;
    }
    
    .QuizSummary {
        font-size: 50px;
        color: #9EADED;
        transform: translateY(60%);
    }
    
    
    #summary {
        font-size: 35px;
        color: #F197CE;
        transform: translateY(-10%);
        
    }
    
    #congratulations {
        font-size: 25px;
        transform: translateY(-90%);
    }
}

/* Large phones */
@media (min-width: 415px) and (max-width: 767px){
    body {
        font-size: 20px;
    }

    .container {
        grid-template-columns: 1fr 1fr;
    }
    .image-container img {
        position: absolute;
        bottom: 0;
        top: 45%;
        left: 50%;
        transform: translateY(-170px) translateX(-50%);
        width: 290px;
        height: auto;
        overflow: hidden;
    }
    
    
    .container {
        text-align: center;
        padding: 20px;
        
        
    }

    /*.booog {
        width: 100px;
        height: ;
    } */
    
    .button-container {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        transform: translateY(-80%);

    }
    
    .button-container button {
        margin: 10px;
        width: 150px;
        height: auto;
        font-size: 24px;
        width: 130px;
        height: 50px;
    }
    
    .button-booog {
        width: 150px;
        height: 50px;
        font-size: 28px;
    }
    
    button {
        background-color: #7fbaf1;
        color: white;
        padding: 0; 
        border: 0.8px solid #000000;
        text-align: center;
        display: inline-block;
        font-size: 30px;
        margin: 4px 2px;
        cursor: pointer;
        border-radius: 25px;
        width: 170px;
        height: 50px;
        line-height: 50px;
    
    
    }

    .heading {
        text-align: center;
    }
    
    .main-heading {
        color: #ED499C;
        font-size: 90px;
        font-family: 'edwardianscriptitc', Arial, sans-serif; 
        transform: translateY(-20px) translateX(-190px);
        position: absolute;
    }
    .inline {
        color: #ED499C;
        font-size: 90px;
        font-family: 'edwardianscriptitc', Arial, sans-serif; 
        transform: translateY(-20px) translateX(60px);
        position: absolute;
    
    }
    
    .cute-girl {
        font-size: 40px;
        font-family: 'Marykate Regular', Arial, sans-serif; 
        color: #9EADED; /* กำหนดค่าสีของข้อความ */
        -webkit-text-stroke: 0.8px black; /* เพิ่มเส้นขอบสีดำ */
        transform: translateY(90px) translateX(-140px);
        position: absolute;
        white-space: nowrap;
    }
    
    
    .Questiosn {
        font-size: 37px;
    }
    
    
    .startbutton {
        top: 200%;
        bottom: 100%;
        transform: translateY(180px);
    } 
    
    .footer {
        position: absolute;
        bottom: 20px; /* Adjust as needed */
        left: 50%;
        transform: translateX(-50%);
        font-size: 16px;
        color: rgb(141, 76, 76);
        text-align: center;
        font-family: 'Cupid Love';
        font-size: 20px;
    }
    
    .footer a {
        color: rgb(141, 76, 76);
        text-decoration: none;
        -webkit-text-stroke: 0px black;
        font-family: 'Cupid Love';

    }
    
    .footer a:hover {
        text-decoration: underline;
    }
    
    .QuizSummary {
        font-size: 60px;
        color: #9EADED;
        transform: translateY(20%);
    }
    
    
    #summary {
        font-size: 40px;
        color: #F197CE;
        transform: translateY(-70%);
        
    }
    
    #congratulations {
        font-size: 80px;
        transform: translateY(-150%);
    }
}


@media (min-width: 768px) {
  body {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FCF4DF;  /* filler color outside the phone frame */
  }
    .button-booog {
        width: 120px;
        height: 50px;
        font-size: 25px;
    }

}



