*{
    margin: 0px;
    padding: 0px;
    font-family: "Permanent Marker", serif;
}

body {
    width: 100%;
    height: 100dvh;
    align-content: center;
    text-align: center;
    background-color: #2E5077;
}


.container{
    width: 60%;
    background-color: #4DA1A9;
    justify-self: center;
    border-radius: 13px;
    filter: drop-shadow(3px 3px 10px);
    align-content: center;
    aspect-ratio: 1 / .75;
    scale: 1;
    
}

h1 {
    font-family: "Indie Flower", serif;
    margin-bottom: 30px;
    font-size: 5vw
}

.gameBox {
    display: grid;
    width: 50vh;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    justify-self: center;
    filter: drop-shadow(2px 2px 10px);
    border-radius: 5px;
    gap: 10px;
    
}


.Box {
    aspect-ratio: 1 / 1;
    border-radius: 13px;
    box-shadow: 2px 2px 20px black inset;
    font-size: 80px;
    background-color: #F6F4F0;
    color: #8E1616;
    font-family: "Permanent Marker", serif;
    

&:active {
    background-color: #79D7BE;
}
}

.reset {
    position: absolute;
    border: none;
    border: 2px solid;
    width: 150px;
    height: 40px;
    border-radius: 12px;
    background-color: #F6F4F0;
    left: 20px;
    bottom: 20px;
    box-shadow: 2px 2px 10px;

&:active {
    background-color:#2E5077 ;
    color: #79D7BE;
}
}

.winner {
    position: absolute;
    font-size: 30px;
    top: 20px;
    left: 80px;
    color: #8E1616;

}

.name {
    position: absolute;
    right: 30px;
    bottom: 30px;
    color: #8E1616;
}



@media (max-width :1282px) {
    .reset {
        width: 120px;
    }

    .container {
        width: 70%;
    }
}

@media (min-width :900px ) and (max-width :1030px) {
    .reset {
        width: 220px;
        height: 70px;
        bottom: 30px;
        left: 30px;
        font-size: 30px;
        
    }

    .container {
        width: 80%;
        height: 90vh;
    }

    .gameBox {
        width: 40vh;
    }
}

@media (min-width :100px ) and (max-width :797px) {
    .reset {
        width: 120px;
        height: 40px;
        bottom: 30px;
        left: 30px;
        font-size: 19px;
        
    }

    .container {
        width: 80%;
        height: 70vh;
    }

    .gameBox {
        width: 30vh;
    }

    .Box {
        font-size: 40px;
    }

    h1 {
        font-size: 50px;
    }

    .name {
        font-size: 15px;
        bottom: 20px;
        right: 20px
    }
}
