html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/*end reset*/
[hidden] { display: none; }

body { 
  overflow: hidden;
  font-family: sans-serif;
}
.logo {
	display:inline;
	float:left;
	background:red;
	margin:0;
	padding:1rem;
	color:#333;
}
/*mobile menu*/
@media ( max-width: 40rem ) {
  .navigation button {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    border: 0;
    height: 32px;
    width: 32px;
    background: none;
    color: #107db5;
    font-size: 0rem;
    padding: 0;
    transition: 0.2s 0.5s color ease-in-out;
  }

    .navigation button svg {
      display: block;
      pointer-events: none;
      stroke: currentcolor;
      vertical-align: middle;
      height: 32px;
      width: 32px;
      transition: 0.2s 0.5s stroke ease-in-out;
    }

    .navigation button::before {
      content: ' ';
      position: absolute;
      border-radius: 200vh;
      opacity: 0;
      left: calc(-130vmax + 50%);
      top: calc(-130vmax + 50%);
      width: 260vmax;
      height: 260vmax;
      background: #107db5;
      display: block;
      z-index: -1;
      -webkit-transform: scale3d(0, 0, 0);
              transform: scale3d(0, 0, 0);
      -webkit-transform-origin: 50% 50%;
              transform-origin: 50% 50%;
      transition: 0.5s ease-in-out transform, 0.2s 0.4s ease-in-out opacity;
    }

    .navigation button[aria\-expanded=true] {
      color: #fff;
    }
    
    .navigation button[aria\-expanded=true]::before {
      opacity: 1;
      -webkit-transform: scale3d(1, 1, 1);
              transform: scale3d(1, 1, 1);
      transition: 0.5s ease-in-out transform, 0.1s ease-in-out opacity;
    }

  #menu {
    pointer-events: none;
    list-style: none;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 0;
  }

    #menu a {
      text-decoration: none;
      font-weight: bold;
      color: #fff;
      opacity: 0;
      display: block;
      -webkit-transform: translateY(-10px);
              transform: translateY(-10px);
      transition: 0.2s 0.5s ease-out opacity, 0.2s 0.5s ease-out transform;
    }

    #menu li:nth-child(2) a {
      transition: 0.2s 0.7s ease-out opacity, 0.2s 0.7s ease-out transform;
    }
    
    #menu li:nth-child(3) a {
      transition: 0.2s 0.9s ease-out opacity, 0.2s 0.9s ease-out transform;
    }
    
    #menu li:nth-child(4) a {
      transition: 0.2s 1.1s ease-out opacity, 0.2s 1.1s ease-out transform;
    }
	
	#menu li:nth-child(5) a {
      transition: 0.2s 1.3s ease-out opacity, 0.2s 1.3s ease-out transform;
    }
  
  #menu:not([hidden]) {
    pointer-events: all;
  }
    
    #menu:not([hidden]) a {
      opacity: 1;
      -webkit-transform: translateY(0);
              transform: translateY(0);
    }
}
/*widescreen menu*/
@media ( min-width: 40rem ) {
  .navigation button { display: none }
  
  #menu {
    width: auto;
    height: auto;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
  }
    
    #menu li {
      padding: 1rem;
    }
      
      #menu li a {
        pointer-events: all;
        opacity: 1;
       
        font-weight: normal;
        color: #107db5;
        text-decoration: none;
  		 padding: 4px;
 
 transition: color 0.5s ease;
      }
        
        #menu li a:hover,
        #menu li a:focus {
        color:yellowgreen;
        }
}