*{margin: 0; padding: 0; box-sizing: border-box; user-select: none; border: 0; outline: 0;}
/* .box{
    width: 200px;
    height: 200px;
    background: #fa0;
    margin-bottom: 80px;
    transition: .5s;
}
.box.active{
    transform: rotate(45deg);
} */

body{
    background: repeating-linear-gradient(45deg, #222 7%, #333 10%);
    height: 100vh;
    overflow: hidden;
}
.image{
    position: fixed;
    top: 0;
    left: 0;
    perspective: 850px;
    width: 100%;
    height: 100%;
    
}
.image img {
    width: 100%;
    height: 100%;
    transform-origin: left;
    border: 3px solid #000;
    -webkit-box-reflect: below 0 linear-gradient(transparent, transparent, #0009);
    transition: 1s;
    object-fit: cover;
}
.burger{
    position: fixed;
    right: 30px;
    top: 30px;
    z-index: 1;
    width: 80px;
    height: 60px;
    display: grid;
    align-content: space-between;
    cursor: pointer;
    background: rgb(39, 38, 38);
    box-sizing: content-box;
    padding: 20px 12px;
    border-radius: 10px;
    box-shadow: 0 0  15px whitesmoke;
    justify-items: end;
    transition: .5s .5s;
}
.burger span {
    width: 100%;
    height: 6px;
    background: #fff;
    border-radius: 12px;
}
.burger span:nth-of-type(2){
    width: 60%;
    transition: opacity  .5s 1s, width .4s;
}
.burger span:nth-of-type(1){
    width: 80%;
    transition: transform 1s .6s, width .3s, background 2s;
}
.burger span:nth-of-type(3){
    width: 40%;
    transition: transform .5s 1s, width .5s, background 2s;
}
.burger:hover span{
    width: 100%;
}
.active .image img{
     transform: rotateY(20deg) scaleX(.7);
     border-color: #fff;
     transition: 1s;
}
.active .burger {
    right: 130px;
    transition: 1s .5s;
    box-shadow: 2px -2px 20px 2px #0033ff, -1px 3px 0 1px #0033ff66, -8px 9px 0 1px #0033ff66;
}
.active .burger span {
    background: #0033ff;
    width: 100%;
}
.active .burger span:nth-of-type(2){
    opacity: 0;
    transition: .5s 1s;
}
.active .burger span:nth-of-type(1){
    transform: translateY(27px) rotate(405deg) ;
    transition: 1s 1s;
}
.active .burger span:nth-of-type(3){
    transform:  translateY(-27px) rotate(-405deg);
    transition: 1s 1.5s;
}
.active .menu {
    right: 0;
}
.menu {
    position: absolute;
    top: 0;
    right: -20%;
    width: 20%;
    height: 100%;
    background: #fff;
    display: grid;
    background: rgba(0, 0, 0, 0.4);
    box-shadow:inset 0 0 10px white,inset 0 0 10px #0033ff66,inset 0 0 20px white;
    transition: 1s .5s;

}
.menu ul {
    position: absolute;
    bottom: 10px;
}
.menu ul li {
    list-style-type: none;
    padding: 30px;
    font: bold 28px cursive;
    color: #0033ffb1;
    text-decoration-line: underline;
    cursor: pointer;
    text-shadow: 2px 2px 4px white;
    transition: .5s;
}
.menu ul li:hover{
    color: rgb(3, 3, 52);
    transform: translateX(10px) scale(1.2);
}
.menu ul li:checked{
    transform: translateX(10px) scale(1.2);
}