blockquote, dd, dl, figure, h1, h2, h3, h4, h5, h6, hr, p, pre {
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

main {
    background-color: rgb(243, 244, 246);
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    display: flex;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

main > section {
    align-items: center;
    display: flex;
    flex-direction: column;
}

.puzzle {
    width: 300px;
    height: 300px;
    margin-bottom: 1rem;
}

.box {
    border-width: 2px;
    border-color: black;
    border-style: solid;
}

.drop-cell {
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.75rem;
    position: relative;
}

.drop-cell .letter {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.dark-cell {
    background-color: black;
}

.grid {
    display: grid;
    gap: 0.5rem;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-3 .letter {
    font-size: 4rem;
    line-height: 4rem;
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-4 .letter {
    font-size: 3rem;
    line-height: 3rem;
}

.grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.grid-5 .letter {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.grid-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.grid-6 .letter {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.letter {
    text-align: center;
    font-weight: 700;
    cursor: grab;
    padding: 0.5rem;
}

.drop-cell .letter {
    background-color: rgb(254, 219, 191);
}

.drop-cell .letter.correct {
    background-color: rgb(0, 191, 0);
}

h3 {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.instructions {
    margin-left: 4rem;
    max-width: 28rem;
}

.instructions > div {
    border-radius: 5px;
    border-width: 1px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    border-style: solid;
    background: white;
    border-color: white;
}

.instructions > div > div {
    padding: 1.5rem;
}

.instructions p {
    color: rgb(107, 114, 128);
    margin-bottom: 1rem;
}

.h2-wrapper {
    display: flex;
    flex-direction: column;
}

h2 {
    font-weight: 700;
    font-size: 1.875rem;
    line-height: 2.25rem;
}