:root {
  --bg-light: #f9f9f9;
  --bg-mid: #e0e0e0;
  --bg-dark: #333;
  --text-main: #111;
  --accent: #e53935;
  --hover-bg: #f0f0f0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 98%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: var(--bg-light);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.login-btn:hover {
  background-color: #34495e;
}


.login-btn {
  border: none;
  padding: 0 40px;
  height: 50px;
  line-height: 1;
  background: #687888;
  color: #fff;
  border-radius: 20px;
  font-size: 1em;
  cursor: pointer;
}

.login-btn:before {
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  content: '\f058';
  margin-right: 5px;
}

.auth-menu {
  display: flex;
  align-items: center;
}

.user-name {
  margin-right: 0.5rem;
  font-size: 1.5rem;
  color: var(--text-main);
}

.user-icon {
  font-size: 3.5rem;
  margin-right: 2rem;
  cursor: pointer;
  color: #687888;
}

.user-dropdown {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  position: absolute;
  top: 120%;
  right: 0;
  margin-right: 2rem;
  background-color: var(--bg-light);
  border: 1px solid var(--bg-mid);
  min-width: 150px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 10;
  padding: 10px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}


.user-dropdown a {
  display: block;
  padding: 8px;
  text-decoration: none;
  color: #333;
}

.user-dropdown a:hover {
  background-color: var(--hover-bg);
}

.sidebar {
  position: fixed;
  top: 100px;
  left: 0;
  width: 220px;
  height: 100vh;
  background-color: #ffffff;
  color: #333;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

.sidebar ul {
  list-style: none;
  font-size: 20px;
  padding: 0;
}

.sidebar li {
  margin-bottom: 16px;
}

.sidebar a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.sidebar a:hover {
  color: #00bcd4;
}

.menu-icon {
  font-size: 16px;
  color: #333;
  transition: color 0.3s ease, transform 0.3s ease;
}

.menu-icon {
  font-size: 16px;
  color: #333;
  transition: color 0.3s ease, transform 0.3s ease;
}

.sidebar a:hover .menu-icon {
  color: #00bcd4;
  transform: translateY(-2px);
}

.menu-icon:hover {
  color: #00bcd4;
}

.sidebar a:hover .menu-icon {
  animation: floatIcon 0.4s ease forwards;
}

@keyframes floatIcon {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

.sns-links ul {
  display: flex;
  justify-content: center;
  gap: 32px;
  list-style: none;
  padding: 0;
}

.sns-links li {
  display: inline-block;
}

.instagram-icon,
.threads-icon {
  font-size: 32px;
  color: #555;
  transition: transform 0.3s ease;
}

.instagram-icon:hover {
  transform: scale(1.2);
}


.mobile-footbar {
  display: none;
}

.layout-footer {
  background-color: #f2f2f2;
  color: #333;  
  text-align: center;
  padding: 48px 16px;
  font-size: 16px;
  margin-top: 40px;
  border-top: 1px solid #ccc;
}

.layout-footer a {
  color: #2c3e50;
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.3s ease;
}

.layout-footer a:hover {
  color: #0077aa;
}

main {
  margin-top: 120px; 
  margin-left: 253px;
  background-color: #ffffff;
}