@charset "utf-8";
/* CSS Document */

/*** NAV  ***/
/*****************************************************/


.nav-h2 {font-size: 3em;}

.navbar-logo{position:fixed; left:40px; top:40px; z-index: 1000;}

.menu {
  position: relative;
}

.top {
    position: absolute;
    top: 0;
    right: 0;
}




/* hamburger */
.checkbox {
  display: none;
}

.button {
  position: relative;
  background-color:#00d5ff;
  height: 5rem;
  width: 5rem;
  border-radius: 50%;
  position: fixed;
  top: 5vh; 
  right: 5vw; 
  z-index: 1000;
  /*box-shadow: 0 1rem 3rem #a0a0a0;*/
  text-align: center; 
  cursor: pointer;
}

.button-close 
{
  height: 2rem;
  width: 4rem;
  z-index: 1000;
  /*box-shadow: 0 1rem 3rem #a0a0a0;*/
  text-align: center; 
  cursor: pointer;

}









.background {
  height: 4rem;
  width: 4rem;
  border-radius: 50%;
  position: fixed;
  top: 5.5vh; 
  right: 5.5vw; 
  background-color:#101010;
  z-index: 500;

  transition: transform 0.8s cubic-bezier(0.86, 0, 0.07, 1);
}

.nav2 {
  height: 100vh;
  position: fixed;
  top: 0;
  right: -60vw;
  z-index: 750;
  opacity: 0;
  width: 0;
  transition: all 0.8s;
}

.list {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  list-style: none;
  text-align: center;
  width: 100%;
}

.item {
  margin: 1rem;
  font-size: 36px;
}

.link:link,
.link:visited {
  display: inline-block;
  font-size: 3rem;
  font-weight: 300;
  padding: 1rem 2rem;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  background-image: linear-gradient(
    120deg,
    transparent 0%,
    transparent 50%,
    white 50%
  );
  background-size: 220%;
  transition: all 0.4s;
}

.link:hover,
.link:active {
  color: lightgreen;
  cursor: pointer;
}

/* functionality */
.checkbox:checked ~ .background {
  transform: scale(80);
}
.checkbox:checked ~ .nav2 {
  opacity: 1;
  width: 100%;
  right: 0;
}

/*  */
/* styling hamb ICON */
.icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.icon,
.icon::before,
.icon::after {
  width: 3rem;
  height: 2px;
  background-color: white;
  display: inline-block;
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
  left: 0;
  transition: all 0.2s;
}

.icon::before {
  top: -0.8rem;
}
.icon::after {
  top: 0.8rem;
}

.button-close  .button:hover icon:before {
  top: -1rem;
}
.button-close  .button:hover icon::after {
  top: 1rem;
}

.checkbox:checked + .button .icon{
  background-color: transparent;
}

.checkbox:checked + .button .icon::before {
  top: 0;
  transform: rotate(135deg);
}
.checkbox:checked + .button .icon::after {
  top: 0;
  transform: rotate(-135deg);
}



Resources1× 0.5× 0.25×Rerun