/* Ensure padding and border are included in the element's total width and height */
* {
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    margin: 0;
    padding: 20px;
}

/* Make images responsive */
img {
    max-width: 100%; /* Image will scale down, but not up beyond its original size */
    height: auto;    /* Maintain aspect ratio */
    display: block;  /* Helps with layout consistency */
}

/* Use relative units for text size (vw = viewport width) */
h1 {
    font-size: 3vw; /* Text scales with browser width */
  font-family: "verdana";
  font-weight: bold;
  color: steelblue;
}

/* Another example using a different font */
h2 {
  font-family: "verdana";
  font-weight: normal;
    font-size: 2vw; /* Text scales with browser width */
  color: #666;
}

h3 {
    font-size: 1vw; /* Text scales with browser width */
  font-family: "verdana";
  font-weight: bold;
  color: steelblue;
}


p {
  font-size: 14px; /* Base size for paragraph text */
  font-family: "verdana";
}




/* Use Flexbox for a responsive layout */
.container {
    display: flex;
    flex-wrap: wrap; /* Allows columns to wrap onto a new line on smaller screens */
    gap: 10px;
}

.column {
    flex: 1; /* Allows columns to grow and shrink to fill the space */
    background-color: #f1f1f1;
    padding: 15px;
    min-width: 200px; /* Prevents columns from becoming too narrow */
}

/* Media Query: Stack columns vertically on screens smaller than 600px */
@media screen and (max-width: 600px) {
    .container {
        flex-direction: column; /* Stacks columns vertically for mobile devices */
    }
}










/* Responsive styles for smaller screens */
@media (max-width: 768px) {
  h1 {
    font-size: 30px; /* Smaller heading on tablets */
  }
  p {
    font-size: 20px; /* Smaller paragraph on tablets */
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 20px; /* Even smaller heading on phones */
  }
  p {
    font-size: 12px; /* Smaller paragraph on phones */
  }
}


