@import url('https://fonts.googleapis.com/css2?family=Amarante&family=Barrio&family=Chewy&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* .barrio-regular {
    font-family: "Barrio", serif;
    font-weight: 400;
    font-style: normal;
} */
body {
    background-color: aliceblue;
}

.outer-box {
    /* display: flex; */
    justify-content: center;
    align-items: center;
    height: 100vh;
}

nav {
    background-color: #1a1a1a;
    color: #fff;
    height: 75px;
    font-size: 27px;
    display: flex;
    align-items: center;
    font-family: "Barrio", serif;
    padding: 20px;
}

nav ul {
    list-style-type: none;
}


.game-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 100px 50px;
}


.container {
    display: grid;
    grid-template-rows: repeat(3, 10vw);
    grid-template-columns: repeat(3, 10vw);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
}

.line {
    background-color: #650186;
    height: 3px;
    width: 0;
    position: absolute;
    /* transform: translate(10vw, 20vw) rotate(90deg); */
    transition: width 1s ease-in-out;
}

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

.box:hover{
    background-color: #f6e4fd;
}

.info {
    font-size: 22px;
}

.game-info {
    padding: 0 34px;
    font-family: "Amarante", serif;
}

.div-about-winner {
    margin-top: 15px;
}

.img-box img {
    width: 0;
    transition: width 1s ease-in-out;
} 

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

.bl-0 {
    border-left: 0;
}

.bb-0 {
    border-bottom: 0;
}

.bt-0 {
    border-top: 0;
}

#reset-btn {
    margin: 0 23px;
    padding: 1px 18px;
    background-color: #fdebff;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 22px;
    font-weight: bolder;
    box-shadow: 3px 3px;
}

#reset-btn:hover {
    background-color: #f386ff;
}

#reset-btn:active {
    transform: translateX(3px) translateY(2px);
}

@media screen and (max-width: 800px)
{
    .game-container {
        flex-wrap: wrap;
        align-items: center;
    }
    .container {
        display: grid;
        grid-template-rows: repeat(3, 30vw);
        grid-template-columns: repeat(3, 30vw);
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    .box {
        font-size: 7vw;
        font-weight: 500;
    }
    .game-info {
        margin-top: 34px;
    }
    .game-info h1{
        font-size: 1.5rem;
        text-align: center;
    }
    .div-about-winner {
        display: flex;
        justify-content: center;
    }
    .info {
        margin-top: 5px;
        font-size: 1rem;
    }
    #reset-btn {
        font-size: 1rem;
        margin: auto;
        padding: 4px;
    }
}