:root {
    --quas-color: #97d9ff;
    --wex-color: #f9adf6;
    --exort-color: #fcd237;
}

* {
    margin: 0;
    padding: 0;
    user-select: none;
    transition: all 0.2s ease;
}

body {
    overflow: hidden;    
    background-image: url('../images/invokerBackground.jpg');
    background-attachment: fixed;
    min-height: 100vh;
    height: 100vh;
    font-family: 'Exo 2', sans-serif;
    color: white;
}

body,
.image,
.sphere,
.current-sphere,
.small-sphere {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.game-container {
    width: 100%;
    height: 85%;
}

header {
    display: flex;
    width: 100%;
    height: 20%;
}

main {
    width: 100%;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}

.btn-container {
    width: 30%;
    height: 15%;
    cursor: pointer;
}

.btn {
    border: none;
    width: 100%;
    height: 100%;
    font-size: 20px;
    border-radius: 10px;
    color: white;
    cursor: pointer;
}

.btn-container,
.game-mode-menu-btn {
    margin-bottom: 1%;

}

.btn:active {
    transform: scale(0.9);
}

.icon {
    margin-right: 3px;
    margin-top: -2px;
}

.modal-background {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.modal {
    position: relative;
    width: 50%;
    height: 70%;
    padding: 1%;
    background-color: #111827;
}

.modal-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.how-to-play-modal-container {
    overflow-y: overlay;
}

.how-to-play-modal-container::-webkit-scrollbar {
    width: 6px;
    margin: 10px 0;
}

.how-to-play-modal-container::-webkit-scrollbar-track {
    margin: 10px 0; 
    background: transparent;
}

.how-to-play-modal-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
    min-height: 40px;
}

.modal-sectoin {
    text-align: center;
    margin-top: 1%;
    margin-bottom: 2%;
}

.close-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0.5%;
    right: 0.5%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.small-text {
    font-size: x-small !important;
}

.close-icon:hover {
    transform: scale(1.2);
}

.first-close-icon-element {
    position: absolute;
    width: 20px;
    height: 1px;
}

.second-close-icon-element {
    position: absolute;
    width: 1px;
    height: 20px;
}

.first-close-icon-element,
.second-close-icon-element {
    background-color: white;
    transform: rotate(45deg);
}

.ad {
    height: 15%;
}

[hidden] {
    display: none !important;
}