/* Fonts */

@font-face {
    font-family: 'Circular Std Black';
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/CircularStd-Black.woff') format('woff');
}

@font-face {
    font-family: 'Circular Std Bold';
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/CircularStd-Bold.woff') format('woff');
}

@font-face {
    font-family: 'Circular Std Book';
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/CircularStd-Book.woff') format('woff');
}

@font-face {
    font-family: 'Circular Std Medium';
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/CircularStd-Medium.woff') format('woff');
}

/* Elements */

body {
    font-family: 'Circular Std Medium';
    touch-action: manipulation;
    user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
}

nav {
    animation-delay: 1s;
}

h1 {
    color: #16CA76;
    font-family: 'Circular Std Black';
    font-size: 2.5em;
}

h2 {
    color: #ff5656;
    font-family: 'Circular Std Black';
    font-size: 1.5em;
}

p {
    line-height: 2.5;
    text-align: justify;
}

/* Classes */

.navbar {
    padding: 2.5em;
    position: fixed;
    width: 100%;
    z-index: 1;
}

.div-main {
    height: 100vh;
    max-width: 100%;
}

.div-centered {
    align-items: center;
    display: flex;
    justify-content: center;
}

.div-h-centered {
    text-align: center;
}

.btn-difficulty {

}

.btn-grid {
    background-color: #6CEFB2;
    border-radius: 0%;
    color: black;
    cursor: default;
    margin: 0.5px;
    padding: 0;
}

.btn-grid:focus {
    box-shadow: none;
}

.btn-grid-flag {
    background-image: url(../images/flag-solid.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 75%;
}

.btn-grid-mine {
    background-image: url(../images/bomb-solid.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 75%;
}

.btn-grid-zero {
    background-color: #E9BAAF;
    pointer-events: none;
}

.btn-grid-number {
    background-color: #E9BAAF;
    pointer-events: none;
}

.status-paragraph {
    padding-left: 1.5em;
    padding-right: 1.5em;
}

.modal-message {
    padding: 1.5em;
    text-align: center;
}

.modal.modal-static .modal-dialog {
    transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -webkit-transform: none !important;
}

/* IDs */

#menu {
    padding-bottom: 1.5em;
    padding-top: 1.5em;
}

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

#grid {
    display: grid;
    padding-bottom: 1.5em;
    padding-top: 1.5em;
    width: 40em;
}

#status {
    align-items: center;
    display: flex;
    justify-content: center;
    padding-bottom: 1.5em;
    padding-top: 1.5em;
}

#losing-message {
    color: #ff5656;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    p {
        text-align: left;
    }

    .navbar {
        position: relative;
    }

    .div-main {
        height: 100%;
    }

    .status-paragraph {
        font-size: 0.7em;
    }

    #grid {
        width: 100vw;
    }
}

/* Laptops with short displays */
@media only screen and (min-width: 1024px) and (max-height: 900px) {
    .navbar {
        position: relative;
    }

    .div-main {
        height: 100%;
    }
}
