/* General Styling */
body {
    font-family: 'Open Sans', sans-serif;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #056399, #010135);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
}

h1 {
    color: white;
    padding-top: 30px;
}

h2 {
    color: #c3ddeb;
}

h3 {
    color: #c3ddeb;
}

p {
    font-size: 1.1em;
    color: #adc1cc;
}

/* Navigation Bar */
nav {
    position: fixed;
    display: flex;
    align-items: center; /* Align items vertically */
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
    background-color: rgba(169, 194, 230, 0.6); 
    backdrop-filter: blur(10px); /* Adds a blur effect */
    box-sizing: border-box;
}

/* Icon on the left */
nav .icon {
    width: auto;
    height: 50px;
    margin: 0;
    filter: brightness(0) invert(1);
}

/* Navbar links (ul) aligned to the right */
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px; /* Space between links */
    margin-left: auto; /* Push links to the right */
}

nav ul li {
    width: 6em;
}

/* Navbar link items */
nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    transition: font-weight 0.2s; 
}

nav ul li a:hover {
    font-weight: 900;
}

/* Main Content */
main {
    padding: 20px;
}

/* Normal styles */
.main-pane {
    margin-left: 100px;
    margin-right: 100px;
}

/* Styles for devices with a max-width of 768px (tablets and smaller) */
@media (max-width: 768px) {
    .main-pane  {
        margin-left: 40px;
        margin-right: 40px;
    }
}

/* Styles for devices with a max-width of 480px (phones) */
@media (max-width: 480px) {
    .main-pane  {
        margin-left: 10px;
        margin-right: 10px;
    }
}

.main-pane div:not(:first-of-type) {
    margin-top: 40px;
}

.main-pane div:nth-child(even) {
    width: 50%;
    padding-right: 0em;
    margin-right: 2em;
    float: left;
}

.main-pane div:nth-child(odd) {
    width: 50%;
    padding-left: 0em;
    margin-left: 2em;
    float: right;
}

.main-logo {
    display: block; 
    margin: 0 auto; 
    width: 50%;
    height: auto; /* Maintain aspect ratio */
}