* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: cursive;

}

body {
    background-color: #f1f1f1;
}

p {
    background-color: #03346e;
    display: flex;
    justify-content: space-evenly;
    padding: 20px;
    color: #e2e2b6;
    font-size: 30px;
    font-weight: 800;

}
#user-score{
    color: rgb(12, 187, 27);
}
#comp-score{
    color: red;
}

h1 {
    font-size: 2rem;
    text-align: center;
    margin-top: 10px;
}

.btns {
    display: flex;
    justify-content: center;
    margin-top: 100px;
    margin-bottom: 70px;

}

button {
    padding: 20px;
    width: 150px;
    margin: 0 10px;
    font-size: 3rem;
    border: none;
    cursor: pointer;
    box-shadow: 4px 6px 10px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;

}

button:active {
    box-shadow: 2px 2px 1px white inset;

}

#roke {
    background-color: rgb(253, 255, 141);

}

#paper {
    background-color: #21f3bf;
}

#scissor {
    background-color: #63b2fc;

}

button:hover {
    opacity: 0.8;
}

#result {
    background-color: #f3dfdf;
    color: #02ff17;
    padding: 30px;
    width: 50vw;
    position: relative;
    left: 50%;
    transform: translate(-50%);
    border-radius: 7px;


}



/* ✅ Responsive Design */
@media (max-width: 768px) {
    p {
        flex-direction: column;
        text-align: center;
        font-size: 22px;
        gap: 10px;
    }

    .btns {
        flex-direction: column;
        margin-top: 50px;
        margin-bottom: 40px;
    }

    button {
        width: 80%;
        margin: 10px auto;
        font-size: 2.5rem;
    }

    #result {
        width: 80vw;
        font-size: 1.2rem;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    p {
        font-size: 18px;
    }

    button {
        width: 90%;
        font-size: 2rem;
        padding: 15px;
    }

    #result {
        width: 90vw;
        font-size: 1rem;
        padding: 15px;
    }
}
