/* Reset some default styles */
body, h1, h2, p, ul {
    margin: 0;
    padding: 0;
}

/* Ensure full height for body and html */
html, body {
    margin: 0;
    padding: 0;
    height: 100%; /* Ensures the body takes up the full height of the viewport */
    overflow: hidden;
}
/* Flexbox layout for centering content */
body {
    font-family: Verdana, sans-serif;
    line-height: 1.6;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column; /* Stack children vertically */
    height: 100%;
    
}
/* Header styling */
header {
    background: #333;
    font-size: 2em;
    color: #fff;
    padding: 1em 0;
    text-align: center;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    z-index: 1; /* Ensure the header stays above other content */
    outline-style: inset;
    outline-color: rgb(125, 106, 236);
    outline-width: medium;
    /* text-shadow: 2px 2px 5px rgb(248, 104, 248)  */

}

.button {
    background-color: rgb(107, 105, 105);
    border: 2px solid rgb(125, 106, 236);
    color: white;
    font-size: 32px;
    text-align: center;
    display: inline-block;
    border-radius: 8px;
}

.button:hover {background-color: rgb(136, 121, 226);
    box-shadow: 0 5px #666;
    transform: translateY(4px);
}

header h1 {
    margin: 0;
}

/* Navigation styling */
nav ul {
    list-style: none;
    padding: 0;
    text-align: center; /* Center navigation items */
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

/* Container for main content (including slider) */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1; /* Ensure the main content takes up available space */
    min-height: 80vh;
    padding: 0;
    margin-top: 0;
    overflow: hidden;
    
    
}

/* Image slider container */
#image-slider {
    overflow: hidden;
    position: relative;
    width: 90%;
    max-width: 500px;
    height: 450px; /* Adjusted height */
    max-height: 80%;
    border-radius: 50%; /* Rounded edges for slider */
    border: 5px solid #9df0aa;
    background: #000000; /* Background color for slider */
    
}

/* Slider content */
.slider-container {
    display: flex;
    transition: transform 0.7s ease-in-out;
    height: 100%;
    
}

.slider-container img {
    width: 90%; /* Ensures images are responsive */
    
    flex: 0 0 100%;
    object-fit: cover; /* Ensures the image covers the element without distortion */
}

/* Mobile responsiveness */
@media (max-width: 800px) {
    nav ul {
        text-align: center;
        padding: 0;
        margin-bottom: 10px;
    }

    nav ul li {
        display: block;
        
    }
}
