html {
  font-size: clamp(14px, 4vw, 18px);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color: #333;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

/* Body Reset */
body {
  margin: 0;
  padding: 0;
  background-color: #green; /* Light gray background */
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem 0;
  font-weight: 700;
  line-height: 1.2;
  color: #222;
}

/* Individual Heading Sizes */
h1 {
  font-size: clamp(2rem, 6vw, 3rem); /* 32px to 48px */
}

h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem); /* 28px to 40px */
}

h3 {
  font-size: clamp(1.5rem, 4vw, 2rem); /* 24px to 32px */
}

h4 {
  font-size: clamp(1.25rem, 3vw, 1.75rem); /* 20px to 28px */
}

h5 {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem); /* 18px to 24px */
}

h6 {
  font-size: clamp(1rem, 2vw, 1.25rem); /* 16px to 20px */
  color: #555;
}

/* Paragraphs */
p {
  margin: 0 0 1rem 0;
  font-size: 1rem; /* Inherits from html font-size */
  color: #fff;
}

/* Small Text */
small {
  font-size: 0.875rem;
  color: #666;
}

/* Links */
a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: #0056b3;
  text-decoration: underline;
}

a:active {
  color: #003d80;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Lists */
ul,
ol {
  margin: 0 0 1rem 1.5rem;
  padding: 0;
  list-style-type: none;
}

li {
  margin-bottom: 0.5rem;
}

/* Buttons */
button,
input[type="submit"],
input[type="reset"] {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
  background-color: #0056b3;
}

/* Forms */
input,
textarea,
select {
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 1rem;
}

/* Blockquotes */
blockquote {
  margin: 0 0 1rem 0;
  padding: 1rem;
  background-color: #f1f1f1;
  border-left: 4px solid #007bff;
  font-style: italic;
  color: #555;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

th,
td {
  padding: 0.75rem;
  text-align: left;
  border: 1px solid #dee2e6;
}

thead {
  background-color: #e9ecef;
}

/* Responsive Media Queries */
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  html {
    font-size: clamp(16px, 2vw, 20px);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  html {
    font-size: clamp(18px, 1.5vw, 22px);
  }
}
