body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    text-align: center; /* Center the body text */
}

.container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.header {
    background-color: #368cbf;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 24px;
    font-weight: bold;
}

/* Sizes text for: <h1>Wokingham Weather Monitoring Station - Berkshire</h1> tag in 'index.html', so can be used within <div class="header"> section  */
.header h1 {
    font-size: 24px; /* Adjust the font size to match the previous size */
    font-weight: bold; /* If the previous font weight was normal */
    margin: 0; /* Adjust the margin if needed */
}

.nav {
    background-color: #368cbf;
    color: white;
    text-align: center;
    padding: 0;
    position: relative;
}

.nav a {
    color: white;
    padding: 10px 14px;
    text-decoration: none;
    display: inline-block;
}

.nav a:hover {
    background-color: #ddd;
    color: black;
}

.dropdown {
    display: inline-block;
    position: relative;
}

.dropdown > span {
    color: white;
    padding: 10px 14px;
    cursor: pointer;
    display: inline-block;
}

.dropdown > span:hover {
    background-color: #ddd;
    color: black;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

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

.content {
    flex: 1;
    overflow: auto;
}

/* Adds the limited-width class aligned Center */
.limited-width {
    max-width: 600px; /* Set the maximum width */
    margin: 0 auto; /* Center the text */
    text-align: center; /* Align text to the center */
    word-wrap: break-word; /* Wrap words to the next line if they exceed the max width */
}

/* Adds the limited-width-left class aligned CENTRE with text aligned LEFT */
.limited-width-left {
    max-width: 700px; /* Set the maximum width */
    margin: 0 auto; /* Center the text */
    text-align: left; /* Align text to the center */
    word-wrap: break-word; /* Wrap words to the next line if they exceed the max width */
}

/* Limits image width and makes size responsive */
.limited-width-image {
    max-width: 700px; /* Set the maximum width */
    width: 100%; /* Ensure the image scales proportionally */
    height: auto; /* Maintain the aspect ratio */
}

/* Limits image width to be narrower and makes size responsive */
.limited-width-image-narrow {
    max-width: 550px; /* Set the maximum width */
    width: 100%; /* Ensure the image scales proportionally */
    height: auto; /* Maintain the aspect ratio */
}

/* Adds border to image */
.bordered-image {
    border: 2px solid black; /* Add a thin black border */
}

/* Adds shadow to image */
.shadowed-image {
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.5);
}

.footer {
    height: 50px;
    background-color: #368cbf;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Formats text for: <h2>Wokingham Weather</h2> tag in footer, in 'index.html' */
.footer h2 {
    font-size: 16px; /* Adjust the font size */
    font-weight: bold; /* Use Normal or Bold */
    margin: 0; /* Adjust the margin if needed */
    padding-left: 5px; /* Adds space to the left side of the text */
    padding-right: 5px; /* Adds space to the right side of the text */
}

.footer a {
    color: white;
    text-decoration: underline;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}
