body {
  color: #907777;
  font-family: sans-serif;
  line-height: 1.5;
  margin: 0;
  background: rgba(117,12,35,.07);
}

nav {
    ul {
        padding: 0;
        margin: 0;
        display: flex;
        gap: 2rem;

        li {
            display: table-cell
        }
    }
}

main {
    max-width: 1000px;
    margin-bottom: 50px;
}

h1 {
    font-variant: small-caps;
    text-align: center;
}

h2 {
    font-variant: small-caps;
    text-align: center;
}

h3 {
    margin: 0;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 1.0rem;
}

header {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

footer {
    margin-top: 1rem;
    position: fixed;
    bottom: 0px;
    background: #f5eeef;
    width: 100%;
    display: flex;
    justify-content: center;
}

a {
  color: #5c5ca2;
  text-decoration: none;
}

blockquote {
    font-style: italic;
}

.container-all {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-links {
    display: flex;
    flex-direction: row;
    gap: 80px;
    padding-top: 100px
}

.main-link {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.warning {
    border-left: 5px solid #ff0000;
    padding-left: 8px;
    border-radius: 5px;
    background: #f0ffff;

    p {
        padding: 8px;
    }
}

.info {
    border-left: 5px solid #5a952c;
    padding-left: 8px;
    border-radius: 5px;
    background: #f0ffff;

    p {
        padding: 8px;
    }
}

@media (max-width: 1200px) {
    main {
        max-width: 90%;
    }

    .main-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-top: 20px;

        .main-link {
            img {
                width: 15px;
                height: 18px;
            }
        }
    }
}

@media (min-width: 500px) {
    .header-menu-mobile {
        display: none;
    }
}

@media (max-width: 499px) {
    main {
        padding-top:12px;
    }

    .header-menu {
        display: none;
    }

    #menuToggle
    {
      display: block;
      /* You can also use relative/absolute here if you want to stay on the top */
      position: fixed;
      top: 30px;
      left: 30px;

      backdrop-filter: blur(10px);

      z-index: 1;

      -webkit-user-select: none;
      user-select: none;
    }

    #menuToggle a
    {
      text-decoration: none;
      color: #232323;

      transition: color 0.3s ease;
    }

    #menuToggle a:hover
    {
      color: tomato;
    }


    #menuToggle input
    {
      display: block;
      width: 40px;
      height: 32px;
      position: absolute;
      top: -7px;
      left: -5px;

      cursor: pointer;

      opacity: 0; /* hide this */
      z-index: 2; /* and place it over the hamburger */

      -webkit-touch-callout: none;
    }

    /*
     * Just a quick hamburger
     */
    #menuToggle span
    {
      display: block;
      width: 33px;
      height: 4px;
      margin-bottom: 5px;
      position: relative;

      background: #837575;
      border-radius: 3px;

      z-index: 1;

      transform-origin: 4px 0px;

      transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                  background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                  opacity 0.55s ease;
    }

    #menuToggle span:first-child
    {
      transform-origin: 0% 0%;
    }

    #menuToggle span:nth-last-child(2)
    {
      transform-origin: 0% 100%;
    }

    /*
     * Transform all the slices of hamburger
     * into a crossmark.
     */
    #menuToggle input:checked ~ span
    {
      opacity: 1;
      transform: rotate(45deg) translate(-2px, -1px);
      background: #232323;
    }

    /*
     * But let's hide the middle one.
     */
    #menuToggle input:checked ~ span:nth-last-child(3)
    {
      opacity: 0;
      transform: rotate(0deg) scale(0.2, 0.2);
    }

    /*
     * Ohyeah and the last one should go the other direction
     */
    #menuToggle input:checked ~ span:nth-last-child(2)
    {
      transform: rotate(-45deg) translate(0, -1px);
    }

    /*
     * Make this absolute positioned
     * at the top left of the screen
     */
    #menu
    {
      position: absolute;
      max-width: 400px;
      width: 100vw;
      max-height: 100vh;
      margin: -100px 0 0 -50px;
      padding: 50px;
      padding-top: 125px;
      box-sizing: border-box;
      overflow-y: auto;
      background: #ededed;
      list-style-type: none;
      -webkit-font-smoothing: antialiased;
      /* to stop flickering of text in safari */

      transform-origin: 0% 0%;
      transform: translate(-100%, 0);

      transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    }

    #menu li
    {
      padding: 10px 0;
      font-size: 22px;
    }

    #menu li label
    {
      cursor: pointer;
    }

    /*
     * And let's slide it in from the left
     */
    #menuToggle input:checked ~ ul
    {
      transform: none;
    }

    nav {
        ul {
            flex-direction: column;
        }
    }
}