body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0 10%;
    background-color: #2b2a33;
}

.outermost-container {
    width: 900px;
    height: 830px;
    margin: 2% auto;
    border: solid 10px white;
    border-radius: 10px;
    background-color: white;
}

.container {
    min-height: 570px;
    margin-bottom: auto;
}

.header-container {
    display: flex;
    justify-content: space-between;
    border: solid 2px black;
    margin: auto;
}

.header-container > * {
    margin: auto;
}

.footer-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.footer-container > * {
    margin: auto;
}

.footer-contact > a,
.footer-contact {
    text-decoration: none;
    color: black;
    margin-bottom: 7px;
    font-style: italic;
}

.game-title {
    text-align: center;
    margin-top: 0.5%;
    margin-bottom: 2px;
}

.container {
    display: flex;
    justify-content: center;
    padding: 0 30px;
}

.invoker-app {
    margin: 0 20px;
    width: 70rem;
    padding: 20px 20px 0px 20px;
    border: 2px solid #ccc;
    border-radius: 5px;
}

.orb-instances {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#orb-1,
#orb-2,
#orb-3 {
    width: 50px;
    height: 50px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 50%;
    margin: 0 10px;
}

.tile-feedback {
   border: white solid 2px; 
   scale: 1.075;
}

.feedback-Q {
    background-color: rgb(33, 57, 197) !important;
}

.feedback-W {
    background-color: #f179f1 !important;
}

.feedback-E {
    background-color: rgb(240, 141, 12) !important;

}

.spell-tiles {
    display: flex;
    justify-content: space-between;
    margin: 0px 10px 20px 10px;
}

.tile {
    width: 50px;
    height: 50px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin: 0 5px;
}

.tile.result {
    width: 50px;
    height: 50px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #00bcd4;
    color: #fff;
}

.leaderboard {
    min-width: 300px;
    margin: 0 20px;
    padding: 20px 20px 0px 20px;
    border: 2px solid #ccc;
    border-radius: 5px;
}

.leaderboard > h2 {
    margin-top: 0px;
    text-align: center;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 10px;
}

.invoke-me-spell-container {
    width: 100px;
    height: 100px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.invoke-me-spell-container > img{
    width: 100px;
    height: 100px;
}

.hotkey-container {
    position: relative;
    padding: 0 10px;
    bottom: -10px;
    right: 20px;
    display: flex;
    align-items: ce;
    z-index: 10;
}

.hotkeys {
    background-color: rgba(0, 0, 0, 0.7);
    background-position: center;
    border-radius: 2px;
    font-weight: bold;
    font-size: small;
    color: white;
    margin: auto;
}

#timer-display {
    width: 60px;
    height: 60px;
}

.orb1-superimposed,
.orb2-superimposed,
.orb3-superimposed,
.blank-orb-superimposed {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #f0f0f0;
    border-radius: 50%;
    z-index: -1;
}

.blank-orb-superimposed {
    background-color: #ffffff;
    border: px solid #ffffff;
}

.invoked-spell-superimposed {
    position: absolute;
    width: 50px ;
    height: 50px;
    z-index: -1;
    border-radius: 5px;
}

.instructions {
    margin: 0 0 20px 0;
    text-align: center;
}

.leaderboard-container {
    display: flex;
}

.leaderboard-container > div {
    margin: 0 auto;
}

.leaderboard-container > div > div > p {
    margin: 6px 3px;
    text-overflow: clip;
    overflow: hidden;
}

.leaderboard-container-name {
    min-width: 60%;
}

.task-and-buttons-container {
    height: 100;
    display: flex;
    flex-direction: row-reverse;
    margin: 10px 15px;
    padding: 0px 0px 10px 0px;
}

#timer-display {
    margin: auto;
    width: 120px;
    line-height: 300%;
}

#timer-display + div {
    margin: auto;
    width: 200px;
    display: flex;
    flex-direction: row;
}

#start-btn {
    background-color: lightgreen;
}

#start-btn,
#reset-btn {
    display: flex;
    margin: 0px 10px 5px 10px;
    width: 200px;
    height: 30px;
    border-radius: 5px;
    justify-content: center;
    line-height: 180%;
}

.blank-tile-superimposed > p {
    text-align: center;
    font-style: italic;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    margin: auto;
}

/* Modal styles */
    #score-modal {
        border : 1px dotted #ccc;
        padding : 10px;
        border-radius: 10px;
        width: 300px;
        height: 170px;
        margin: 30px auto;
    }

    #score-modal > h2 {
        font-size: large;
        text-align: center;
    }
    
    .enter-username-block {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .score-block {
        margin-bottom: 5px;
    }

    #username-modal {
        width: 170px;
        height: 20px;
        font-size: larger;
    }

    #username-modal::placeholder {
        font-size: 14px;
        text-align: center;
        line-height: -10px;
    }

    #submit-score-btn {
        display: flex;
        margin: 20px auto 5px auto;
        width: 100px;
        height: 30px;
        border-radius: 5px;
        justify-content: center;
        line-height: 180%;
    }

/* Most Recent Players */

.most-recent-players {
    border-radius: 5px;
    margin: 25px auto 0px auto;
    height: 60px;
    max-width: 800px;
    border: solid 2px #ccc;
    display: block;
}

.most-recent-players > h3 {
    text-align: center;
    margin: 5px auto;
    margin-bottom: 10px;
}

.recent-players-list {
    justify-content: space-evenly;
    margin: 0px auto;
    display: flex;
    
}

.recent-players-list > .recent-player {
    width: 150px;
    height: 25px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    margin: 0;
}