:root {
    --main-blue: 0, 56, 255;
    --smaller-side-images: 40px;
    --bigger-side-images: 50px;
    --post-font: -apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Fira Sans,Ubuntu,Oxygen,Oxygen Sans,Cantarell,Droid Sans,Apple Color Emoji,Segoe UI Emoji,Segoe UI Emoji,Segoe UI Symbol,Lucida Grande,Helvetica,Arial,sans-serif;
    --like-profile-icon-clicked: url(./media/like-icon-clicked.png);
    --like-profile-icon-mutual: url(./media/like-icon-mutual.png);
    --love-profile-icon-clicked: url(./media/love-icon-clicked.png);
    --love-profile-icon-mutual: url(./media/love-icon-mutual.png);
    --message-icon-white: url(./media/message-icon-white.png);
}

@font-face {
    font-family: 'UniChat';
    src: url('/fonts/TTF/ClashDisplay-Variable.ttf') format('truetype');
}

.notifications-banner {
    scrollbar-width: none;
    font-family: var(--post-font);
}

.notifications-banner::-webkit-scrollbar { 
    display: none; 
}

.notifications-banner[show_comments = "true"] {
    animation: 1s show-comments forwards;
}

.notifications-banner[show_comments = "false"] {
    animation: 1s hide-comments forwards;
}

.notification {
    background-color: white;
}

.notification[seen="false"] {
    background-color: rgba(0, 50, 210, 0.06) !important;
}

.notification-icon[image='horizontal'] {
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: 0;
    right: -5px;
    z-index: 3;
    opacity: 1;
    top: unset;
    left: unset;
    box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.25);
    border-radius: 50%;
}

.notification-icon[image='vertical'] {
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: -5px;
    right: -5px;
    z-index: 3;
    opacity: 1;
    top: unset;
    left: unset;
    box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.25);
    border-radius: 50%;
}

.notification-icon-mutual[image='horizontal'] {
    width: 25px;
    right: -7px;
}

.notification-icon-mutual[image='vertical'] {
    right: -7px;
}

.notification-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    width: 100%;
    margin-left: 7px;
    margin-right: 5px;
}

.from {
    font-size: 16px;
    font-weight: bold;
    font-family: var(--main-font);
    color: rgba(var(--main-blue), 1);
    width: 100%;
    text-align: left;
}

.notification-message {
    font-size: 14px;
    font-family: var(--post-font);
    color: rgba(0, 0, 0, 0.9);
    width: 100%;
    text-align: left;
}

.notification-image-container {
    min-width: 50px;
    min-height: 50px;
    position: relative;
    margin-left: 5px;
}

.profile-pic {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    box-shadow: 0px 0px 2px 0.5px rgba(0, 0, 0, 0.25);
}

.horizontal {
    width: var(--bigger-side-images);
    min-width: var(--bigger-side-images);
    height: var(--smaller-side-images);
    margin-top: 5px;
    margin-bottom: 5px;
}

.add-your-post-profile-pic-horizontal {
    width: var(--bigger-side-images);
    min-width: var(--bigger-side-images);
    height: var(--smaller-side-images);
    margin-top: 5px;
    margin-bottom: 5px;
}

.horizontal[show="notification"] {
    left: 0;
    top: 5px;
}

.vertical {
    width: var(--smaller-side-images);
    min-width: var(--smaller-side-images);
    height: var(--bigger-side-images);
    margin-left: 5px;
    margin-right: 5px;
}

.class-pic {
    object-fit: cover;
    position: relative;
    margin-left: 5px;
    width: var(--bigger-side-images);
    min-width: var(--bigger-side-images);
    height: var(--bigger-side-images);
    border-radius: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: 0px 0px 2px 0.5px rgba(0, 0, 0, 0.25);
}

.class-pic[show="notification"] {
    margin-left: unset;
}

.actions-icon {
    font-size: 20px;
    box-shadow: unset !important;
}

@media screen and (min-width: 1201px) {
    .notifications-banner {
        display: flex;
        position: fixed;
        right: 35%;
        top: 65px;
        width: 300px;
        border-radius: 5px;
        background-color: white;
        z-index: 5;
        flex-direction: column;
        overflow-y: scroll;

        -webkit-transition: all 1s ease;
        -moz-transition: all 1s ease;
        -o-transition: all 1s ease;
        transition: all 1s ease;
    }
}

