.index {
    font-family: system-ui;
    display: flex;
    flex-direction: column; /* จัดเรียง container และ university ลงมาเป็นแนวตั้ง */
    justify-content: center; /* กึ่งกลางแนวตั้ง */
    align-items: center; 
    background-color: hsl(0, 0%, 95%);
    
}

h1 {
    font-size: 100px;
}

.box {
    text-align: center;
    background-color: white;
    padding: 50px;
    border-radius: 64px;
    margin-top: 50px;
    box-shadow: 0px 10px 10px hsl(0, 0%, 73%);
}

h2{
    font-size: 64px;
    margin-bottom: 0px;
    margin-top: 0px;
}

#gameDescription {
    font-size: 30px;
    margin-top: -72px;
}

button[name="gamemodeBtn"]{
    font-size: 50px;
    margin-top: 50px;
    border: 0;
    padding: 25px;
    border-radius: 50px;
    transition: font-size 0.5s;
    
}

#sentenceGeneratorBtn {
    background-color: hsl(0, 100%, 72%);
    color: white;
    font-weight: bold;
}


#fillTheWordBtn {
    background-color: hsl(240, 100%, 79%);
    color: white;
    font-weight: bold;
}

button[name="gamemodeBtn"]:hover {
    font-size: 55px;
}

button[name="gamemodeBtn"]:active{
    background-color: hsl(0, 0%, 54%);
}

.container{

    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: hsl(0, 0%, 97%);
    text-align: center;


}

.container .box{
    display: flex;            /* 🔥 เปลี่ยนกล่องขาวเป็น Flexbox */
    flex-direction: column;   /* 🔥 จัดเรียงคอนเทนต์ข้างในเป็นแนวตั้ง */
    justify-content: center;  /* 🔥 จัดกึ่งกลางแนวตั้งภายในกล่อง */
    align-items: center;      /* 🔥 จัดกึ่งกลางแนวนอนภายในกล่อง */
    text-align: center;
    width: 1000px;
    min-height: 500px;     
}   

#mySentence{
    font-size: 50px;
}