@font-face {
  font-family: "CustomFont";
  src: url("../fonty/PROPAGAN.ttf") format("truetype");
    unicode-range: U+0000-002F, U+003A-10FFFF;
}

* {
  cursor: url("../obrazky/cropped-image.png"), auto;
}

html {
  background: url("../obrazky/pozadi/pozadi2.jpg");
  font-family: "CustomFont", sans-serif;
}

body {
  background-image: url("../obrazky/pozadi/pozadi.jpg");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  margin: auto;
  padding-inline: 5rem;
  padding-top: 1rem;
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  max-width: 1024px;
  min-height: 100dvh;
}

img {
  width: 100%;
  height: auto;
}

aside#main-nav {
  display: block;

  ul {
    font-size: 22px;
    list-style: none;
    padding: 0;

    li {
      background-image: url("../obrazky/oddelovace/sipka.png");
      background-repeat: no-repeat;
      background-clip: border-box;
      background-size: 100% 100%;
      background-position-y: 5px;
      width: 100%;
      display: flex;
      padding: 1rem 0;
      text-align: center;
      min-height: 75px;
      align-items: center;
      justify-content: center;

      a {
        text-decoration: none;
        font-size: 1rem;
        color: #6e1515;
      }

      &:nth-child(1) {
        background-image: url("../obrazky/oddelovace/sipka.png");
        transform: rotate(15deg);
      }

      &:nth-child(3) {
        background-image: url("../obrazky/oddelovace/sipka-otocena.png");
        background-position-y: -4px;
        transform: rotate(342deg);
      }

      &:nth-child(4) {
        background-image: url("../obrazky/oddelovace/sipka.png");
        transform: rotate(1deg);
      }

      &:nth-child(5) {
        background-image: url("../obrazky/oddelovace/sipka-otocena.png");
        background-position-y: -4px;
        transform: rotate(13deg);
      }

      &:hover {
        &:nth-child(1) {
          transform: rotate(15deg) scale(1.1);
        }

        &:nth-child(3) {
          transform: rotate(342deg) scale(1.1);
        }

        &:nth-child(4) {
          transform: rotate(1deg) scale(1.1);
        }

        &:nth-child(5) {
          transform: rotate(13deg) scale(1.1);
        }

        transform: scale(1.1);
      }
    }
  }

  .image-container {
    width: 50px;
    height: auto;
  }

  >* {
    position: relative;
  }
}

h1 {
  text-align: center;
  font-size: 4rem;
  line-height: 2;
  color: #6e1515;
  text-shadow: -1px -1px #c98316;
  margin: 0;
}

header {
  .header-container {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    background-image: url("../obrazky/bannery/drevo-banner.gif");
  }
}

main {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 1rem;
  margin-top: 2rem;
  grid-area: main;
}

footer {
  text-align: center;
  font-size: 0.8rem;
  margin-top: 2rem;
  padding-inline: 2rem;
}

hr {
  background-image: url("../obrazky/oddelovace/provaz.gif");
  height: 38px;
  width: 100%;
  background-repeat: no-repeat;
  background-clip: content-box;
  background-size: 100%;
  border: 0;
}

button:hover,
a:hover,
link:hover,
input:hover {
  cursor: url("../obrazky/piva/bier-beer.gif"), pointer;
}

.flex {
  display: flex;
  gap: 1rem;

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

  &.flex-row {
    flex-direction: row;
  }

  &.flex-center {
    align-items: center;
    justify-content: center;
  }
}

button.open-nav-button {
  all: unset;
  background-image: url(../obrazky/pozadi/list.png);
  display: none;
  background-size: 100px 100px;
  background-repeat: no-repeat;
  width: 100px;
  height: 100px;

  #list {
    display: grid;
    justify-items: center;
    color: #0d740d;
    -webkit-text-stroke: 1px #122502;
  }
}

aside#mobile-nav {
  background-image: url("../obrazky/pozadi/pozadi3.jpg");
  display: none;
  height: 100%;
  /* 100% Full-height */
  width: 0;
  /* 0 width - change this with JavaScript */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Stay on top */
  top: 0;
  /* Stay at the top */
  left: 0;
  overflow-x: hidden;
  /* Disable horizontal scroll */
  transition: 0.5s;
  /* 0.5 second transition effect to slide in the sidenav */

  nav {
    height: 100vh;
  }

  ul {
    list-style: none;
    padding: 0;
    margin: 0;

    li {
      text-align: center;

      a {
        color: black;
        text-decoration: none;
        font-size: 2rem;

      }

    }
  }
}

.content-container {
  padding: 1rem;
}

@media screen and (max-width: 956px) {
  header {
    h1 {
      font-size: 2rem;
    }
  }
}

@media screen and (max-width: 768px) {
  header {
    h1 {
      font-size: 1.5rem;
    }
  }

  aside {
    nav {
      ul {
        font-size: 16px;

        li {
          padding: 16px;
        }
      }
    }
  }

  main {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  aside#mobile-nav {
    display: block;
  }

  aside#main-nav {
    display: none;
  }

  button.open-nav-button {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2;
    display: block;
  }
}

@media screen and (max-width: 576px) {
  body {
    padding-inline: 3rem;
  }
}

.gifik {
  width: 50px;
  height: auto;
}