body {
    background-color: #191970; /* Midnight Blue */
    color: #f0f0f0; /* Light Text */
    font-family: 'Protest Strike', sans-serif;

}

/* Centered Element */
#theme-container {
    text-align: center;
    margin-top: 30px;
}

#trys-container {
    text-align: center;
    margin-top: 50px;
    font-size: 30px;
    color: #e3c1c1;
}

#theme {
    background-color: #2f4f4f; /* Dark Gray */
    padding: 10px 20px; /* Padding for theme */
    display: inline-block; /* To align with Today's theme text */
    border-radius: 3px;
}


/* Adjusting button size and styling */
.btn-custom {
    user-select: none; /* Prevent text selection */
    max-width: 40px;
    min-width: 30px;
    width: 5%;
    height: 40px;
    border-radius: 3px;
    font-size: 1.2rem;
    padding: 5px; /* Padding between buttons */
    margin: 1px; /* Margin between buttons */
    color: #f0f0f0; /* Light Text */
    border: 1px solid #000; /* Black Border */
    cursor: pointer;
    text-align: center;
    font-family: 'Futura', sans-serif;
}

.btn-unclicked {
    background-color: #467070; /* Dark Gray */

    position: relative;
}

.btn-clicked {
    background-color: #2f4f4f; /* Dark Gray */

    position: relative;

}

.btn-guessed {
    background-color: #467070; /* Dark Gray */

}

.btn-unguessed {
    background-color: #2f4f4f; /* Dark Gray */
    color: #2f4f4f;
}

.guess-incorrect {
    background-color: #000000;
    color: wheat;
}

.guess-correct {
    background-color: cyan;
    color: black;
}

.guess-correctWord {
    background-color: wheat;
    color: black;
}


.dash {
    max-width: 50px;
    width: 5%;
    height: 40px;
    border-radius: 3px;
    font-size: 1.2rem;
    padding: 5px; /* Padding between buttons */
    margin: 0px; /* Margin between buttons */
    background-opacity: 0; /* Dark Gray */
    color: #f0f0f0; /* Light Text */
    cursor: pointer;
    text-align: center;
}

.btn-submit {
    /*small font and dark color*/
    font-size: 14px;
    font-align: center;
    background-color: #2f4f4f; /* Dark Gray */
    min-width: 50px;
    /* no internal padding */
    padding: 0;
    line-height: 14px;
    /* bold text */
    font-weight: bold;
    color: #5a9898;
    align-items: center;
    display: flex;
    justify-content: center;
}

.btn-submit-available{
    background-color: #467070; /* light gray */
    color: #f0f0f0; /* Light Text */
}

.btn-backspace {
    /*small font and dark color*/
    font-size: 14px;
    font-align: center;
    background-color: #2f4f4f; /* Dark Gray */
    min-width: 35px;
    /* no internal padding */
    padding: 0;
    line-height: 14px;
    /* bold text */
    font-weight: bold;
    color: #3e6969;
    align-items: center;
    display: flex;
    justify-content: center;
}

#toast {
    color: #3e6969;
    font-family: 'Futura', sans-serif;
    font-size: 10px;
    padding: 3px;

}

#toast2 {
    color: #3e6969;
    font-family: 'Futura', sans-serif;
    font-size: 10px;
    padding: 3px;

}

.hidden {
    display: none;
}

.show {
    display: block;
}

#top {
    vertical-align: top;
    display: flex;
    flex-direction: column;
}

#bottom {
    vertical-align: bottom;
    display: flex;
    flex-direction: column;
}

#wonTitle {
    color: goldenrod;
}

#lostTitle {
    color: #420f0f;
}

#share-text1 {
    color: wheat;
    font-size: 15px;
    text-align: center;
}

#share-text2 {
    color: #181717;
    font-size: 15px;
    text-align: center;
}


/* Styling for Today's theme text */
#theme-text {
    color: #f0f0f0; /* Light Text */
    margin-right: 10px; /* Spacing between text and theme */
    font-size: 1.3rem;
}

