* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

.header {
    width: 100%;
    height: 8rem;
    background-color: hsl(0, 0%, 16%);
    display: flex;
    padding: 2rem;
    justify-content: center;
    align-items: center;
}

.title {
    font-size: 1.5rem;
    color: hsl(0, 0%, 100%);
    text-shadow: 4px 3px 0px #292828;
}

.container {
    height: 30vh;
    margin: 2rem;
    padding: 5rem 0 2rem 0;
    text-align: center;
    position: relative;
}

.container span {
    font-size: 1.5rem;
    position: absolute;
}

span#player-score {
    right: 70%;
}

span#computer-score {
    left: 65%;
}

.game {
    height: 40rem;
    width: 30%;
    background-color: hsl(0, 0%, 85%);
    margin: 5rem auto;
    border: 2px solid hsl(0, 0%, 17%);
    border-radius: 0.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

button {
    outline: none;
    border: none;
    padding: 2rem 2.5rem;
    border-radius: 1rem;
    font-size: 1.2rem;
    background: hsl(0, 0%, 91%);
    color: black;
    transition: background-color 0.4s ease-in;
    cursor: pointer;
    border: 1px solid hsl(0, 0%, 16%);
}

button:hover {
    background-color: hsl(0, 0%, 85%);
}

img {
    width: 100px;
    height: 100px;
    cursor: pointer;
    transition: all 0.5s ease;
}

img:hover {
    transform: scale(1.1);
}

.buttons {
    display: flex;
    gap: 5rem;
}

.result {
    font-size: 1.2rem;
}
