:root {
    --uni-chat-main-font: "Nunito Sans", serif;
    --main-blue: 0, 56, 255;

    --message-profile-icon: url(./media/messages-icon.png);
    --profile-icon: url(./media/profile-icon.png);
    --menu-groups-icon: url(./media/groups-icon-1.png);
    --add-icon: url(./media/add-icon.png);
    --search-icon: url(./media/search-icon-black.png);
    --captures-icon: url(./media/captures-icon-1.png);
    --notifications-icon: url(./media/notifications-icon-black.png);
    --assistance-touch-icon: url(./media/assistance-touch.png);
    --home-icon: url(./media/home-icon-1.png);
}

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

header {
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 1;
}

.additional-icons {
    height: 42px;
    position: relative;
    display: flex;
}

.add-icons-box-href {
    width: 40px;
    height: 40px;
    border-radius: 10px 0px 0px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-transition: all 1.5s;
    -moz-transition: all 1.5s;
    -o-transition: all 1.5s;
    transition: all 1.5s;
}

.add-icons-box {
    width: 40px;
    height: 40px;
    border-radius: 0px 10px 10px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-transition: all 1.5s;
    -moz-transition: all 1.5s;
    -o-transition: all 1.5s;
    transition: all 1.5s;
}

.title {
    font-family: "UniChat";
    font-weight: 600;
}

.form-title {
    font-family: "UniChat";
    font-weight: 600;
    font-size: 25px;
}

.title-U {
    color: rgba(var(--main-blue), 1);
    font-weight: 800;
}

header > .title-profile {
    position: fixed;
    top: 15px;
    left: 10%;
    font-size: 40px;
}

.title-profile {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
}

.title-U-profile {
    color: rgba(var(--main-blue), 1);
    font-weight: 800;
}

.header-icons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 25%;
    height: 40px;
    position: fixed;
    right: 10%;
    top: 25px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    box-shadow: 0px 0px 2px 0.5px rgba(0, 0, 0, 0.15);

    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.nav-icons {
    display: none;
}

.blurry-bg {
    width: 100%;
    height: 100px;
    position: fixed;
    bottom: 0;
    left: 0;
}

.phone-view-header {
    display: none;
}

.phone-view-name {
    display: none;
}

.phone-view-nav {
    display: none;
}

.home-icon {
    width: 33px !important;
    height: 33px !important;
    background: var(--home-icon) no-repeat center center / contain;
    content: var(--home-icon);
}

.home-icon:hover {
    cursor: pointer;
    opacity: 0.8;
}

.icon-box-href {
    min-width: calc(100% / 5);
    max-width: calc(100% / 5);
    width: calc(100% / 5);
    height: calc(100% - 2px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 2px solid transparent;

    -webkit-transition: all 1.5s;
    -moz-transition: all 1.5s;
    -o-transition: all 1.5s;
    transition: all 1.5s;
}

.icon-box-href[chosen="false"] {
    opacity: 0.4;
}

.icon-box-href[chosen="true"] {
    opacity: 1;
}

.icon-box {
    position: relative;
    width: calc(100% / 5);
    height: calc(100% - 2px);
    /* border-radius: 5px; */
    display: flex;
    justify-content: center;
    align-items: center;
    
    -webkit-transition: all 1.5s;
    -moz-transition: all 1.5s;
    -o-transition: all 1.5s;
    transition: all 1.5s;
}

.icon-box[chosen="false"] {
    opacity: 0.4;
}

.icon-box[chosen="true"] {
    opacity: 1;
}

.icon-box-under-href {
    width: 100%;
}

.icon-box > button {
    outline: none;
    border: none;
    width: 34px;
    height: 34px;
}

.search-icon {
    width: 32px;
    height: 32px;
    background: var(--search-icon) no-repeat center center / contain;
    content: var(--search-icon);
    outline: none;
    border: none;
}

.captures-icon {
    animation: 1s header-icon-init forwards;
    background: var(--captures-icon) no-repeat center center / contain;
    content: var(--captures-icon);
}

.profile-icon {
    background: var(--profile-icon) no-repeat center center / contain;
    content: var(--profile-icon);
    opacity: 1;
}

.add-icon {
    display: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: var(--assistance-touch-icon);
    box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.25);
    z-index: 9998;
    position: fixed;
    bottom: 30px;
    right: calc(25% + 45px);

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

.add-icon:hover {
    cursor: pointer;
    animation: 1s header-icon-hovered forwards;
}

.messages-icon {
    animation: 1s header-icon-init forwards;
    width: 28px;
    height: 28px;
    background: var(--message-profile-icon) no-repeat center center / contain;
    content: var(--message-profile-icon);
}

.groups-icon {
    animation: 1s header-icon-init forwards;
    width: 40px !important;
    height: 40px !important;
    background: var(--menu-groups-icon) no-repeat center center / contain;
    content: var(--menu-groups-icon);
}

.notifications-icon {
    outline: none;
    border: none;
    width: 30px;
    height: 30px;
    background: var(--notifications-icon) no-repeat center center / contain;
    content: var(--notifications-icon);
}

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

.notification {
    background-color: white;
}

.unseen {
    position: absolute;
    z-index: 4;
    top: -2px;
    right: 0px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: rgba(var(--main-red), 1);
}

.unseen[show = "false"] {
    display: none;
}

.unseen[show = "true"] {
    display: block;
}


.ajax-request-shadow-banner {
    z-index: 9997;
    background-color: rgba(50, 50, 50, 0.4);
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
}

.ajax-request-shadow-banner[show="false"] {
    display: none;
}

.ajax-request-shadow-banner[show="true"] {
    display: block;
}

@media screen and (max-width: 1200px) {
    .header-icons {
        right: 2.5%;
        width: 30%;
    }

    header > .title-profile {
        left: 2.5%;
    }
}

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

    :root {
        --search-icon: url(./media/search-icon-white.png);
        --notifications-icon: url(./media/notifications-icon-white.png);
    }

    header > .title-profile {
        display: none;
    }

    .title {
        display: none;
    }

    .additional-icons {
        height: 100%;
        flex-direction: column;
    }

    form {
        top: 0px !important;
        height: calc(100% - 55px) !important;
        margin-top: 10px;
    }

    #notification-box-phone-view {
        min-width: calc(100% / 5);
        max-width: calc(100% / 5);
    }

    .header-icons {
        display: none;
    }

    .nav-icons {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        left: 0;
        height: 70px;
        position: fixed;
        z-index: 5;
        bottom: 0;
        padding-bottom: 7px;
        background-color: white;
        
        -webkit-transition: all 0.8s;
        -moz-transition: all 0.8s;
        -o-transition: all 0.8s;
        transition: all 0.8s;
    }

    .notifications-icon {
        width: 40px;
        height: 40px;
        position: absolute;
        top: 5px;
    }

    .search-icon {
        width: 40px;
        height: 40px;
        position: absolute;
        bottom: 5px;
    }

    .add-icon {
        display: block;
        bottom: 85px;
        right: 25px;
    }

    .transform-45 {
        transform: rotate(45deg);
    }
}

@media screen and (min-width: 750px) {
    .icon-box:hover {
        cursor: pointer;
        background-color: rgba(215, 215, 215, 0.7);
    }
}

@media screen and (max-width: 750px) {
    .notifications-icon {
        margin-bottom: 10px;
    }
    
    .icon-box > button {
        margin-bottom: 10px;
    }
}

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

    .notifications-shadow-banner[show="true"] {
        display: block;
    }

    .add-icon {
        right: 10px;
    }

    .nav-icons {
        width: 100%;
        left: 0;
    }
}