@charset "utf-8";

/* --- CSS Reset: Modernized for better compatibility and performance --- */
/* Use 'box-sizing: border-box' for easier layout calculations (optional but recommended) */
html {
  box-sizing: border-box;
  font-size: 100%; /* Ensures consistent base font size */
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* More concise reset using modern standards */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
}

img {
  max-width: 100%; /* Essential for responsive images */
  height: auto;
  display: block; /* Removes default bottom margin/whitespace */
}

/* General improvements */
body {
  line-height: 1.6; /* Improved readability for body text */
 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; /* */

}

a {
  text-decoration: none;
  color: inherit; /* Inherit color by default, define specific colors later */
}

/* --- Utility Classes --- */

/* Modern clearfix using flexbox or simpler pseudoelement approach */
.cf::before,
.cf::after {
  content: "";
  display: table;
}

.cf::after {
  clear: both;
}

/* --- Layout and Styling --- */

body {
  background-color: rgb(0, 133, 188);
  /* Ensure correct file path and consider using modern formats like webp for better performance */
  background-image: url('SIDE1BLUE.gif');
  background-repeat: repeat;

}

a {
  text-decoration: none;
  color: black; /* Specific link color defined here */
}

.container {
  width: 90%;
  max-width: 60em;
  margin: auto; /* Centers the container */
  border: 5px solid;
  background-color: white;
  /* white-space: nowrap; is generally not needed for layouts and can cause horizontal scrolling */
  
  /* Combined box-shadow for clarity */
  box-shadow: 0px 0px 13px 8px rgba(50, 50, 50, 0.89);

  /* Conflicting/Redundant properties removed. 'max-width: 60em' and 'width: 90%' are sufficient */
  /* height: auto; is the default */
  /* 'min-height: 100vh;' (viewport height) makes the container at least the height of the screen */
  min-height: 100vh; 
}

.Heading {
  /* This class is empty in the original code, styles can be added here or removed if unused. */
}

.aboutUs h2 {
 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; /* */

  line-height: 3em;
  font-weight: bold;
  background-color: rgb(0, 133, 188);
  border: 4px solid; /* Combined border declaration */
  border-left: 0;
  border-right: 0;
  border-top: 4px solid; /* Thicker top border, order adjusted for clarity */
  font-size: 1.2em;
  
  /* Combined margin for clarity (top, right, bottom, left) */
  margin: 0.5em auto 0; /* Centers the H2 horizontally using auto margins */

  width: 100%;
  position: relative;
  top: 0.4em; /* Adjust with caution; positioning elements can cause layout issues */
  text-align: center;
  z-index: 1;

  /* Combined box-shadow for clarity */
  box-shadow: 0px 20px 20px -20px rgba(50, 50, 50, 0.89);
}

* ==========================================================================
   Header and Navigation
   ========================================================================== */
.mainHeader {
  margin-top: 1em;
  padding-top: 1em;
}

.titleHeader {
 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; /* */

  font-stretch: condensed;
  text-align: center;
  /* Shorthand margin declaration */
  margin: 0.8em 0 0.1em;
  font-size: 3.5em;
  padding: 5% 0;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-style: double;
  /* Corrected property name from "border-top 0" */
  text-decoration-thickness: 3px;
}

.dropdown {
  position: relative;
  display: inline-block;
  padding-right: 0.5em;
  /* Removed redundant z-index */
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #f9f9f9;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  /* Added a min-width for better control over content width */
  min-width: 150px;
  z-index: 2;
  text-align: left;
}

.dropdown-content a {
  color: black;
  padding: 35px 30px;
  text-decoration: none;
  /* Changed to 'display: block' for full link area interaction */
  display: block;
  font-size: 16px;
  text-align: left;
  /* Removed redundant min-width property */
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropbtn {
  background-color: white;
  color: black;
  border: none;
  /* Shorthand padding declaration */
  padding: 0.8em 1em 1em;
  font-size: 14px;
  cursor: pointer;
  font-weight: bold;
}

.dropdown:hover .dropbtn {
  background-color: rgb(0, 133, 188);
}

.backButton,
.blankRight {
  /* Combined shared styles for consistency */
  border: none;
  font-weight: bold;
  font-style: italic;
  z-index: 2;
  background-color: rgb(0, 133, 188);
  color: black;
  padding: 0.8em;
}

.backButton {
  float: left;
  min-width: 65px;
  max-width: 50px;
  font-size: 0.7em;
  padding: 0;
}

.blankRight {
  float: right;
  min-width: 50px;
  max-width: 50px;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */
.aboutUs h2 {
 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; /* */

  line-height: 2em;
  font-weight: bold;
  background-color: rgb(0, 133, 188);
  border: 4px solid;
  border-top: 4px solid;
  border-left: 0;
  border-right: 0;
  font-size: 1.2em;
  text-align: center;
  position: relative;
  top: 0em;
  z-index: 1;
  /* Removed outdated vendor prefixes for box-shadow */
  box-shadow: 0px 20px 20px -20px rgba(50, 50, 50, 0.89);
  /* Shorthand margin declaration */
  margin: 0 auto 0.5em;
  width: 100%;
}

section {
  /* Changed display to 'block' to fix potential layout issues caused by inline-block */
  display: block;
  width: 100%;
  /* Shorthand margin declaration, removed top margin duplication */
  margin: 0 auto 1.5em;
  background-color: white;
  /* Shorthand padding declaration, corrected unit 'vp' to 'em' assumption as 'vp' is invalid */
  padding: 1% 1% 1.5em;
  border-radius: 20px;
 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; /* */

  line-height: 2em;
  font-weight: bold;
  text-align: center;
  position: relative;


}

#heading {
  margin: 0 auto;
  margin-top: 0.5em;
 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; /* */

  font-weight: normal;
  font-size: 0.6em;
  /* Corrected 'justified' to standard 'justify' */
  text-align: justify;
  max-width: 87.5%;
  position: relative;
  top: 2em;
  z-index: 1;
}

p.device1 {
  margin: auto;
  /* Shorthand padding declaration, removed redundant 'padding-left: 0.0em' */
  padding: 0.4em 0.5em 0;
  text-align: left;
  font-size: 0.8em;
  font-weight: bold;
  /* Removed redundant border declarations */
}

#temps {
  font-size: 0.8em;
  line-height: 2em;
  font-weight: normal;
  text-align: left;
  padding-top: 0;
  overflow: hidden;
  min-height: 50em;
}

form.dateForm {
  text-align: center;
  /* Shorthand margin declaration */
  margin: 0.3em 5% 0 0;
  display: block;
  font-size: 1em;
}

.link1,
.link2 {
  /* Combined shared styles to reduce repetition */
  display: block;
  text-align: center;
  line-height: 4em;
  font-size: 1.2em;
  border: 3px solid;
  border-radius: 5px;
  margin: 1.5em auto;
  width:95%;
}

.link2 {
  /* Specific style for link2 */
  background-color: rgb(0, 133, 188);
}

footer {
  /* Placeholder for future footer styles */
}
