body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #45483d;
}

.container {
  padding: 20px;
  text-align: center;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Vertically center items */
  flex-wrap: wrap; /* Allow wrapping for mobile layout */
}

.column {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.crest {
  flex: 0 0 25%; /* Take up 25% of the width */
}

.middle {
  flex: 0 0 50%; /* Take up 50% of the width */
}

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

h2 {
	color: white;
}

p {
color: white;
  max-width: 800px; /* Set a maximum width for the text */
  margin: 0 auto; /* Center the text horizontally */
  line-height: 1.6; /* Improve readability */
  text-align: justify; /* Optional: justify text for a clean look */
  padding: 0 20px; /* Add padding for smaller screens */
}

.crest {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%; /* Ensure the crest containers stretch fully */
}


.crest img {
  max-width: 80%; /* Adjust to control the size relative to the container */
  height: auto; /* Maintain aspect ratio */
  max-height: 150px; /* Ensure they don't become too tall */
  object-fit: contain; /* Ensures the image fits within the given dimensions */
}


@media (max-width: 768px) {
  .row {
	flex-direction: column; /* Stack items vertically on small screens */
  }

  .crest, .middle {
	flex: 1; /* Equal width for all columns */
  }

  .crest {
	margin: 10px 0; /* Adds vertical spacing above and below the crest */
  }

  .middle {
	margin: 10px 0; /* Adds vertical spacing above and below the rectangular image */
  }
    
 h2 {
    font-size: 20px;
  }
  
  p {
    text-align: center;
    padding: 0 0px; /* Add padding for smaller screens */
  }
  
}
