body {
    margin: 0;
    font-family: "Archivo Black", sans-serif;
    font-style: normal;
    transition: background-color 250ms;
}
#header, h1 {
    text-align: center;
}
#header h1 {
    margin: 0;
    font-size: 300%;
    padding: 1%;
}
#gameboard {
    margin-top: 5%;
    margin-bottom: 0;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    align-content: center;
    grid-row-gap: 1vw;
    grid-column-gap: 1vw;
    table-layout: fixed;
    justify-content: center;
    display: grid;
}
#gameboard input {
    opacity: 0;
    cursor: pointer;
    height: 0;
}




#gameboard label {
    border-radius: 10px;
    transition: background-color 250ms, color 250ms;
    width: 10vw;
    min-height: 6vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

#gameboard input {
    display: none
}

.windiv {
    min-height: 6vw;
    width: 44vw;
    border-radius: 15px;
    font-weight: 1000;
    overflow-wrap: anywhere;
    overflow-hidden;
    font-size: fit-content(10vw);
}
#gameboard label p {
    font-weight: 1000;
    overflow-wrap: anywhere;
    overflow-hidden;
}

.col-1 {
    grid-column: 1 / 2;
}

.col-2 {
    grid-column: 2 / 3;
}

.col-3 {
    grid-column: 3 / 4;
}

.col-4 {
    grid-column: 4 / 5;
}

.row-1 {
    grid-row: 1/2;
}

.row-2 {
    grid-row: 2/3;
}

.row-3 {
    grid-row: 3/4;
}

.row-4 {
    grid-row: 4/5;
}

@media only screen and (max-width: 1000px) {
    #gameboard {
        width: 100%;
    }
    #gameboard label {
        width: 20vw;
        min-height: 15vw;
        grid-row-gap: 5vw;
        grid-column-gap: 5vw;
        margin-left: 0;
        margin-right: 0;
    }
    .windiv {
        min-height: 15vw;
        width: 95vw;
        border-radius: 15px;
    }
}

.buttonRow {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-family: "Archivo Black", sans-serif;
    font-size: 3vw;
    margin: 1vw;
    padding: 25px 50px;
    border-radius: 25px;
    border-style: none;
    font-weight: 1000;
    transition: color 250ms, background-color 250ms;
}

#buttonRow {
    justify-content: center;
    margin-bottom: 5%;
    display: flex;
}

#buttonDiv {
    display: flex;
    justify-content: center;
    align-content: center;
}





.title {
    font-size: 2vw;
    font-weight: 1000;
    padding: 1vw;
}



.prevPuzzle, .prevPuzzleCurr {
    border-radius: 25px;
    transition: scale 250ms;
    margin: 1vw;
    text-align: center;
    width: 20vw;
    float: left;
    cursor: pointer;
    height: 20vw;

}
.prevPuzzle:hover, .prevPuzzleCurr:hover{
    scale: 105%;
}

#puzList {
    width: 100%;

    padding:0;
    list-style-type: none;
}
.descript{
    font-size: 1.5vw;
}

@media only screen and (max-width: 1000px) {
    .prevPuzzle, .prevPuzzleCurr {
        float: none;
        width: 90vw;
        margin-left: 5vw;
        margin-bottom: 1vw;
        height: auto;
    }
    .title {
        font-size: 10vw;
    }
    .prevPuzzle:hover, .prevPuzzleCurr:hover {
        scale: 100%;
    }
    #buttonDiv {
        display: block;
    }
    .buttonRow {
        padding: 1vw 2vw;
        font-size: 5vw;
    }
    #load {
        text-align: center;
    }
    .descript {
        font-size: 5vw;
    }
}

.link {
    text-decoration: none;
    border-radius: 25px;
    padding: 10px;
    transition: color 250ms, background-color 250ms;
}
