@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

header,
.navbar {
  font-family: "Poppins", sans-serif;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-left: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: background-color 0.4s ease-in-out;
  background: transparent;
}

header.scrolledBlack {
  background-color: black;
  opacity: 0.98;
}


nav {
  height: 60px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}


nav a {
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-size: 18px;
  font-weight: 500;
  transition: background-color 0.4s ease-in-out;
  position: relative;
}

header.scrolled nav a {
  color: white;
  opacity: .98;
}

header.scrolled nav a.friday {
  color: gold;
  opacity: .98;
}

.nav-a::before {
  content: '';
  position: absolute;
  top: 88%;
  left: 44%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: deeppink;
  transition: .3s;
}

.nav-a:hover::before {
  width: 63%;
}

.nav-a.active::before {
  width: 63%;
}

.friday::before {
  left: 52%;
}

.friday:hover::before {
  width: 76%;
}

.friday.active::before {
  left: 52%;
  width: 76%;
}

nav .home-link {
  margin-right: auto;
}

nav svg {
  fill: white;
}

nav svg:hover {
  fill: hotpink;
}

header.scrolled nav svg {
  fill: white;
}


header.scrolled nav svg:hover {
  fill: hotpink;
}



.friday {
  color: gold;
  animation: lucky 6s linear forwards infinite;
}

@keyframes lucky {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.lucky-friday {
  position: relative;
  height: auto;
}


.pointer-cursor {
  cursor: pointer;
}

#sidebar-active {
  display: none;
}

.open-sidebar-button,
.close-sidebar-button {
  display: none;
}


.nav-button,
.nav-button-login {
  border: none;
  background: deeppink;
  border-radius: 30px;
  cursor: pointer;
}

.nav-button {
  padding: 3px 3px;
}

.nav-button-login {
  width: 40px;
  height: 40px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}


.icon {
  font-size: 40px;
}


.nav-button:hover,
.nav-button-login:hover {
  background: hotpink;
}


header.scrolled .nav-button a,
header.scrolled .nav-button-login a {
  color: white;
}

.login-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  z-index: 8;
  background-color: white;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  border: 3px solid deeppink;
  border-radius: .5em;
  color: deeppink;
  padding: 1%;
  top: 55px;
  right: -100%;
  width: 120px;
}

.login-content a {
  color: deeppink;
  padding: 2% 6%;
  text-decoration: none;
  display: block;
}

.login-content a:hover,
.button-logout:hover {
  color: hotpink;
}


.login-content.scrolled>a,
.button-logout,
.button-logout.scrolled {
  font-family: "Poppins", sans-serif;
  color: deeppink;
  font-size: 18px;
}



#login-box-active {
  display: none;
}

#login-box-active:checked~.login-content {
  right: 0;
}

#login-box-active:checked~#overlay-login {
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 7;
}

.button-logout {
  border: none;
  background: none;
  cursor: pointer;
  width: 100%;
}


.links-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  height: 100%;
  top: 0;
  right: -100%;
  z-index: 10;
  width: 250px;
  background-color: black;
  box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
  transition: 0.75s ease-out;
  height: 100%;
  overflow-y: scroll;
}


.links-container.scrolled {
  background-color: black;
}


.nav-a {
  box-sizing: border-box;
  height: auto;
  width: 100%;
  padding: 20px 30px;
  justify-content: flex-start;
}


.open-sidebar-button,
.close-sidebar-button {
  padding: 15px;
  display: block;
}

#sidebar-active:checked~.links-container {
  right: 0;
}

#sidebar-active:checked~#overlay {
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9;
}



@media (max-width: 433px) {
  .logo {
    font-size: 18px;
  }

  .nav-button {
    border-radius: 20px;
    padding: 3px 3px;
    width: 177px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  
  .nav-button a {
    font-size: 15px;
  }

}

@media (max-width: 390px) {
  .links-container {
    width: 230px;
  }

  nav a {
    font-size: 15px;
  }

  .nav-a {
    padding: 15px 20px;
  }

  .nav-button {
    border-radius: 15px;
    padding: 3px 3px;
    width: 152px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .nav-button a {
    font-size: 13px;
  }
}


@keyframes firework {
  0% {
    transform: translate(-50%, 1.5rem);
    width: 0.5vmin;
    opacity: 1;
  }

  50% {
    width: 0.5vmin;
    opacity: 1;
  }

  100% {
    width: 5.5rem;
    opacity: 0;
  }
}


.firework {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
  object-fit: cover;
  pointer-events: none;
}


.firework,
.firework::before,
.firework::after {
  --top: 60vh;
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.5vmin;
  aspect-ratio: 1;
  background:
    radial-gradient(circle, #ff0 0.2vmin, #0000 0) 50% 00%,
    radial-gradient(circle, #ff0 0.3vmin, #0000 0) 00% 50%,
    radial-gradient(circle, #ff0 0.5vmin, #0000 0) 50% 99%,
    radial-gradient(circle, #ff0 0.2vmin, #0000 0) 99% 50%,
    radial-gradient(circle, #ff0 0.3vmin, #0000 0) 80% 90%,
    radial-gradient(circle, #ff0 0.5vmin, #0000 0) 95% 90%,
    radial-gradient(circle, #ff0 0.5vmin, #0000 0) 10% 60%,
    radial-gradient(circle, #ff0 0.2vmin, #0000 0) 31% 80%,
    radial-gradient(circle, #ff0 0.3vmin, #0000 0) 80% 10%,
    radial-gradient(circle, #ff0 0.2vmin, #0000 0) 90% 23%,
    radial-gradient(circle, #ff0 0.3vmin, #0000 0) 45% 20%,
    radial-gradient(circle, #ff0 0.5vmin, #0000 0) 13% 24%,
    radial-gradient(circle, #ff0 0.5vmin, #0000 0) 23% 14%,
    radial-gradient(circle, #ff0 0.5vmin, #0000 0) 73% 34%,
    radial-gradient(circle, #ff0 0.5vmin, #0000 0) 83% 44%,
    radial-gradient(circle, #ff0 0.5vmin, #0000 0) 33% 74%,
    radial-gradient(circle, #ff0 0.5vmin, #0000 0) 23% 54%,
    radial-gradient(circle, #ff0 0.5vmin, #0000 0) 93% 64%,
    radial-gradient(circle, #ff0 0.5vmin, #0000 0) 23% 54%,
    radial-gradient(circle, #ff0 0.5vmin, #0000 0) 53% 44%,
    radial-gradient(circle, #ff0 0.5vmin, #0000 0) 93% 34%,
    radial-gradient(circle, #ff0 0.5vmin, #0000 0) 63% 44%;
  background-size: 0.5vmin 0.5vmin;
  background-repeat: no-repeat;
  animation: firework 2s infinite;
}

.firework::before {
  transform: translate(-50%, -50%) rotate(25deg) !important;
}

.firework::after {
  transform: translate(-50%, -50%) rotate(-37deg) !important;
}