:root {
  --header-height: 60px;
}
body { 
   padding-top: 60px /*var(--header-height)*/; 
   font-family: 'Segoe UI', Arial, sans-serif; 
   margin: 0; 
   background: #f3f3f3; 
   background-image: url('assets/M.png');
   background-size: cover;
   background-position: center;
}
header { 
   background: linear-gradient(0deg,#00bbff, #ffffff);
   color: #fff;
   display: flex;
   align-items: center;
   justify-content: space-between; 
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: var(--header-height);
   z-index: 1000; 
   min-width: 0;
}
header h1 { 
   margin: 0;
   font-size: 1.5rem; 
}
.bartxt { 
   color: #000000; 
   text-decoration: none;
   font-weight: 500; 
}
.container {
   height: calc(100vh - var(--header-height) - 10px);
   border-spacing: 10px;
   border-radius: 10px;
   right: 10px;
   left: 10px;
   padding: 10px 10px; 
}
button {
   background: #0078d7;
   color: #fff;
   border: none;
   padding: 0.5rem 1.2rem;
   border-radius: 4px;
   cursor: pointer;
   font-weight: 500; 
}
footer {
  /*bottom:0; /*only for short pages.*/
  position: absolute; 
  width: 100%; 
  text-align: center; 
  background-color: #f3f3f3; 
  font-size: 14px;
  color: #000;
}
@media (orientation: landscape) {
  header {
   opacity: 0.8;
  }
  header nav {
   flex-shrink: 1;
   min-width: 0;
   overflow-x: auto;
   white-space: nowrap;
  }
  nav a { 
   color: #000000; 
   margin-left: 2rem;
   text-decoration: none;
   font-weight: 500; 
  }
  navbutton, #Sidenav {
   display: none;
  }
}

@media (orientation: portrait) {
  header nav {
   display: none;
   opacity: 1;
  }

  #Sidenav {
   display: block;
   height: 100%; 
   width: 0; 
   position: fixed; 
   z-index: 1; 
   top: 0; 
   left: 0;
   background-color: #fff; 
   overflow-x: hidden; 
   padding-top: 60px; 
   transition: 0.5s; 
   opacity: 1;
  }
  #Sidenav h2 {
    padding: 0px 0px 0px 16px;
    color: #000;
  }

  #sidenav a {
   padding: 8px 8px 8px 32px;
   text-decoration: none;
   font-size: 25px;
   color: #818181;
   display: block;
   transition: 0.3s;
  }

  #sidenav a:hover {
   color: #f1f1f1;
  }

  #sidenav .closebtn {
   position: absolute;
   top: 0;
   right: 25px;
   font-size: 36px;
   margin-left: 50px;
  }

  #main {
   transition: 0.5s;
   padding: 20px;
  }

  @media screen and (max-height: 450px) {
   #sidenav {padding-top: 15px;}
   #sidenav a {font-size: 18px;}
  }
}

/*@media (max-height: 100%) {
  #footer {
    bottom: 0;
  }
}/* Experimental */
