html {
    margin: 0;
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    height: 100%;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.buttons {
    display: flex;
    justify-content: space-evenly;
    height: 50vh;
    background-color: #ffffff;
}

button {
    width: 20%;
    font-size: 32px;
    font-weight: 100;
    border: solid;
    border-width: 1px;
    padding: 5px;
}

button:hover,
button:focus {
    background: #c2bbf6;
}

button:focus {
    outline: 1px solid #fff;
    outline-offset: -2px;
}

button:active {
    transform: scale(0.99);
}

.rock {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #ffd6d6;
}

.paper {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #fef6d4;
}

.scissors {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #f6d6ff;
}

.lizard {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #d8f3d8;
}

.spock {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #d5e5ff;
}

.result-box {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    align-self: center;
    min-width: 50%;
}

.result {
    flex: 0 1 100%;
    font-size: 32px;
    font-weight: 100;
}

.human {
    flex: 1;
    font-size: 56px;
    font-weight: 200;
}

.computer {
    flex: 1;
    font-size: 56px;
    font-weight: 200;
}

.rules-container {
    display: flex;
    justify-content: center;
}

.rules {
    height: auto;
    width: 35%;
    object-fit: contain;
}

footer {
    padding: 8px;
    background-color: #1F2937;
    color: #F9FAF8;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}