*{
    margin: 0;
    padding: 0;
}
body,html{ 
    height: 100%;
    width: 100%;
    background-color: darkslategrey;
}
body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#game_info_display{
    width: 40vw;
    height: 80vh;
    background-color: white;
    position: absolute;
    left: 0.2in;
    display: flex;
    flex-direction: column;
}
#player_turn{
    width: 100%;
    height: fit-content;
    text-align: center;
}
#class_info{
    height: 40%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 2em;
}
#current_class{
    background-color: rgb(170, 170, 170);
    box-shadow: inset 0px 0px 50px rgb(66, 66, 66);
    border-radius: 20px;
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#canvas{
    background-image: url('images/canvas.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 3;
    border-radius: 20px;
    width: 40%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgb(150,150,150);
}
#current_grade{
    user-select: none;
    opacity: 0;
    background-color: rgb(170, 170, 170);
    box-shadow: inset 0px 0px 50px rgb(66, 66, 66);
    background-color: rgb(170, 170, 170);
    box-shadow: inset 0px 0px 50px rgb(96, 151, 89);
    border-radius: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4em;
    color: white;
    text-shadow: 0px 0px 10px black;
    transition: all 0.5s ease;
}
#class_collector{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    height: 40%;
}
#player2_class,#player1_class{
    width: 40%;
    height: fit-content;
    background-color: bisque;
    padding: 10px;
}
#motivation{
    position: relative;
    height: 20%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#quote{
    padding: 10px;
    text-align: center;
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5em;
    height: 100%;
    margin-top: 40px;
    background-color: rgb(24, 71, 80);
    border-radius: 10px;
    box-shadow: inset 0px 0px 40px rgb(128, 128, 128);
}
#collectedClass{
    width: 30px;
    filter: drop-shadow(3px 3px 5px rgb(59, 59, 59));
}
.span4{
    width: 100%;
    height: 100%;
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    grid-column: span 2;
    grid-row: span 2; 
}
.num1{
    transform: rotate(-45deg);
    background-image: url('images/chance.png');
}
.num2{
    background-image: url('images/chest.png');
    transform: rotate(135deg);
}
#game_board{
    background-color: #d4fcda;
    position: absolute;
    right: 10%;
    width: 70vh;
    height: 70vh;
    border-radius: 0%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* change the rgb value of the first box-shadow to change board color palette */
    box-shadow: inset 0px 0px 0px calc(70vh / 6) rgb(255, 255, 255), inset 0px 0px 0px calc((70vh / 6) + 1px) rgb(0, 0, 0);
}
.board_land{
    border: 1px solid black;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-size: 80%;
    /* box-shadow: inset 0px 0px 100px white; */
}
.capstone{
    background-image: url('images/classes/capstone.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-size: cover;
}
#player1,#player2{
    width: 50px;
    height: 50px;
    position: absolute;
    filter: drop-shadow(-3px -3px 2px black);
    transition: all 0.2s ease;
}
#player2{
    top: 50px;
    left: 50px;
    filter:  grayscale(100%);
}

