
body{
    background-image: radial-gradient(circle at center, rgb(169, 173, 173),rgb(65, 69, 69));
}
ul,li{
    list-style: none;
    margin: 0px;
}
.out{
    position: relative;
    width: 860px;
    height: 700px;
    margin: 200px auto;
    perspective:5000px;
}
#canvas{
    border-bottom: 3px solid black;
    transition:transform 2s ease;
    transform:rotateY(180deg);
}
.name{
    width: 350px;
    height: 50px;
    font-size:50px;
    margin-left: 300px;
    margin-top: 20px;
}
.box{
    width:100%;
    height: 100%;
    position: relative;
    transform-style:preserve-3d;
    transition:transform 2s ease,transform 2s ease;
}
/* .box:hover{
     transform:rotateY(180deg);
 }*/
.box li{
    width: 100%;
    height: 100%;
    position: absolute;
}
.box li:nth-of-type(1){
    transform-style:preserve-3d;
    background: deepskyblue;top:0px;left: 0px;
    perspective:1500px;
}
.box li:nth-of-type(2){
    width:100px; background: black;top:0px;left: -100px;
    transform-origin:right;
    transform:rotateY(90deg);

}
.box li:nth-of-type(3){
    width:100px;
    background: black;top:0px;left: 900px;
    transform-origin:left;
    transform:rotateY(-90deg);
}
.box li:nth-of-type(4){
    background: deepskyblue;top:0px;left: 0px;
    transform:translateZ(100px);
    perspective:1500px;
}

.start{
    width: 200px;
    height: 50px;
    background: gainsboro;
    border: 1px solid blue;
    margin-top: -200px;
    margin-left: 370px;
    border-radius: 20px;
    transition:transform 2s ease;
    text-align: center;
    font-size: 35px;
    color: black;
}
.start:hover{
    background: white;
    cursor: pointer;
}
.title{
    width: 150px;
    height: 50px;
    font-size: 50px;
    margin-left: 420px;
    margin-top: 100px;
}
.context{
    width: 550px;
    height: 500px;
    font-size: 30px;
    margin-left: 230px;

}
.end{
    width: 150px;
    height: 50px;
    background: gainsboro;
    border: 1px solid blue;
    margin-top: 625px;
    margin-left: 140px;
    border-radius: 20px;
    transition:transform 2s ease;
    text-align: center;
    font-size: 35px;
    color: black;
    transform:rotateY(180deg);
}
.end:hover{

    background: white;
    cursor: pointer;
}

.show{
    width: 100px;
    height: 55px;
    margin-left: 600px;
    margin-top: 10px;
    transform:rotateY(180deg);
    position: absolute;
}
.restart{
    width: 150px;
    height: 50px;
    background: gainsboro;
    border: 1px solid blue;
    margin-top: 625px;
    margin-left: 600px;
    border-radius: 20px;
    transition:transform 2s ease;
    text-align: center;
    font-size: 35px;
    color: black;
    transform:rotateY(180deg);
}
.restart:hover{

    background: white;
    cursor: pointer;
}


