body {
    background-color: #00075c;
    margin: 0;
    font-family: Circular, Arial, Helvetica, sans-serif;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

#container {
    margin: 0 auto;
    width: 100%;
    max-width: 1000px;
    padding: 10px;
    box-sizing: border-box;
    flex: 1;
}

h1,
h2,
h3 {
    color: #FFFFFF;
    margin: 0;
    padding: 0;
}

header {
    border-bottom: thick groove #8CD6F7;
    padding: 10px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: space-between;
    /* text-align:right; */
}

header .left,
header .right {
    width: 100%;
}

header .right {
    text-align: right;

}

header .right h2,
h3 {
    margin-top: 6%;
}

header .left img {
    max-width: 100%;
    height: auto;
}

nav {
    border-bottom-width: thick;
    border-bottom-style: groove;
    border-bottom-color: #8CD6F7;
    height: auto;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    background-color: #FFFFFF;
}

nav li {
    flex: 1 1 auto;
}

nav li a {
    display: block;
    color: #293092;
    text-align: center;
    padding: 7px 25px;
    text-decoration: none;
}

nav ul li a.active {
    background-color: #00013e;
    /* Active background color */
    color: #ffffff;
    /* Active text color */
    font-weight: bold;
    border: 1px solid #fefefe;
}

.click {
    color: #9ac9fa;
    text-decoration: underline;
}

nav li a:hover {
    background-color: #999;
}

main {
    border-bottom: thick groove #8CD6F7;
    height: auto;
    padding: 20px 0;
    flex: 1;
}

main p {
    color: #FFF;
    text-align: justify;
}

footer {
    padding: 20px;
    background-color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    width: 100%;
    /* Ensure it takes full width */
    margin-top: auto;
    /* Pushes footer to the bottom */
}

footer .left,
footer .right {
    width: 48%;
}

footer .left p {
    margin: 10px 0;
    /* Adjust spacing between each paragraph */
    font-size: 16px;
    font-weight: bold;
    margin-left: 24%;
    text-align: left;
}

footer .right p {
    margin: 10px 0;
    font-size: 16px;
    margin-left: 15%;
    text-align: left;
}

@media (min-width: 768px) {
    header {
        flex-direction: row;
        text-align: left;
        align-items: center;
    }

    header .left {
        width: 50%;
        align-items: flex-start;
    }

    header .right {
        width: 50%;
        align-items: start;
        text-align: right;
        padding: 15px;
    }

    nav li {
        flex: none;
    }

    /* main p img {
        width: 48%;
        margin: 1%;
    } */

    footer div {
        width: 48%;
        text-align: left;
    }
}

@media (max-width: 767px) {
    main p img {
        width: 100%;
    }

    header .left,
    header .right {
        width: 100%;
        text-align: center;
    }

    header .right h1 {
        font-size: 22px;
        margin-top: 1%;
    }

    header .right h2 {
        font-size: 18px;
        margin-top: 2%;
    }

    header .right h3 {
        font-size: 16px;
        margin-top: 2%;
    }

    nav li a {
        padding: 5px 10px;
    }

    footer {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    footer .left p {
        font-size: 14px;

    }

    footer .right p {
        font-size: 14px;

    }
}

@media (max-width: 550px) {
    nav li a {
        padding: 5px 7px;
        font-size: 14px;
    }
}

@media (max-width: 450px) {

    header .left,
    header .right {
        width: 100%;
        text-align: center;
    }

    main {
        margin: 0;
        border-bottom: thick groove #8CD6F7;
        height: auto;
        width: 100%;
        padding: 20px 0;
    }

    header .right h1 {
        font-size: 20px;
        margin-top: 1%;
    }

    header .right h2 {
        font-size: 16px;
        margin-top: 2%;
    }

    header .right h3 {
        font-size: 14px;
        margin-top: 2%;
    }

    nav li a {
        text-align: center;
        padding: 5px;
        font-size: 11px;
        font-weight: bold;
        text-decoration: none;
    }

    footer {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    footer .left,
    footer .right {
        width: 100%;
    }

    footer .left p {
        font-size: 14px;
        margin-left: 0;
        text-align: center;
    }

    footer .right p {
        font-size: 12px;
        margin-left: 0;
        text-align: center;
    }
}

@media (max-width: 360px) {
    nav li a {
        padding: 3px;
        font-size: 10px;
    }
}