@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;
}

p {
  font-family: myheading;
  font-size: 12px;
}

/* Grow Rotate */
a {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
  font-family: myheading;
  text-align: center;
  cursor: pointer;
  color: black;
  text-decoration: none;
}
.container a:hover, .container a:focus, .container a:active {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.container {
  padding: 6% 5% 5% 5%;
  text-align: center;
}


.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 {
    margin-top: 5%;
    font-size: 10px;
    text-align: center;
  }

  @media screen and (max-width: 500px) {

    .container {
      margin-top: 60px;
    }

    .about-link p, .basket-icon, .basket-count, .reload p {
        font-size: 10px;
      }

    a {
      font-size: 14px;
      padding-bottom: none;
      
    }

    .footer{
      margin-top: 60px;
    }
    
    .footer p {
      font-size: 6px;
      text-align: center;
    }
}