:root {
    --color-main: rgb(42, 34, 92);
    --color-feed: rgb(19, 14, 53);
    --color-popup-background: rgba(0, 0, 0, 0.5);
    --color-popup: rgb(205, 200, 240);
    --color-popup-light: rgb(226, 223, 248);
    --color-shadow: rgba(0, 0, 0, 0.5);
    --color-clear: rgba(0, 0, 0, 0);
    --color-good-button: rgb(166, 70, 230);
    --color-good-botton-hover: rgb(194, 117, 245);
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
}

#background {
    background-color: var(--color-main);
    height: 100%;
    width: 100%;
    display: flex;
    position: fixed;
    margin: 0 auto;
    justify-content: center;
    overflow-y: scroll;
}

#main_area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: var(--color-feed);
    max-width: 700px;
    position: relative;
    padding: 0px 0px 0px 0px;
    align-content: flex-start;
    flex-wrap: nowrap;
    gap: 10;
    border-radius: 0px 0px 0px 0px;
    height: 200%;
    margin-right: 0px;
    margin-left: 0px;
}

#main_area_top_bar {
    display: flex;
    position: fixed;
    height: 90px;
    background: linear-gradient(180deg, #000000, #00000067);
    z-index: 1000;
    backdrop-filter: blur(8px);
}

#main_area_top_bar_spacer {
    display: block;
    position: relative;
    width: 100%;
    height: 90px;
}

#top_bar_login_or_user_button_container {
    position: fixed;
    top: 0px;
    right: 0px;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    margin-top: 5px;
    z-index: 5000;
}

#left_area_container {
    position: relative;
    height: 100%;
    width: 100px;
    min-width: 100px;
    z-index: 1000;
}

#left_area {
    position: fixed;
    top: 0px;
    width: 100px;
    min-width: 100px;
    height: 100%;
}

#right_area_container {
    position: relative;
    height: 100%;
    width: 100px;
    min-width: 100px;
    z-index: 1000;
}

#right_area {
    position: fixed;
    top: 0px;
    width: 100px;
    min-width: 100px;
    height: 100%;
}

@media (max-width: 700px) {

    #left_area_container,
    #right_area_container {
        width: 0;
        min-width: 0;
    }
}

#main_title {
    position: relative;

    margin: 0px;

    width: 100%;
    height: 80px;

    font-family: Arial, sans-serif;
    color: #e4e4e4;
    font-size: clamp(32px, 10vw, 62px);

    display: flex;
    justify-content: center;
    align-items: center;

    pointer-events: none;
}

#right_area_login_or_user_button_container {
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#div_login_button {
    position: relative;
}

#login_button {
    padding: 5px 8px;
    background-color: rgb(85, 75, 151);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    font-size: 18px;
}

#div_corner_user_icon {
    position: relative;
    width: 64px;
    height: 64px;
}

#corner_user_icon {
    position: relative;

    width: 60px;
    padding: 4%;
    background-color: rgb(85, 76, 143);
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    border: none;

    z-index: 9999;

    box-shadow: 0 4px 8px var(--color-shadow);
}

.corner_user_dropdown {
    position: relative;
    top: 55px;
    right: 15px;

    border: none;
    padding: 10px;
    padding-top: 30px;
    border-radius: 8px;
    border-top-left-radius: 30px;
    background-color: var(--color-popup);
    text-align: left;
    width: fit-content;
    min-width: 100px;
    /* Left-aligns the text within the buttons */
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    z-index: 2000;

    box-shadow: 0 4px 8px var(--color-shadow);
}

.corner_user_dropdown button {
    margin-top: 5px;
    margin-bottom: 5px;
    background-color: var(--color-clear);
    border: none;
    border-radius: 4px;
    font-size: small;
    min-width: 100%;
    text-align: left;
    padding: 2px;
    padding-left: 5px;
}

.corner_user_dropdown button:hover {
    background-color: var(--color-popup-light);
}

#corner_user_icon:hover {
    background-color: rgb(188, 183, 224);
}

.login_button:hover {
    background-color: rgb(136, 128, 190);
}

/*follow button style*/
.follow_button {

    background-color: var(--color-good-button);
    /* Green background */
    border: none;
    /* No border */
    color: white;
    /* White text */
    padding: 10px 20px;
    /* Padding around the text */
    text-align: center;
    /* Center the text */
    text-decoration: none;
    /* No underline */
    display: inline-block;
    /* Inline-level block container */
    font-size: 16px;
    /* Text size */
    margin: 4px 10px;
    /* Margin around the button */
    cursor: pointer;
    /* Cursor style */
    border-radius: 12px;
    /* Rounded corners */
    transition: all 0.3s ease;
    /* Smooth transition for hover effects */
}

.follow_button:hover {
    background-color: var(--color-good-botton-hover);
    /* Darker green on hover */
    color: #ffffff;
    /* White text on hover */
    box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
    /* Shadow effect on hover */
}

/* profile_top_bar_back_button */
.clear_button {
    transition: background-color 0.3s ease;
    border-radius: 30px;
    border: none;
    background-color: #ffffff00;

    padding: 10px;
    margin-left: 10px;
    margin-right: 10px;
    color: rgb(173, 173, 173);
}

.clear_button:hover {
    background-color: #ffffff18;
}

.good_button {
    background-color: var(--color-good-button);
    color: rgb(255, 255, 255);
    border-radius: 5px;
    border: none;
    padding: 4px 8px;
    font-weight: bold;
    font-size: medium;
    cursor: pointer;
}

.good_button:hover {
    background-color: var(--color-good-botton-hover);
}

.text_button {
    border: none;
    padding: 4px 8px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    color: rgb(12, 0, 31);
    font-size: small;
}

.text_button:hover {
    color: rgb(104, 42, 204);
}

.divider {
    height: 1px;
    background-color: #0000002c;
    width: 90%;
    margin: 5px 5%;
}

.divider_light {
    height: 1px;
    background-color: #ffffff2c;
    width: 90%;
    margin: 5px 5%;
}

.fixed_container_small_center {
    display: flex;
    width: 100px;
    text-align: center;
    justify-content: center;
}

.fixed_container_small_left {
    display: flex;
    width: 100px;
    text-align: left;
    justify-content: flex-start;
}

.fixed_container_small_right {
    display: flex;
    width: 100px;
    text-align: right;
    justify-content: flex-end;
}

.fixed_container_medium_center {
    display: flex;
    width: 200px;
    text-align: center;
    justify-content: center;
}

.fixed_container_medium_left {
    display: flex;
    width: 200px;
    text-align: left;
    justify-content: flex-start;
}

.fixed_container_medium_right {
    display: flex;
    width: 200px;
    text-align: right;
    justify-content: flex-end;
}

.visible {
    visibility: visible !important;
}

.hidden {
    visibility: hidden !important;
}

.collapsed {
    display: none !important;
}