/* =======================
   Base / Reset Styles
========================== */

html {
	box-sizing: border-box;
	height: 100%;
	margin: 0;
}

*, *::before, *::after {
	box-sizing: inherit;
}

body {
	height: 100%;
	margin: 0;
	font-family: 'Yu Gothic';
}

a {
	color: inherit;
	text-decoration: none;
}

hr {
  width: 85%;           /* make it half the container width */
  margin: 0.4rem auto;    /* auto left/right margin centers it */
  border: none;         /* remove default border */
  border-top: 2px solid #ccc; /* add a custom top border line */
}

.hidden {
  display: none;
}


/* =======================
   Header & Navbar
========================== */

header {
	
	width: 100%;
	min-height: 50px;
	box-sizing: border-box;
}

.navbar {
	display: flex;
  justify-content: space-between;
	align-items: center;
  padding: 0.5rem 1rem;
	position:relative;
	
}

.secondary-nav{
  display:flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: space-around;
  -webkit-overflow-scrolling:touch;
  
  
  white-space: nowrap;
}

/* =======================
   Hamburger LEFT
========================== */

.hamburger{

  z-index: 1;
 


}
.hamburger-btn {
  display: inline-flex;         /* flex for stacking icons */
  flex-direction: column;
  align-items: center;
  gap: 0;                      /* no gap between icons */
  
  width: 24px;
  height: 24px;

  background: none;
  border: none;
  cursor: pointer;
  color: black;

  line-height: 1;
  font-size: 0;                /* remove inline spacing */
  padding: 0;
  margin: 0;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100vh;
  background-color: #fff;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  transition: left 0.3s ease;
  z-index: 1001;
  padding: 1rem;
}
.sidebar--open {
  left: 0;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.overlay--active {
  opacity: 1;
  visibility: visible;
}

/* Button */
.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}



/* =======================
   Logo
========================== */

.logo {
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  display:flex;
  justify-content: center;
}

.logo img {
	height: 60px;
	width: auto;
	display: block;
}

/* =======================
   Nav Actions (Right Side)
========================== */

.nav-actions {
  z-index: 1;
	
}

.nav-actions img {
	width: 28px;
	height: 28px;
}

/* =======================
   Navigation Links
========================= */

.navLink {
	color: inherit;
	text-decoration: none;
}

.navLink:hover {
	text-decoration: underline;
}



/* =======================
   Icon + Label Components
========================== */

.icon-with-label,
.footer-icon {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0 0.0rem;
	min-width: 75px;
	text-decoration: none;
	color: #333;
	cursor: pointer;
	transition: color 0.3s ease;
}

.icon-with-label:hover,
.icon-with-label:focus,
.footer-icon:hover,
.footer-icon:focus {
	color: black;
	transition: color 0.3s ease, filter 0.3s ease;
}

/* Icon Label Text */
.icon-label,
.icon-label-swipe {
	font-size: 0.75rem;
	user-select: none;
	opacity: 1;
}

/* Reversed Cat Icon */
.cat-icon svg {
	transform: scaleX(-1);
}

/* Nav Icons */
.nav-icon {
	width: 28px;
	height: 28px;
}

.nav-icon-footer{
	width: 48px;
	height: 48px;
	margin: 20px;
	
}

/* =======================
   Footer
========================== */

footer {
	padding: 0.3em;
	font-size: 1rem;
	text-align: center;
	width: 100%;
}

/* =======================
   Content Container
========================== */

.content {
	flex: 1;
	width: 100%;
	flex-direction: column;
	flex-grow: 1;
	padding: 0 1.5rem;
	margin: 0 auto;
}

/* =======================
   Buttons
========================== */

.footer-icon-button {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	
	font: inherit;
	color: inherit;
	cursor: pointer;
	display: inline-block;
	position: relative;
}

/* =======================
   Speech Bubble (Tooltips)
========================== */

.speech-bubble {
	position: absolute;
	background: #fff;
	border: 2px solid #333;
	border-radius: 10px;
	padding: 4px 8px;
	font-size: 0.75rem;
	top: 50%;
	right: 100%;
	transform: translateY(-50%);
	white-space: nowrap;
	display: none;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
	margin-right: 8px;
	user-select: none;
	z-index: 10;
}
