/* topbar.css */

.topbar {
    display: flex;
    justify-content: flex-start; /* 변경된 부분 */
    align-items:flex-start;
    padding: 10px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    background: linear-gradient(to right, #272727, #383838);
    box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
    z-index: 1000;
}


.topbar.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
}

.logo {
    height: 40px;
    margin-right: 20px;
}

.topbar a {
    color: white;
    text-decoration: none;
    padding: 0 15px;
    position: relative;
}

.topbar a:hover {
    transform: scale(1.05);
    transition: transform 0.3s;
}

.topbar a:hover::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
    transition: transform 0.3s;
}