@media screen and (max-width: 1200px) {
    .notifications-banner {
        display: flex;
        position: fixed;
        right: 32.5%;
        top: 65px;
        width: 300px;
        border-radius: 5px;
        background-color: white;
        z-index: 5;
        flex-direction: column;
        overflow-y: scroll;

        -webkit-transition: all 1s ease;
        -moz-transition: all 1s ease;
        -o-transition: all 1s ease;
        transition: all 1s ease;
    }
}


@media screen and (min-width: 1001px) {

    .notifications-banner[show = "false"] {
        height: 0;
    }

    .notifications-banner[show = "true"] {
        height: 70%;
        box-shadow: 2px 2px 4px 3px rgba(0, 0, 0, 0.25);
    }

    .notification {
        position: relative;
        width: calc(100% - 2px);
        height: fit-content;
        padding-top: 10px;
        padding-bottom: 10px;
        border: 1px solid black;
        z-index: 6;
        display: flex;
        flex-direction: row;
        align-items: center;
        box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
    }

    .notification:hover {
        cursor: pointer;
        background-color: rgba(150, 150, 150, 0.4);
        
        -webkit-transition: all 1s ease;
        -moz-transition: all 1s ease;
        -o-transition: all 1s ease;
        transition: all 1s ease;
    }

    .notification-flash-banner[show="true"] {
        position: fixed;
        right: 20px;
        top: 55px;
        width: 250px;
        z-index: 4;

        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .notification-flash-banner[show="false"] {
        display: none;
    }

    .notification-flash {
        position: relative;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);

        -webkit-transition: all 1s ease;
        -moz-transition: all 1s ease;
        -o-transition: all 1s ease;
        transition: all 1s ease;
    }

    .notification-banner-loader[show = "false"] {
        display: none;
    }
    
    .notification-banner-loader[show = "true"] {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        position: absolute;
        top: 70px;
        right: 100px;
        z-index: 6;
        animation: rotate 1s linear infinite
    }
    
    .notification-banner-loader[show = "true"]::before {
        content: "";
        box-sizing: border-box;
        position: absolute;
        inset: 0px;
        border-radius: 50%;
        border: 5px solid rgba(var(--main-blue), 1);
        animation: prixClipFix 2s linear infinite ;
    }
}

@media screen and (max-width: 1000px) {

    .class-pic[show="notification"] {
        width: 60px;
        height: 60px;
    }

    /* banners --------------------------------- */

    .notification-text {
        margin-left: 10px;
    }

    .notifications-banner {
        display: flex;
        position: fixed;
        right: 75px;
        top: unset;
        bottom: 160px;
        width: 400px;
        border-radius: 5px;
        background-color: white;
        z-index: 9999;
        flex-direction: column;
        overflow-y: scroll;

        -webkit-transition: all 1s ease;
        -moz-transition: all 1s ease;
        -o-transition: all 1s ease;
        transition: all 1s ease;
    }

    .notifications-banner[show = "false"] {
        opacity: 0;
        height: 0;
    }

    .notifications-banner[show = "true"] {
        height: 500px;
        box-shadow: 2px 2px 4px 3px rgba(0, 0, 0, 0.25);
    }

    .notification {
        position: relative;
        width: calc(100% - 2px);
        min-height: 70px;
        border: 1px solid black;
        z-index: 6;
        display: flex;
        flex-direction: row;
        align-items: center;
        font-size: 19px;
        height: fit-content;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .notification:hover {
        cursor: pointer;
        background-color: rgba(150, 150, 150, 0.4);
        
        -webkit-transition: all 1s ease;
        -moz-transition: all 1s ease;
        -o-transition: all 1s ease;
        transition: all 1s ease;
    }

    .notification-flash-banner[show="true"] {
        position: fixed;
        right: calc(30% - 50px);
        bottom: calc(3% + 60px);
        width: 350px;
        z-index: 4;

        display: flex;
        flex-direction: column-reverse;
        flex-wrap: wrap;
    }

    .notification-flash-banner[show="false"] {
        display: none;
    }

    .notification-flash {
        position: relative;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);

        -webkit-transition: all 1s ease;
        -moz-transition: all 1s ease;
        -o-transition: all 1s ease;
        transition: all 1s ease;
    }

    /* ----------------------------------------- */

    .notification-icon[image='horizontal'] {
        bottom: 5px;
        right: -10px;
    }

    .notification-icon[image='vertical'] {
        bottom: 0px;
        right: -5px;
    }

    .notification-banner-loader[show = "true"] {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        position: absolute;
        top: 100px;
        right: calc(30% + 50px);
        z-index: 6;
        animation: rotate 1s linear infinite
    }
    
    .notification-banner-loader[show = "true"]::before {
        content: "";
        box-sizing: border-box;
        position: absolute;
        inset: 0px;
        border-radius: 50%;
        border: 5px solid rgba(var(--main-blue), 1);
        animation: prixClipFix 2s linear infinite ;
    }
}

