body {
    background: #000;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('./back/wise-and-belle-zzz.webp') no-repeat center top;
  background-size: cover;
  opacity: 0.4;
  z-index: -1;
}

.hidden {
    display: none;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    display: none;
}

.spinner {
    animation: spin 1s linear infinite;
    color: inherit;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.nav {
    background-color: #222;
}

.nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
}

.nav a {
    text-decoration: none;
    padding: 20px 10px;
    color: #fff;
    display: block;
}

.nav li {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.nav .has-submenu {
    position: relative;
}

.nav .has-submenu > a {
    touch-action: manipulation;
}

.nav .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #111;
    padding: 8px 0;
    border-radius: 4px;
    display: none;
}

.nav .submenu a {
    display: block;
    padding: 8px 12px;
    color: #fff;
}

.nav .has-submenu.open>.submenu {
    display: block;
}

.nav svg {
    vertical-align: middle;
    margin-right: 8px;
}

.nav-label {
    display: inline-block;
}

.menu-toggle {
    display: none;
}

.nav a:focus {
    outline: 2px solid yellow;
}

.nav .active.nav-search {
    background-color: red;
}

.nav .active.nav-favorites {
    background-color: green;
}

.nav .active.nav-new {
    background-color: yellow;
}

.nav .active.nav-new a {
    color: #222;
}

.nav .active.nav-top {
    background-color: blue;
}



/* LIST */

.wrapper {
    margin: 30px auto;
    display: flex;
    justify-content: center;
}

.list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
	gap: 20px;
}

.list .item {
    width: 200px;
    height: 286px;
    text-align: center;
    background: crimson;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.list .item:visited {
    background-color: purple;
}

.list .item:focus {
    outline: 2px solid yellow;
}

.list .item .title {
    font-weight: normal;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 95px;
    padding: 5px;
    background: rgba(0, 0, 0, 0.6);
}

.list .item img {
    width: 100%;
}

.pagination {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-prev span, .pagination-next span, .pagination a {
    opacity: .5;
    background-color: #eee;
    padding: 10px 15px;
    border-radius: 5px;
    color: #333;
    margin: 0 20px;
}

.pagination a {
    text-decoration: none;
    color: #000;
    opacity: 1;
}

select, button, .tag {
    padding: 10px;
    border-radius: 5px;
}

button {
    cursor: pointer;
}

.tag {
    background-color: #eee;
    color: #333;
    text-decoration: none;
    display: inline-block;
    margin: 5px;
}

input, button {
    font-size: 14px;
}