* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #000;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

fieldset {
    border: 0;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

header, footer {
    padding: 16px 20px;
}

header {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

footer {
    box-shadow: 0 -20px 25px -5px rgba(0, 0, 0, 0.1), 0 -8px 10px -6px rgba(0, 0, 0, 0.1);
}

nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

main {
    padding: 32px 16px;
}

.main {
    height: 100%;
}

/* Puzzle table */

.t-resset {
    border-collapse: collapse;
    border-spacing: 0px;
    border: 0;
}

.t-resset tr, .t-resset td {
    margin: 0;
    padding: 0;
    border: 0px;
}

.t-resset.active td, .t-resset.active tr {
    border: 1px solid white;
    transition: all 0.8s;
}

.t-resset img {
    vertical-align: middle;
}

/* Button style */

.toggle {
    border: 0;
    background: blueviolet;
    color: white;
    padding: 12px 16px;
    border-radius: 6px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    cursor: pointer;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0;
}

.toggle:hover {
    transition: all 0.4s;
    transform: scale(1.05);
}