#viewport{
    position: absolute;
    perspective: 500px;
    right: 22%;
    transform: translateX(-50%);
    width: 10vh;
    height: 10vh;
    transform: translateY(-50px);
}
#cube{
    user-select:none;
    position: relative;
    cursor: grab;
    width: 100%;
    height: 100%;
    top: 0.5in;
    right: 0.5in;
    transform-style: preserve-3d;
    transform: rotateX(157deg) rotateY(200deg) rotateZ(190deg);
    transition: all 0.5s ease;
    /* animation: cube 10s infinite linear;  */
}
.side{
    border-radius: 10px;
    position: absolute;
    width: 100px;
    height: 100px;
    border: 1px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    color: white;
    background-color: white;
    box-shadow: inset 0px 0px 50px 20px red, 0px 0px 5px 0px rgb(255, 255, 255); 
    text-decoration: underline 3px;
}
#side1 { transform: rotateY(  0deg) translateZ(50px); }
#side2 { transform: rotateY( 90deg) translateZ(50px); }
#side3 { transform: rotateY(180deg) translateZ(50px); }
#side4 { transform: rotateY(-90deg) translateZ(50px); }
#side5 { transform: rotateX( 90deg) translateZ(50px); }
#side6 { transform: rotateX(-90deg) translateZ(50px); }
@keyframes cube{
    0%{transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);}
    100%{transform: rotateX(0deg) rotateY(360deg) rotateZ(360deg)}
}
@keyframes cube2{
    0%{transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);}
    100%{transform: rotateX(-360deg) rotateY(-360deg) rotateZ(-360deg)}
}
@keyframes rolling{
    0%{transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg)}
    100%{transform: rotateX(3600deg) rotateY(3600deg) rotateZ(3600deg)}
}
@keyframes color{
    0%{color: rgb(240, 94, 94)}
    33%{color: rgb(229, 255, 0)}
    66%{color: rgb(255, 255, 255)}
    100%{color: rgb(240, 94, 94)}
}
@keyframes glowEdges {
    0%{box-shadow: inset 0px 0px 60px 20px red, 0px 0px 50px 0px rgb(255, 255, 0);}
    25%{box-shadow: inset 0px 0px 60px 20px red, 0px 0px 120px 0px rgb(255, 255, 255)}
    50%{box-shadow: inset 0px 0px 60px 20px red, 0px 0px 100px 0px rgb(255, 255, 223)}
    75%{box-shadow: inset 0px 0px 60px 20px red, 0px 0px 120px 0px rgb(243, 243, 40)}
    100%{box-shadow: inset 0px 0px 60px 20px red, 0px 0px 100px 0px rgb(255, 255, 0);}
}
#dev_tools{
    width: 250px;
    height: 250px;
    background-color: white;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
}
#exit{
    width: 20px;
    height: 20px;
    position: absolute;
    right: 10px;
    top: 10px;
    background-image: url('images/exit.png');
    background-size: cover;
    background-position: center;
    cursor: grab;
}
#slider{
    display: flex;
    flex-direction: column;
    color: black;
    width: 60%;
}
#settings{
    width: 60px;
    height: 60px;
    background-image: url('images/settings.png');
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0.3in;
    right: 0.3in;
    cursor: grab;
}
@keyframes fadein {
    0%{opacity: 0;}
    100%{opacity: 1;}
}
@media only screen and (max-width: 1000px) {
    body{
        background-color: rgb(107, 107, 107);
    }
    #player1,#player2{
        width: 40px;
        height: 40px;
        position: absolute;
        filter: drop-shadow(-3px -3px 2px black) saturate(999%);
    }
    #player2{
        top: 25px;
        left: 25px;
        filter: drop-shadow(-3px -3px 2px black) grayscale(100%) saturate(0%);
    }
    #game_board{
        right: 5%;
        height: 400px;
        width: 400px;
        /* box-shadow: inset 0px 0px 0px calc(400px / 6) rgb(255, 255, 255), inset 0px 0px 0px calc((400px / 6) + 1px) rgb(0, 0, 0); */
    }
    #viewport{
        right: 19%;
        width: 8vh;
        height: 8vh;
        font-size: 0.7em;
    }
    .side{
        border-radius: 5px;
        width: 75px;
        height: 75px;
    }
    #side1 { transform: rotateY(  0deg) translateZ(37.5px); }
    #side2 { transform: rotateY( 90deg) translateZ(37.5px); }
    #side3 { transform: rotateY(180deg) translateZ(37.5px); }
    #side4 { transform: rotateY(-90deg) translateZ(37.5px); }
    #side5 { transform: rotateX( 90deg) translateZ(37.5px); }
    #side6 { transform: rotateX(-90deg) translateZ(37.5px); }
    #current_grade{
        font-size: 3em;
    }
}

