*{
    padding: 0;
    margin: 0;
    box-sizing: content-box;
    user-select: none;
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #020c15;
    overflow: hidden;
}

.mainMenu{
    margin: 75px;
    color: #fff;
    text-align: center;
}

.mainMenu ul{
    list-style: none;
    font-size: 20px;
    position: relative;
}

.mainMenu ul li{
    margin-top: 30px;
}

.mainMenu ul li label{
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mainMenu ul li label input[type="radio"]{
    appearance: none;
    display: none;
}

.mainMenu ul li:nth-child(1) label input[type="radio"]:checked ~ p,
.mainMenu ul li:nth-child(1) label:hover p
{
    color: greenyellow;
}

.mainMenu ul li:nth-child(1) label:hover span{
    display: inline-block;
    position: absolute;
    top: 0;
    left: 150px;
    width: 7px;
    background: greenyellow;
    animation: animate1 0.5s linear forwards;
}

@keyframes animate1{
    from{
        height: 0;
    }
    to{
        height: 15px;
    }
}

.mainMenu ul li:nth-child(1) label:hover span::before,
.mainMenu ul li:nth-child(1) label input[type="radio"]:checked ~ span::before
{
    content: "";
    display: block;
    height: 1px;
    position: absolute;
    left: 15px;
    bottom: 0;
    background-color: gray !important;
    animation: info1 0.5s linear forwards;
    animation-delay: 0.5s;
}

@keyframes info1{
    from{
        width: 0;
    }
    to{
        width: 80px;
    }
}

.mainMenu ul li:nth-child(1) label:hover span::after,
.mainMenu ul li:nth-child(1) label input[type="radio"]:checked ~ span::after
{
    content: "Board : 9 x 9 \a 💣 : 10";
    display: inline-block;
    position: absolute;
    font-size: 12px;
    font-weight: bold;
    top: -20px;
    left: 20px;
    width: 70px;
    opacity: 0;
    animation: info1FromBoard 0.5s linear forwards;
    animation-delay: 0.8s;
}

@keyframes info1FromBoard{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

.mainMenu ul li:nth-child(2) label:hover span{
    display: inline-block;
    position: absolute;
    top: 0;
    left: 150px;
    width: 7px;
    background: linear-gradient(180deg, greenyellow, orangered);
    animation: animate2 0.5s linear forwards;
}

@keyframes animate2{
    from{
        height: 0;
    }
    to{
        height: 72px;
    }
}

.mainMenu ul li:nth-child(2) label:hover span::before,
.mainMenu ul li:nth-child(2) label input[type="radio"]:checked ~ span::before
{
    content: "";
    display: block;
    height: 1px;
    position: absolute;
    left: 15px;
    bottom: 0;
    background-color: gray !important;
    animation: info2 0.5s linear forwards;
    animation-delay: 0.5s;
}

@keyframes info2{
    from{
        width: 0;
    }
    to{
        width: 90px;
    }
}

.mainMenu ul li:nth-child(2) label:hover span::after,
.mainMenu ul li:nth-child(2) label input[type="radio"]:checked ~ span::after
{
    content: "Board : 16 x 16 \a 💣 : 40";
    white-space: pre;
    display: inline-block;
    position: absolute;
    font-size: 12px;
    font-weight: bold;
    top: 38px;
    left: 20px;
    width: 80px;
    opacity: 0;
    animation: info2FromBoard 0.5s linear forwards;
    animation-delay: 0.8s;
}

@keyframes info2FromBoard{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

.mainMenu ul li:nth-child(3) label:hover span{
    display: inline-block;
    position: absolute;
    top: 0;
    left: 150px;
    width: 7px;
    background: linear-gradient(180deg, greenyellow, orangered, red);
    animation: animate3 0.5s linear forwards;
}

@keyframes animate3{
    from{
        height: 0;
    }
    to{
        height: 125px;
    }
}

.mainMenu ul li:nth-child(3) label:hover span::before,
.mainMenu ul li:nth-child(3) label input[type="radio"]:checked ~ span::before
{
    content: "";
    display: block;
    height: 1px;
    position: absolute;
    left: 15px;
    bottom: 0;
    background-color: gray !important;
    animation: info3 0.5s linear forwards;
    animation-delay: 0.5s;
}

@keyframes info3{
    from{
        width: 0;
    }
    to{
        width: 90px;
    }
}

.mainMenu ul li:nth-child(3) label:hover span::after,
.mainMenu ul li:nth-child(3) label input[type="radio"]:checked ~ span::after
{
    content: "Board : 30 x 16 \a 💣 : 99";
    white-space: pre;
    display: inline-block;
    position: absolute;
    font-size: 12px;
    font-weight: bold;
    top: 90px;
    left: 20px;
    width: 80px;
    opacity: 0;
    animation: info3FromBoard 0.5s linear forwards;
    animation-delay: 0.8s;
}

@keyframes info3FromBoard{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

.mainMenu ul li:nth-child(1) label input[type="radio"]:checked ~ span{
    display: inline-block;
    position: absolute;
    top: 0;
    left: 150px;
    width: 7px;
    height: 15px;
    background: greenyellow;
    animation: animate1 0.5s linear forwards;
}

.mainMenu ul li:nth-child(2) label input[type="radio"]:checked ~ span{
    display: inline-block;
    position: absolute;
    top: 0;
    left: 150px;
    width: 7px;
    height: 72px;
    background: linear-gradient(180deg, greenyellow, orangered);
    animation: animate2 0.5s linear forwards;
}

.mainMenu ul li:nth-child(3) label input[type="radio"]:checked ~ span{
    display: inline-block;
    position: absolute;
    top: 0;
    left: 150px;
    width: 7px;
    height: 125px;
    background: linear-gradient(180deg, greenyellow, orangered, red);
    animation: animate3 0.5s linear forwards;
}

.mainMenu ul li:nth-child(2) label input[type="radio"]:checked ~ p,
.mainMenu ul li:nth-child(2) label:hover p
{
    color: orangered;
}

.mainMenu ul li:nth-child(3) label input[type="radio"]:checked ~ p,
.mainMenu ul li:nth-child(3) label:hover p
{
    color: red;
}

.mainMenu .startButton{
    margin-top: 50px;
    font-size: 35px;
    cursor: pointer;
    color: #00f3ff;
    text-shadow: 0 0 5px #00f3ff;
    background-color: #3e5558;
    border: 1px solid #fff;
    border-radius: 15%;
    width: 170px;
    padding: 5px;
    font-weight: bold;
    box-shadow: inset 0 0 15px 2px #fff;
}

.mainMenu .startButton:hover{
    box-shadow: 0 0 5px 5px #00f3ff;
}

header{
    display: flex;
    justify-content: center;
    align-items: center;
}

header h1{
    letter-spacing: 2px;
    font-size: 3em;
    margin-top: 250px;
    color: #00f3ff;
    text-shadow: 0 0 5px #00f3ff,
                 0 0 15px #00f3ff;
}

@keyframes titleAnim{
    from{
        margin-top: 250px;
    }
    to{
        margin-top: 50px;
    }
}

main{
    margin-top: 75px;
}

.gameBoard{
    display: none;
    flex-wrap: wrap;
    background-color: #00211f;
    border-radius: 15px;
    box-shadow: 0 0 15px 5px #00f3ff,
                0 0 30px 5px #00f3ff,
                0 0 60px 5px #00f3ff,
            inset 0 0 15px 3px #ffffff73;
    padding: 15px;
}

.gameBoard div{
    box-sizing: border-box;
    border-radius: 15px;
    border: 1px solid #555656;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: #8eadb1;
    padding: 1px;
}

.checked{
    background-color: #0095a5 !important;
    font-weight: bold;
}

.scoreBoard{
    display: none;
    position: absolute;
    bottom: 75px;
    right: 25%;
    margin-top: 25px;
    font-size: 3em;
    color: #fff;
}

.scoreBoard span{
    text-indent: 15px;
    display: inline-block;
    position: absolute;
}

.bombCountIs1{
    color: #0fe420;
}

.bombCountIs2{
    color: yellow;
}

.bombCountIs3{
    color: blue;
}

.bombCountIs4{
    color: purple;
}

.bombCountIs5{
    color: orange;
}

.bombCountIs6{
    color: red;
}

.gameOver{
    background-color: #ff000091 !important;
}