@import url("https://fonts.xz.style/serve/inter.css");

* {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: white;
}

h1 {
    text-align: center;
    margin: 20px;
}

body {
    background-color: #212121;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.game-board {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-height: 40vh;
    max-width: 40vh;
    width: 50vw;
    height: 50vw;
    border: 1vw solid transparent;
    padding: 1vw;
}

p {
    text-align: center;
    margin: 10px auto;
}

.pad {
    width: 45%;
    height: 45%;
    border-right: 1vh solid;
    border-bottom: 1vh  solid;
}

.playing-board .pad:hover {
    filter: brightness(0.8);
}

.playing-board .pad:active {
    transform: scale(0.95);
    filter:brightness(1.6);
}

.flashed {
    filter:brightness(1.6);
}

.pad1 {
    background-color: green;
    border-color: darkgreen;
    border-radius: 50% 5% 5% 5%;
}

.pad2 {
    background-color: #663399;
    border-color: #3d1f66;
    border-radius: 5% 50% 5% 5%;
}

.pad3 {
    background-color: #ff7f50;
    border-color: #b24b2b;
    border-radius: 5% 5% 5% 50%;
}

.pad4 {
    background-color: cornflowerblue;
    border-color: darkslategrey;
    border-radius: 5% 5% 50% 5%;
}

#difficulty {
    display: flex;
    gap: 5px;
}

button {
    color: black;
    margin: auto;
    font-size: 1em;
    border-radius: 10px;
    width: 30%;
    height: 6vh;
    border-right: 1vh solid #444;
    border-bottom: 1vh  solid #444;
}

button:hover {
    filter: brightness(0.8);
}

button:active {
    transform: scale(0.95);
}

#start {
    display: none;
}


#round-display {
    font-size: 1.5em;
    display: none;
}

.game-over {
    display: none;
    background-color: white;
    border-radius: 10%;
    margin: auto;
    height: 30vh;
    border-right: 0.5em solid #444;
    border-bottom: 0.5em solid #444;
}

.game-over div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: auto;
    height: 60%;
}

.game-over p, .game-over h3, .game-over span {
    color: #000;
}

.game-over button {
    display: block;
    width: 60%;
}