@import url("https://fonts.googleapis.com/css2?family=Dancing+Script&family=Questrial&family=Roboto:ital,wght@0,100;0,400;0,500;0,900;1,100;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-align: center;
  font-family: "Roboto", cursive;
}

:root {
  --light: #f3f3f3;
  --grey: #c0c0c0;
  --dark-grey: #7e7e7e;
}

.header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 5vh;
}

.section-1 {
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5vh;
}

.right-nav {
  width: 30%;
}

.right-nav h2 {
  font-size: 2rem;
  background: -webkit-linear-gradient(left, rgb(0, 0, 0), rgb(255, 72, 0));
  background: -o-linear-gradient(right, rgb(0, 0, 0), rgb(255, 72, 0));
  background: -moz-linear-gradient(right, rgb(0, 0, 0), rgb(255, 72, 0));
  background: linear-gradient(to right, rgb(0, 0, 0), rgb(255, 72, 0));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.right-nav h2:hover {
  animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  transform: translate3d(0, 0, 0);
  perspective: 1000px;
}

.right-nav a {
  text-decoration: none;
  color: black;
  font-family: "Kaushan Script", cursive;
}

@keyframes shake {
  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-2px, 0, 0);
  }
  40%,
  60% {
    transform: translate3d(2px, 0, 0);
  }
}

.right-nav a:hover {
  color: orangered;
}

.left-nav {
  width: 50%;
  display: flex;
  align-items: baseline;
  margin-left: 2rem;
}

.left-nav .fas {
  color: orange;
}

.navbar {
  width: 10rem;
  height: 12rem;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  top: 5%;
  left: 0%;
  list-style-type: none;
  display: none;
  z-index: 2;
  background-color: white;
  position: absolute;
  border-bottom: 1px solid red;
  border-radius: 0 0 15px 15px;
}

.navbar .nav a:hover {
  color: black;
}

.navbar .nav a {
  font-size: 1.2rem;
}

.nav a {
  font-family: "Questrial", cursive;
  text-decoration: none;
  font-weight: 400;
  color: red;
}

.header {
  border: 1px solid;
  border-image: linear-gradient(
      90deg,
      rgba(247, 0, 0, 0.9),
      rgba(60, 74, 83, 0)
    )
    1;
  border-left: none;
  border-top: none;
  border-right: none;
}

/* basket */
.basket a {
  display: flex;
}

.basket a p {
  background-color: orangered;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  margin: 0 0.2rem;
  color: white;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tablet */

@media screen and (min-width: 1024px) {
  .left-nav {
    width: 60%;
    height: 100%;
  }
  .navbar {
    display: flex;
    position: inherit;
    width: 90%;
    flex-direction: row;
    height: 100%;
    z-index: 2;
    background-color: transparent;
  }

  #fa {
    display: none;
  }
}

/* Desktop */

@media screen and (min-width: 1200px) {
  .left-nav {
    width: 50rem;
    height: 100%;
  }

  .navbar li a {
    font-size: 1rem;
  }
}
