body {
    font-size: 12px;
    font-family: sans-serif;
    background: #2c3e50;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 30px;
    color: #ecf0f1;
    text-shadow: 2px 2px 4px #000000;
    font-family: 'Cherry Swash', cursive;
    margin: 0;
    padding: 20px;
    float: left;
}

nav {
    margin: 0;
    position: relative;
    width: 100%;
    height: 50px;
    background-color: #34495e;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

nav .dropdown {
    position: relative;
    display: inline-block;
}

nav .dropbtn {
    background-color: #34495e;
    color: white;
    font-size: 15px;
    border: none;
    cursor: pointer;
    line-height: 50px;
    text-transform: uppercase;
    padding: 0 10px;
}

nav .dropdown-content {
    display: none;
    position: absolute;
    background-color: #34495e;
    min-width: 160px;
    z-index: 1;
}

nav .dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

nav .dropdown:hover .dropdown-content {
    display: block;
}

nav a {
    line-height: 50px;
    height: 100%;
    font-size: 15px;
    display: inline-block;
    position: relative;
    z-index: 1;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    color: white;
    cursor: pointer;
    margin-right: 10px;
}

#search-bar {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    width: 150px;
    margin-left: 10px;
}

#search-button {
    background-color: #555;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    margin-left: 5px;
}

#search-button:hover {
    background-color: #777;
}

nav .animation {
    position: absolute;
    height: 100%;
    top: 0;
    z-index: 0;
    transition: all .5s ease 0s;
    border-radius: 8px;
}

/* Animation for dropdown items */
nav .dropdown:hover .animation {
    width: 120px; /* Adjust the width as needed */
    left: 0; /* Aligns with the dropdown */
    background-color: #1abc9c; /* Change color on hover */
}

span {
    color: #2BD6B4;
}

.carousel {
    position: relative;
    width: 80%; /* or any desired width */
    margin: 0 auto;
    overflow: hidden; /* Hide overflow to show only one image at a time */
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease;
    width: 200%; /* 100% for each image (2 images, so 200%) */
}

.carousel-images img {
    width: 1500px; /* Each image takes full width of the carousel container */
    height: 500px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
    font-size: 24px;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.more-information {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 100px;
}

#progress {
    position: fixed;
    bottom: 20px;
    right: 10px;
    height: 70px;
    width: 70px;
    display: none;
    place-items: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

#progress-value {
    display: block;
    height: calc(100% - 15px);
    width: calc(100% - 15px);
    background-color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 35px;
    color: #001a2e;
}

.footer {
    background-color: #f1f1f1;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    left: 0;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -1px 5px rgba(0,0,0,0.1);
}

.footer a {
    color: black;
    text-decoration: none;
    margin: 0 10px;
}

.footer a:hover {
    text-decoration: underline;
}

.footer img {
    padding: 10px;
    border-radius: 50%;
}

.footer p {
    color: black;
}

.indroduction {
    width: auto;
    height: 500px;
    background-color: orange;
    clear: both;
    margin-top: 50px;
    padding: 20px;
}

.levels {
    display: flex;
    justify-content: space-between; /* Ensures that the flex children are spaced correctly */
    align-items: center; /* Centers the items vertically if needed */
}

.level-link {
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.level-link:nth-child(1),
.level-link:nth-child(2) {
    margin-right: 140px; 
}

.level-link:nth-child(3) {
    margin-right: 180px; 
}

.level-link:nth-child(4) {
    margin-right: 40px;
}

.level-link h1 {
    color: whitesmoke;
    font-size: 1.5em;
    margin-top: 10px;
    white-space: nowrap; 
}



.NCEA-level1{
    position: relative;
    width: auto; /* or any desired width */
    margin: 20 auto;
    overflow: hidden; /* Hide overflow to show only one image at a time */
}

.center-image{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.L1-internal-container {
    display: flex;
    justify-content: space-between;
}

.level1-internal, .level1-external {
    display: flex; /* Use flexbox to align children side by side */
    justify-content: space-between; /* Space out the two columns */
    width: 100%; /* Full width for the container */
    max-width: 1200px; /* Optional: set a maximum width */
    margin: 0 auto; /* Center the container */
    height: auto; /* Allow height to adjust as needed */
    padding: 20px;
}

.L1-internal1, .L1-internal2 {
    width: 220px; /* Adjust width to fit the content properly */
    margin: 0 10px; /* Add horizontal margin between the lists */
}

.menu {
    list-style-type: none; /* Remove bullet points */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
}

.menu-item {
    text-align: center; /* Center the text inside the items */
    border: 1px solid #ccc; /* Add a border around each item */
    margin-bottom: 10px; /* Add space between the items */
    padding: 10px; /* Add padding inside the items */
    background-color: #f9f9f9; /* Background color */
    box-sizing: border-box; /* Include padding and border in width */
    display: flex; /* Flexbox for better alignment */
    justify-content: center; /* Center the content */
    align-items: center; /* Center the content vertically */
    height: 50px; /* Fixed height for uniformity */
}

.menu-item h1 {
    font-size: 16px; /* Font size */
    color: black; /* Text color */
    margin: 0; /* Remove default margin */
    font-weight: normal; /* Normal font weight */
    line-height: 1.2; /* Line height */
}

.menu-item a {
    text-decoration: none; /* No underline */
    color: inherit; /* Inherit color */
    display: block; /* Full clickable area */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
}

.menu-item:hover {
    background-color: #e0e0e0; /* Hover effect */
}


.header-container {
    display: flex; /* Use flexbox for the header */
    justify-content: center; /* Center the header */
    margin-bottom: 20px; /* Space between header and lists */
}

.L1-external-container {
    display: flex; /* Use flexbox to align the lists side by side */
    justify-content: space-between; /* Space out the lists */
}

.L1-external1, .L1-external2 {
    width: 220px; /* Fixed width for the list containers */
    margin: 0 10px; /* Margin between the lists */
}

.menu-ext {
    list-style-type: none; /* Remove bullet points */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
}

.menu-ext li {
    text-align: center; /* Center the text inside the items */
    border: 1px solid #ccc; /* Add a border around each item */
    margin-bottom: 10px; /* Add space between the items */
    padding: 10px; /* Add padding inside the items */
    background-color: #f9f9f9; /* Background color */
    box-sizing: border-box; /* Include padding and border in width */
    display: flex; /* Flexbox for better alignment */
    justify-content: center; /* Center the content */
    align-items: center; /* Center the content vertically */
    height: 50px; /* Fixed height for uniformity */
}

.menu-ext h1 {
    font-size: 16px; /* Font size */
    color: black; /* Text color */
    margin: 0; /* Remove default margin */
    font-weight: normal; /* Normal font weight */
    line-height: 1.2; /* Line height */
}

.menu-ext a {
    text-decoration: none; /* No underline */
    color: inherit; /* Inherit color */
    display: block; /* Full clickable area */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
}

.menu-ext:hover {
    background-color: #e0e0e0; /* Hover effect */
}