html,
body {
    margin: 0;
    /* your other styles */
}

html {
    background-color: rgb(33, 33, 33);
    max-width: 100vw;
    max-height: 100vh;
}

.Main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-image: url("./assets/contour.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    max-width: 100vw;
    max-height: 100vh;
}

.title {
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.sub {
    color: white;
    font-size: 1rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.Chessboard_Layout {
    display: flex;
    flex-wrap: wrap;
    width: 80vh;
    height: 80vh;
}

.square {
    flex: 10%;
    width: 8vh;
    height: 8vh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.square:hover {
    background-color: cyan !important;
    transition: background-color 0.5s ease !important;
}

.outside {
    flex: 10%;
    width: 8vh;
    height: 8vh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Text Stylings */
    color: white;
    font-size: 1em;
    font-weight: bold;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.piece {
    width: 70%;
}


/* Mobile Stylings */
@media screen and (max-width: 600px) {

    .title {
        font-size: 1rem;
    }

    .sub {
        font-size: 0.5rem;
    }

    .Chessboard_Layout {
        width: 90vw;
        /* Use vw (viewport width) units to make the width responsive */
        height: 90vw;
        /* Make the height equal to the width to keep the aspect ratio */
    }

    .square {
        flex: 10%;
        width: 9vw;
        height: 9vw;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .outside {
        flex: 10%;
        width: 9vw;
        height: 9vw;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;

        /* Text Stylings */
        color: white;
        font-size: 1em;
        font-weight: bold;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
    }

    .piece {
        width: 80%;
    }
}