nav{
    top: 55px;
    right: 50px;
    position: fixed!important;
    z-index: 900;
    background-color: black;
    padding: 10px;
    border-radius: 10px;
}

nav label{
    display: inline-block;
    font-weight: 700;
    display: block;
    height: 26px;
    width: 32px;
    cursor: pointer;
    margin-bottom: 0px;
}
nav .hamburger-lines {
    display: block;
    height: 26px;
    width: 32px;
    z-index: 12;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

nav .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: white;
}

_nav:hover{
    background-color: #ffcc66;;
}
nav:hover .hamburger-lines .line {
    background: #ff6666;
}

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

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

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


#y-offcanvas-menu {
    display: none;
    position:fixed;
    top:0;
    left:0;
    width: 100vw;
    height: 100vh;
    z-index: 50;
    background-color: #ffcc66;
    justify-content: center;
    align-items: center;
    background-image: url(../images/yagwud.PNG);
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 20vw;
}

body.y-offcanvas #y-offcanvas-menu{
    display: flex;
}

body.y-offcanvas{
    height: 1px;
    overflow: hidden;
}

body.y-offcanvas nav{
    background-color: #ffcc66;
}

#y-offcanvas-trigger{
    display: none;
}


#y-offcanvas-trigger:checked ~ .menu-items {
    transform: translateX(0);
}

#y-offcanvas-trigger:checked ~ nav .hamburger-lines .line1 {
    transform: rotate(45deg);
}

#y-offcanvas-trigger:checked ~ nav .hamburger-lines .line2 {
    transform: scaleY(0);
}

#y-offcanvas-trigger:checked ~ nav .hamburger-lines .line3 {
    transform: rotate(-45deg);
}

.c-header-navigation{
    list-style: none;
    margin:0;
    padding:0;
    text-align: center;  
    z-index: 9999;
}

.c-header-navigation li{
    list-style: none;
    color: white;
}

.c-header-navigation li a{
    color: white;
    font-size: 5rem;
    margin-bottom: 2rem;
    text-decoration: none;
}

.c-header-navigation li a:hover,
.c-header-navigation li.current_page_item a{
    color: #ff6666;
}

.c-header-navigation li.y-menusmall a{
    font-size: 2rem;
}

@media only screen and (max-width:900px) {

    nav{
        top: 45px;
        right: 15px;
    }
    
    .c-header-navigation li a{
        color: white;
        font-size: 3rem;
    }
} 




.bubbles{
    position:absolute;
    width:100%;
    height: 100%;
    z-index:-1;
    overflow:hidden;
    top:0;
    left:0;
  }
  .bubble{
    position: fixed;
    bottom:-100px;
    width:40px;
    height: 40px;
    background:aqua;
    border-radius:50%;
    opacity:0.5;
    animation: rise 10s infinite ease-in;
  }
  .bubble:nth-child(1){
    width:40px;
    height:40px;
    left:10%;
    animation-duration:8s;
  }
  .bubble:nth-child(2){
    width:20px;
    height:20px;
    left:20%;
    animation-duration:5s;
    animation-delay:1s;
  }
  .bubble:nth-child(3){
    width:50px;
    height:50px;
    left:35%;
    animation-duration:7s;
    animation-delay:2s;
  }
  .bubble:nth-child(4){
    width:80px;
    height:80px;
    left:50%;
    animation-duration:11s;
    animation-delay:0s;
  }
  .bubble:nth-child(5){
    width:35px;
    height:35px;
    left:55%;
    animation-duration:6s;
    animation-delay:1s;
  }
  .bubble:nth-child(6){
    width:45px;
    height:45px;
    left:65%;
    animation-duration:8s;
    animation-delay:3s;
  }
  .bubble:nth-child(7){
    width:90px;
    height:90px;
    left:70%;
    animation-duration:12s;
    animation-delay:2s;
  }
  .bubble:nth-child(8){
    width:25px;
    height:25px;
    left:80%;
    animation-duration:6s;
    animation-delay:2s;
  }
  .bubble:nth-child(9){
    width:15px;
    height:15px;
    left:70%;
    animation-duration:5s;
    animation-delay:1s;
  }
  .bubble:nth-child(10){
    width:90px;
    height:90px;
    left:25%;
    animation-duration:10s;
    animation-delay:4s;
  }
  @keyframes rise{
    0%{
      bottom:-100px;
      transform:translateX(0);
    }
    50%{
      transform:translate(100px);
    }
    100%{
      bottom:1080px;
      transform:translateX(-200px);
    }
  }