/*
 * MENU BUTTON
 */
@import url("https://fonts.googleapis.com/css?family=K2D");
.menu__toggler {
  position: fixed;
  top: 20px;
  right: 5%;
  z-index: 999;
  height: 40px;
  width: 40px;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
    background-color: white;
    border-radius: 200px;
    padding-left: 10px;
}
.menu__toggler span,
.menu__toggler span::before,
.menu__toggler span::after {
  position: absolute;
  content: "";
  width: 20px;
  height: 2.5px;
  background: #009EDD;
  border-radius: 20px;
  transition: 500ms cubic-bezier(0.77, 0, 0.175, 1);
}

.menu__toggler span::before {
  top: -6px;
}
.menu__toggler span::after {
  top: 6px;
}
.menu__toggler.active > span {
  background: transparent;
}
.menu__toggler.active > span::before, .menu__toggler.active > span::after {
  background: #009EDD;
  top: 0px;
}
.menu__toggler.active > span::before {
  transform: rotate(-225deg);
}
.menu__toggler.active > span::after {
  transform: rotate(225deg);
}

/*
 * SLIDING MENU PANEL
 */
.menu {
  position: fixed;
  right: -40%;
  z-index: 999;
  color: #009EDD;
  background: rgba(255, 255, 255, 1);
    
  -webkit-clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
          clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  width: 40%;
  height: 100%;
  padding: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: 300ms right cubic-bezier(0.77, 0, 0.175, 1);
}
.menu p {
  font-size: 1.375em;
  margin-bottom: 1em;
}

@media only screen and (max-width: 1023px) {
  .menu {
    width: 96%;
    right: -96%;
        -webkit-clip-path: polygon(7% 0, 100% 0, 100% 100%, 0% 100%);
          clip-path: polygon(7% 0, 100% 0, 100% 100%, 0% 100%);
    background: rgba(255, 255, 255, 1);
  }
    .menu p {
  font-size: 1em;
  margin-bottom: 1em;
}
}
.menu.active {
  right: 0;
}

.menu a:hover{
    color: inherit;
    text-decoration: underline;
}

/*
 * BASIC STYLES
 */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

