@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

:root {
    --primary: #393E46;
    --secondary: #6D9886;
    --dark: #121f1a;
    --light: #dcdcdc;
    --white: #ffffff;
    --clicked: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--dark);
}

.infoDiv {
    display: flex;
    flex-direction: row;
    background-color: var(--primary);
    padding: 2vh;
    width: 320px;
    margin-top: 0px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 1vh;
}

.istruzioniDiv {
    display: flex;
    flex-direction: row;
    background-color: var(--primary);
    padding: 2vh;
    width: 320px;
    margin-top: 0px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 1vh;
}

.i1 {
    background-color: var(--light);
    cursor: pointer;
    width: 300px;
    text-align: center;
    margin: 5px;
    font-size: 20px;
    color: var(--secondary);
    border-radius: 1vh;
    padding: .55rem;
    user-select: none;
}

.d2 {
    background-color: var(--light);
    width: 100px;
    height: 60px;
    text-align: center;
    margin: 5px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--secondary);
    border-radius: 1vh;
    padding: 1rem;
}

.d1 {
    background-color: var(--light);
    width: 60px;
    height: 60px;
    text-align: center;
    margin: 5px;
    font-size: 2rem;
    color: var(--secondary);
    border-radius: 1vh;
    padding: .55rem;
    user-select: none;
}

.d1:hover {
    background-color: var(--clicked);
    cursor: pointer;
    box-shadow: 0 0 25px 0 rgba(255, 255, 255, 0.25);
}

.d0 {
    background-color: var(--light);
    cursor: pointer;
    width: 100px;
    height: 60px;
    text-align: center;
    margin: 5px;
    font-size: 30px;
    color: var(--secondary);
    border-radius: 1vh;
    padding: .55rem;
    user-select: none;
}

.gameDiv {
    background-color: var(--primary);
    width: 320px;
    padding: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
}

.gameDiv div {
    display: flex;
    flex-direction: row;
    margin: 0;
    height: max-content;
}

.gameDiv div div {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary);
    font-size: 2vw;
    font-weight: 800;
    background-color: var(--white);
    border-radius: 1vh;
    margin: 2px;
    width: 30px;
    height: 30px;
    user-select: none;
}

.gameDiv div div:hover {
    background-color: var(--light);
}

.mine {
    background-color: #951f1f !important;
}

.clicked {
    background-color: var(--dark) !important;
}

.c1 {
    color: #2e8dd6 !important;
}

.c2 {
    color: #19b359 !important;
}

.c3 {
    color: #ca1c1c !important;
}

.c4 {
    color: #e3aa24 !important;
}

.c5 {
    color: #8f32b7 !important;
}

.c6 {
    color: #ff0000 !important;
}

.c7 {
    color: #2e125e !important;
}

.c8 {
    color: #000000 !important;
}