@import url('https://fonts.googleapis.com/css2?family=Kranky&family=Roboto:ital,wght@0,100..900;1,100..900&family=Style+Script&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Kranky&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&family=Style+Script&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Baloo+Da+2:wght@400..800&family=Kranky&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&family=Style+Script&display=swap');


* {
    margin: 0;
    padding: 0;
}
body{
    caret-color: transparent;
}

nav {
    background-color: rgb(60, 10, 65);
    color: rgb(241, 208, 237);
    height: 65px;
    display: flex;
    align-items: center;
    font-size: 2.3vw;
    padding: 0 12px;
    font-family: "Kranky", serif;
    font-weight: 400;
    font-style: normal;
}

nav ul {
    list-style: none;
}

.gamecontainer {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.container {
    display: grid;
    grid-template-rows: repeat(3, 10vw);
    grid-template-columns: repeat(3, 10vw);
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    /* position: relative; */
}

.box {
    border: 2px solid black;
    font-size: 8vw;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box:hover {
    background-color: rgb(240, 229, 245);
}

.gameinfo {
    padding: 0 34px;
    font-family: "Baloo Da 2", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.image {
    width: 0px;
    padding-top: 14px;
    transition: width 1s ease-in-out;
}

.br-r {
    border-right: 0;
}

.br-l {
    border-left: 0;
}

.br-t {
    border-top: 0;
}

.br-b {
    border-bottom: 0;
}

#reset {
    margin: 0 23px;
    color: rgb(40, 41, 41);
    background-color: rgb(240, 218, 240);
    font-family: "Baloo Da 2", sans-serif;
    padding: 3px 15px;
    border-radius: 9px;
    border: 1px solid rgb(253, 11, 11);
    cursor: pointer;
    font-weight: 600;
    font-size: 79%;
    transform: translateY(-10%);
}

#reset:hover {
    background-color: rgb(220, 241, 218);
    border: 1px solid black;
    color: rgb(0, 17, 255);
}

.info {
    font-size: 1.5rem;
}

@media (max-width: 700px) {
    .gamecontainer {
        /* position: relative; */
        flex-wrap: wrap;
    }

    .gameinfo {
        margin-top: 60px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .container {
        grid-template-rows: repeat(3, 20vw);
        grid-template-columns: repeat(3, 20vw);
    }


}

/* .line{
    background-color: black;
    height: 3px;
    width: 30vw;
    position: absolute;
    left: 0;
} */