
:root {
  --sidebar-bg: #f8f8f8;
  --sidebar-text: #22223b;
  --active: #22223b;
  --main-bg: #f4f4f4;
  --accent: #006494;
  --profile-border: #006494;
  --link: #006494;
  --shadow: 0 2px 24px #0001;
}
body {
  margin: 0;
  font-family: 'Segoe UI', 'Montserrat', Arial, sans-serif;
  background: var(--main-bg);
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 240px;
  background: var(--sidebar-bg);
  color: var(--sidebar-text);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 10;
  align-items: center;
  border-right: 1px solid #eee;
}
.sidebar .logo {
  margin-top: 20px;
}
.sidebar .logo img {
  /* updated size */ height:150px; width:auto;
  margin-bottom: 0.5rem;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  margin-top: 0.5rem;
  width: 100%;
  align-items: center;
  gap: 1.3rem;
}
.sidebar nav a {
  color: var(--sidebar-text);
  padding: 0.4rem 0;
  text-decoration: none;
  font-size: 1.12rem;
  width: 100%;
  text-align: center;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  font-weight: 500;
}
.sidebar nav a:hover,
.sidebar nav a.active {
  color: var(--link);
  font-weight: bold;
  background: #e9ecef;
}
.sidebar .footer {
  margin-bottom: 2.5rem;
  display: flex;
  gap: 1.4rem;
  justify-content: center;
}
.sidebar .footer a {
  color: #666;
  font-size: 1.4rem;
  transition: color 0.2s;
}
.sidebar .footer a:hover {
  color: var(--link);
}
.sidebar .copyright {
  font-size: 0.95rem;
  color: #aaa;
  margin-bottom: 0.6rem;
  text-align: center;
}
.main {
  margin-left: 240px;
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--main-bg);
}
.center-box {
  margin: 0 auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  max-width: 480px;
  width: 100%;
  margin-top: 10vh;
}
.profile-img {
  width: 135px;
  height: 135px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--profile-border);
  margin-bottom: 1.6rem;
  background: #ddd;
  box-shadow: var(--shadow);
}
.hello {
  font-size: 1.15rem;
  color: #777;
  margin-bottom: 0.6rem;
  font-weight: 400;
}
h1 {
  font-size: 2.3rem;
  margin: 0.2em 0 0.5em 0;
  color: var(--active);
  font-weight: bold;
}
.intro {
  color: #505050;
  font-size: 1.12rem;
  margin-bottom: 2.2rem;
  line-height: 1.6;
}
.btn {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  margin-top: 0.6rem;
  border-radius: 1.4rem;
  background: var(--link);
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background: #084c78;
}
.main-bg-img {
  position: fixed;
  z-index: 0;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 280px;
  object-fit: cover;
  opacity: 0.10;
  pointer-events: none;
  filter: grayscale(0.8) blur(0.5px);
}
@media (max-width: 700px) {
  .sidebar {
    position: relative;
    width: 100vw;
    flex-direction: row;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  .sidebar .logo { margin: 10px 0 0 18px;}
  .sidebar nav {
    flex-direction: row;
    margin: 0 0 0 1.2rem;
    gap: 0.2rem;
    width: auto;
  }
  .sidebar nav a {
    padding: 0.8rem 0.5rem;
    font-size: 1rem;
    width: auto;
  }
  .main {
    margin: 0;
    padding-top: 20px;
  }
  .main-bg-img { height: 90px; }
}


/* Ensure sidebar footer stays at bottom */
.sidebar > div:last-child {
  margin-top: auto;
}

/* Full-height main background */
.main {
  position: relative;
  background: var(--main-bg) url('http://bosznai.hu/images/bg.jpg') no-repeat center top;
  background-size: cover;
}

/* Hide original img background */
.main-bg-img {
  display: none;
}
