 /* 
  Octarule Project
  Author: Keith (Arc.Keith)
  Created: July 2025
  License: Creative Commons Attribution 4.0 International (CC BY 4.0)
  https://creativecommons.org/licenses/by/4.0/
*/

/* Kerrian Global Base Styles */

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

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/*main {
  flex: 1;
  overflow-x: hidden;
} another possible fix*/

.menu-toggle {
  padding: unset;
  margin: unset;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1001;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  background-color: #aabbee;
  position: absolute;
  height: 3px;
  width: 100%;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.menu-toggle span {
  top: 50%;
  transform: translateY(-50%);
}
.menu-toggle span::before {
  content: '';
  top: -8px;
}
.menu-toggle span::after {
  content: '';
  top: 8px;
}
.menu-toggle.open span {
  background-color: transparent;
}
.menu-toggle.open span::before {
  top: 0;
  transform: rotate(45deg);
}
.menu-toggle.open span::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 480px) {
  main {
    padding: .40rem; /* Remove horizontal padding from main on small screens */
  }
}