/* IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Borel&display=swap');

/* ROOT */

* {
  box-sizing: border-box;
  font-family: Borel, Helvetica, sans-serif;

  --margin-line-color: red;
  --bg-color: #fcfcfd;
  --ruling-line-color: #0000ff;
  --link-color: #0000ff;
  --ruling-line-color: #284283;
  background-color: var(--bg-color);
  line-height: 1.5;
  /* dark mode colors */
  --dt-color: lightgray;
  --link-color: lightgray;
  background-color: #284283;
  --ruling-line-color: #f9f9f9;
  --margin-line-color: #ec7063;
}

a {
  color: var(--link-color);
  text-decoration: wavy underline;
}

a:hover {
  text-decoration: wavy underline var(--margin-line-color);
}

dl {
  display: grid;
  grid-template-columns: 150px auto;
  width: fit-content;
}

dt {
  color: var(--link-color);
  text-align: right;
}

dd {
  text-align: left;
  margin: 0 0 0 1rem;
}

body {
  justify-items: center;
  padding: 1rem;
  color: var(--ruling-line-color);
}

.content--last-modified {
  justify-self: right;
}

header {
  justify-content: space-around;
}

.moments-list {
  list-style-type: none;
}

.meta {
  font-family: monospace;
  font-size: 8px;
}

.menu {
  padding-left: 1rem;
}

.nav-buttons {
  cursor: pointer;
}

.blinkie--blinkies {
  width: 150px;
  height: 20px;
}

.blinkie--buttons {
  width: 88px;
  height: 31px;
}

.blinkie--stamps {
  width: 99px;
  height: 56px;
}

.blinkie--stickers {
  width: 250px;
  height: 40px;
}

.blinkie--userboxes {
  width: 230px;
  height: 48px;
}

@media (min-width: 768px) {
  /* LAYOUT */
  .content {
    max-width: 100%;
    width: 660px;
    display: grid;
    grid-template-areas:
      'header header'
      'asideLeft main'
      'footer footer';
    grid-template-rows: auto auto;
    grid-template-columns: 200px auto;
    gap: 2px;
    margin: 1rem;
  }

  .content {
    border: 2px solid var(--margin-line-color);
    padding: 2px;
  }

  .header,
  .asideLeft,
  .asideRight,
  .main,
  .footer {
    border: 2px solid var(--margin-line-color);
    gap: 1rem;
    height: auto;
  }

  .display-flex {
    display: flex;
    flex-direction: column;
  }

  .header {
    grid-area: header;
    flex-direction: row;
    align-items: baseline;
    height: 120px;
    /* gap: 2rem; */
    padding: 1rem;
  }

  .asideLeft {
    grid-area: asideLeft;
    align-items: baseline;
  }

  .main {
    grid-area: main;
    align-items: baseline;
    min-height: 500px;
    gap: 1rem;
    padding: 1rem;
  }

  .main {
    font-family: 'Borel', 'Shadows Into Light', cursive;
  }

  .footer {
    grid-area: footer;
    align-items: center;
    height: 90px;
    display: flex;
    justify-content: center;
  }

  /* LINKS */

  details {
    display: flex;
    flex-direction: column;
    cursor: pointer;
  }

  .nav-buttons:hover {
    /* text-decoration: solid 2px black; */
    cursor: pointer;
  }

  .grid-blinkes {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
  }

  .grid-blinkes img {
    cursor: pointer;
  }

  .grid-blinkies:has(.blinkies:hover) *:not(:hover) {
    filter: grayscale(1);
  }

  .blinkies {
    position: relative;
    transition: filter 0.1s ease-in-out, transform 0.2s ease-in-out;
  }

  .blinkies:hover {
    transform: scale(1.5);
    z-index: 1;
  }
}