.group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.flex-container {
    display: flex;
    align-items: center; /* Optional: if you want to align the items vertically */
}

@font-face {
    font-family: 'Protest Strike';
    src: url('fonts/ProtestStrike-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Futura';
    src: url('fonts/Futura.ttf') format('truetype');
}

#helpTitle {
    color: #bd8484;
    font-family: Arial;
    font-weight: bold;
    font-size: 24px;
}

#help-text {
    color: #33caca;
    font-family: 'Protest Strike'
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}
.help-row{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}


.modal-content {
    background-color: #2f2737;
}

/* CSS */
#helpButton {
    border: 0px solid wheat;
        background-color: transparent;
    color: wheat;
    font-size: 35px;
    text-align: center;
}

#archiveButton {
    border: 0px solid wheat;
    background-color: transparent;
    color: wheat;
    font-size: 35px;
    text-align: center;
}
#headerhr{
    border: 1px solid #33caca;
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    transform: translateX(-50%);
}


.counter {
    position: absolute;
    top: -25%;
    right: -25%;
    border: 1px solid black;
    width: 50%;
    height: 50%;
    z-index: 100;
    background-color: #3e6969;
    border-radius: 2px;
    justify-content: center;
    align-items: center;
    display: flex;
    font-size: 12px;
}

.archive-date{
    color: #33caca;
    font-size: 15px;
    text-align: center;
    justify-content: center;
    display: flex;
    cursor: pointer;
}

.archive-card {
    min-height: 50px;
    margin-top: 10px;
    background-color: midnightblue;
    text-align: center;
    justify-content: center;
    border-radius: 5px;
    color: white;
    font-size: 15px;
    cursor: pointer;
    display: flex;
}

.scroll-container {
    width: 100%;
    height: 500px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.title {
    /*align all child elements to be on the same line*/
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    flex-wrap: nowrap;
}


.title > * {
    padding: 5px;
}

#calender {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
#name{
    /* set the pointer to be a hand */
    cursor: pointer;
}

#buttons{
    /*set no wrap for the buttons*/
    flex-wrap: nowrap;
}
#logo{
    position: absolute;
    left: 1%;
    top: 0.5%;
    /*set the height to be 100% of the parent container*/
    height: 60px;
    /*set the pointer to be a hand */
    cursor: pointer;
}

#play-button{
    font-family: 'Protest Strike';
    width: 20%;
    max-width: 100px;
    /*center the button*/
    margin: 1% auto;


}
#foot{
    /*put it to the bottom of the page*/
    position: absolute;
    bottom: 0;
}
#foot a{
    /*set the color to be white*/
    color: white;
    /*set the pointer to be a hand */
    cursor: pointer;
}
.play-content{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 20px;
}
#play-icon{
    width: 30%;
    max-width: 100px;
}

.fullscreen{
    /*set the height to be 100% of the parent container*/
    height: 100%;
    /*set the width to be 100% of the parent container*/
    width: 100%;
}
.fade-out {
    transition: opacity 0.5s ease-out;
    opacity: 0;
}
.play-content-container{
    /*set to be full screen, absolute position*/
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*set the background color to be dark*/
    background-color: #49b6a9;
    /*set the z-index to be the highest*/
    z-index: 100;
    /*set the display to be flex*/
    display: flex;
    /*set the flex direction to be column*/
    flex-direction: column;
    /*set the justify content to be center*/
    justify-content: center;
}


/* set the help button to align right when horizontal */
.width-greater{
    #buttons {
        position: absolute;
        right: 5%;
    }
    #name{
        position: absolute;
        left: 5%;
    }
    .title{
        min-height: 60px;
        font-size: 40px;
    }
}
/* set the title to have smaller font size when vertical */
.height-greater{
    .title{
        font-size: 20px;
        min-height: 45px;
    }
    #name{
        position: absolute;
        left: 10%;

    }
    #buttons{
        position: absolute;
        right: 5%;
    }
    #archiveButton{
        font-size: 30px;
    }
    #helpButton{
        font-size: 30px;
    }
    #logo{
        height: 40px;
    }
}

