:root {
  --bg-gradient: linear-gradient(to bottom right, #b3e5fc, #fce4ec);
}

body {
  margin: 0;
  font-family: 'Baloo 2', Arial, sans-serif;
  background: var(--bg-gradient);
}

.layout {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  min-height: 100vh;
}

.side-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
    background-color: rgba(255, 255, 255, 0.6); /* biały z 60% kryciem */

}

.menu-btn {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: #333;
  font-size: 1em;
  box-shadow: 3px 3px 0px rgba(0,0,0,0.3);
  border: 2px solid rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-btn:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0px rgba(0,0,0,0.4);
}

.yellow { background-color: #ffd54f; }
.blue   { background-color: #81d4fa; }
.pink   { background-color: #f48fb1; }
.green  { background-color: #aed581; }
.purple { background-color: #ce93d8; }
.orange { background-color: #ffcc80; }
.teal   { background-color: #80cbc4; }

#Up {
 /* padding: 20px;   background-color: #fff3e0; */
  text-align: center;
  padding: 30px 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: #333;
  background-color: transparent;
}

.center-wrapper {
  display: flex;
  justify-content: center;  /* poziome wyśrodkowanie */
  align-items: center;      /* pionowe wyśrodkowanie */
  background: linear-gradient(120deg, #f0f0f0, #d0d0d0); /* opcjonalne tło */
}

.color-button {
  background: linear-gradient(135deg, #ff6a00, #ee0979);
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
   /* margin-top: 20px;     /*  Dodany margines górny */
  /* margin-bottom: 20px;    Margines dolny dla odstępu od treści */

}

.color-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}


#Center {
  /* całkowicie przezroczyste tło  background-color: #ffffff;*/
  /* padding: 20px; */
  
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent; /* całkowicie przezroczyste tło */
  /* height: 100vh;  opcjonalnie: pełna wysokość okna */
}
  
  
}

#latest-news {
  background-color: #e3f2fd;
  padding: 20px;
}

footer {
  background-color: #ff9800;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.footer-icons a {
  display: inline-block;
  width: 36px;
  height: 36px;
  background-color: #fb8c00;
  border-radius: 50%;
  color: #fff;
  font-weight: bold;
  line-height: 36px;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
}

.footer-contact {
  margin-top: 10px;
  font-size: 0.95em;
}

.footer-contact a {
  color: #fff;
  text-decoration: underline;
}

.footer-back {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #fff;
  color: #ff9800;
  font-weight: bold;
  border-radius: 20px;
  text-decoration: none;
}

.footer-back:hover {
  background-color: #ffe0b2;
}

.mobile-header {
  display: none;
  background-color: #ff9800;
  color: #fff;
  padding: 10px;
  align-items: center;
  justify-content: space-between;
}

#menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5em;
}

@media (max-width: 960px) {
  .layout {
    grid-template-columns: 1fr;
  }
  #MenuLewo, #MenuPrawo {
    display: none;
  }
  .mobile-header {
    display: flex;
  }
  
  body.menu-open #MenuLewo {
    display: flex;
    flex-direction: column;
    background-color: rgba(255,255,255,0.95);
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    padding: 10px;
    z-index: 1000;
  }
}
