.navbar-collapse {
    display: flex;
    justify-content: flex-end;
}
.navbar {
    height: 8vh;
    backdrop-filter: blur(2px);
    width: calc(100% - 50px);
    margin: 15px 25px;
    background-color: rgba(0, 0, 0, 0.4); 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4); 
    position: absolute; 
    z-index: 1001;
}
.navbar-nav .nav-link {
    color: #D1D1D1;
    transition: color 0.3s ease;
    font-size: 18px;
    font-weight: 900;
}

.navbar-nav .nav-link:hover {
    color: #555;
}

.navbar-brand .logo {
    height: 7vh;
    width: 11.94vh;
}

#container {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    overflow: hidden;
}

#slides {
    position: relative;
    width: 100%;
    height: 100%;
}

#slides .slide {
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, z-index 0s 1.5s; /* opacity ve z-index geçişi */
    z-index: 0;
}

#slides .slide.active {
    opacity: 1;
    z-index: 90;
    transition: opacity 1.5s ease-in-out, z-index 0s 0s; /* opacity ve z-index geçişi */
}

#slides .slide .title {
    position: absolute;
    top: calc(50% - 0.5em);
    left: 20px;
    z-index: 2;
    padding-top: 5px;
    font-family: 'Reem Kufi', sans-serif;
    font-size: 5em;
    color: white;
    overflow: hidden;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.8);
}

#slides .slide .title .title-text {
    display: block;
    transform: translateY(1.2em);
    transition: transform 1.5s ease-in-out;
}

#slides .slide .slide-partial {
    position: absolute;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 1.5s ease-in-out;
}

#slides .slide .slide-partial img {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease-in-out;
}

#slides .slide .slide-left {
    top: 0;
    left: 0;
    transform: translateX(-100%);
}

#slides .slide .slide-left img {
    top: 0;
    right: 0;
    object-position: 100% 50%;
    transform: translateX(50%);
}

#slides .slide .slide-right {
    top: 0;
    right: 0;
    transform: translateX(100%);
    transition-delay: 0.2s;
}

#slides .slide .slide-right img {
    top: 0;
    left: 0;
    object-position: 0% 50%;
    transition-delay: 0.2s;
    transform: translateX(-50%);
}

#slides .slide.active .title .title-text {
    transform: translate(0);
    transition-delay: 0.3s;
}

#slides .slide.active .slide-partial,
#slides .slide.active .slide-partial img {
    transform: translateX(0);
}

#slide-select {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-family: 'Reem Kufi', sans-serif;
    font-size: 1.5em;
    font-weight: lighter;
    color: white;
}

#slide-select li {
    position: relative;
    cursor: pointer;
    margin: 0 5px;
}
#slide-select .selector {
    list-style-type: none;
}

#slide-select li.prev:hover {
    transform: translateX(-2px);
}

#slide-select li.next:hover {
    transform: translateX(2px);
}

#slide-select .selector {
    height: 14px;
    width: 14px;
    border: 2px solid white;
    background-color: transparent;
    transition: background-color 0.5s ease-in-out;
}

#slide-select .selector.current {
    background-color: white;
}

@media (max-width: 600px) {
    .navbar-collapse{
        display: none;
    }
    .navbar {
        position: absolute; 
        padding-top: 0;
    }
    .navbar-brand .logo {
        height: 6.6vh;
        width: 11.25vh;
    }
}
