@keyframes clickIn {
  to {
    visibility: visible;
  }
}

nav {

    visibility: hidden;

    animation: 0s linear 0.5s forwards clickIn;
    
    position: fixed;
    top:0;
    left:0;
    
    z-index: 10000 !important;
    
    width:81px;
    height:70px;
    /*background-color: var(--black);*/
    
    border-bottom-right-radius: 20px;
}

#menutoggle a {
  text-decoration: none;  
  transition: color 0.3s ease;
  z-index: 10000005 !important;
}

a:hover {
    
}

#menuToggle {
  display: block;
  position: relative;
  top: 24px;
  left: 24px;
  width:100px;
  z-index: 10000006;
  
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

#menuToggle input:checked {
    display:block;
    z-index: 1000;
    width:100vw; height:100vh;
}

/*
 * Just a quick hamburger
 */
#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  z-index: 10000007;
  background: var(--white);
    box-shadow: 0px 0px 2px 1px var(--black);

  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: var(--yellow);
    box-shadow: 0 0 0 0;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu {
    
  position: absolute;
  width: 300px;
  height:100vh;
  margin: -80px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
    box-shadow: 0px 0px 25px var(--black);
  
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-110%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

@media (orientation:portrait) {
    #menu {
            width: 100vw;
    }
}

.hr {
    width:100%;
    border-top: 1px solid var(--yellow);
    margin
}

#menu li {
  padding: 0px 0;
  font-size: 20px;
    z-index:20000000 !important;
}

#menu a {
    display: block;
    width: 100%;
    padding-top:10px;
    padding-bottom: 10px;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;
}








@media (orientation:portrait) {
    .portraitVisible {
        display: inherit !important;
    }
    
    .landscapeVisible {
        display: none !important;
    }
}

@media (orientation:landscape) {
    .portraitVisible {
        display: none !important;
    }
    .landscapeVisible {
        display: block !important;
    }
}


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

        }

        @media only screen and (max-width:400) {
            
        }



.navBar {
    position: fixed;
    top: 0;
    left: 0;
    width:100vw;
    max-height: 70px;
    background-color: var(--black);
    box-shadow: 0px 0px 40px 3px black;
    border-radius: 0;
    z-index: 10000000!important;
}

.navBorder {
    position: fixed;
    top: 70px;
    left: 0;
    width:100vw;
    height: 4px;
    border-radius: 0;
    z-index: 110000000 !important;
     background: linear-gradient(to right, rgba(229,206,115,1) 0%, rgba(255,243,191,1) 25%, rgba(153,133,52,1) 75%, rgba(229,206,115,1) 100%);
}

#landscapeLogo {
    margin-left: 20px;
        margin-top: 12px;
    height: 50px;
}

#centerLogo {
    position:absolute;
            height: 50px;
    width:176px;
    top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
        z-index: 999999999999999 !important;


}

#portraitLogo {
    margin-top:7px;
    height: 40px;
    z-index: 999999999999999 !important;
}



#landscapeBar {
  list-style-type: none !important;
  margin: 0;
  padding: 0;
  overflow: hidden;

    float:right;
    display: block;
    height:71px;
}

#landscapeBar li {
  float: left;
    display: block !important;
    margin: 0;
    height:71px;
    
}

#landscapeBar li a {
  display: block !important;
  color: white;
  text-align: center;
  padding: 16px;
        padding-top: 20px;
  text-decoration: none;
 
    height:39px;
}

/* Change the link color to #111 (black) on hover */
#landscapeBar li a:hover {
  background-color: #000;
  
}

#donate {
    color: var(--black) !important;
    background-color: var(--yellow);
    padding-right:20px;
}

#donate a {
    color: var(--black) !important;
}

#donate a:hover {
    background-color: var(--lightyellow) !important;
}