/* classy farming - Responsive Styles */

body {
  font-family: Comic Sans MS, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

html {
  overflow-x: hidden;
  width: 100%;
}

.content-container {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.title {
  letter-spacing: .2em;
  font-size: 30px;
  margin-bottom: 10px;
}

.subtitle {
  letter-spacing: .1em;
  font-size: 24px;
  margin-bottom: 15px;
}

.main-image {
  max-width: 100%;
  height: auto;
  max-height: 300px;
}

table {
  max-width: 100%;
  table-layout: auto;
}

table td {
  white-space: normal;
  word-wrap: break-word;
}

.footer-link {
  text-align: center;
  line-height: 1.5;
}

.footer-link a {
  color: #0000EE;
  text-decoration: underline;
  white-space: nowrap;
}

.roach-icon {
  height: 25px;
  vertical-align: middle;
  margin: 0 3px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .content-container {
    width: 95%;
    padding: 15px;
    box-sizing: border-box;
  }

  .title {
    font-size: 24px;
    letter-spacing: .1em;
  }

  .subtitle {
    font-size: 18px;
  }

  body {
    font-size: 16px;
    line-height: 1.6;
  }

  .main-image {
    max-height: 200px;
  }

  table {
    width: 100%;
    font-size: 14px;
  }

  table td {
    padding: 2px;
  }

  table img {
    height: 20px !important;
  }

  .footer-link {
    font-size: 14px;
  }

  .roach-icon {
    height: 20px;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 20px;
  }

  .subtitle {
    font-size: 16px;
  }

  table {
    font-size: 12px;
  }

  table td {
    padding: 1px;
  }

  table img {
    height: 18px !important;
  }

  .footer-link {
    font-size: 12px;
  }

  .roach-icon {
    height: 18px;
  }
}

