.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    z-index: 1000;
    background-color: mediumpurple;
    color: black;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
    height: 50px;
    margin-left: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.navbar h1 {
    margin: 0;
    font-size: 24px;
    font-weight: normal;
    flex-grow: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px;
}

.navbar-right {
    width: 100px;
    min-height: 60px;
    background-color: lightblue;
    flex-shrink: 0;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: row;
    }

    .logo {
        height: 40px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .navbar h1 {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .navbar h1 {
        font-size: 14px;
    }

    .logo {
        height: 35px;
        margin-left: 5px;
        margin-right: 5px;
    }
}