*, *::after, *::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    height: fit-content;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(180deg, hsla(172, 85%, 74%, 1) 0%, hsla(319, 74%, 64%, 1) 100%);
}

.container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
}

h1 {
    font-size: 54px;
    margin: 10px;
}

.highscore {
    font-size: 24px;
}

.stats {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
}

.stats > * {
    margin: 0 1.5rem;
}

.stats > p {
    font-size: 18px;
}

.stats > button {
    padding: .5rem 1.5rem;
    cursor: pointer;
    background-color: coral;
    border: 0;
    box-shadow: 2px 1px 3px 1px rgba(0, 0, 0, .2);
    font-size: 18px;
}

.stats > button:hover {
    transform: scale(1.1);
}

.color-btns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    position: relative;
    margin: 1rem 0;
}

.circle {
    position: absolute;
    background-color: white;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn {
    cursor: pointer;
    height: 150px;
    width: 150px;
    border: 0;
    opacity: .5;
}

.btn#red {
    background-color: red;
    margin: 0 0 2px 2px;
    border-radius: 0 50% 0 0 ;
}

.btn#blue {
    background-color: blue;
    margin: 0 2px 2px 0;
    border-radius: 50% 0 0 0;
}

.btn#green {
    background-color: green;
    margin: 2px 2px 0 0;
    border-radius: 0 0 0 50%;
}

.btn#yellow {
    background-color: yellow;
    margin: 2px 0 0 2px;
    border-radius: 0 0 50% 0;
}

.btn:active {
    opacity: 1;
    transform: scale(1.1);
}

.pressed {
    opacity: 1;
    transform: scale(1.1);
}

#reset {
    margin: 2rem 0;
    padding: .5rem 1.5rem;
    cursor: pointer;
    background-color: coral;
    border: 0;
    box-shadow: 2px 1px 3px 1px rgba(0, 0, 0, .2);
    font-size: 18px;
}
#reset:hover {
    transform: scale(1.1);
}

.loose-modal {
    position: absolute;
    top: -3%;
    display: none;
    font-size: 24px;
    text-align: center;
}

.show {
    display: flex;
}

.copyright {
    margin: 1rem 0 0 0 ;
}