@media (width <= 1080px) and (orientation = portrait) {
  /* ##SUPERGLOBAL## */
  *:not(title, script, style) {
    all: unset;
  }

  html {
    height: 100vh;
  }

  /* #font# */
  @font-face {
    font-family: "Livory Regular";
    src: url("/font/Livory-Web-Regular.eot") format("eot");
    src: url("/font/Livory-Web-Regular.eot") format("eot"), url("/font/Livory-Web-Regular.woff") format("woff"),
      url("/font/Livory-Web-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
  }

/* #body# */
  body {
    margin: 0;
    font-family: "Livory Regular", Verdana, sans-serif;
    width: 100vw;
    height: 100lvh;
    overflow-x: hidden;
    background-color: white;
    color: #17321b;
    ::selection {
      background-color: #98c23960;
    }
    *{
      font-family: "Livory Regular", Verdana, sans-serif;
    }
  }



  /* ##GLOBAL## */
  /* #header# */
  header {
    position: fixed;
    top: 0; /* added */
    display: grid;
    width: 100vw;
    height: 16vw; /* changed */
    z-index: 10;
    background-color: white;
    box-shadow: #00000080 0 0 0px;
    .logo-name {
      margin: auto;
      height: 16vw; /* changed */
      width: 35vw; /* changed */
      max-width: none;
      max-height: none;
      filter: brightness(1) opacity(1);
      cursor: pointer;
    }
  }

  .header-links-left {
    position: fixed;
    left: 0;
    display: flex;
    align-items: center;
    height: 16vw; /* changed */
    margin-left: 1em; /* changed */
    z-index: 20;
  }

  .header-links-right {
    position: fixed;
    right: 0;
    display: flex;
    align-items: center;
    height: 16vw; /* changed */
    margin-right: 1em; /* changed */
    z-index: 20;
  }

  .header-button {
    width: fit-content;
    padding: 1vw 1vw 1vw 0; /* changed */
    border-radius: 5px;
    color: #17321b;
    text-align: center;
    text-decoration: none;
    font-size: large; /* changed */
    cursor: pointer;
    transition: 0.45s ease-out;
    .icon {
      transition: ease-in-out 0.5s;
    }
  }

  /* #sidebar# */
  #sidebar-container {
    position: fixed;
    z-index: 50;
    display: grid;
    grid-template-columns: 75vw 25vw;
    width: 100vw;
    height: 100lvh; /* changed */
  }
  .sidebar {
    display: grid;
    grid-template-rows: 10lvh 80lvh 10lvh; /* changed */
    justify-self: right;
    width: 75vw; /* changed */
    background: linear-gradient(#ffffff 4vw, #ffffff80);
    backdrop-filter: blur(2px);
    transform-origin: right;
    transition: 1s ease-in-out;
  }
  .sidebar-head {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    padding: 3em 2.5em 0 2.5em;
    .sidebar-close {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 7.5vw; /* changed */
      height: 7.5vw; /* changed */
      border-radius: 1.25vw; /* changed */
      cursor: pointer;
      img {
        width: 5vw; /* changed */
        height: 5vw; /* changed */
        transition: 0.75s ease-in-out;
      }
    }
    .sidebar-close:hover {
        background-color: #e0e0e080;
        img {
          transform: scale(90%) rotate(270deg);
          transition: 1s ease-in-out;
        }
    }
  }
  .sidebar-main {
    display: flex;
    flex-direction: column;
    padding: 1em 0;
    gap: 1em; /* new */
    .nav-button {
      padding: 1em;
      font-size: x-large;
    }
    .nav-button:hover {
      background: linear-gradient(90deg, #efefef00, #efefef);
    }
  }
  .sidebar-void {
    cursor: pointer;
    backdrop-filter: blur(1px) brightness(0.90);
  }

  /* #dropdown# */
  .dropdown {
    display: inline-block;
    position: relative;
    outline: none;
    margin: 1vw; /* changed */
  }

  .dropdown-button {
    width: fit-content;
    padding: 1vw 1vw 1vw 0; /* changed */
    border-radius: 5px;
    color: #17321b;
    text-align: center;
    text-decoration: none;
    font-size: large; /* changed */
    cursor: pointer;
    transition: 0.45s ease-out;
    .icon {
      transition: ease-in-out 0.5s;
    }
  }

  .dropdown .dropdown-content {
    position: absolute;
    top: calc(100% + 1vw); /* changed */
    width: 10vw;
    padding: .5em 0;
    margin: 0;
    z-index: 10;
    background: linear-gradient(135deg, rgb(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    border-radius: .5em;
    border-top-left-radius: 0;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    visibility: hidden;
    transform: scaleY(0%);
    transform-origin: top;
    transition: ease-in-out 0.5s;
  }

  .dropdown-content a {
    color: black;
    padding: 0.75em;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: 0.35s ease-out;
    .nav-button {
      padding: 0;
      text-align: left;
      font-size: large;
      .icon {
        transition: ease-in-out 0.5s;
      }
    }
  }

  .dropdown-content a:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, 1), rgba(0, 0, 0, 0));
    .nav-button {
      text-decoration: underline;
      text-underline-offset: 10px;
      transition: ease-in-out 0.3s;
      .icon {
        transform: scale(80%);
        transition: ease-in-out 0.25s;
      }
    }
  }

  .dropdown:focus .dropdown-content {
    outline: none;
    visibility: visible;
    transform: scaleY(100%);
    transition: ease-in-out 0.25s;
  }

  .dropdown-button:hover,
  .dropdown:focus .dropdown-button {
    background-color: #e0e0e080;
    .icon {
      transform: scale(80%);
      transition: ease-in-out 0.25s;
    }
  }

  .dropdown .dropdown-close {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1000;
    display: none;
  }

  .dropdown:focus .dropdown-close {
    display: inline-block;
  }

  .dropdown .dropdown-close:focus .dropdown-content {
    outline: none;
    visibility: hidden;
    opacity: 0;
  }


  /* #opener# */
  #hero {
    padding: 0 0 1em 0;
    width: 100vw;
    height: 35dvh; /* changed */
    object-fit: cover;
  }

  /* #back to top# */
  #back-to-top {
    position: sticky; /* changed */
    display: flex;
    justify-content: center;
    align-items: center;
    left: calc(100vw - 1.5em - 6vw); /* changed */
    bottom: 6vw; /* changed */
    width: 1.5em; /* changed */
    height: 1.5em; /* changed */
    padding: 0;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    font-size: xx-large;
    color: dimgray;
    text-decoration: none;
  }

  #back-to-top:hover {
    color: #98c239;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.45);
  }

  /* #breadcrumbs# */
  #breadcrumbs {
    display: flex;
    width: cacl(100vw - 0.75em); /* changed */
    padding: 0.5em 0 0.5em 0.75em; /* changed */
    margin-bottom: 0; /* changed */
    font-size: medium;
    a {
      text-decoration: none;
      color: gray;
    }
    a:hover {
        text-decoration: underline solid;
    }
    u {
      color: #98c239;
    }
  }

  /* #main# */
  main {
      display: block; /* added */
      margin: auto;
      width: 100vw; /* changed */
      min-height: calc(75dvh - 16vw);
  }

  /* #footer# */
  footer {
    position: relative;
    display: grid;
    grid-template-columns: 30vw 40vw 30vw; /* changed */
    width: 100vw;
    height: 25dvh;
    background: #17321b;
    > :nth-child(1), > :nth-child(3) {
      display: flex;
      flex-direction: column;
      gap: 1em;
      flex-wrap: wrap;
      padding: 1em 0.5em;
      a {
        display: block; /* new */
        padding-top: 0em; /* changed */
        height: fit-content;
        color: #ffffff;
        text-decoration: none;
        font-size: medium; /* changed */
      }
      a:hover {
        color: #98c239;
        text-decoration: underline;
        text-underline-offset: 0.5em;
      }
    }
    > :nth-child(1) {
      justify-self: left; /* changed */
      padding-right: 0em; /* changed */
    }
    > :nth-child(2) {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        div {
          justify-content: center;
          align-items: center; /* new */
          margin-top: 0em; /* changed */
          .logo {
          width: 15vw; /* changed */
          }
          .logo-name {
            width: 30vw; /* changed */
          }
          img {
            filter: brightness(100) saturate(0);
          }
        }
        p {
            margin: 2em 0;
            font-size: x-small;
            color: white;
            text-align: center;
        }
    }
    > :nth-child(3) {
        justify-self: right; /* changed */
        padding-left: 0em; /* changed */
        text-align: right; /* new */
    }
  }

  /* #dividers# */
  .divider-x {
    display: block; /* new */
    margin-top: 3svh;
    margin-bottom: 3svh;
    margin-left: 10vw; /* changed */
    margin-right: 10vw; /* changed */
    border-top: 2.5px solid rgba(23, 50, 27, 0.7);
    border-radius: 25%;
  }

  .divider-y {
    margin-top: 5%;
    margin-bottom: 5%;
    margin-left: 2.5%;
    margin-right: 2.5%;
    border: 1px solid rgba(23, 50, 27, 0.7);
    border-radius: 25%;
  }

  .title-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw; /* changed */
    height: 6vw;
    margin: 1em auto 0.5em auto;
    margin-top: 0;
    h2 {
      flex: 30%;
    }
    .divider-x {
      flex: 30%;
      margin: 0 5%;
    }
  }



  /* ##TEXT## */
  /* #titles# */
  h2 {
    text-align: center;
    font-size: x-large; /* changed */
    font-weight: bold;
  }

  h4 {
    text-align: center;
    text-decoration: underline;
    font-size: large; /* changed */
    font-weight: bold;
    margin: 1em 0 0.5em 0;
  }

  h6 {
    text-align: center;
    text-decoration: underline;
    font-size: medium; /* changed */
    font-weight: bold;
    margin: 1em 0 0 0;
  }



  /* ##MODULES## */
  /* #tiles# */
  .tile-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3vw; /* changed */
    margin: auto;
    padding: 2vw;
    width: 95vw; /* changed */
    *[class$="tile"] {
      border: #d0d0d0 solid 2px;
      border-radius: 2vw; /* changed */
      transition: ease-in-out 0.5s;
      *[class$="tile-description"] {
        border-radius: 0 0 1.5vw 1.5vw; /* changed */
        backdrop-filter: saturate(1) blur(2px);
        transition: ease-in-out 0.5s;
      }
      .large-tile-description {
        border-radius: 1.5vw 0 0 1.5vw; /* changed */
      }
    }
    *[class$="tile"]:hover {
      border: #98c239 solid 2px;
      transition: ease-in-out 0.5s;
      *[class$="tile-description"] {
        backdrop-filter: saturate(0.8) blur(4px);
        transition: all ease-in-out 0.5s;
      }
      *[class$="tile-filter"] {
        backdrop-filter: brightness(1);
        transition: ease-in-out 0.5s;
      }
    }
  }

  .audio-tile {
    display: flex;
    flex-direction: column-reverse;
    width: 60vw; /* changed */
    height: 48vw; /* changed */
    background-size: cover;
    background-position: center;
    text-decoration: none;
  }
  .audio-tile-description {
    display: grid;
    grid-template-rows: auto auto 2vw;
    width: 60vw; /* changed */
    height: 28vw; /* changed */
    background: linear-gradient(180deg, #ffffff08, #00000080);
    backdrop-filter: blur(2px) saturate(0.75);
    h2 {
      margin: 0 0.5vw;
      text-align: center;
      text-decoration: underline; /* new */
      font-size: large;
      font-weight: normal;
      color: #ffffff;
    }
    p {
      margin: 0 0.5vw 0.5vw 0.5vw;
      font-size: medium;
      text-align: center;
      color: #ffffff;
    }
  }
  .audio-tile-filter {
    position: absolute;
    width: 60vw; /* changed */
    height: 48vw; /* changed */
    border-radius: 2vw; /* changed */
    backdrop-filter: brightness(0.75); /* changed */
  }



  /* ##SPECIAL## */
  /* #audio player# */
  .now-playing {
    position: sticky;
    left: 3.5vw; /* changed */
    bottom: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;  /* changed */
    gap: 0em; /* changed */
    padding: 1vw;
    width: 90vw; /* changed */
    height: fit-content;
    background-color: #ffffff;
    border: solid 0.6vw #e0e0e080; /* changed */
    border-bottom: none;
    border-radius: 1em 1em 0 0;
    .player-info {
      display: grid;
      grid-template-columns: 10vw 62.5vw; /* changed */
      align-items: center;
      gap: 1em;
      width: 75vw; /* changed */
      img {
        width: 10vw; /* changed */
        height: 10vw; /* changed */
        appearance: none;
        object-fit: cover;
        overflow: hidden; /* new */
        border-radius: 50%;
        border: solid 0.25em transparent;
        background-image: none;
        background-repeat: no-repeat;
        background-origin: border-box;
        background-clip: border-box;
      }
      span {
        overflow: hidden;
        text-wrap-mode: nowrap;
        text-overflow: ellipsis;
      }
      h4 {
        margin: 0;
        overflow: hidden;
        text-align: left;
        text-wrap-mode: nowrap;
        text-overflow: ellipsis;
      }
      div {
        display: flex;
        flex-direction: column;
      }
    }
    .audio-controls {
      display: flex;
      gap: 0.25em;
      padding: 1vw 0;
      width: 75vw; /* changed */
      flex-shrink: 1;
      height: 8vw; /* changed */
      z-index: 10;
      #play, #mute, #back, #forward {
        width: 8vw; /* changed */
        height: 8vw; /* changed */
        background-color: #e0e0e080 !important;
        background-repeat: no-repeat !important;
        background-size: contain !important;
        border: none;
        border-radius: 20%;
      }
      #play:hover, #mute:hover, #back:hover, #forward:hover {
        background-color: #c0c0c080 !important;
      }
      #play:active, #mute:active, #back:active, #forward:active {
        background-color: #98c23580 !important;
      }
      #play.playing {
        background-image: url(/img/icons/g-icon-pause.svg) !important;
      }
      #play.paused {
        background-image: url(/img/icons/g-icon-play.svg) !important;
      }
      #mute.muted {
        background-image: url(/img/icons/g-icon-mute.svg) !important;
      }
      #mute.low {
        background-image: url(/img/icons/g-icon-low-vol.svg) !important;
      }
      #mute.mid {
        background-image: url(/img/icons/g-icon-mid-vol.svg) !important;
      }
      #mute.high {
        background-image: url(/img/icons/g-icon-high-vol.svg) !important;
      }
      #progress {
        appearance: none;
        margin: auto 0;
        padding: 0;
        flex-basis: 10vw;
        flex-grow: 1;
        height: 5vw; /* changed */
        overflow: hidden;
        background: none;
        border: none;
      }
      #progress::-webkit-slider-thumb {
        height: 1em; /* changed */
        aspect-ratio: 1;
        border-radius: 50%;
        box-shadow: 0 0 0 0.5vw inset #b8e255;
        border-image: linear-gradient(90deg, #b8e255 50%,#e0e0e080 0) 0 1/calc(50% - 0.25vw/2) 100vw/0 calc(100vw + 0.05vw);
        -webkit-appearance: none;
        appearance: none;
      }
      #duration {
        margin: auto 0;
        width: 7em;
        text-align: center;
        font-size: small; /* new */
        color: #17351b;
      }
      #volume {
        appearance: none;
        position: absolute;
        z-index: 10;
        margin: 0 0.5em;
        padding: 0;
        width: 0;
        height: 1vw;
        transform: translate(27.75vw, -0.625vw) rotate(270deg);
        transform-origin: 0;
        overflow: hidden;
        background: none;
        border: none;
        transition: 1s ease-in-out;
      }
      #volume::-webkit-slider-thumb {
        height: 1em;
        aspect-ratio: 1;
        border-radius: 50%;
        box-shadow: 0 0 0 0.25vw inset #b8e255;
        border-image: linear-gradient(90deg, #b8e255 50%,#e0e0e080 0) 0 1/calc(50% - 0.25vw/2) 100vw/0 calc(100vw + 0.05vw);
        -webkit-appearance: none;
        appearance: none;
      }
      #mute:hover ~ #volume {
        width: 4.75vw;
        transition: 0.75s ease-in-out;
      }
      #volume:hover {
        width: 4.75vw;
      }
    }
  }
}