﻿div.burger
{
    height: 30px;
    width: 40px;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    z-index: 9;
}
div.x, div.y, div.z
{
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    background: #fff;
    border-radius: 2px;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -ms-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}
div.x, div.y, div.z
{
    height: 3px;
    width: 26px;
}
div.y
{
    top: 18px;
}
div.z
{
    top: 37px;
}
div.collapse0
{
    top: 20px;
    background: var(--base_color);
    -webkit-transition: all 70ms ease-out;
    -moz-transition: all 70ms ease-out;
    -ms-transition: all 70ms ease-out;
    -o-transition: all 70ms ease-out;
    transition: all 70ms ease-out;
}
div.rotate30
{
    -ms-transform: rotate(30deg);
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
    -webkit-transition: all 50ms ease-out;
    -moz-transition: all 50ms ease-out;
    -ms-transition: all 50ms ease-out;
    -o-transition: all 50ms ease-out;
    transition: all 50ms ease-out;
}
div.rotate150
{
    -ms-transform: rotate(150deg);
    -webkit-transform: rotate(150deg);
    transform: rotate(150deg);
    -webkit-transition: all 50ms ease-out;
    -moz-transition: all 50ms ease-out;
    -ms-transition: all 50ms ease-out;
    -o-transition: all 50ms ease-out;
    transition: all 50ms ease-out;
}
div.rotate45
{
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 100ms ease-out;
    -moz-transition: all 100ms ease-out;
    -ms-transition: all 100ms ease-out;
    -o-transition: all 100ms ease-out;
    transition: all 100ms ease-out;
}
div.rotate135
{
    -ms-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    -webkit-transition: all 100ms ease-out;
    -moz-transition: all 100ms ease-out;
    -ms-transition: all 100ms ease-out;
    -o-transition: all 100ms ease-out;
    transition: all 100ms ease-out;
}
div.circle
{
    border-radius: 50%;
    width: 0;
    height: 0;
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255,255,255,.95);
    opacity: 1;
    -webkit-transition: all 300ms cubic-bezier(0,.995,.99,1);
    -moz-transition: all 300ms cubic-bezier(0,.995,.99,1);
    -ms-transition: all 300ms cubic-bezier(0,.995,.99,1);
    -o-transition: all 300ms cubic-bezier(0,.995,.99,1);
    transition: all 300ms cubic-bezier(0,.995,.99,1);
}
div.circle.expand
{
    width: 4800px;
    height: 4800px;
    top: -2400px;
    right: -2400px;
    -webkit-transition: all 400ms cubic-bezier(0,.995,.99,1);
    -moz-transition: all 400ms cubic-bezier(0,.995,.99,1);
    -ms-transition: all 400ms cubic-bezier(0,.995,.99,1);
    -o-transition: all 400ms cubic-bezier(0,.995,.99,1);
    transition: all 400ms cubic-bezier(0,.995,.99,1);
}
div.menu
{
    transform: translateX(100%);
    width: 100%;
    position: absolute;
    top: 50px;
    left: 0;
    z-index: 1031;
    padding: 15px;
}
div.menu.open
{
    transform: translateX(0);
}
div.menu ul li
{
    opacity: 0;
    width: 100%;
    text-align: center;
    font-size: 0;
    -webkit-transition: all 70ms cubic-bezier(0,.995,.99,1);
    -moz-transition: all 70ms cubic-bezier(0,.995,.99,1);
    -ms-transition: all 70ms cubic-bezier(0,.995,.99,1);
    -o-transition: all 70ms cubic-bezier(0,.995,.99,1);
    transition: all 70ms cubic-bezier(0,.995,.99,1);
    border-bottom: 1px solid rgba(0,0,0,.05);
}
div.menu ul li a
{
    display: block;
    color: var(--base_color);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 3px;
    padding: 20px;
}
div.menu ul li a:hover, div.menu ul li a.active
{
    border-radius: 5px;
    color: #fff;
    background-color: var(--second_color);
}
div.menu li.animate
{
    font-size: 18px;
    opacity: 1;
    -webkit-transition: all 150ms cubic-bezier(0,.995,.99,1);
    -moz-transition: all 150ms cubic-bezier(0,.995,.99,1);
    -ms-transition: all 150ms cubic-bezier(0,.995,.99,1);
    -o-transition: all 150ms cubic-bezier(0,.995,.99,1);
    transition: all 150ms cubic-bezier(0,.995,.99,1);
}
div.menu li.animate:nth-of-type(1)
{
    transition-delay: 0s;
}
div.menu li.animate:nth-of-type(2)
{
    transition-delay: .03s;
}
div.menu li.animate:nth-of-type(3)
{
    transition-delay: .06s;
}
div.menu li.animate:nth-of-type(4)
{
    transition-delay: .09s;
}
div.menu li.animate:nth-of-type(5)
{
    transition-delay: .12s;
}
div.menu li.animate:nth-of-type(6)
{
    transition-delay: .15s;
}
@media(min-width: 321px)
{
    div.menu li.animate
    {
        font-size: 20px;
    }
}