h1 {
  text-align: center;
}

.rules-bar {
  background: var(--secondary-color);
  height: 30px;
  max-height: 30px;
}

.rules-card {
  background: var(--secondary-color-lighter);
  border-radius: 0px;
  color: var(--text-color);
  border: none;
  box-shadow: 5px 40px 48px rgba(0, 0, 0, 0.3);
  position: relative;
}

.rules-logo-container {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
}

.rules-menu li a {
  color: #ccc; /* Muted color */
  text-decoration: none;
  border-left: solid 2px #ccc;
  padding-left: 3px;
  transition: 0.2s;
}

.rules-menu li a:hover {
  color: var(--interaction-color);
  border-left: solid 2px var(--interaction-color);
}

.rules-menu li.active a {
  color: var(--important-color);
  border-left: solid 2px var(--important-color);
}

.rules-sidebar {
  position: sticky;
  top: 10px;
  z-index: 2;
  margin-right: -175px;
}

.rules-img-container {
  margin-top: 100px;
}

/*** FLAG PART ***/
.rules-wrapper {
  position: relative;
  border: none;
  border-radius: 0px;
  filter: drop-shadow(5px 40px 48px rgba(0, 0, 0, 0.3));
}

.rules-flag {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 250px;
  background-color: var(--secondary-color-lighter);
  -webkit-mask-image: url("../img/flag.png");
  mask-image: url("../img/flag.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

#rules-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/*** ***/
