
* {
    margin: 0;
    padding: 0;
    font-family: 'Times New Roman', Times, serif;
}

body {
    /* background-color: #0093C8; */
    background-image: url(assets/bg.jpg);
    background-repeat: no-repeat;
    /* background-size: cover; */
    color: rgb(0, 0, 0);
    /* overflow: hidden; */
}

header {
    text-align: center;
    margin: 2px 0 0 0;

}

.top {
    text-align: center;
    padding: 10px;
    height: 50px;
    font-size: 48px;
    display: inline;
    font-weight: 700;
    color: rgb(0, 0, 0);
    border-radius: 10px;
}

.container {
    align-items: center;
    text-align: center;
    height: 31vmin;
    margin: auto;
    color: rgb(13, 0, 154);
    display: flex;
    gap: 3vmin;
    justify-content: center;
}

.container>div {
    text-align: center;
    font-size: 80px;
    display: inline;
    border-radius: 72px;
    border: 4px solid black;
    cursor: pointer;
}

.score {
    font-size: 70px;
}

.Showresult {
    text-align: center;
    font-size: 5vmin;
    color: white;
    margin: 19px 0 0 0 ;
}

.Showresult.result {
    text-align: center;
    display: flex;
    justify-content: center;
}

.result{
    background-color: none;
    border: none;
    color: rgb(255, 255, 255);
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 12px;
    padding: 12px; 
}

.RESET,
.choices {
    background-color: #4CAF50;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 12px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: xx-large;
    padding: 10px;
}

.RESET,
.choices:hover {
    background-color: #45a049;
    transform: scale(1.1);
}

.RESET,
.choices :active {
    background-color: #3e8e41;
    transform: scale(0.9);
}

.display {
    display: flex;
    align-items: center;
    font-size: 70px;
    justify-content: center;
    padding: 0px;
    gap: 30px
}

.hide {
    display: none;
}

.user {
    transform: rotate(90deg);
    background-color: #534caf;
    border-radius: 72px;
    border: 4px solid black;
    padding: 7px;
}

.comp {
    background-color: #534caf;
    transform: rotate(-90deg);
    border-radius: 72px;
    border: 4px solid black;
    padding: 7px;
}

.txt {
    font-size: 3vmin;
    font-weight: 700;
}

.RESET {
    font-size: 3vmin;
    background-color: black;
    color: white;
    margin: 3px;
}

.RESET:hover {
    background-color: white;
    color: black;
    cursor: pointer;
}

.heading{
    padding: 5px 0 0 0;
    margin: 10px 0 0 0;
    font-size: 4vmin;
}

.foot{
    text-align: center;
}

.rules {
    position: relative;
    right: 3px;
    top: 3px;
    cursor: pointer;
    display: inline;
    color: #F9F9F9;
    background-color: rgb(63, 61, 61);
    border-radius: 5px;
    padding: 5px;
    font-size: 15px;
}

.rules .srcimg {
    visibility: hidden;
    width: 250px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 0.5em;
}

.rules:hover .srcimg {
    transition: all ease-in-out 0.1s;
    visibility: visible;
    opacity: 1;
    background-color: rgb(58, 32, 86);
}

@media screen and (max-width: 548px) {
    .container>div {
        font-size: 54px;
    }
    .display {
        font-size: 44px;
        padding: 5px;
        margin: 16px;
    }
    .RESET, .result{
        padding: 6px;
        margin: 10px;
        font-size: medium;
    }
    .top{
        font-size: 30px;
    }
}


@media screen and (max-width: 350px) {
    .container>div {
        font-size: 39px;
        margin: 6px 0 6px 0;
    }
    .display {
        padding: 5px;
        font-size: 30px;
        margin: 15px;
    }
    .heading {
        padding: 5px 0 0 0;
        margin: 19px 0 32px 0;
    }
    .top{
        font-size: 20px;
    }
}
@media screen and (max-width: 250px) {
    .container>div {
        font-size: 26px;
        margin: 6px 0 6px 0;
    }
    .display {
        padding: 5px;
        font-size: 30px;
        margin: 15px;
    }
    .heading {
        padding: 5px 0 0 0;
        margin: 19px 0 32px 0;

    }
}