:root {

    --main-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;
    --uni-chat-main-font: 'Nunito', sans-serif;

    --settings-icon: url(./media/settings-icon-1.png);
    --blue-info-icon: url(./media/black-info-icon.png);
    --go-back-icon: url(./media/go-back-icon.png);

    --leave-group-icon: url(./media/log-out-icon.png);
    --change-visibility-icon: url(./media/change-visibility.png);
    --change-description-icon: url(./media/change-description.png);
    --change-photo-icon: url(./media/change-bg-picture.png);
    --add-people-icon: url(./media/add-people.png);
    --remove-people-icon: url(./media/remove-people.png);
    --delete-group-icon: url(./media/remove-red.png);

    --messages-events-scroll: 0%;
}

.unselectable {
    user-select: none;
}

.home-change-setting-outer-banner[show="true"] {
    background-color: rgba(0, 0, 0, 0.45);
}

.header-icons {
    top: 10px;

}

.preview-banner {
    width: 100%;
    left: 0;
}

.classes-events-box {
    top: 57px;
    left: 20px;
}

.groups-box {
    border-radius: 10px;
    border: 0.05px solid rgba(0, 0, 0, 0.25);
    width: 100%;
    min-height: 70px;
    position: relative;
    padding-bottom: 5px;
    background-color: white;
    max-height: calc(100% - 350px);
    scrollbar-width: none;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.groups-box::-webkit-scrollbar {
    display: none; 
}


.ajax-request-returns {
    overflow-y: unset;
}

.connection-display-options {
    display: flex;
    align-items: center;
    position: absolute;
    top: calc(50% - 10px);
    font-family: var(--main-font);
    font-size: 17px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.connection-display-option {
    margin-left: 10px;
    margin-right: 10px;
    background: none;
    border: none;
    outline: none;
    font-size: 17px;
    padding: unset;
    padding-left: 2px;
    padding-right: 2px;
    font-family: "UniChat";
    font-weight: 600;

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

.connection-display-option[clicked="true"] {
    color: rgba(var(--main-blue), 1);
    border-bottom: 1px solid rgba(var(--main-blue), 1);
}

.connection-display-option[clicked="true"]:hover {
    cursor: default;
}

.connection-display-option[clicked = "false"]:hover {
    cursor: pointer;
    color: rgba(var(--main-blue), 1);
    opacity: 0.6;
}

.ajax-request-header {
    margin-bottom: 0;
}

.connections-display-banner {
    position: relative;
    height: calc(100% - 10px);
    overflow-y: scroll;
    padding: 5px;
    padding-top: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.group-info-heading {
    font-family: "UniChat";
    font-weight: 500;
    color: black;
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    margin-bottom: 15px;
}

.group-info-group-name {
    font-family: "UniChat";
    font-weight: 500;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 0;
    text-align: center;
    line-height: 35px;
    color: rgba(var(--main-blue), 1);
}

.group-info-text {
    padding-left: 10px;
    font-family: var(--main-font);
}

.group-info-text-big {
    color: black;
    font-family: var(--main-font);
    font-size: 23px;
    margin-left: 15px;
}

.ajax-request-reaction-row {
    border: 0.2px solid black;
    margin-bottom: 3px;
    margin-top: 3px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.ajax-request-reaction-row:hover {
    background-color: rgba(0, 50, 210, 0.05);
}

.visibility-box {
    border-radius: 5px;
    border: 0.5px solid rgba(0, 0, 0, 0.25);
    padding: 3px;
    box-shadow: 0px 0px 2px 0.5px rgba(0, 0, 0, 0.25);
    font-size: 15px;
    font-family: var(--main-font);
}

.public {
    background-color: rgba(0, 50, 210, 0.05);
}

.private {
    background-color: rgba(180, 0, 10, 0.6);
    color: white;
}

.loader[loading_more_posts = "true"] {
    top: 165px;
}

.loader[settings="true"] {
    position: fixed;
    top: calc(50% - 24px);
    right: calc(36.5% - 24px);
    left: unset;
}

.settings-box[show="true"] {
    z-index: 101;
    width: 200px;
    position: fixed;
    margin-top: 40px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 15px;
    border: 1px solid black;
    right: 20px;
    overflow: hidden;

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

.settings-box[show="false"] {
    display: none;
}

.group-post-sidebar {
    height: calc(100% - 10px);
}

.settings-box-option {
    width: calc(100% - 10px);
    padding: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 5px;
    justify-content: space-between;

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

.settings-box-option:hover {
    cursor: pointer;
    background-color: lightgray;
}

.settings-box-option-text {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    width: 100%;
    margin-left: 7px;
    margin-right: 5px;
    font-size: 18px;
    font-family: "UniChat";
    font-weight: 500;
}

.chat-box {
    border-radius: 10px;
    width: calc(73% - 20px);
    max-width: calc(73% - 20px);
    min-height: calc(100% - 85px);
    height: calc(100% - 85px);
    max-height: calc(100% - 85px);
    position: fixed;
    top: 57px;
    right: 20px;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.5);
    overflow-y: scroll;
    scrollbar-width: none;
}

.chat-box::-webkit-scrollbar {
    display: none; 
}

.change-setting-outer-banner[show = "true"] {
    position: fixed;
    width: calc(73% - 20px);
    max-width: calc(73% - 20px);
    min-height: calc(100% - 85px);
    max-height: calc(100% - 85px);
    height: calc(100% - 85px);
    position: fixed;
    top: 57px;
    right: 20px;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.change-setting-outer-banner[show = "false"] {
    display: none;
}

.change-setting-inner-banner {
    width: 280px;
    padding: 5px;
    box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    background: rgba(255, 255, 255, 1);
    max-height: 80%;
}

.change-setting-inner-banner[type="people"] {
    height: 250px;
    overflow-y: scroll;
    min-height: 250px;
    width: 80%;
}

.change-setting-inner-banner[type="message"] {
    width: 90%;
    min-width: 280px;
    max-height: 85%;
    margin-bottom: 10%;
    overflow-y: scroll;
}

.change-setting-inner-banner::-webkit-scrollbar {
    background-color: transparent !important;
    width: 4px !important;
}

.change-setting-inner-banner::-webkit-scrollbar-track {
    background-color: transparent !important;
}

.change-setting-inner-banner::-webkit-scrollbar-thumb {
    background-color: #babac0 !important;
    border-radius: 16px !important;
    border: none !important;
}

.change-setting-inner-banner::-webkit-scrollbar-button {
    display:none !important;
}

.change-settings-inner-banner-title {
    width: 100%;
    text-align: center;
    font-size: 20px;
    margin: 5px 0px 18px 0px;
    font-family: cursive;
    font-family: 'UniChat';
    font-weight: 600;
    color: black;
}

.publicity-toggle-banner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.publicity-choice {
    width: 50%;
    min-width: 50%;
    font-size: 20px;
    text-align: center;
    border-radius: 5px;
    font-family: var(--uni-chat-main-font);

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

.publicity-choice[chosen="true"] {
    box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.25);
    background-color: 'white';
    color: rgba(var(--main-blue), 1);
}

.publicity-choice[chosen="true"]:hover {
    cursor: default;
}

.publicity-choice[chosen="false"] {
    background-color: rgba(255, 255, 255, 0.3);
    color: gray;
}

.publicity-choice[chosen="false"]:hover {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.5);
}

.no-more-groups-writing {
    width: 100%;
    font-size: 22px;
    text-align: center;
    font-family: "UniChat";
    font-weight: 600;
    margin: 15px 0px;
}

.change-description-setting-textarea {
    resize: none;
    outline: none;
    border: none;
    font-family: var(--uni-chat-main-font);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.6);
    font-size: 17px;
    width: calc(100% - 10px);
    padding: 5px;
}

.member-status-icon {
    font-size: 23px;
    color: rgba(var(--main-blue), 1);
}

.member-status-icon[status='to_remove'] {
    color: red;
    font-weight: bold;
}

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

.delete-photo-making-sure[show="false"] {
    display: none;
}

.delete-photo-making-sure[show="true"] {
    width: 200px;
    padding: 5px;
    position: fixed;
    top: calc(50% - 52.5px);
    left: calc(50% - 102.5px);
    background-color: white;
    border-radius: 20px;
    z-index: 9999;
    box-shadow: 0px 0px 3px 3px rgba(0, 0, 0, 0.25);
}

.delete-photo-making-sure-message {
    width: calc(100% - 6px);
    padding: 3px;
    font-family: var(--main-font);
    font-size: 19px;
    text-align: center;
}

.delete-photo-making-sure-message:hover {
    cursor: default;
}

.delete-photo-making-sure-buttons {
    width: calc(100% - 10px);
    padding-left: 5px;
    padding-right: 5px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 15px;
}

.delete-photo-making-sure-button {
    font-size: 17px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;

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

.no {
    background-color: transparent;
    border: 1px solid black;
    border-radius: 5px;
    color: black;
}

.no:hover {
    cursor: pointer;
    background-color: black;
    color: white;
}

.yes {
    background-color: rgba(var(--main-red), 1);
    border: 1px solid transparent;
    border-radius: 5px;
    color: white;
}

.yes:hover {
    cursor: pointer;
    background-color: transparent;
    border: 1px solid rgba(var(--main-red), 1);
    color: rgba(var(--main-red), 1);
}

.add-your-message {
    box-shadow: 0px -2px 2px 0.5px rgba(0, 0, 0, 0.25);
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 1);
    border-radius: 0px 0px 5px 5px;
    z-index: 100;
    
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.bottom-bar {
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 10px;
    margin-bottom: 5px;
    max-width: calc(100% - 6px);
    position: relative;
}

.add-attachments {
    position: absolute;
    top: 3px;
    right: 48px;
    width: 30px;
    height: 30px;
}

.post-input-hidden {
    opacity: 0;
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.add-attachments-button {
    border-radius: 10px;
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - 1px);
    height: calc(100% - 1px);
    border: 0.5px solid transparent;
}

.add-attachments-button-overlay-white {
    background: var(--attach-file-icon-white) no-repeat center center / contain;
    content: var(--attach-file-icon-white);
    width: 20px;
    height: 20px;
    position: absolute;
    top: 2.5px;
    right: 2.5px;
    opacity: 0;
}

.add-attachments-button-overlay-blue {
    background: var(--attach-file-icon-blue) no-repeat center center / contain;
    content: var(--attach-file-icon-blue);
    width: 30px;
    height: 30px;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 1;
}

.messages-events-navigation-banner {
    position: absolute;
    top: 65px;
    left: calc(50% - 90px);
    display: flex;
    width: 180px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    box-shadow: 2px 2px 4px 2px rgba(0, 0, 0, 0.25);
    justify-content: space-around;
    align-items: center;
    backdrop-filter: blur(3px);
}

.messages-events-navigation-banner[show="false"] {
    display: none;
}

.option-container {
    min-width: 50%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-container:hover {
    cursor: pointer;
}

.option-container > img {
    height: 30px;
}

#messages-option > img {
    width: 40px;
    height: 37px;
}

.option-container[selected="true"] > img[selected="true"] {
    display: block;
    opacity: 1;
}

.option-container[selected="true"] > img[selected="false"] {
    display: none;
}

.option-container[selected="false"] > img[selected="false"] {
    display: block;
    opacity: 0.7;
}

.option-container[selected="false"] > img[selected="true"] {
    display: none;
}

.messages-events-container {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100% - 130px);
    overflow-x: hidden;

    display: flex;
}

.no-posts-yet-container {
    margin-bottom: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(90% - 7px);
    border-radius: 10px;
    border: 1px solid black;
    color: black;
    font-family: var(--main-font);
    font-size: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 3.5px;
    padding-right: 3.5px;
    text-align: center;
}

.group-messages-events-container {
    position: relative;
    width: 100%;
    min-width: 100%;
    height: calc(100% - 70px);
    padding-top: 70px;
    overflow-y: scroll;
    left: var(--messages-events-scroll);

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

#events-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.load-older-events {
    font-family: var(--uni-chat-font-sans);
    font-size: 16px;
    color: white;
    background-color: rgba(var(--main-blue), 1);
    padding: 5px;
    border-radius: 10px;
    border: none;
    outline: none;
    margin-bottom: 10px;
}

.load-older-events-clicked {
    border: 1px solid rgba(var(--main-blue), 1);
    background-color: white;
    color: rgba(var(--main-blue), 1);
}

.load-older-events[show="false"] {
    display: none;
}

.load-older-events:hover {
    cursor: pointer;
}

.new-post-icon[show="true"] {
    position: fixed;
    right: 33px;
    bottom: 33px;
    z-index: 10;
    min-width: 45px;
    min-height: 42px;
    padding-bottom: 3px;
    border-radius: 10px;
    border: 1px solid transparent;
    background-color: rgba(var(--main-blue), 1);
    color: white;
    font-size: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-transition: all 0.5sease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5sease;
}

.new-post-icon[show="false"] {
    display: none;
}

.messages-container {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100% - 120px);
    overflow-y: scroll;
}

textarea[name="post-text"] {
    width: calc(100% - 100px);
    height: unset;
    max-height: 203px;
}

.messages-container::-webkit-scrollbar {
    background-color: transparent !important;
    width: 4px !important;
}

.messages-container::-webkit-scrollbar-track {
    background-color: transparent !important;
}

.messages-container::-webkit-scrollbar-thumb {
    background-color: #babac0 !important;
    border-radius: 16px !important;
    border: none !important;
}

.messages-container::-webkit-scrollbar-button {
    display:none !important;
}

.reposting {
    background-color: rgba(0, 50, 210, 0.05);
    margin-top: 3px;
}

.post-button {
    border-radius: 10px;
    width: 30px;
    height: 30px;
    top: 3px;
    left: unset;
    right: 10px;
    z-index: 3;
}

.post {
    width: calc(90% - 5px) !important;
    margin-left: 5px;
    left: unset;
    margin-top: unset;
}

.reposted-post {
    width: calc(100% - 5px) !important;
    margin-top: 0;
    margin-left: 0 !important;
}

.your-post {
    margin-left: 10%;
}

.main-section {
    /* background-color: rgba(0, 50, 210, 0.05); */
    background-color: white;
    border-radius: 0px !important;
    border-top: 0.5px solid rgba(0, 0, 0, 0.25);
}

.your-post > .post-section > .main-section {
    background-color: white;
}

.post-section {
    min-height: 100px;
    padding-bottom: 0;
    margin-bottom: 0;
}

.post-content {
    min-height: unset;
}

.post-content-text-reposting {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(3 * 1em);
}

.select-group-message[show="true"] {
    position: absolute;
    font-family: "UniChat";
    font-size: 22px;
    font-weight: 500;
    width: calc(100% - 6px);
    margin: auto;
    text-align: center;
    top: calc(50% - 175px);
}

.select-group-message[show="false"] {
    display: none;
}

.groups-banner[show="true"] {
    border-radius: 10px 10px 0px 0px;
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    width: calc(100% - 1px);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: sticky;
    top: 0;
    left: 0;
    z-index: 5;
}

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

.group-info {
    width: 80%;
    height: 100%;
    display: flex;
    align-items: center;
}

.group-bg-image {
    border-radius: 10px;
}

.group-name {
    font-family: "UniChat";
    color: black;
    font-size: 20px;
    display: flex;
    align-items: center;
    font-weight: 500;
    margin-left: 5px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    flex: 1;
}

.group-banner-icons {
    width: 20%;
    justify-content: flex-end;
    display: flex;
    align-items: center;
}

.group-info-icon {
    width: 28px;
    height: 28px;
    outline: none;
    border: none;
    border-radius: 50%;
    background: var(--blue-info-icon) no-repeat center center / contain;
    content: var(--blue-info-icon);

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

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

.group-settings-icon {
    width: 30px;
    height: 30px;
    outline: none;
    border: none;
    border-radius: 50%;
    background: var(--settings-icon) no-repeat center center / contain;
    content: var(--settings-icon);
    margin-right: 5px;

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

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

.messaging-not-allowed-message {
    height: 70px;
    text-align: center;
    box-shadow: 0px -2px 2px 0.5px rgba(0, 0, 0, 0.25);
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 0px 0px 5px 5px;
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-family: "UniChat";
    color: black;
    font-weight: 500;
}

.messaging-not-allowed-message[show="false"] {
    display: none;
}

.add-your-message[show="false"] {
    display: none;
}

.add-your-message[show="true"] {
    display: block;
}

.go-back-icon {
    display: none;
}


.image-to-display-box {
    position: relative;
    margin: 7px;
}

.vertical-box {
    width: 116px;
    height: 145px;
}

.horizontal-box {
    margin-top: 14.5px;
    width: 145px;
    height: 116px;
}

.image-to-display {
    border-radius: 10px;
    border: 0.5px solid black;
    height: 160px;
}

.image-to-display-overlay {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    filter: blur(5px);
    border-radius: 25px;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.image-to-display-cross {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: white;
    background: url('https://api.iconify.design/majesticons/close.svg?color=%232e2dfd') no-repeat center / contain;
    content: url('https://api.iconify.design/majesticons/close.svg?color=%232e2dfd');
    position: absolute;
    top: 0;
    right: 0;
    box-shadow: 2px 2px 5px lightgray;
    z-index: 3;
}

.image-to-display-cross:hover {
    cursor: pointer;
}

.image-to-display-cross-overlay {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: white;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}

.vertical-cross {
    right: -5px;
}


.leave-group-icon {
    position: relative;
    width: 30px;
    height: 30px;
    margin-left: 5px;
    background: var(--leave-group-icon) no-repeat center center / contain;
    content: var(--leave-group-icon);
}

.change-visibility-icon {
    position: relative;
    width: 30px;
    height: 30px;
    margin-left: 5px;
    background: var(--change-visibility-icon) no-repeat center center / contain;
    content: var(--change-visibility-icon);
}

.change-description-icon {
    position: relative;
    width: 30px;
    height: 30px;
    margin-left: 5px;
    background: var(--change-description-icon) no-repeat center center / contain;
    content: var(--change-description-icon);
}

.change-photo-icon {
    position: relative;
    width: 30px;
    height: 30px;
    margin-left: 5px;
    background: var(--change-photo-icon) no-repeat center center / contain;
    content: var(--change-photo-icon);
}

.add-people-icon {
    position: relative;
    width: 30px;
    height: 30px;
    margin-left: 5px;
    background: var(--add-people-icon) no-repeat center center / contain;
    content: var(--add-people-icon);
}

.remove-people-icon {
    position: relative;
    width: 30px;
    height: 30px;
    margin-left: 5px;
    background: var(--remove-people-icon) no-repeat center center / contain;
    content: var(--remove-people-icon);
}

.delete-group-icon {
    position: relative;
    width: 30px;
    height: 30px;
    margin-left: 5px;
    background: var(--delete-group-icon) no-repeat center center / contain;
    content: var(--delete-group-icon);
}


.reacting-container {
    position: relative;
}

.reaction-box:hover + .reaction-emojis {
    display: flex;
    flex-direction: row;
    align-content: space-between;
    align-items: center;
    animation: 1s reaction-emoji-show forwards;
}

.reaction-emojis:hover {
    display: flex;
    flex-direction: row;
    align-content: space-between;
    align-items: center;
    opacity: 1;
}

.reaction-emojis[show="true"] {
    display: flex;
    flex-direction: row;
    align-content: space-between;
    align-items: center;
    animation: 1s reaction-emoji-show forwards;
}



.upload-new-category-photo {
    display: flex;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 1px 0.5px rgba(0, 0, 0, 0.25);
    border: none;
    border-radius: 10px;
    padding: 0px;
    background-color: transparent;
}

.add-new-category-error-message[show="false"] + .upload-new-category-photo {
    margin-top: 25px;
}

.add-new-category-error-message[show="true"] + .upload-new-category-photo {
    margin-top: 11px;
}

.upload-new-category-photo-span {
    width: 90%;
    font-size: 17px;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    position: relative;
    left: calc(5% - 1px);
}

.new-category-circle {
    object-fit: cover;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: relative;
    margin-left: calc(50% - 30px);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.default-background {
    object-fit: cover;
}

.possible-backgrounds-banner {
    top: 0;
    position: relative;
    margin-top: 40px;
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-left: 5%;
    padding-right: 5%;
}

.new-photo-buttons-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.change-new-photo-button {
    width: 100px;
    padding: 1px;
    background-color: rgba(var(--main-blue), 1);
    color: white;
    font-family: var(--uni-chat-main-font);
    font-size: 18px;
    border-radius: 10px;
    border: 1px solid transparent;
    margin-top: 30px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.change-new-photo-button:hover {
    cursor: pointer;
    background-color: transparent;
    color: rgba(var(--main-blue), 1);
    border: 1px solid rgba(var(--main-blue), 1);
}

.cancel-new-photo-button {
    width: 100px;
    padding: 1px;
    background-color: transparent;
    color: black;
    font-family: var(--uni-chat-main-font);
    font-size: 18px;
    border-radius: 10px;
    border: 1px solid black;
    margin-top: 30px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.cancel-new-photo-button:hover {
    cursor: pointer;
    background-color: black;
    color: white;
}


.images-file-horizontal {
    margin: 0 !important;
    margin-top: 0 !important;
}

.notification-text {
    font-family: var(--uni-chat-font-sans) !important;
}

/* three dots button */
.dots-btn {
    background: transparent;
    border: none;
    font-size: 19px;
    cursor: pointer;
    padding: 0 5px;
    color: grey;
}

.dots-btn:hover {
    color: black;
}

/* dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: transparent;
    backdrop-filter: blur(5px);
    min-width: 120px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    z-index: 10;
    overflow: hidden;
}

/* items inside dropdown */
.dropdown-item {
    width: 100%;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 500;
    font-family: "UniChat";
    text-align: left;
    border: none;
    background: transparent;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: rgba(var(--main-blue), 0.1);
}

/* show dropdown on click */
.dropdown.show .dropdown-content {
    display: block;
}

.connection-displays {
    height: 450px;
    top: calc(50% - 225px);
}

.new-captures-arrow[show="true"] {
    position: sticky;
    bottom: 5px;
    left: calc(50% - 17.5px);
    width: 35px;
    height: 35px;
    z-index: 100;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    color: black;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0.8;
    text-align: center;
    line-height: 35px;
    font-size: 22px;
    font-weight: bold;
    box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.25);
}

.new-captures-arrow[show="false"] {
    display: none;
}

.new-captures-arrow:hover {
    opacity: 1;
    cursor: pointer;
}


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

    .classes-events-box {
        min-width: 30%;
        width: 30%;
    }

    .chat-box {
        width: calc(65% - 15px);
        /* left: calc(32.5% + 20px); */
    }

    .change-setting-outer-banner[show = "true"] {
        width: calc(65% - 15px);
    }

    .loader[settings="true"] {
        position: fixed;
        top: calc(50% - 24px);
        right: calc(32.5% - 24px);
        left: unset;
    }

}

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

    .classes-events-box {
        display: flex;
    }

    .header-icons {
        width: calc(40% - 110px);
    }

    .title {
        display: block;
    }
}

@media screen and (min-width: 1001px) {
    .notifications-banner {
        left: calc(70% - 230px);
        top: 55px;
    }
}


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

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

    header {
        display: flex !important; /* overwriting groups.css */
    }

    .header-icons {
        display: none;
    }

    .title {
        display: none;
    }

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

    .add-icons-box:hover {
        cursor: pointer;
        background-color: transparent !important;
    }

    .title-profile {
        display: none;
    }

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

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

    .notifications-banner {
        display: flex;
        position: fixed;
        left: 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);
    }

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

    .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;
    }

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

    .messages-events-container {
        top: 55px;
        height: calc(100% - 135px);
    }

    .messages-container {
        top: 55px;
        height: calc(100% - 115px);
    }

    .post {
        width: calc(100% - 10px);
        margin-top: unset;
    }

    header {
        display: none;
    }

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

    .classes-events-box {
        top: 10px;
        left: 5px;
        min-width: calc(30% + 15px);
        height: calc(100% - 88px);
    }

    .chat-box {
        top: 10px;
        min-height: calc(100% - 90px);
        height: calc(100% - 90px);
        right: 5px;
        width: calc(65% + 10px);
    }

    .change-setting-outer-banner[show = "true"] {
        top: 10px;
        min-height: calc(100% - 40px);
        right: 5px;
        width: calc(65% + 10px);
    }

    .loader[settings="true"] {
        position: fixed;
        top: calc(50% - 14px);
        right: calc(32.5% - 16.5px);
        left: unset;
    }

    .settings-box {
        right: 5px;
    }

    .new-post-icon[show="true"] {
        right: 22px;
        bottom: 85px;
    }
}

@media screen and (max-width: 900px) {
    .classes-events-box {
        position: fixed;
        margin-left: unset;
        margin-right: unset;
    }

    .groups-box {
        max-height: calc(100% - 325px);
    }
    
    .connection-displays {
        height: 450px;
        width: 70%;
        left: 15%;
        top: calc(50% - 225px);
    }
}


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

    .add-your-message[show="true"] {
        padding-bottom: 10px;
    }

    .new-post-icon[show="true"] {
        right: 20px;
        bottom: 10px;
    }

    .classes-events-box {
        min-width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }

    .notifications-banner {
        left: unset;
        right: 75px;
    }

    .add-icon {
        left: unset;
        right: 25px;
    }

    .add-icon[show="hide"] {
        display: none;
    }

    #phone-nav-icons[show="show"] {
        display: flex;
    }
    
    #phone-nav-icons[show="hide"] {
        display: none;
    }

    .go-back-icon {
        display: block;
        width: 30px;
        height: 30px;
        outline: none;
        border: none;
        border-radius: 50%;
        background: var(--go-back-icon) no-repeat center center / contain;
        content: var(--go-back-icon);
        border-radius: 50%;
        
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: all 0.5s;
    }

    .go-back-icon:hover {
        cursor: pointer;
        background-color: rgba(200, 200, 200, 0.3);
    }
    
    .classes-events-box {
        position: fixed;
        left: 0;
        max-height: calc(100% - 90px);
    }
    
    /* .classes-events-box[selected="false"] {
        display: none;
    } */

    .chat-box {
        border: 0;
        min-width: 100%;
        height: 100%;
        min-height: 100%;
        left: 0;
        top: 0;
    }

    .change-setting-outer-banner[show = "true"] {
        min-width: 100%;
        height: 100%;
        min-height: 100%;
        top: 0;
        left: 0;
    }

    .loader[settings="true"] {
        position: fixed;
        top: calc(50% - 24px);
        right: calc(50% - 24px);
        left: unset;
    }

    .chat-box[selected="true"] {
        display: block;
    }

    .chat-box[selected="false"] {
        display: none;
    }

    .settings-box {
        right: 0;
    }

    .add-your-message[show="true"] {
        width: 100%;
        margin-left: 0;
    }

    .messaging-not-allowed-message {
        height: 80px;
    }
}

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

    .classes-events-box {
        min-width: calc(100% - 4px);
        margin-left: 2px;
        margin-right: 2px;
    }

    .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);
    }

    .add-icon {
        right: 10px;
    }
}

@media screen and (max-width: 500px) {
    .connection-displays {
        height: 0;
        width: 100%;
        left: 0;
        top: unset;
        bottom: 0;
        border-radius: 15px 15px 0px 0px;

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

    .connection-displays[show="true"] {
        height: 500px;
    }

    .connection-displays[show="false"] {
        display: flex;
        height: 0;
    }
}