@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Bungee&family=Inter:ital,opsz,wght@0,14..32,300;1,14..32,300&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Lexend+Exa:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
}
body{
    background-color: #4362d0;
}
.title{
    margin: 3rem;
    font-size: 3rem;
    font-family: "Bungee" , "Poppins" , sans-serif;
    color: transparent;
    background: linear-gradient(
        #fe0000 16.7%,
        #fe0000 33.4%,
        #fff020 33.4%,
        #fff020 50.1%,
        #3edf4b 50.1%,
        #3edf4b 66.8%,
        #3363ff 66.8%,
        #3363ff 83.5%,
        #006aff 83.5%
    );
    -webkit-text-stroke: 0.04em #000000;
    -webkit-background-clip: text;
    background-clip: text;
}


.game-container{
    margin: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10rem;
}
.box{
    width: 200px;
    height: 200px;
    border: 6px solid rgb(28, 36, 56);
    transition: all 0.3s linear;
    cursor: pointer;
}

.box:hover{
    transform: scale(1.04);
}
.box1{
    background-color: rgb(255, 85, 85);
    border-top-left-radius: 100%;
    box-shadow: inset 1px 1px 30px 10px rgb(255, 0, 0);
}
.box2{
    background-color: rgb(255, 255, 93);
    border-top-right-radius: 100%;
    box-shadow: inset 1px 1px 30px 10px rgb(147, 147, 6);
}
.box3{
    background-color: rgb(29, 231, 29);
    border-bottom-left-radius: 100%;
    box-shadow: inset 1px 1px 30px 10px green;
}
.box4{
    background-color: rgb(93, 93, 255);
    border-bottom-right-radius: 100%;
    box-shadow: inset 1px 1px 30px 10px blue;
}
.left-section{
    /* border: 4px solid white; */
    box-shadow: 3px 3px 5px 5px rgb(31, 64, 149);
    border-radius: 50%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
}


.right-section{
    font-family: "Lexend Exa" , "Popppins" , sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
}
.otherElement{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    gap: 30px;
}
.result{
    border-radius: 20px;
    background-color: rgb(116, 150, 236);
    color: white;
    padding: 50px 70px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.img{
    width: 30px;
}
.result h2{
    background-color: #fff;
    color: black;
    padding: 10px 30px;
    border-radius: 10px;
    font-size: 1.5rem;
}

button{
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 10px;
    font-family: "Lexend Exa";
    background-color: rgb(225, 225, 195);
    transition: all 0.1s linear;
    font-weight: 600;
}
button:hover{
    transform: scale(1.03);
}

.gameOver-window{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(44, 61, 105, 0.5);
    color: black;
    font-family: "JetBrains Mono";
    display: none;
    align-content: center;
}
#displayNone{
    display: flex;
    justify-content: center;
    align-items: center;
}
.windowText{
    font-size: 3rem;
    padding: 20px;
    border-radius: 10px;
    width: 30%;
    background-color: beige;
}

.clickedAnimation{
    transform: scale(0.95);
    box-shadow: 0 0 15px white;
    transition: all 0.1s ease-in-out;
}


@media screen and (max-width:900px) {
    .game-container{
        flex-wrap: wrap;
        gap: 3rem;
    }
    .title{
        line-height: 6rem;
    }
}
@media screen and (max-width:500px) {
    .box{
        width: 170px;
        height: 170px;
    }
    .gameOver-window{
        height: 120%;
    }
    .windowText{
        font-size: 2rem;
        width: 78%;
    }
    .title{
        line-height: 4rem;
        font-size: 2rem;
        background: linear-gradient(
            #fe0000 16.7%, 
            #fe0000 23.4%, 
            #fff020 23.4%, 
            #fff020 50.1%, 
            #3edf4b 50.1%, 
            #3edf4b 76.8%, 
            #3363ff 66.8%, 
            #3363ff 83.5%, 
            #006aff 83.5%);
        -webkit-background-clip: text;
        background-clip: text;
    }
    .result{
        padding: 30px 50px ;
    }
}





















