html {
    font-size: 10px;
    font-family: "Ubuntu", Arial, Helvetica, sans-serif;
}

body {
    position: relative;
}

#container {
    display: grid;
    margin: 0 2rem;
    padding: 2rem 0;
    grid-template-columns: 960px 1fr;
    gap: 2rem;
}

#canvas {
    border-radius: 10px;
}

#info-button {
    position: absolute;
    top: 2rem;
    right: 4rem;
    height: 4rem;
    width: 4rem;
    background-color: #5fd1f9;
    border-radius: 5px;
    color: #FFF;
    font-size: 4rem;
    font-weight: 500;
    line-height: 4rem;
    text-align: center;
}

#info-button:hover {
    cursor: pointer;
}

#score-contain > h2 {
    font-size: 3rem;
}

#score {
    display: grid;
    grid-template-rows: repeat(3, 100px);
}

.geese-score {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    align-items: center;
}

.geese-score img {
    justify-self: center;
}

.geese-score p {
    font-size: 2rem;
}

p, li {
    font-size: 1.6rem;
    line-height: 1.3;
}

h2 {
    font-size: 2rem;
    font-weight: 500;
}

span {
    font-weight: 500;
    text-transform: uppercase;
}

#info, #score {
    background-color: skyblue;
    padding: 2rem;
    margin: 2rem 2rem 2rem 0;
    border-radius: 10px;
}

#lives {
    background-color: skyblue;
    padding: 1rem;
    margin: 2rem 0;
    border-radius: 10px;
    width: 520px;
    height: 72px;
}

#lives img {
    width: 50px;
    height: 50px;
}

.none {
    display: none;
}

.para {
    margin-bottom: 2rem;
}

.para:last-of-type {
    margin-bottom: 0;
}

.para h2 {
    margin-bottom: 0.5rem;
}

#win, #lose {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(0,0,0,0.5);
    width: 100vw;
    height: 100vh;
    display: none;
}

#win-content, #lose-content {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    background-color: #5fd1f9;
    height: 50%;
    width: 50%;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#win-content h2, #lose-content h2 {
    font-size: 5rem;
    margin-bottom: 1rem;
}

button {
    border: 2px solid    #FFF;
    border-radius: 10px;
    background-color: #5fd1f9;
    font-family: "Ubuntu", Arial, Helvetica, sans-serif;
    padding: 1rem 1.5rem;
    font-size: 1.6rem;
    line-height: 1.3;
    color:#434343;
    font-weight: 600;
}

button:hover {
    color:#5fd1f9;
    background-color: #fff;
}

