*{
    margin: 0;
    padding: 0;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    box-sizing: border-box;
}

.top-left-text {
    position: absolute;
    top: 0;
    left: 150px;
    padding: 10px;
    color: white;
    z-index: 999; /* Ensure it appears on top of other elements */
}

/* Styles for navigation bar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 150px; /* Adjust width as needed */
    height: 100vh;
    background: #333;
    z-index: 999; /* Ensure the navigation bar appears on top of other elements */
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 50%; /* Vertically center the list */
    transform: translateY(-50%); /* Translate it up by half of its height */
    width: 100%; /* Make the list span the full width of the navigation bar */
    text-align: center; /* Center the list items horizontally */
}

nav ul li {
    padding: 10px;
}

nav ul li a {
    text-decoration: none;
    color: white;
}

.container {
    width: 100%;
    height: auto; /* Change to auto for variable height */
    background: gray;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column; /* Update to column layout */
}

/* Define separate sections */
.home-section {
    background-image: url('images/Background/pexels-szabó-viktor-3227984.jpg'); /* Replace 'your-background-image.jpg' with the path to your background image */
    background-size: cover;
    background-position: center;

    height: 100vh; /* Set the height to cover the entire viewport */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; /* Adjust text color for better visibility */
    text-align: center; /* Center the text horizontally */
}

/* Define separate sections */
.story-section {
    height: 100vh; /* Set height for full viewport */
    background: #24da33; /* Example background color */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Define separate sections */
.irregulars-section {
    height: 100vh; /* Set height for full viewport */
    background: #f0f0f0; /* Example background color */
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery {
    position: relative; /* Ensure relative positioning for absolute children */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.img-box {
    width: 150px;
    height: 350px;
    margin: 10px;
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    transition: height 0.5s, width 0.5s, transform 0.5s ease; /* Add transition for transform property */
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
}

.img-box h3 {
    color: white;
    position: absolute;
    bottom: 0;
    left: 30px;
    opacity: 0;
    transition: bottom 0.5s, opacity 0.5s;
}

.img-box:hover {
    width: 200px;
    height: 400px;
    cursor: pointer;
}

.img-box:hover h3 {
    opacity: 1;
    bottom: 25px;
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    font-size: 24px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
}

.prev-btn span, .next-btn span {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.prev-btn {
    left: calc(50% - 475px);
}

.next-btn {
    right: calc(50% - 475px);
}

/* Style for the black circle */
.prev-btn::before, .next-btn::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: black;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}