
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    font-family: sans-serif;
}
.Section_top {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background-image: url(image.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; /* Ensure the background image covers the entire container */
    text-align: center;
    justify-content: center;
    animation: change 15s infinite ease-in-out;
}
.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-transform: uppercase;
}
.content h1 {
    color: #fff;
    font-size: 60px;
    letter-spacing: 15px;
}
.content h1 span {
    color: rgb(227, 115, 11);
}
.content a {
    background: rgb(227, 115, 11);
    padding: 10px 24px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 20px;
    color: #fff; /* This line changes the text color to white */
}
.content a:hover {
    background: #034e88;
    color: #fff; /* This ensures the text remains white on hover */
}
@keyframes change {
    0%, 100% {
        background-image: url(img/img1.jpg);
    }
    25% {
        background-image: url(img/img2.jpeg);
    }
    50% {
        background-image: url(img/img4.jpg);
    }
    75% {
        background-image: url(img/img10.jpg);
    }
}

/* Existing styles... */

/* Navigation Bar Styles */
.navbar {
    overflow: hidden;
    background-color: rgb(192, 192, 192, 0.5);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Center items vertically */
    height: 100px; /* Set a fixed height for your navbar */
}

.navbar-logo {
    height: auto; /* Adjust the size as needed, but keep it auto to maintain aspect ratio */
    max-height: 268%; /* Ensure the logo doesn't exceed the navbar's height */
    width: auto; /* You can set a specific width or keep it auto */
    object-fit: contain; /* This will make sure that the logo is scaled within its content box */
    margin-left: 10px; /* Space from the left side */
}

.navbar a {
    flex: 1; /* Distribute space evenly */
    display: block;
    color: #000000;
    text-align: center;
    padding: 14px 16px; /* Adjust the padding as needed to center the text vertically */
    text-decoration: none;
    font-size: 25px;
}

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

/* Adjust the top padding of the section to prevent it from hiding behind the navbar */
.Section_top {
    padding-top: 50px; /* This should be equal or greater than the height of your navbar */
}


/* Adjustments for smaller screens */
@media (max-width: 640px) {
    .navbar {
        height: auto; /* Allow the navbar to adjust its height */
    }

    .navbar-logo {
        height: 60px; /* Set a fixed height for the logo */
        margin-left: 10px; /* Adjust margin as needed */
    }

    .navbar a {
        padding: 10px; /* Adjust padding for smaller touch targets */
        font-size: 18px; /* Decrease font size for smaller screens */
    }

    .Section_top {
        background-size: cover; /* Use 'cover' to ensure the background fills the entire container */
    }
}


body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    font-family: sans-serif;
}
.Section_top {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background-image: url(image.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; /* Ensure the background image covers the entire container */
    text-align: center;
    justify-content: center;
    animation: change 15s infinite ease-in-out;
}
.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-transform: uppercase;
}
.content h1 {
    color: #fff;
    font-size: 60px;
    letter-spacing: 15px;
}
.content h1 span {
    color: rgb(227, 115, 11);
}
.content a {
    background: rgb(227, 115, 11);
    padding: 10px 24px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 20px;
    color: #fff; /* This line changes the text color to white */
}
.content a:hover {
    background: #034e88;
    color: #fff; /* This ensures the text remains white on hover */
}
@keyframes change {
    0%, 100% {
        background-image: url(img/img1.jpg);
    }
    25% {
        background-image: url(img/img2.jpeg);
    }
    50% {
        background-image: url(img/img4.jpg);
    }
    75% {
        background-image: url(img/img10.jpg);
    }
}

/* Existing styles... */

/* Navigation Bar Styles */
.navbar {
    overflow: hidden;
    background-color: rgb(192, 192, 192, 0.5);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Center items vertically */
    height: 100px; /* Set a fixed height for your navbar */
}

.navbar-logo {
    height: auto; /* Adjust the size as needed, but keep it auto to maintain aspect ratio */
    max-height: 268%; /* Ensure the logo doesn't exceed the navbar's height */
    width: auto; /* You can set a specific width or keep it auto */
    object-fit: contain; /* This will make sure that the logo is scaled within its content box */
    margin-left: 10px; /* Space from the left side */
}

.navbar a {
    flex: 1; /* Distribute space evenly */
    display: block;
    color: #000000;
    text-align: center;
    padding: 14px 16px; /* Adjust the padding as needed to center the text vertically */
    text-decoration: none;
    font-size: 25px;
}

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


/* Adjustments for smaller screens */
@media (max-width: 640px) {
    .navbar {
        height: auto;
    }

    .navbar-logo {
        height: 120px;
        margin-left: 10px;
    }

    .navbar a {
        padding: 10px;
        font-size: 18px;
    }
}
