@font-face {
  font-family: 'myheading';
  src: url('fonts/an.eot');
  src: url('fonts/an.eot?#iefix') format('embedded-opentype'),
      url('fonts/an.woff2') format('woff2'),
      url('fonts/an.woff') format('woff'),
      url('fonts/an.ttf') format('truetype'),
      url('fonts/an.svg#an') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.container p {
    font-family: myheading;
    text-align: justify;
    font-size: 14px;
}

p {
  font-family: myheading;
}

.container {
  padding: 5% 5% 5% 5%;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 50px;

}

.about-link, .reload, .basket {
  flex: 1; /* Allocate equal space to each item */
  text-align: center; /* Center the text within each flex item */
  font-size: 12px;
  font-family: myheading;
  text-decoration: none;
  color: black;
  margin: 0; /* Removes default margin */
}

.about-link {
  text-align: left; /* Align 'about' to the left */
  padding-left: 5%;
}

.basket {
  position: fixed;
  right: 5%;
  text-align: right; /* Align 'cart' to the right */
  z-index: 2000;
  cursor: pointer;
}

.reload {
  text-align: center; /* Ensure 'reload archive' is centered */
  order: 2; /* Place it in the middle */
  position: absolute;
  left: 50%; /* Set the element halfway across the navbar */
  transform: translateX(-50%); /* Shift it back by half its own width */
}
  
.basket-icon {
  font-family: myheading;
  font-size: 12px;
}

.basket-count {
  color: black;
  padding: 2px 2px;
  font-size: 12px;
  font-family: myheading;
}

  .footer p {
    font-size: 10px;
    text-align: center;
  }

  @media screen and (max-width: 500px) {
    .navbar { /* BASKET */
      }
    
      .about-link p, .basket-icon, .basket-count, .reload p {
        font-size: 10px;
      }
      .footer p {
        font-size: 6px;
        text-align: center;
      }
    
}