body {
  overflow-x: hidden;
}

.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/rulessidebar.png') no-repeat center center;
  background-size: cover;
  padding: 20px;
  box-sizing: border-box;
  border-right: 0px solid #ccc;
  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(255, 255, 255);
  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: #ffffff;

}
.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;
  }
}

.title {
    color: rgb(20, 77, 154);
    font-size: 100px;
    text-align: center;
    font-weight: bold;
    margin-left: 300px;
    margin-bottom: 20px;
}

.podtitle {
    color: rgb(20, 77, 154);
    font-size: 43px;
    text-align: center;
    font-weight: bold;
    margin-left: 300px;
    margin-bottom: 100px;
}

.rules {
    color: rgb(15, 15, 15);
    font-size: 20px;
    text-align: left;
    font-weight: lighter;
    margin-bottom: 100px;
    margin-left: 350px;
}

.rules div {
    padding: 10px;
    margin-bottom: 5px;
}

@media (max-width: 992px) {
    .title {
        font-size: 70px;
        margin-left: 0;
        padding: 0 20px;
    }

    .podtitle {
        font-size: 35px;
        margin-left: 0;
        padding: 0 20px;
    }

    .rules {
        font-size: 18px;
        margin-left: 0;
        padding: 0 20px;
    }
}

/* Responzivita pro mobily */
@media (max-width: 600px) {
    .title {
        font-size: 50px;
        padding: 0 15px;
    }

    .podtitle {
        font-size: 28px;
        padding: 0 15px;
    }

    .rules {
        font-size: 16px;
        padding: 0 15px;
    }
}