* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html,
body {
    overscroll-behavior: none;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
    font-family: Arial;
    background: #f2f2f2;
    animation: bgFloat 20s linear infinite alternate;
    text-rendering: optimizeLegibility;
    height: 100%;

}

@keyframes bgFloat {
    from {
        background-position: 0% 0%;
    }

    to {
        background-position: 100% 100%;
    }
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    /* background: rgba(0, 0, 0, .50); */
    z-index: -2;
    pointer-events: none;
}


body::after {
    content: "";
    position: fixed;
    inset: 0;
    backdrop-filter: blur(3px);
    z-index: -1;
    pointer-events: none;
}


body {
    position: relative;
    z-index: 0;
}



#bg-collage {
    position: fixed;
    inset: 0;
    z-index: -3;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 1fr;
    gap: 2px;
    opacity: .50;
    pointer-events: none;
    will-change: transform;
    animation: collageDrift 80s ease-in-out infinite alternate;
}

@keyframes collageDrift {
    from {
        transform: translate3d(0px, 0px, 0) scale(1);
    }

    to {
        transform: translate3d(-40px, -25px, 0) scale(1.02);
    }
}



#bg-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(100%);
}


a {
    text-decoration: none;
    color: #000000;
}

a:hover {
    color: red;
}

.post {
    background: white;
    padding: 10px;
    border-radius: 5px;
}

textarea {
    width: 100%;
    height: 80px;
}

.comments {
    font-size: 14px;
}

button {
    cursor: pointer;
}

.image-viewer {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: .25s;
}

.image-viewer.show {
    opacity: 1;
    pointer-events: auto;
}

.image-viewer img {
    max-width: 95%;
    max-height: 95%;
    border-radius: 12px;
}

.image-viewer img {
    animation: zoomIn .25s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.post-box {
    background: rgba(255, 255, 255, .03);
    border: 1px dashed rgba(255, 255, 255, .15);
    border-radius: 16px;
    padding: 14px;
}

.post-textarea {
    background: transparent;
    border: 1;
    color: #000;
    resize: none;
}

.post-textarea::placeholder {
    color: #888;
}

.post-textarea:focus {
    background: transparent;
    box-shadow: none;
    border-color: transparent;
}

.post-toolbar {
    border-top: 1px dashed rgba(255, 255, 255, .12);
    padding-top: 10px;
}

.post-image {
    width: 100%;
}

.upload-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid #000;
    border-radius: 20px;
    cursor: pointer;
    color: #373738;
    transition: .2s;
}

.upload-btn:hover {
    background: rgba(0, 0, 0, 1);
    color: #FFF;
}

.menu-link {
    display: block;
    width: 100%;
    padding: 6px 6px;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    transition: .2s;
}

.menu-link:hover {
    background: rgba(255, 255, 255, .08);
    text-decoration: none;
}

.menu-link.active {
    background: rgba(13, 110, 253, .25);
    font-weight: 600;
}

.photo-card {
    filter: brightness(75%);
}

.photo-overlay {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, .45);
    padding: 4px 8px;
    border-radius: 20px;
    backdrop-filter: blur(2px);
}

.photo-overlay {
    pointer-events: none;
}

.hero {
    color: #000;
    text-align: center;
    animation: fadeUp .8s ease-out both;
}

.hero h1 {
    letter-spacing: .5px;
}

.hero p {
    font-weight: 500;
}


.card-auth {
    background-color: #EEE;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .25);
    animation: floatIn .6s ease-out both;
}

@keyframes floatIn {
    from {
        transform: translateY(20px);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

input,
textarea,
select {
    font-size: 16px !important;
}

button,
input,
textarea {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.notif-badge-mobile {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
    cursor: pointer;
}