body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
}
.container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 80vh;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    background-image: url("assets/backgrounds/title_screen.png");
}

/* Background Styling */
.container {
    background-color: #d3d3d3; /* Default color as container */
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease; /* ANIMATION: need help*/
}

/* Character Sprite */
.character-sprite {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    height: 60%;
    max-height: 400px;
    z-index: 10;
     /* ANIMATION: need help*/
}
/* Text Container */
.text-container {
    width: 80%;
    margin: 1rem auto;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 10px;
    text-align: center;
    font-size: 1.5rem;
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    height: 150px; /* Fixed height */ /*might remove but temporary fix to text box expanding upwards*/
}

.speaker-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 73%;
    margin-bottom: 0.7rem;
    color: rgb(220, 200, 51);
    font-size: 1.7rem;
    padding: 0 3rem;
    border-bottom: 2px solid rgb(220, 200, 51);;
    z-index: 21;
    font-weight: bold;
}

/* Text Container */
.text-container {
    width: 80%;
    margin: 1rem auto;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 10px;
    text-align: left;
    font-size: 1.5rem;
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    height: 150px; /*might remove but temporary fix to text box expanding upwards*/
}

.choices-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 20px;
}

.choice-button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid white;
    color: rgb(220, 200, 51);
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-align: left;
}

.choice-button:hover {
    border: 2px solid rgb(220, 200, 51);
}

/* Smooth Image Fade-In */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


#title-button {
    background-color: #151515;
    width: 40%;
    position: absolute;
    bottom: 5vw;
    color: white;
    padding: 5px 25px;
    font-size: 2vw;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);*/

}
#title-button:hover {
      box-shadow: 0 0 10px #151515,
              0 0 20px #ff04ff,
              0 0 30px #d10b6b;
}

/* changed this for ease of ui debug */
.menu-buttons {
    position: absolute;
    top: 30%;
    left: 40%;
    width: 90%;
    display: flex;
    flex-direction: column;
    /*justify-content: space-between;*/
    gap: 1rem;
    flex-wrap: wrap;
}

.menu-buttons button {
    background-color: #151515;
    width: 20%;
    color: white;
    padding: 5px 25px;
    font-size: 2vw;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.menu-buttons button:hover {
    background-color: #333;
}

.settings-icon {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2vw;
    cursor: pointer;
    z-index: 10;
}

.settings-panel {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height:50%;
    padding: 20px;
    background-color: #d3d3d3;
    border: 2px solid black;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    box-sizing: border-box;
}

.settings-panel .close-button {
    position: absolute;
    bottom: 10px;
}

.settings-panel .tabs .tab-button{
    position: relative;
    border: none;
    align-items: space-between;
    border-radius: 5px 5px 0px 0px;
    background-color: #151515;
    font-size: 1.8vw;
    color: white;
    padding: 5px;
    width: 32%;
    height: 20%;
    justify-content: center;
}


.tab-content {
    flex-direction: column;
    position:relative;
    justify-content: space-around;
    padding: 10px;
    min-height: 50%;
    max-height: 50%;
}

.tab-content button{
    display:flex;
    width: 80%;
    color: BLACK;
    background-color: #d3d3d3;
    font-size: 2vw;
    padding: 2px;
    border: none;
    text-align: center;
    cursor: pointer;
}

.tab-content button:hover {
    color: #909090
}


#name-input-scene {
    color: white;
    background-color: #151515;
    z-index: 9999;
    position: absolute;
    padding: 20px;
    border-radius: 20px;
}

#save-name {
    padding: 2px;
    border-radius: 25px;
    background-color: white;
    color: black;
}