body {
    margin: 0;
    background-color: black;
    overflow-x: hidden;
    font-family: Arial;
    user-select: none;
}

#page-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: minmax(0, 1fr) min-content min-content;
    width: 100vw;
    height: 100vh;
}

#puzzle-svg {
    place-self: stretch stretch;
    grid-column: 1/4;
    margin: 10px;
    min-width: 200px;
    min-height: 200px;
}

#move-counter {
    grid-column: 1/4;
    text-align: center;
    color: white;
    font-size: 18pt;
}

button {
    width: 50px;
    height: 50px;
    padding: 0;
    margin: 0.25rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: none;
    border-radius: 5px;
    border: 0;
}

button.hide {
    display: none;
}

#left-button {
    justify-self: right;
}

#swap-button {
    justify-self: center;
}

#right-button {
    justify-self: left;
}

#reset-button {
    position: absolute;
    top: 0;
    left: 0;
}

#random-button {
    position: absolute;
    top: 0;
    left: calc(50px + 0.25rem * 2); /* button width + button margin x 2 */
}

#fullscreen-button {
    position: absolute;
    top: 0;
    right: 0;
}

#undo-button {
    position: absolute;
    bottom: 0;
    left: 0;
}

#redo-button {
    position: absolute;
    bottom: 0;
    left: calc(50px + 0.25rem * 2); /* button width + button margin x 2 */
}

#clipboard-button {
    position: absolute;
    bottom: 0;
    right: 0;
}

#toast-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.toast {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
  
.toast.show {
    opacity: 1;
}
