body {
  margin: 0;
  color: green;
  background: #f5f5f5;
  text-align: center;
  font-size: 50px;
  overflow-x: hidden;
}

.nadpis {
    color: rgb(23, 99, 195);
    font-family: 'Georgia', serif;
    font-size: 99px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

.sidebar {
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100vh;
  background: url('/res/background/indexsidebar.png') no-repeat center center;
  background-size: cover;
  padding: 20px;
  box-sizing: border-box;
  border-right: 0px solid #ffffff;
  text-align: center;
  overflow-y: auto;
  z-index: 1000;
}

.logo {
  display: block;
  width: 100px;
  margin: 0 auto 20px;
}

.brand {
  display: inline-block;
  font-family: 'Snell Roundhand', 'Great Vibes', cursive;
  background: rgb(50, 50, 50);
  color: white;
  padding: 5px 15px;
  margin: 0 auto 40px;
  border-radius: 2px;
  font-size: 35px;
  font-weight: bold;
}

.menu a {
  display: block;
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin: 20px 0;
}

.dropdown {
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.dropdown > a {
  position: relative;
  left: 0px;
}

.arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.3s ease;
  pointer-events: none;
  font-size: 20px;
  font-weight: bold;
  user-select: none;
}

.dropdown.open .arrow {
  transform: translateY(-50%) rotate(180deg);
}

.submenu {
  display: none;
  flex-direction: column;
  margin-left: 15px;
  transition: all 0.3s ease;
}

.dropdown.open .submenu {
  display: flex;
}

.submenu a {
  display: block;
  padding-left: 0px;
  margin-bottom: 5px;
  margin-top: 10px;
  font-size: 15px;
  text-align: center;
  color: #000000;

}

.menu-toggle {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  background: none;
  color: #000;
  font-size: 28px;
  border: none;
  z-index: 1001;
}

@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 250px;
    height: 100vh;
    background-size: cover;
    background-color: rgba(0, 0, 0, 0.95);
    transition: left 0.3s ease;
    z-index: 1000;
  }

.sidebar.open {
    left: 0;
  }

.menu-toggle {
    display: block;
  }
}

.bcuvd {
    margin-left: 280px;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-right: 0px;
    padding: 30px;
    flex: 1;
    background-image: url(/res/background/bgtitleindex.jpeg);
}

.ttl {
    color: rgb(31, 124, 251);
    font-size: 40px;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: bold;
}

.news {
    background-image: url(/res/background/bgnews.jpg);
    text-align: center;
    padding: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: bold;
}

.novinky {
    margin-left: 300px;
    color: rgb(46, 90, 47);
    font-size: 100px;
    text-align: center;
}

.exp {
    color: rgb(0, 0, 0);
    font-size: 50px;
    margin-left: 280px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.gamer {
    padding: 60px;
    background-image: url(/res/background/bggamer18601080.jpg);
}

.mgmrs {
    text-align: center;
    color: rgb(113, 177, 114);
    font-size: 55px;
    margin-left: 300px;
    font-weight: bold;
}

.tgmrs {
    text-align: center;
    color: rgb(72, 134, 74);
    font-size: 50px;
    margin-left: 300px;
    font-weight: bold;
    padding: 50px;
}

.inws {
    padding: 45px;
    font-size: 35px;
    margin-left: 300px;
    text-align: left;
    color: rgb(102, 102, 102);
}

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

@media (max-width: 768px) {
  .bcuvd,
  .novinky,
  .exp,
  .inws,
  .mgmrs,
  .tgmrs {
    margin-left: 0;
    padding: 20px;
    text-align: center;
  }

  .uvd {
    font-size: 48px;
  }

  .ttl {
    font-size: 24px;
  }

  .novinky {
    font-size: 50px;
  }

  .exp {
    font-size: 28px;
  }

  .inws {
    font-size: 20px;
    padding: 10px;
    text-align: center;
  }

  .mgmrs, .tgmrs {
    font-size: 28px;
    padding: 20px;
  }

  .gamer {
    padding: 20px;
    background-size: cover;
  }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}
}