/* main container */
#main{
    text-align: center;
    background-color: whitesmoke;
}

.popup {
    width:400px;
    background-color: #e8bcf0;
    border-radius: 3mm;
    top: 50%;
    left:50%;
    transform: translate(-50%,-50%);
    text-align: center;
    position: fixed;
    /* padding: 30px; */
    visibility: hidden;
}

.popup.show {
    visibility: visible; /* Show popup when overlay has class 'show' */
}
  
.popup-image {
    padding-top: 20px;
    height: 150px; /* Maintain aspect ratio */
    width: 150px;
    padding-top: 20px;
}

.popup-gif {
    display: block;
    margin: 20px auto; /* Adjust as needed */
    height: 75px; /* Maintain aspect ratio */
    width: 75px;
    /* Add additional styles for the GIF below the text */
}
  
.popup button {
    background-color: #fff;
    border: 1px solid #7600bc;
    color: #7600bc;
    display: block;
    border-radius: 6px;
    text-align: center;
    margin: 50px;
    padding: 10px;
    width: 2in;
    font-size: 20px;
    margin-left: 25%;
}
  
.popup button:hover {
    background-color: #fff;
    border: 2px solid #7600bc;
    color: #7600bc;
    display: block;
    font-weight: bolder;
    text-align: center;
    cursor: pointer;
    margin-left: 25%;
}

.flex_center {
    display: flex;
    align-items: center;
    justify-content: center;
  }

/* body.blur {
    backdrop-filter: blur(5px); Apply background blur effect
} */

#music-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

#play-button,
#pause-button {
    cursor: pointer;
    font-size: 18px;
    padding: 10px 20px;
    background-color: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 4px;
    margin: 0 10px;
    transition: background-color 0.3s, transform 0.2s;
}

#play-button:hover,
#pause-button:hover {
    background-color: #ff8f8f;
}

#play-button:focus,
#pause-button:focus {
    outline: none;
    transform: scale(1.1);
}

.icon-button {
    /* ... other button styles ... */
    font-size: 24px;
    padding: 8px 16px;
}


/* main heading */
h1{
    font-style: italic;
    color: orangered;
    font-size: 45px;
}

.container{
    /* position: relative; */
}

/* Table */
.center{
    margin-left: auto;
    margin-right: auto;
}

/* text inside table */
#b1, #b2, #b3, #b4, #b5, #b6, #b7, #b8, #b9{
    width: 80px;
    height: 52px;
    margin: auto;
    border: 1px solid grey;
    border-radius: 6px;
    font-size: 30px;
    text-align: center;
    cursor: pointer;
}

/* table boxes */
.center input[type="text"]:hover {
    background-color: lightgrey;
}

/* Reset button */
#Reset{
    box-sizing: border-box;
    width: 95px;
    height: 40px;
    border: 1px solid dodgerblue;
    margin: auto;
    border-radius: 4px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-color: dodgerblue;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

/* result */
#result {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 20px;
}

/* Game Instruction Text */
#ins {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 17px;
}

.line{
    height: 3px;
    width: 0;
    position: absolute;
    background-color: #911d91;
    transition: width 1s ease-in-out;
}
