.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    padding: 8px;
    color: white;
    height:80px;
    user-select:none;
}
    .navbar a {
        color: white;
        text-decoration: none;
        padding: 10px 20px;
        transition: color 0.6s ease;
    }
        .navbar a:hover {
            color: darkgrey;
            background-color: transparent;
        }
.navbar-left{
    padding:1px;
    display:flex;
    align-items:center;
}
.navbar-left a:hover {
    outline: none;
}

.logo {
    height: 40px;
    width: auto;
    
}

.brand {
    font-size: 18px;
    align-items: center;
    text-align: center;
}

.navbar-center {
    flex-grow: 1;
    text-align: center;
}

.navbar-right {
    display: flex;
    align-items: center;
}

/* Dropdown menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    transition: color 0.5s ease;
}

    .dropbtn:hover {
        color: darkgray;
    }

.arrow {
    margin-left: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: lightgray;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content a:hover {
            background-color: white;
            color:black;
            transition:none;
        }

.dropdown:hover .dropdown-content {
    display: block;
}
@media (min-width: 769px) and (max-width: 1000px) {
    .navbar-center{
        display:none;
    }
}
@media  (max-width: 350px) {
    .navbar-center {
        display: none;
    }
    .brand{
        display:none;
    }
}
    /* MOBILE NAVBAR SIMDILIK YOK*/
    #mobbar {
        display: none;
        justify-content: space-between;
        align-items: center;
        background-color:black;
        color: #fff;
        padding: 30px 20px;
        height: 6rem;
    }

    .menu-toggle .bar {
        display: none;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background-color: #fff;
    }

    .sidebar {
        position: fixed;
        left: -50%; /* Başlangıçta gizli */
        top: 0;
        width: 30%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        transition: all 0.3s ease;
        z-index: 100;
    }

        .sidebar.active {
            left: 0;
            width: 40%;
        }

    .sidebarlinks {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 50%;
        opacity:0.8;
    }

        .sidebarlinks a {
            display: flex;
            padding: 10px;
            color: black;
            background-color: white;
            margin-bottom: 5px;
            text-decoration: none;
            border-radius: 4px;
            width: 90%;
            justify-content: center;
            align-items: center;
            opacity:0.9;
        }

            .sidebarlinks a:hover {
                background-color: #575757;
            }

    .close-btn {
        font-size: 30px;
        position: absolute;
        top: 0;
        right: 20px;
        cursor: pointer;
        color: white;
    }

    .logomobile {
        margin-left: 10px;
    }

        .logomobile img {
            height: 40px;
            width: auto;
        }
    /* MOBILE NAVBAR*/
    @media (max-width: 768px) {

        .navbar {
            display: none;
        }

        .navbar-left {
            display: none;
        }

        .navbar-center {
            display: none;
        }

        .navbar-right {
            display: none;
        }

        #mobbar {
            display: flex;
        }

        .menu-toggle .bar {
            display: block;
        }
    }

