:root{
    --clair : #9ED4D6; 
    --turq : #268C7A;
}

* {
    margin:0;
    padding:0;
    box-sizing: border-box;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

html {
    -webkit-font-smoothing: antialiased;
    scroll:hidden;
}

html, body {
    width:100%;
    height:100%;
    background-color:floralwhite;
}

@media{
    body, div#menu{
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    body div#menu > div{
        height:97%;
        width: 100%;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        max-width: 900px;
        max-height: 900px;
    }
    body div#menu > div > div{
        height:12.5%;
        width:100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    body div#menu > div > div > div{
        height:0%;
        width:0%;
        background-color: cadetblue;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    body > input{
        width:200px;
        height:200px;
        position: absolute;
        opacity: 0;
        z-index: 4;
        cursor: pointer;
    }
    body > img {
        width:200px;
        height:200px;
        position: absolute;
        z-index: 3;
    }
    body div#menu > div > div > div{
        transform: rotate(-20deg);
    }
    body div#menu > div > div:nth-child(5) {
        display: none;
    }
    body div#menu > div > div:nth-child(2) div, body div#menu > div > div:nth-child(4) div, body div#menu > div > div:nth-child(8) div:not(.fb-like), body div#menu > div > div:nth-child(10) div {
        transform: rotate(20deg);
    }
    body input:checked{
        display: none;
    }
    body input:checked ~ img{
        opacity: 0;
        display: none;
    }
    body > input:checked ~ div#menu > div > div > div:not(.fb-like){
        height:70%;
        transform: rotate(0deg);
        width:90%;
    }

    #menu h2{
        font-size: 15pt;
        text-align: center;
    }
    #menu h2 a{
        font-family: 'Rubik Mono One', sans-serif;
        margin:50px auto;
        color:floralwhite;
        text-decoration: none;
    }
    #menu h2 a.not_ready{
        color:var(--clair);
    }
}
@media screen and (min-width: 500px) {
    #menu h2{
        font-size: 30pt;
    }
}
@media screen and (min-width: 912px) {
    body div#menu > div{
        height:auto;
        max-height: 600px;
        max-width: 600px;
    }
    body div#menu > div > div{
        height:200px;
        width:200px;
    }
    body div#menu > div > div > div{
        height:90%;
        width:90%;
        background-color: cadetblue;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: rotate(0deg);
    }
    body > input:checked ~ div#menu > div > div > div:not(.fb-like){
        height:90%;
        width:90%;
    }
    body div#menu > div > div:nth-child(5) {
        display: flex;
    }
    body div#menu > div > div:nth-child(2) div, body div#menu > div > div:nth-child(4) div, body div#menu > div > div:nth-child(6) div, body div#menu > div > div:nth-child(8) div:not(.fb-like) {
        transform: rotate(0deg);
    }
    body div#menu > div > div:nth-child(1) div, body div#menu > div > div:nth-child(3) div, body div#menu > div > div:nth-child(7) div, body div#menu > div > div:nth-child(9) div {
        transform: rotate(180deg);
    }
    body div#menu > div > div:nth-child(1){
        transform: translate(100%, 100%);
    }
    body div#menu > div > div:nth-child(2){
        transform: translate(0%, 100%);
    }
    body div#menu > div > div:nth-child(3){
        transform: translate(-100%, 100%);
    }
    body div#menu > div > div:nth-child(4){
        transform: translate(100%, 0%);
    }
    body div#menu > div > div:nth-child(5){
        opacity: 0;
    }
    body div#menu > div > div:nth-child(6){
        transform: translate(-100%, 0%);
    }
    body div#menu > div > div:nth-child(7){
        transform: translate(100%, -100%);
    }
    body div#menu > div > div:nth-child(8){
        transform: translate(0%, -100%);
    }
    body div#menu > div > div:nth-child(9){
        transform: translate(-100%, -100%);
    }
    body input ~ div#menu > div > div:nth-child(5){
        z-index: 2;
    }
    body input ~ div#menu > div > div img {
        height:200px;
    }
    body input:checked{
        display: block;
    }
    body > input:checked ~ img{
        opacity: 1;
        width:175px;
        height:175px;
        display: block;
    }

    body input:checked ~ div#menu > div > div{
        transform: translate(0, 0);
    }
    body input:checked ~ div#menu > div > div > div{
        height:175px;
        transform: rotate(0);
    }
    body input:checked ~ div#menu > div > div img {
        height:175px;
    }
    body input:checked ~ div#menu > div > div:hover > div:not(.not){
        height:200px;
        width: 200px;
    }
}