* {
  margin: 0;
  padding: 0;
}

body {
    padding: 2rem;
    line-height: 1.7;
    font-size: 18px;
    max-width: 1440px;
    margin: 0 auto;
}

h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.3rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

hr {
  border: none;
  border-top: 2px solid #ddd;
  margin: 2rem 0;
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  margin-bottom: 1.5rem;
}

ul li, ol li {
  margin-bottom: 1.5rem;
  background: #fdfdfd;
  padding: 1rem 1.2rem;
  border: 1px solid #eee;
  border-radius: 8px;
}



ul > li {
    list-style-type: none;
}

ul > li {
  background: #fdfdfd;
  padding: 1rem 1.2rem;
  border: 1px solid #eee;
  border-radius: 8px;
}

ol[reversed] > li {
  background: #fff;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  list-style: none;
}

ol[reversed] {
  counter-reset: my-counter 11; 
}

ol[reversed] > li {
  counter-increment: my-counter -1;
}

ol[reversed] > li h3::before {
  content: counter(my-counter) ". ";
}

/* Large Monitor Breakpoint */

@media screen and (min-width: 1440px) {
  body {
    padding: 3rem 4rem;
    max-width: 1440px;
    margin: 0 auto;
    font-size: 19px;
  }

  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.75rem;
    margin-top: 3rem;
  }

  h3 {
    font-size: 2.5rem;
  }

  h4 {
    font-size: 2.1rem;
  }

  p {
    font-size: 1.5rem;

  }
}

/* Tablet/Restrictive Laptop Breakpoint */

@media screen and (min-width: 778px) and (max-width: 1023px) {
    
}

/* Phone Breakpoints */

@media screen and (max-width: 777px) {
  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.8rem;
  }


  h4 {
    font-size: 1.5rem;
    margin-top: 3rem;
  }

  ol li, ul li, ol[reversed] > li {
    background: none;
    padding: 0;
    border: none;
    border-radius: 0;
    border-bottom: 2px solid #ddd;
    box-shadow: none;
  }

  ul > li:last-child, ol > li:last-child {
    border-bottom: none;
  }
  
  ol[reversed] > li {
    background: none;
  }
}

@media screen and (max-width: 425px) {
  li img {
    width: 100%;
    height: auto;
  }
}
