@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

.html {
  font-size: 62.5%;
}

body {
  font-family: "Poppins", sans-serif;
}

a {
  text-decoration: none;
  cursor: pointer;
}

.container {
  max-width: 1300px;
  width: 90%;
  margin: auto;
}

/*    Desktop    */

input.checkbox-hamburger[type="checkbox"],
.navbar .hamburger-lines {
  display: none;
}

.navbar {
  box-shadow: 0px 5px 10px 0px #aaa;
  background-color: rgba(255, 255, 255, 0.6);
  width: 100%;
  height: 50px;
  position: fixed;
  color: #000;
  z-index: 12;
}

.navbar::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 50px;
  z-index: -1;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: blur(5px);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  height: 50px;
  align-items: center;
}

div.button-container {
  display: flex;
  flex-direction: row;
  padding-top: 14px;
  order: 2;
}

/* logo */

div.logo {
  align-items: center;
}

a.logo-link {
  display: flex;
  align-items: center;
}

a.logo-link:hover > img.logo {
  cursor: pointer;
  content:url("../image/Logo/Shop-Logo-Green.png");
}

a.logo-link:hover > p.logo {
  color: #117964;
  text-shadow: 0px 0px 10px white, 0px 0px 50px white;
}

img.logo {
  height: 45px;
  margin: 0;
}

p.logo {
  color: #444;
  height: 10px;
  padding: 10px 0px 0px 0px;
  margin: 0;
  font-weight: 500;
  font-size: 1.2rem;
  padding-left: 0.8rem;
  padding-bottom: 2.4rem;
}

/* button container */

div.inner-btn-container {
  padding-bottom: 0.8rem;
}

button.up-button {
  position: absolute;
  height: 2.1rem;
  width: 4.5rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 50px;
  background-color: #00bfff;
  border: none;
  transition: all .3s ease;
-webkit-transition: all .3s ease;
}

button.down-button {
  height: 2.1rem;
  width: 8.2rem;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 50px;
  padding-left: 4rem;
  border: none;
  transition: all .3s ease;
-webkit-transition: all .3s ease;
}

button.up-button:hover {
  background-color: #00aae4;
}

button.down-button:hover {
  background-color: #00aae4;
}

/* login button */

/* log out and add product button */

button.add-product-button {
  width: 6.7rem;
}

button.logout-button {
  width: 11.3rem;
  padding-left: 6rem;
}

/* drop down menu */

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* menu items */

.menu-items {
  display: flex;
  padding-top: 9px;
}

.menu-items li {
  list-style: none;
  margin-left: 0.75rem;
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.menu-items a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color 0.3s ease-in-out;
}

.menu-items a:hover {
  color: rgb(17, 121, 100);
  transition: color 0.3s ease-in-out;
}

/*    Tablet    */

@media (max-width: 910px) {
  div.login-btn{
    position: absolute;
    top: 5px;
    right: 15px;
  }

  .navbar-container input.checkbox-hamburger[type="checkbox"],
  .navbar-container .hamburger-lines {
    display: block;
  }

  .navbar-container {
    display: block;
    position: relative;
    height: 64px;
  }

  .navbar-container input.checkbox-hamburger[type="checkbox"] {
    position: absolute;
    display: block;
    height: 32px;
    width: 30px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
  }

  .navbar-container .hamburger-lines {
    display: block;
    height: 23px;
    width: 35px;
    position: absolute;
    top: 17px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .navbar-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #333;
  }

  .navbar-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }

  .navbar-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar .menu-items {
    background-color: rgba(255, 255, 255, 0.3);
    height: 100vh;
    max-width: 250px;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -40px;
    padding-left: 40px;
    padding-top: 0px;
    transition: transform 0.5s ease-in-out;
    box-shadow: 5px 0px 10px 0px #aaa;
  }

  .navbar .menu-items::before {
    content: '';
    position: absolute;
    height: 100vh;
    width: 250px;
    z-index: -1;
    margin-left: -40px;
    padding-left: 40px;
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .navbar .menu-items li {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 500;
  }

  li.home-li {
    padding-top: 100px;
  }

  div.button-container {
    position: absolute;
    top: 8px;
    padding-top: 0px;
    right: 1%;
  }

  div.logo {
    position: absolute;
    top: 1px;
    right: 45%;
    font-size: 2rem;
  }

  div.login-btn {
    top: 0.6rem;
  }

  .navbar-container input.checkbox-hamburger[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }

  .navbar-container input.checkbox-hamburger[type="checkbox"]:checked ~ .menu-items::before {
    transform: translateX(0);
  }

  .navbar-container input.checkbox-hamburger[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(35deg);
  }

  .navbar-container input.checkbox-hamburger[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }

  .navbar-container input.checkbox-hamburger[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-35deg);
  }
}

/*    Mobile    */

@media (max-width: 600px) {
  div.logo {
    display: none;
  }
}

@media (max-width: 500px) {
  .navbar .menu-items li {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
  }

  .contact-container {
    display: flex;
    flex-direction: column;
  }

  div.logo {
    display: none;
  }

  .navbar .menu-items {
    max-width: 200px;
  }

  .navbar .menu-items::before {
    max-width: 200px;
  }
}
