body {
    background-color: var(--amiga-blue);
    color: var(--amiga-white);
    font-family: "Courier New", Courier, monospace;
    font-size: 13px;
    margin-top: 30px;
    margin: 0;
    padding: 0;
    /*
  overflow: hidden;
  user-select: none;
  */
    cursor: default;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 42px;
}

.game-list img {
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.4);
}

.container {
    max-width: 1256px;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.ami-window {
    margin: 10px;
}

/* Button */
.ami-button {
    background: var(--amiga-blue);
    color: var(--amiga-white);
    border: 2px solid var(--amiga-white);
    padding: 4px 20px;
    font-family: inherit;
    font-weight: bold;
    box-shadow: 4px 4px 0 var(--amiga-black);
    outline: none;
    cursor: pointer;
}

.ami-button:active {
    box-shadow: 2px 2px 0 var(--amiga-black);
    transform: translate(2px, 2px);
}

.amiga-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.amiga-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.amiga-option input[type="radio"],
.amiga-option input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

.amiga-label {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #4a4a4a;
    background-color: #ffffff;
    position: relative;
    cursor: pointer;
    box-shadow: 2px 2px 0px #000000;
}

/* Style pour les boutons radio */
.amiga-option input[type="radio"]:checked+.amiga-label {
    background-color: #ff6600;
    border-color: #000000;
}

.amiga-option input[type="radio"]:checked+.amiga-label::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #0066cc;
    box-shadow: 1px 1px 0px #000000;
}

/* Style pour les checkbox */
.group-checkbox {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

/* Hide the browser's default checkbox */
.group-checkbox input {
    display: none;
    opacity: 0;
}

/* Create a custom checkbox */
.checkmark {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    width: 20px;
    border: 2px solid #4a4a4a;
    background-color: #ffffff;
    cursor: pointer;
    box-shadow: 2px 2px 0px #000000;
}

/* On mouse-over, add a grey background color */
.group-checkbox:hover input~.checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked~.checkmark {
    background-color: #ff6600;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    line-height: 0;
    color: #000000;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 1px 1px 0px #000000;
}

/* Show the checkmark when checked */
.container input:checked~.checkmark:after {
    content: "✓";
}

/* */

.game-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.game-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;
    gap: 20px;
}

.game-card {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: 100%;
}

.game-card-header {
    display: flex;
    justify-content: center;
    padding: 0 5px;
    margin-bottom: 10px;
}

.game-card-header .title {
    color: var(--amiga-orange);
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
}

.game-card-header .identifier {
    font-size: 0.7rem;
    color: var(--amiga-gray);
    margin: 0;
}

.game-card-header .actions {
    display: flex;
    gap: 10px;
}

.identifier a,
.identifier a:visited {
    color: var(--amiga-gray);
    text-decoration: none;
}

/* Galerie */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

footer {
    /* position: fixed; */
    bottom: 0px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--amiga-blue);
    border-top: 2px solid var(--amiga-black);
    display: flex;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 20px;
    gap: 20px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.page-link {
    color: var(--text-main);
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background-color: var(--bg-card);
    transition: background-color 0.2s;
}

.page-link:hover:not(.disabled) {
    background-color: var(--accent);
    color: var(--amiga-orange);
}

.page-link.disabled {
    color: var(--text-dim);
    border-color: transparent;
    cursor: default;
    opacity: 0.5;
}

.dots {
    color: var(--text-dim);
}

.current {
    color: var(--amiga-orange);
}

.smooth {
    transition: all 1s ease-in;
}