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/night_back.webp') no-repeat center bottom; */
  background: url('./back/wise-and-belle-zzz.webp') no-repeat center top;
  background-size: cover;
  /* opacity: 0.5; */
  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 {
    backdrop-filter: blur(12px);
    background: rgba(15, 18, 30, 0.6);
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
}

.nav a {
    text-decoration: none;
    padding: 20px;
    color: #fff;
    display: block;
}

.nav li {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.nav li a {
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.nav li a:hover {
  transform: translateY(-2px);
}

.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-user a {
    padding-top: 0;
    padding-bottom: 0;
}

.nav-user .nav-avatar {
    width: 45px;
    height: 45px;
    border-radius: 5px;
    margin-right: 5px;
    vertical-align: middle;
}

.nav a:focus {
    outline: 2px solid yellow;
}

.nav .active.nav-search {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.5),
    rgba(220, 38, 38, 0.5)
  );
}

.nav .active.nav-favorites {
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.5),
    rgba(22, 163, 74, 0.5)
  );
}

.nav .active.nav-new {
    background: linear-gradient(
    135deg,
    rgba(255, 235, 59, 0.5),
    rgba(255, 193, 7, 0.5)
    );
}

.nav .active.nav-top {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.5),
    rgba(37, 99, 235, 0.5)
  );
}



/* 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;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    color: #fff;
    border: 1px solid rgba(255,255,255,.1);
    box-sizing: border-box;
}

.list .item::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -120px 120px -40px rgba(0,0,0,.75);
  pointer-events: none;
}

.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: 10px;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    backdrop-filter: blur(2px);
    border-top: 1px solid rgba(255,255,255,.1);
}

.list .item .age {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(100,0,0,.85);
    border-radius: 50%;
    width: 40px;
    line-height: 40px;
}

.list .item img {
    width: 100%;
}

.pagination {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.pagination b {
    font-weight: normal;
}

.pagination-prev b, .pagination-next b, .pagination a {
    opacity: .5;
    background-color: rgba(255,255,255,.6);
    padding: 10px 15px;
    border-radius: 5px;
    color: #333;
    margin: 0 20px;
    backdrop-filter: blur(1px);
    border: 1px solid rgba(0,0,0,.3);
}

.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;
}