/*==============================
TOP BAR
==============================*/

.topbar{

    height:42px;

    background:#111;

    color:white;

    font-size:.85rem;

}

.topbar .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:100%;

}

.topbar-left,
.topbar-right{

    display:flex;

    gap:18px;

    align-items:center;

}

.topbar a{

    opacity:.85;

    transition:var(--transition);

}

.topbar a:hover{

    opacity:1;

}

/*==============================
HEADER
==============================*/

#header{

    position:sticky;

    top:0;

    z-index:999;

    background:rgba(255,255,255,.88);

    backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(0,0,0,.06);

    transition:var(--transition);

}

#header .container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    height:92px;

}

.logo img{

    height:54px;

}

nav ul{

    display:flex;

    gap:42px;

}

nav a{

    position:relative;

    font-weight:600;

    color:var(--dark);

    transition:.30s;

}

nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:.30s;

}

nav a:hover::after{

    width:100%;

}

.btn-primary{

    padding:15px 28px;

    background:var(--secondary);

    color:#fff;

    border-radius:999px;

    font-weight:700;

    transition:.35s;

    box-shadow:var(--shadow-sm);

}

.btn-primary:hover{

    transform:translateY(-3px);

    background:#C95C24;

    box-shadow:var(--shadow-md);

}

#header.scrolled{

    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

#header.scrolled .logo img{

    height:54px;

}