@font-face {
    font-family: "Netflix";
    src: url('Netflix_Fonts/NetflixSans-Regular.otf');
}

* {
    margin: 0;
    box-sizing: border-box;
    font-family: "Netflix";
}

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    background: 
    linear-gradient(to right, rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    transition: all 0.3s;
}

.main-content {
    width: 90%;
    background: #fff;
    max-width: 550px;
    min-width: 250px;
    min-height: 580px;
    padding: 20px;
    border: 1px solid black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
}

.main-content h1{
    width: 80%;
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid black;
    padding-bottom: 20px;
}

.game-display {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 50px;
}

#user {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#computer {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#user-img {
    width: 150px;
}

#user-name {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    width: 80%;
}

#user-score {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    width: 80%;
}

#computer-score {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    width: 80%;
}

#user-choice {
    font-size: 1.5rem;
    font-weight: 300;
    text-align: center;
    width: 80%;
    margin-top: 10px;
    color: rgba(0, 0, 0, 0.356);
}

#computer-choice {
    font-size: 1.5rem;
    font-weight: 300;
    text-align: center;
    width: 80%;
    margin-top: 10px;
    color: rgba(0, 0, 0, 0.356);
}

#computer-img {
    width: 150px;
    transform: rotateY(180deg);
}

#computer-name {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
}

#vertical-line {
    height: 200px;
    width: 1px;
    /* background-color: rgb(216, 216, 216); */
    background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0), /* Transparent black at the top */
    rgb(0, 0, 0), /* Solid black in the middle */
    rgba(0, 0, 0, 0) /* Transparent black at the bottom */
  );
}

#result {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 20px;
}

#btns {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

#rock {
    /* width: 100px;
    height: 40px; */
    padding: 9px 15px 9px;
    color: #fff;
    border: none;
    background: black;
    font-size: 1.1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
}

#rock:hover{
    transform: scale(1.075);
}
#paper:hover{
    transform: scale(1.075);
}
#scissors:hover{
    transform: scale(1.075);
}
#reset:hover{
    transform: scale(1.075);
}

#paper {
    /* width: 100px;
    height: 40px; */
    padding: 9px 15px 9px;
    color: #fff;
    border: none;
    background: black;
    font-size: 1.1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
}

#scissors {
    /* width: 100px;
    height: 40px; */
    padding: 9px 15px 9px;
    color: #fff;
    border: none;
    background: black;
    font-size: 1.1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
}

#reset-btn {
    margin-top: 20px;
    display: flex;
    gap: 50px;
    justify-content: center;
    align-items: center;
}

#reset {
    /* width: 100px;
    height: 40px; */
    padding: 9px 25px 9px;
    color: black;
    border: none;
    background: #fff;
    font-size: 1.1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    gap: 7px;
    border: 1px solid black;
}

footer {
    width: 100%;
    height: 80px;
    background-color: black;
    color: white;
    justify-content: center;
    align-content: center;
    text-align: center;
    font-size: 1.3rem;
    bottom: 0px;
}

a {
    color: #fff;
    text-decoration: none;
}

@media screen and (max-width: 360px) {
    .game-display {
        gap: 10px;
    }
}

@media screen and (max-width: 540px) {
    .game-display {
        gap: 15px;
    }
}

.win {
    color: rgb(6, 179, 78);
}
.lose {
    color: rgb(179, 6, 6);
}
.draw {
    color: rgb(6, 116, 179);
}

.hidden {
    display: none;
}