/* Google Fonts  */
.joti-one-regular {
  font-family: "Joti One", serif;
  font-weight: 400;
  font-style: normal;
}

.irish-grover-regular {
  font-family: "Irish Grover", system-ui;
  font-weight: 400;
  font-style: normal;
}

body {
  margin: 0;
  height: 100vh;
  background-color: teal;
  /* background: radial-gradient(
    circle,
    rgba(0, 128, 128, 1) 0%,
    rgba(4, 77, 77, 1) 50%,
    rgba(2, 46, 46, 1) 100%
  ); */
  background: radial-gradient(
    circle,
    rgba(170, 0, 0, 1) 0%,
    rgba(97, 0, 0, 1) 49%,
    rgba(61, 1, 1, 1) 100%
  );

  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

img.logo {
  max-width: 300px;
  height: auto;
}

/* Hamburger button as link */
.hamburger-link {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 20;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

/* draw the horizontal middle bar for hamburger menu */
.hamburger {
  width: 30px;
  height: 3px;
  background: #fff;
  position: relative;
  display: block;
  transition: all 0.3s ease;
}

/* duplicate midle hamburger bar above and below center one */
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 3px;
  background: #fff;
  transition: all 0.3s ease;
}

.hamburger::before {
  /* copy horizontal bar above -10px */
  transform: translateY(-10px);
}

.hamburger::after {
  /* copy horizontal bar below 10px */
  transform: translateY(10px);
}

/* Cross state */
.hamburger.active {
  background: transparent;
}

.hamburger.active::before,
.hamburger.active::after {
  background: #fff;
}

.hamburger.active::before {
  transform: rotate(45deg);
}

.hamburger.active::after {
  transform: rotate(-45deg);
}

/* Menu overlay */
.menu-overlay {
  position: fixed;
  top: -100%;
  right: 0;
  width: 33%;
  height: 50%;
  background-color: rgba(90, 90, 90, 0.3);
  border-bottom-left-radius: 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: top 0.5s ease;
  z-index: 10;
}

.menu-overlay.active {
  top: 0;
}

.menu-overlay.inactive {
  top: -100%;
}

.menu-overlay a {
  font-family: "Irish Grover", system-ui;
  position: relative;
  text-decoration: none;
  color: #fff;
  font-size: 2rem;
  margin: 1rem 0;
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Create space for the lolly image (hidden by default) */
.menu-overlay a::before {
  content: "";
  background: url("../img/lollies.png") no-repeat center / contain;
  width: 100px;
  height: 100px;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Show and slide the lollies image in on hover */
.menu-overlay a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.menu-overlay a:hover {
  color: #f5a22f;
  transform: scale(1.05);
}
