@font-face {
    font-family: 'Varela Round';
    font-style: normal;
    font-weight: 400;
    src: local('Varela Round Regular'), local('VarelaRound-Regular'), url(https://fonts.gstatic.com/s/varelaround/v12/w8gdH283Tvk__Lua32TysjIfp8uK.ttf) format('truetype');
  }
  
  @font-face {
    font-family: 'Font Awesome';
    font-style: normal;
    font-weight: 400;
    src: url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.1.0/fonts/fontawesome-webfont.ttf) format('truetype');
  }
  
  :root {
    --accent-color: #45494e;
    --gradient-color: #fbfbfb;
  }
  
  * {
    box-sizing: border-box;
  }
 
  body {
    font-family: "Varela Round", sans-serif;
    margin: 0;
    padding: 0;
    text-transform: capitalize;
    background: linear-gradient(to bottom right, #659999 0%, #9b6741 100%) no-repeat center center fixed;
  }
  
  .menu > ol {
    list-style: none;
    margin: 30px 0;
    padding: 0;  
  }
  
  .menu > ol > li {
    background: #3c3c3c;
    border-left: 5px solid var(--gradient-color);
    margin-bottom: 1px;
    position: relative;
    transition: 0.5s;
    opacity: .9;
  }
  
  .menu > ol > li:nth-child(1) {
    --accent-color: #FDA085;
    --gradient-color: #F6D365;
  }
  .menu > ol > li:nth-child(2) {
    --accent-color: #BFF098;
    --gradient-color: #6FD6FF;
  }
  .menu > ol > li:nth-child(3) {
    --accent-color: #EA8D8D;
    --gradient-color: #A890FE;
  }
  .menu > ol > li:nth-child(4) {
    --accent-color: #D8B5FF;
    --gradient-color: #1EAE98;
  }
  .menu > ol > li:nth-child(5) {
    --accent-color: #C6EA8D;
    --gradient-color: #FE90AF;
  }
  
  .menu > ol .sub-menu {
    border-left: 1px solid #FBFBFB;
    margin-left: 22.5px;
    list-style: none;
    max-height: 0px;
    overflow: hidden;
    padding-left: 7.5px;
    position: relative;
    transition: 0.5s;
    z-index: 1;
  }
  
  .menu > ol > li:focus .sub-menu,
  .menu > ol > li:focus-within .sub-menu {
    max-height: 500px;
  }
  
  .menu > ol > li a {
    color: #FBFBFB;
    display: block;
    padding: 15px;
    position: relative;
    text-decoration: none;
    z-index: 1;
  }
  
  .menu > ol > li a:not(:last-child):before {
      content: "\f078";
      font-family: "Font Awesome";
      font-size: 0.75em;
      line-height: 50px;
      position: absolute;
      right: 25px;
      top: 0;
      bottom: 0;
      margin: auto;
      transition: 0.5s;
    }
  
  .menu > ol > li:focus-within a:before {
    transform: rotate(-180deg);
  }
  
  .menu > ol .sub-menu li {
    font-size: 0.9em;
  }
  .menu > ol .sub-menu li:hover {
    background: rgba(60, 60, 60, 0.3);
  }
  
  .menu > ol > li:after {
    background: #3c3c3c;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    transition: 0.5s;
    max-width: 0;
    overflow: hidden;
  }
  
  .menu > ol > li:focus-within:after,
  .menu > ol > li:hover:after {
    background: linear-gradient(to left, var(--accent-color), var(--gradient-color));
    max-width: 800px;
  }
  
  .menu > ol > li:focus-within,
  .menu > ol > li:hover {
    z-index: 100;
  }
  
  .menu a:focus {
    outline: none;
    position: relative;
  }
  .menu a:focus:after {
    width: 50px;
  }
  .menu a:after {
    content: "";
    background: #FBFBFB;
    position: absolute;
    bottom: 5px;
    left: 15px;
    height: 3px;
    width: 0;
    transition: 0.5s;
    transition-delay: 0.2s;
  }
  
  .menu > ol .sub-menu li a:after {
    bottom: 5px;
    height: 1px;
  }
  
  .menu > ol .sub-menu li a:hover:after,
  .menu > ol .sub-menu li a:focus:after {
    width: 15px;
  }
  
  @media (min-width: 600px) {
      .menu {
      margin: 0;
      margin-top: -20px;
    }
    .menu > ol {
      display: block;
      max-width: none;
      text-align: center;
    }
    .menu > ol > li {
      border-top: 5px solid var(--accent-color);
      border-left: 0;
      display: inline-block;
      margin-left: -5px;
      vertical-align: top;
      width: 120px;
  }
    .menu > ol > li a:not(:last-child):before {
      right: 12.5px;
    }
  
      .menu > ol > li:hover a:before {
      transform: rotate(-180deg);
    }
  
    .menu > ol > li:hover:after,
    .menu > ol > li:focus:after,
    .menu > ol > li:focus-within:after {
      background: linear-gradient(to bottom, var(--accent-color), var(--gradient-color));
      border-radius: 3px;
      top: -15px;
      bottom: -15px;
      left: -15px;
      right: -15px;
    }
    .menu > ol > li:hover .sub-menu {
    max-height: 750px;
  }
    .menu > ol .sub-menu {
      border-left: 0;
      margin: 15px -15px -15px;
      padding-left: 0;
    }
    .menu a:focus,
    .menu a:hover {
      position: relative;
    }
    .menu a:focus:after,
    .menu a:hover:after {
      width: 50px;
    }
    .menu a:after {
      left: 0;
      right: 0;
      margin: auto;
    }
  }
  
  @media (min-width: 775px) {
    .menu > ol > li {
      width: 150px;
    }
    .menu > ol > li a:not(:last-child):before {
      right: 25px;
    }
  }
  .main-container a, .main-container a:hover{
    color: #fff;
  }
  .main-container ul{
      list-style-type: none;
  }