* {
    margin: 0;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;

    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

body {
    overflow: hidden;
    background-color: black;
    color: white;

    display: flex;
    justify-content: center;
    align-content: center;
}

#menu {
    height: 100vh;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#menu br {
    margin: 25px;
}

.flex-x {
    display: flex;
}

.difficulty {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.difficulty div {
    width: 100px;
    text-align: center;
    color: black;
    font-weight: bold;
    font-size: large;
    margin: 25px 10px;
    padding: 20px 10px;
    border: 3px solid rgba(255, 255, 255, .25);
    background-color: rgba(255, 255, 255, .5);
    border-radius: 25px;
}

.difficulty div:hover {
    background-color: rgba(255, 255, 255, .20);
    color: white;
}

#field {
    height: 100vh;
    width: 100vh;

    overflow: hidden;
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;

    position: absolute;
}

#fieldControls {
    opacity: 0;
}

@media only screen and (max-width: 600px) {
    #field {
        height: 100vw;
        width: 100vw;
        top: 50vw;
    }
}

.box {
    height: 10%;
    width: 10%;

    background-color: rgba(255, 255, 255, .25);
    background-position: center;
    background-size: 80px;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 5px;
    margin: 1px;

    display: flex;
    justify-content: center;
    align-items: center;
    font-size: x-large;

    transition: background-color .5s ease-in-out;
}

.clicked {
    background-color: rgba(255, 255, 255, .5);
}

.bomb {
    background-image: url("bomb.png");
    background-size: contain;
    background-color: rgba(255, 0, 0, .5);
}

.flag {
    background-image: url("flag.png");
    background-size: contain;
}

.notify {
    width: 100vw;
    
    position: absolute;
    top: 200px;
    padding: 50px 0;

    justify-content: center;
    align-items: center;
    font-size: x-large;
    text-align: center;
    flex-direction: column;

    pointer-events: none;

    transition: opacity 2s ease-in-out;
}

.notify h1 {
    font-size: 100%;
}

.notify p {
    font-size: 75%;
}

#notification {
    background-color: #000050dd;
}