﻿.toggle-nav {
  padding: 10px;
  background: none;
  border: none; }
  .toggle-nav:hover, .toggle-nav:focus {
    outline: 0; }
    .toggle-nav:hover .burger-lines, .toggle-nav:focus .burger-lines {
      background-color: #000000; }
      .toggle-nav:hover .burger-lines:before, .toggle-nav:hover .burger-lines:after, .toggle-nav:focus .burger-lines:before, .toggle-nav:focus .burger-lines:after {
        background-color: #000000; }
  .toggle-nav.active .burger-lines {
    background: transparent; }
    .toggle-nav.active .burger-lines:before, .toggle-nav.active .burger-lines:after {
      transition: top 300ms cubic-bezier(0.165, 0.84, 0.44, 1), transform 300ms 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
      top: 0;
      width: 20px; }
    .toggle-nav.active .burger-lines:before {
      transform: rotate3d(0, 0, 1, 45deg) scale(1.1); }
    .toggle-nav.active .burger-lines:after {
      transform: rotate3d(0, 0, 1, -45deg) scale(1.1); }

.burger-lines {
  display: inline-block;
  cursor: pointer;
  user-select: none;
  transition: all 300ms ease;
  width: 20px;
  height: 2px;
  background-color: #000000;
  position: relative;
  top: -2px; }
  .burger-lines:before, .burger-lines:after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: #000000;
    position: absolute;
    left: 0;
    transform-origin: 50% 50%;
    transition: top 300ms 300ms cubic-bezier(0.165, 0.84, 0.44, 1), transform 300ms cubic-bezier(0.165, 0.84, 0.44, 1), background-color 300ms cubic-bezier(0.165, 0.84, 0.44, 1); }
  .burger-lines:before {
    top: 8px; }
  .burger-lines:after {
    top: -8px; }

.spand-class {
  margin-top: 10px;
  width: 1em;
  height: 1em;
  left: 50%;
  top: 50%;
  transform: translatex(-50%) translatey(-50%); }
  .spand-class::before, .spand-class::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #000;
    transition: 0.25s; }
  .spand-class.active::before {
    transform: rotate(90deg); }
  .spand-class.active::after {
    transform: rotate(180deg); }

.menu-movil {
  position: fixed;
  background-color: white;
  z-index: 9;
  height: 75%;
  width: 0%;
  /*top: 5.5rem;*/
  display: none;
  opacity: 0; }

.show-menu {
  display: block;
  opacity: 1;
  width: 100%;
  animation-name: show-menu-anim-in;
  animation-duration: 0.3s; }

.mensaje-spand {
  padding: 0.5rem;
  line-height: 2.5rem; }

.anim-out {
  animation-name: show-menu-anim-out;
  animation-duration: 0.3s; }

@keyframes show-menu-anim-in {
  0% {
    opacity: 0; }
  25% {
    opacity: 0.25; }
  50% {
    opacity: 0.50; }
  100% {
    opacity: 1; } }

@keyframes show-menu-anim-out {
  0% {
    opacity: 1; }
  25% {
    opacity: 0.50; }
  50% {
    opacity: 0.25; }
  100% {
    opacity: 0; } }
