.rules-regulation {
  background-image: url(../img/hackathon-bg-min.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 30%;
  background-attachment: fixed;
  min-height: 100vh;
}

html {
  --height-spidey-image: 50px;
}

.head,
.ru {
  font-family: "Bebas Neue", cursive;
  font-weight: normal;
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
}

.ru {
  font-size: 1em;
  color: red;
}

.rules-content {
  padding: 11vh 0 5vh 0;
}

.rules-heading {
  font-size: 72px;
  text-align: center;
  margin-bottom: 5vh;
  padding: 0 20px;
  padding-top: 25px;
}

.rules-body {
  padding: 0 10%;
  padding-bottom: 120px;
}

.rule-each-point {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.spidey-pointer {
  height: var(--height-spidey-image);
  aspect-ratio: 1/1;
}

.pointer-img {
  height: 100%;
}

.rule-info {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: #ffffff;
  font-weight: 300;
  text-transform: none;
  text-align: justify;
}

.rule-info .inner {
  line-height: var(--height-spidey-image);
  cursor: pointer;
  font-weight: 700;
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 15px;
}

.rule-info .inner .name
{
  transition: all 0.6s ease-in-out;
}

.red-name
{
  color: red;
}

.indicator
{
    transform: scale(1, -1);
    transition: all 0.5s ease-in-out;
}

.rotate-indicator
{
    transform: scale(1, 1);
}

.sub-points {
  padding: 0 10px;
  list-style-type: ">";
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}

.visible-yes {
  max-height: 600px;
}

.sub-points li {
  padding: 10px;
  text-align: left;
}

@media only screen and (max-width: 850px) {
  .rules-body {
    padding: 0 5%;
  }
}

@media only screen and (max-width: 650px) {
  .rules-body {
    padding: 0 3%;
  }
}

@media only screen and (max-width: 500px) {
  .rules-body {
    padding: 0 2%;
  }
}
