.game-mode-header {
    text-align: center;
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
}

.timer {
    font-family: monospace;
    font-variant-numeric: tabular-nums;
    align-self: flex-end;
    justify-self: center;
    font-size: 40px;
}

.timer-bar-conatiner {
    width: 40%;
    height: 10%;
    align-self: flex-end;
}

@keyframes decrease-timer-bar {
    0% {
        width: 100%;
        background-color: green;
    }

    40% {
        width: 60%;
        background-color: orange;
    }

    80% {
        width: 20%;
        background-color: red;
    }

    100% {
        width: 0;
        background-color: red;
    }
}

.timer-bar {
    height: 100%;
    border-radius: 25px;
}

.animated-timer-bar {
    animation: decrease-timer-bar var(--animation-time) linear;
}

.game-mode-btn-container {
    width: 20%;
    height: fit-content;
    margin-bottom: 0;
}


.game-mode-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;    
    padding: 0.5vh 1vw;
}

.game-mode-back-btn-container {
    margin-left: 1%;
}

.game-mode-home-btn-container {
    display: flex;
    justify-content: end;
    margin-right: 1%;
}

.home-icon {
    width: 20px;
    height: 20px;
}

.game-content {
    display: flex;
    height: 80%;
}

aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 20%;
    height: 100%;
    background-color: #111827;
    border: 5px solid #ad4620;
}

.left-spell-tips {
    padding-left: 3%;
    border-left: none;
    border-radius: 0 25px 25px 0;
}


.right-spell-tips {
    padding-right: 3%;
    border-right: none;
    border-radius: 25px 0 0 25px;
}

.right-spell-tips .discription {
    align-items: end;
}

.game-view {
    display: flex;
    justify-content: space-between;
    width: 60%;
    height: 100%;
}

.tip {
    display: flex;
    width: 100%;
    margin-bottom: 8%;
}

.tip:last-child {
    margin-bottom: 0;
}

.right-spell-tips .tip {
    flex-direction: row-reverse;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.image {
    width: 60px;
    height: 60px;
    background-color: gray;
    border-radius: 10px;
}

.discription {
    display: flex;
    flex-direction: column;
}

.left-spell-tips .discription {
    padding-left: 6%;
}

.right-spell-tips .discription {
    padding-right: 6%;
    text-align: end;
}

.discription div {
    height: 50%;
}

.name {
    display: flex;
    align-items: end;
}

.combination {
    color: #ad4620;
    font-size: small;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.title-container {
    text-align: center;
}

.title {
    font-size: 35px;
}

h2 {
    margin-top: 5%;
}

.start-game-btn-container {
    width: 60%;
    height: 9vh;
}

.start-game-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: #ad4620;
    font-size: 30px;
}

.start-game-btn:hover {
    background-color: #e25c2c;
}

.play-icon {
    width: 35px;
    height: 35px;
}

.reset-icon {
    margin-right: 1%;
    width: 30px;
    height: 30px;
}

.run-game-tip {
    font-size: small;
    color: #ad4620;
}

.sphere-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.current-spheres {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 30px;
    padding: 0 0 2% 0;
}

.current-sphere {
    width: 30px;
    height: 30px;
    margin-right: 2%;
    background-color: gray;
    border: 1px solid #ad4620;
    border-radius: 50%;
}

.current-sphere:last-child {
    margin-right: 0;
}

.side-container {
    display: flex;
    align-items: center;
    width: 25%;
}

.game-state-container {
    justify-content: end;
}

.game-state, 
.reset-game {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-state {
    margin-right: 10%;
}

.reset-game {
    margin-left: 10%;
}

.side-container span{
    font-size: 10px;
}

.game-icon {
    width: 40px;
    height: 40px;
}

.sphere-panel {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    justify-self: center;
    align-self: center;
    width: 50%;
    padding: 1% 0;
    background-color: #111827;
    border-left: 4px solid #0a0e16;
    border-top: 4px solid #0a0e16;
    border-bottom: 4px solid #1e2a44;
    border-right: 4px solid #1e2a44;
}

.sphere {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    margin-right: 5%;
}

.sphere:last-child {
    margin-right: 0;
}

.key {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -10%;
    left: 11%;
    height: 25%;
   	background-color: #1a1b1e;
    font-size: small;
}

.current-spell-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.current-spell-name {
    text-align: center;
    font-size: 30px;
    margin-bottom: 3%;
}

.current-spell {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 200px;
}

.pause-text {
    text-align: center;
    font-size: 20px;
    color: rgb(215, 178, 14);
}

.quas-text {
    color: var(--quas-color);
}

.wex-text {
    color: var(--wex-color);
}

.exort-text {
    color: var(--exort-color);
}

.cold-snap {
    background-image: url('../images/coldSnap.png');
}

.ghost-walk {
    background-image: url('../images/ghostWalk.png');
}

.ice-wall {
    background-image: url('../images/iceWall.png');
}

.emp {
    background-image: url('../images/emp.png');
}

.tornado {
    background-image: url('../images/tornado.png');
}

.quas {
    background-image: url('../images/quas.png');
}

.wex {
    background-image: url('../images/wex.png');
}

.exort {
    background-image: url('../images/exort.png');
}

.spell-book {
    background-image: url('../images/spellBook.png');
}

.alacrity {
    background-image: url('../images/alacrity.png');
}

.sun-strike {
    background-image: url('../images/sunStrike.png');
}

.forge-spirit {
    background-image: url('../images/forgeSpirit.png');
}

.chaos-meteor {
    background-image: url('../images/chaosMeteor.png');
}

.deafening-blast {
    background-image: url('../images/deafeningBlast.png');
}