@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,400&family=Montserrat:wght@500;700&display=swap");

* {
  margin: 0%;
  padding: 0%;
  font-family: 'Montserrat', sans-serif;
}

p {
  font-family: 'Montserrat', sans-serif;
  font-weight: normal;
}
/* Main content styles */
.mainContent {
  max-width: 100%;
  margin: 0 auto;
  padding: 90px 20px;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #000000;
}

/* Header styles */
#terms-head {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 10px;
  text-align: center;
}

.mainContent > p:first-of-type {
  text-align: center;
  color: #cccccc;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

/* Section headers */
.mainContent h2 {
  font-size: 2rem;
  color: #ffffff;
  margin: 30px 0 20px;
  font-weight: 700;
}

.mainContent h3 {
  font-size: 1.5rem;
  color: #ffffff;
  margin: 25px 0 15px;
  font-weight: 700;
  border-bottom: 2px solid #333333;
  padding-bottom: 8px;
}

/* Paragraph styles */
.mainContent p {
  margin: 15px 0;
  font-size: 1rem;
  color: #e0e0e0;
}

/* List styles */
.main-ul {
  list-style-type: none;
  padding-left: 20px;
  margin: 15px 0;
}

.main-li {
  margin: 12px 0;
  position: relative;
  padding-left: 25px;
  color: #e0e0e0;
}

.main-li::before {
  content: "•";
  color: #ffffff;
  position: absolute;
  left: 0;
  font-size: 1.2em;
}

/* Strong text emphasis */
.mainContent strong {
  color: #ffffff;
  font-weight: 700;
}

/* Hover effects */
.main-li:hover {
  background-color: #1a1a1a;
  transition: background-color 0.2s ease;
}

/* Content sections spacing */
.mainContent > *:not(:last-child) {
  margin-bottom: 20px;
}

/* Selection color */
.mainContent ::selection {
  background-color: #333333;
  color: #ffffff;
}

/* Responsive design - 768px (Tablets) */
@media screen and (max-width: 768px) {
  
  #terms-head {
      font-size: 2rem;
  }

  .mainContent h2 {
      font-size: 1.75rem;
      margin: 25px 0 15px;
  }

  .mainContent h3 {
      font-size: 1.25rem;
      margin: 20px 0 12px;
  }

  .main-li {
      padding-left: 20px;
      margin: 10px 0;
  }

  .mainContent > p:first-of-type {
      margin-bottom: 30px;
      font-size: 1rem;
  }
}

/* Responsive design - 564px (Large phones) */
@media screen and (max-width: 564px) {
  

  #terms-head {
      font-size: 1.75rem;
  }

  .mainContent h2 {
      font-size: 1.5rem;
      margin: 20px 0 12px;
  }

  .mainContent h3 {
      font-size: 1.15rem;
      margin: 18px 0 10px;
  }

  .mainContent p {
      font-size: 0.95rem;
      margin: 12px 0;
  }

  .main-ul {
      padding-left: 15px;
  }

  .main-li {
      font-size: 0.95rem;
      padding-left: 18px;
      margin: 8px 0;
  }

  .mainContent > p:first-of-type {
      margin-bottom: 25px;
      font-size: 0.95rem;
  }
}

/* Responsive design - 480px (Small phones) */
@media screen and (max-width: 480px) {

  #terms-head {
      font-size: 1.5rem;
      margin-bottom: 8px;
  }

  .mainContent h2 {
      font-size: 1.25rem;
      margin: 18px 0 10px;
  }

  .mainContent h3 {
      font-size: 1.1rem;
      margin: 15px 0 8px;
      padding-bottom: 6px;
  }

  .mainContent p {
      font-size: 0.9rem;
      margin: 10px 0;
      line-height: 1.5;
  }

  .main-ul {
      padding-left: 10px;
      margin: 12px 0;
  }

  .main-li {
      font-size: 0.9rem;
      padding-left: 15px;
      margin: 6px 0;
      line-height: 1.5;
  }

  .mainContent > p:first-of-type {
      margin-bottom: 20px;
      font-size: 0.9rem;
  }

  /* Reduce spacing between sections */
  .mainContent > *:not(:last-child) {
      margin-bottom: 15px;
  }
}

/* Print styles */
@media print {
  .mainContent {
      background-color: #ffffff;
      color: #000000;
  }

  .mainContent h2,
  .mainContent h3,
  .mainContent strong {
      color: #000000;
  }

  .mainContent p,
  .main-li {
      color: #202020;
  }

  .main-li::before {
      color: #000000;
  }
}