@import url('https://fonts.googleapis.com/css2?family=Comic+Relief:wght@400;700&display=swap');

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Comic Relief';
    letter-spacing: 0.7px;
    background-color: #282828;
}

.intro {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 10;
    text-align: center;
    display: flex;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s linear;
}

.intro.fade-out {
    opacity: 0;
}

.intro p {
    margin-left: auto;
    margin-right: auto;
    font-size: 24px;
}

#gameoverscreen {
    background-color: rgba(255, 0, 0, 0.25);
    display: none;
    opacity: 0;
}

#youwinscreen {
    background-color: rgba(0, 255, 0, 0.25);
    display: none;
    opacity: 0;
}

#youwinscreen.showing {
    display: flex;
    opacity: 1;
}

#greenlight {
    background-color: rgba(0, 255, 0, 0.25);
    display: none;
}

#greenlight.showing {
    position: absolute;
    display: flex;
    z-index: 2 !important;
}

#greenlight.red {
    background-color: rgba(25, 0, 0, 0.5);
}

#greenlight.yellow {
    background-color: rgba(255, 255, 0, 0.25);
}

#gameoverscreen.showing {
    display: flex;
    opacity: 1;
}

.everything_else {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    color: white;
}

.menu {
    margin-left: auto;
    margin-right: auto;
}

.menu h1 {
    font-size: 50px;
}

.btn {
    background-color: white;
    color: #282828;
    padding: 20px;
    border-radius: 10000000000px;
    margin-left: 10px;
    font-size: 20px;
    font-weight: bold;
    font-family: 'Comic Relief';
    letter-spacing: 0.7px;
    user-select: none;
}

.wam {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 10px;
    margin-left: auto;
    margin-right: auto;
}

.wamslot {
    padding-left: 35px;
    padding-right: 35px;
    margin-top: 10px;
    background: green;
    color: green;
    font-size: 100px;
    user-select: none;
}

.mole {
    color: #6F4E37;
}

.wamslot:hover {
    cursor: default;
}

.btn:hover {
    cursor: default;
}

.circle {
    border-radius: 1000000000px;
}

#player {
    background-color: white;
    width: 200px;
    height: 200px;
    position: fixed;
    left: calc(50vw - 100px);
    top: 70vh;
    z-index: 5;
}

#rlglfinish {
    background-color: #646464;
    width: 300px;
    height: 300px;
    position: fixed;
    left: calc(50vw - 150px);
    top: 3vh;
    z-index: 5;
}