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

@import url('https://fonts.googleapis.com/css2?family=Cabin&display=swap');

#topnav {
  padding: 0px;
  margin: 0px;
 /* min-height: 200vh;*/
  
  font-family: Helvetica, Arial, Sans-serif;
  

}



#main-menu {
  display: block;
  height: 80px;
  width: 100%;
  margin: 0px;  

  background: white;
  
	border-bottom-color: black;
  border-bottom-style: solid;
  border-bottom-width: 1px;
}

#main-menu ul {
  max-width: 800px;
  width: 100%;
  height: 100%;
  margin: 0px ;
  padding: 0px;

  display: flex;
  float: right;

  align-items: right;
 
}

#main-menu a:hover{
	background-color: #ed562c;  /*e34114*/
	text-decoration: underline;
	border-bottom-color: black;
	border-bottom-style: solid;
    border-bottom-width: 1px;
}
	
#main-menu li {
	
	color: black;
	font-size: 1.5rem;
	text-decoration: none;
    font-size: 16px;
	list-style-type: none;
  /*font-size: 2rem;*/
	padding-left: 15px;
    padding-right: 15px;
	padding-top: 40px;

}

#main-menu a {
  color: black;
  font-size: 1.5rem;
  text-decoration: none;
    font-size: 16px;
	
}



#hamburger-input{
  display: none;
}

#hamburger-menu {
		z-index: 3;
	
    position: fixed;
    top: 20px;
    right: 20px; /* WAS LEFT*/
    width: 50px;
    height: 50px;
    display: none;
    border: none;
    padding: 0px;
    margin: 0px;
    font-family: 'Cabin', Sans-serif;
    background: linear-gradient(
      to bottom, 
      #3D0E61, #3D0E61 20%, 
      white 20%, white 40%, 
      #3D0E61 40%, #3D0E61 60%, 
      white 60%, white 80%, 
      #3D0E61 80%, #3D0E61 100%
    );
}

#hamburger-menu #sidebar-menu {
    visibility: hidden;
    position: fixed;
    top: 0;
    right: -350px; /*was -250*/
    width: 70%; /*was 300*/
    height: 100%;
    background-color: #3D0E61;
    transition: 0.3s;
    padding: 0px;
    box-sizing: border-box;	

}

#hamburger-menu h3 {
  color: #B9FAF8;
  font-size: 2.2rem;
    padding-left: 50px;
}

#hamburger-menu ul {
  padding-left: 0px;
  
  position:absolute;  /**/
   z-index:10;
}

#hamburger-menu li {
  list-style-type: none;
  line-height: 3rem;
}

#hamburger-menu a {
  color: #B9FAF8;
  font-size: 1.3rem;
  text-decoration: none;
  padding-left: 40px;
  padding-right: 30px;
}

#hamburger-menu a:hover {
  text-decoration: underline;
}

#hamburger-input:checked + #hamburger-menu #sidebar-menu {
    visibility: visible;
    left: 0;
}
#hamburger-input:checked ~ .overlay{
   visibility: visible;
  opacity: 0.4;
}


@media screen and (max-width: 750px) {
	.overlay{
    position: fixed;
    top: 0;
    right: 0; /* WAS LEFT*/
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: hidden;
    background: black;
    z-index: 2;
}

#main-menu {
    display: none;
	
}
  
#hamburger-menu {
    display: inline;
}
#hamburger-menu li {
	width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
}
#hamburger-menu li:hover {
  	background-color: #e34114;
	text-decoration: underline;
}
}