* {
    box-sizing: border-box;
}

html {
    touch-action: manipulation;  /* This is is important to stop zooming on touchscreen devices.  Backup method to prevent zooming is to ensure all elements are big enough so that they don't trigger a zoom */
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    height: 100vh; /* Full viewport height */
    width: 100vw; /* Prevents displaying off-page issues on mobile devices while zooming */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

header {
    background-color: #87CEEB; /* Background color behind the text */
    padding: 5px 0;
    text-align: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

header a {
    color: white; /* Link color matches the header's text color */
    text-decoration: none; /* Remove the underline from links */
}

header a:hover {
    text-decoration: none; /* Remove the underline from links */
}

h1 {
    text-align: center;
}

.image-container {
    text-align: center;
    padding: 20px;
}

.centered-image {
    max-height: 425px;
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Optional for aesthetics */
}

.image-left {
    width: 425px;
    float: left;
    display: block;
    margin: 20px 20px 20px 0; /* Top Right Bottom Left */
    border-radius: 9px;
}

.image-right {
    width: 425px;
    float: right;
    display: block;
    margin: 20px 0 20px 20px; /* Adds spacing on the right */
    border-radius: 9px;
}

.navbar {
    display: flex;
    justify-content: center;
    background-color: #333;
    padding: 0;
    height: 50px; /* Adjust the height of the navbar */
    min-height: 50px;
}

.dropdown {
    position: relative;
    margin: 0 10px;
}

.dropbtn {
    background-color: #333;
    color: white;
    border: none;
    padding: 0 20px;
    font-size: 16px;
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    top: 100%;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown.show .dropdown-content {
    display: block;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    margin-top: auto;
}

footer a {
    color: #5a9bcf; /* Lighter blue color */
    text-decoration: none; /* Remove underline */
}

footer a:hover {
    color: #4a8ec4; /* Slightly darker blue when hovered */
}

footer a:active {
    color: #3a7bbf; /* Even darker blue when clicked */
}

footer a:visited {
    color: #4a8ec4; /* Color when the link has been visited */
}

.content {
    flex-grow: 1;
    max-width: 900px;
    width: calc(100% - 20px);
    margin: 50px auto;
    padding: 20px;
    font-size: 18px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.content h2 {
    font-family: "Aptos Narrow", "Segoe UI", Arial, sans-serif;
    text-align: center;
    color: #0073e6;
}

.content p {
    line-height: 1.6;
    font-size: 18px;
}

.text-overlay {
    font-size: 50px;
    font-family: Impact, sans-serif;
    font-weight: bold;
    width: 300px; /* Set a fixed width */
    min-height: 100px;
    background: url('../images/gears111.jpg') center/contain no-repeat;
    -webkit-background-clip: text; /* Works in WebKit browsers */
    background-clip: text;
    color: transparent; /* Hides non-text parts */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap; /* Prevents line breaks */
}

.normal-text {
    font-size: 24px;
    font-family: Arial, sans-serif;
    margin-left: 1px; /* Adjust spacing */
   
     
    
}