@media screen and (max-width: 750px) {
    .notifications-banner {
        left: unset;
        right: 75px;
    }


}

@media screen and (max-width: 550px) {

    .notifications-banner {
        display: flex;
        position: fixed;
        right: unset;
        left: 5px;
        bottom: 75px;
        width: calc(100% - 65px);
        border-radius: 5px;
        background-color: white;
        z-index: 20;
        flex-direction: column;
        overflow-y: scroll;
        z-index: 9999;

        -webkit-transition: all 1s ease;
        -moz-transition: all 1s ease;
        -o-transition: all 1s ease;
        transition: all 1s ease;
    }

    .notifications-banner[show = "true"] {
        height: calc(100% - 80px);
        box-shadow: 2px 2px 4px 3px rgba(0, 0, 0, 0.25);
    }

    .vertical[show="notification"] {
        height: 60px;
        width: 48px;
        top: 5px;
        left: 5px;
    }

    .horizontal[show="notification"] {
        width: 60px;
        height: 48px;
        top: 10px;
        left: 0;
    }

    .class-pic[show="notification"] {
        width: 60px;
        height: 60px;
    }

    .notification:hover {
        cursor: pointer;
        background-color: rgba(150, 150, 150, 0.4);
        
        -webkit-transition: all 1s ease;
        -moz-transition: all 1s ease;
        -o-transition: all 1s ease;
        transition: all 1s ease;
    }


    .notification-icon[image='vertical'] {
        bottom: 0px;
        right: -5px;
    }

    .notification-icon[image='horizontal'] {
        bottom: 5px;
        right: -10px;
    }

    /* ----------------------------------------- */

    .notification-banner-loader[show = "true"] {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        position: absolute;
        top: 100px;
        right: calc(30% + 50px);
        z-index: 6;
        animation: rotate 1s linear infinite
    }
    
    .notification-banner-loader[show = "true"]::before {
        content: "";
        box-sizing: border-box;
        position: absolute;
        inset: 0px;
        border-radius: 50%;
        border: 5px solid rgba(var(--main-blue), 1);
        animation: prixClipFix 2s linear infinite ;
    }
}

@keyframes prixClipFix {
    0%   {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}
    25%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}
    50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
    75%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}
    100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}
}



.like-button-clicked {
    border: none;
    background: var(--like-profile-icon-clicked) no-repeat center center / contain;
    content: var(--like-profile-icon-clicked);
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 3;

    position: absolute;
    top: 0;
    left: 0;
    
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.like-button-mutual {
    border: none;
    background: var(--like-profile-icon-mutual) no-repeat center center / contain;
    content: var(--like-profile-icon-mutual);
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 3;

    position: absolute;
    top: 0;
    left: 0;
    
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.love-button-clicked {
    border: none;
    background: var(--love-profile-icon-clicked) no-repeat center center / contain;
    content: var(--love-profile-icon-clicked);
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 3;

    position: absolute;
    top: 0;
    left: 0;
    
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.love-button-mutual {
    border: none;
    background: var(--love-profile-icon-mutual) no-repeat center center / contain;
    content: var(--love-profile-icon-mutual);
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 3;

    position: absolute;
    top: 0;
    left: 0;
    
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.message-button-white {
    border: none;
    background: var(--message-icon-white) no-repeat center center / contain;
    content: var(--message-icon-white);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;

    width: 100%;
    height: 100%;
    
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}