/* TOP NAVIGATION */

.topbar {
    height: 74px;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(225, 225, 238, .9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: "Outfit", sans-serif;
    color: var(--dark);
    font-size: 29px;
    font-weight: 800;
    letter-spacing: -1px;
    text-decoration: none;
}

.logo::first-letter {
    color: var(--purple);
}

.logo span {
    color: var(--pink);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.desktop-nav a {
    text-decoration: none;
    color: #5c5c70;
    font-size: 14px;
    font-weight: 700;
    transition: .2s;
}

.desktop-nav a:hover {
    color: var(--pink);
}

.profile-icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    font-weight: 800;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    box-shadow: 0 7px 18px rgba(109, 60, 255, .25);
}

/* FLOATING UPLOAD */

.floating-upload {
    position: fixed;
    right: 28px;
    bottom: 30px;
    z-index: 1200;
    width: 57px;
    height: 57px;
    display: grid;
    place-items: center;
    text-decoration: none;
    color: white;
    font-size: 35px;
    border-radius: 19px;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    box-shadow: 0 13px 28px rgba(255, 45, 117, .32);
}

/* MOBILE NAV */

.mobile-nav {
    display: none;
}

/* MOBILE TIKTOK FEED */

@media (max-width: 700px) {

    .topbar{
display:none;
}

    .desktop-nav {
        display: none;
    }

    .discover-bar {
        top: 62px;
        padding: 13px 14px 8px;
    }

    .feed-section{
    padding:0 0 58px;
}

    .hacks-feed {
        gap: 0;
    }

    .card {
        height: 100svh;
        border-radius: 0;
        padding: 0;
        scroll-snap-align: start;
    }

    .hacks-feed {
        scroll-snap-type: y mandatory;
    }

    .card h3 {
        font-size: 35px;
    }

    .card > button:nth-of-type(1) {
        right: 12px;
        bottom: 220px;
    }

    .card > button:nth-of-type(2) {
        right: 12px;
        bottom: 155px;
    }

    .floating-upload {
        display: none;
    }

    .mobile-nav{
    position:fixed;
    display:flex;
    justify-content:space-around;
    align-items:center;

    height:65px;

    left:12px;
    right:12px;
    bottom:12px;

    z-index:1500;

    border-radius:22px;

    background:rgba(0,0,0,.55);

    backdrop-filter:blur(18px);

    border:none;

    box-shadow:0 12px 35px rgba(0,0,0,.35);
}

    .mobile-nav a{
    text-decoration:none;
    color:white;

    font-size:26px;

    font-weight:700;

    text-align:center;

    min-width:60px;
}

    .mobile-nav span{
    display:block;

    font-size:11px;

    margin-top:4px;

    color:rgba(255,255,255,.75);
}

    .profile-icon {
        width: 35px;
        height: 35px;
    }
}

.topbar,
.desktop-nav,
.desktop-nav a,
.mobile-nav,
.mobile-nav a {
    pointer-events: auto !important;
    z-index: 999999 !important;
}

