/* Reset default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Verdana, sans-serif;
    margin: 0;
}

/* Slider styles */
.slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slides {
    display: flex;
    transition: opacity 1s ease-in-out;
    position: relative;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100vh; /* Full viewport height */
    object-fit: cover; /* Ensure the image covers the container */
}

.caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    font-size: 1.5em;
    text-align: center;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active .caption {
    opacity: 1;
}

/* Additional styles for the page */
header {
    background-color: #062374;
    color: #bbb931;
    text-align: center;
    padding: 1rem;
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 200px;
    height: auto;
}

.title {
    margin-right: 10px;
    margin-left: 10px;
}

h1 {
    white-space: nowrap;
    overflow: hidden;
    animation: rotateWords 10s linear infinite;
}

/* Navigation styles */
.navbar {
    background-color: #333;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    position: relative;
}

.nav-links {
    display: flex;
}

.nav-links.show {
    display: none;
    flex-direction: column;
    background-color: #333;
    position: absolute;
    top: 100%;
    left: 50%;
    width: 100%;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.nav-links.show a {
    color: #fff;
    text-decoration: none;
    margin-bottom: 5rem;
}

.menu-toggle {
    cursor: pointer;
}

.icon-bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
}

/* Media query for responsiveness */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-links.show {
        display: flex;
    }
}

/* Button styles */
.button-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1dd2ba;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin: 10px;
}

.button-link:hover {
    background-color: #0c2dc4;
}

/* Back button styles */
.back-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #111ed4;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

.back-button:hover {
    background-color: #1529db;
}

/* Comment form styles */
.comment-form {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background-color: rgba(23, 55, 236, 0.8);
}

.comment-form h2 {
    margin-top: 0;
}

.comment-form label,
.comment-form textarea,
.comment-form button {
    display: block;
    margin-bottom: 10px;
}

.comment-form textarea {
    resize: vertical;
}

/* Style submitted comments */
#comments {
    max-width: 800px;
    margin: 20px auto;
    padding: 0px;
    background-color: rgba(34, 227, 221, 0.8);
}

#comments h3 {
    margin-top: 0;
}

/* Other existing styles can be placed here */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.content-container {
    width: 100%;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
}

.image-container {
    width: 50%;
    background-image: url('world.jpg');
    background-size: cover;
    background-position: center;
}

/* Navigation button styles */
.nav-buttons {
    display: flex;
    justify-content: flex-start;
    background-color: #f2f2f2;
    padding: 10px;
}

.nav-button {
    padding: 10px 20px;
    margin-right: 10px;
    text-decoration: none;
    color: #333;
    background-color: #1dd2ba;
    border: 1px solid #11c299;
    border-radius: 4px;
}

.nav-button:hover {
    background-color: #2bd23f;
}

