* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #9fc5e8;
    font-family: 'Diphylleia', serif;
    scroll-behavior: smooth;
    transition: 2s;
}

.main {
    width: 100vw;
    height: 100vh;
    background: rgb(12,52,61);
}

.game {
    width: 80%;
    height: 100%;
    margin: auto;
}

.mainHeading {
    height: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mainHeading h1 {
    text-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3), -10px -10px 20px rgba(159, 197, 232,0.2);
}

.turnImages {
    margin: auto;
    width: 40%;
    height: 35%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.playerImage , .botImage {
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.playerImage h2 , .botImage h2{
    margin-top: 5%;
}

img {
    width: 100%;
    border-radius: 50%;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3), -10px -10px 20px rgba(159, 197, 232,0.2) ;
}

#h2box {
    margin: auto;
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scoreBoard {
    margin: auto;
    width: 35%;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 1%;
    background: #134f5c;
    padding: 1%;
    border-radius: 10px;
}

.scores {
    width: 80%;
    display: grid;
    grid-template-columns: repeat(2 , 1fr);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2), -10px -10px 20px rgba(159, 197, 232,0.1) ;
    border-radius: 10px;
    padding: 1%;
    margin-bottom: 2%;
}

.playerScore , .botScore {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.playerScore {
    border-right: 0.5px solid rgb(12,52,61);
}

.botScore {
    border-left: 0.5px solid rgb(12,52,61);
}

.allInputButtons {
    margin: auto;
    margin-top: 2%;
    width: 35%;
    height: 10%;
}

.inputButtons {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2%;
}

.inputButtons button {
    background: transparent;
    border: 1px solid #134f5c;
    border-radius: 10px;
    box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.1), -1px -1px 20px rgba(159, 197, 232,0.1) ;
    cursor: pointer;
}

.inputButtons button:hover {
    background: #134f5c;
}

.reSetButtonBox {
    margin: auto;
    margin-top: 2%;
    width: 35%;
    height: 8%;
    display: grid;
    grid-template-columns: repeat(1,1fr);
}

#reSetButton {
    background: #134f5c;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.popup {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-popup {
    width: 50%;
    height: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius:20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.1), -1px -1px 20px rgba(159, 197, 232,0.1) ;
}

.result {
    width: 100%;
    height: 40%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
}

#resultHeading, #resultPara {
    filter: drop-shadow(0 0 10px white);
    color: rgb(226, 231, 235);
}

#closeButton {
    margin: auto;
    width: 15%;
    height: 30%;
    display: grid;
    margin-top: 5%;
}

#close {
    border-radius: 10px;
    filter: drop-shadow(0 0 10px white);
}

#close h3 {
    color:#0c343d;
}

.last-heading {
    position: fixed;
    bottom: 1%;
    right: 1%;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}


@media screen and (max-width: 1000px) {
    .game {
        width: 100%;
        height: 90%;
    }

    .turnImages {
        width: 90%;
    }

    #h2box {
       margin-top: -3%;
    }

    .scoreBoard {
        width: 80%;
    }

    .allInputButtons {
        margin-top: 5%;
        width: 80%;
    }

    .result-popup {
        width: 90%;
        height: 40%;
    }

    .reSetButtonBox {
        margin-top: 5%;
        width: 80%;
    }

    #closeButton {
        margin: auto;
        width: 25%;
        height: 30%;
        display: grid;
        margin-top: 5%;
    }

    .last-heading {
        justify-content: center;
    }

}