* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    font-size: 14px;
    text-decoration: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: transparent;
}


:root {
    --primary-color: #0d1117;
    --secondary-color: #7263ca;
    --tertiary-color: #161b22;
    --color-text-primary: #24292e;
    --color-text-seconday: #586069;
    --color-border: #eaecef;
    --shadow-small: 0 1px 0 rgba(27, 31, 35, 0.04);
    --font-family: -apple-system,
        BlinkMacSystemFont,
        Segoe UI,
        Helvetica,
        Arial,
        sans-serif,
        Apple Color Emoji,
        Segoe UI Emoji;
}

body {
    background-color: #FFF;
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-primary);
    overflow-x: hidden;

}

.flexbox {
    display: flex;
    align-items: center;
}

.github_details details {
    pointer-events: visible;
}


.hide {
    display: none;
}

/* Login page starts */


.alert {
    position: absolute;
    width: 250px;
    right: 20px;
    top: -1000px;
    transition: top 1s ease-in-out;
    -webkit-transition: top 1s ease-in-out;
    -moz-transition: top 1s ease-in-out;
    -ms-transition: top 1s ease-in-out;
    -o-transition: top 1s ease-in-out;
    /* color: var(--primary-color); */
    color: #fff;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    box-shadow: 0 0 10px #01010182;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: bold;
    justify-content: space-evenly;
}

.alert.active {
    top: 50px;
    background-color: red;
}

.alert svg {
    fill: var(--primary-color);
    cursor: pointer;
}

.login_page {
    height: 100vh;
    justify-content: center;
    position: relative;
}

.login {
    width: 300px;
    height: 220px;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    background-color: var(--tertiary-color);
    padding: 10px;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;

    box-shadow: 0px 0px 15px #01010182;
    border: 5px solid #1d2126;
}

.login label {
    color: #fff;

}

.login .input {
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    border: 1px solid #444d56;
    padding: 5px 10px;
    min-height: 28px;
    margin-top: 10px;
    font-weight: 400;
    width: 100%;
    position: relative;
}

.login .input .header_search_wrapper_slash-icon {
    position: absolute;
    right: 5px;
    top: 5px;
}

.login .input input {
    border: none;
    height: 100%;
    width: 100%;
    outline: none;
    color: #fff;
    background-color: var(--tertiary-color);

}

.login .input input:disabled {
    cursor: not-allowed;
}

.login #submit {
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 30px;
    border: unset;
    outline: none;
    color: var(--tertiary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: 10px;
    cursor: pointer;
    font-weight: bold;
}


.login #submit:disabled {
    cursor: not-allowed;
    background-color: #ccc;
    
}


.login .signin_logo{
    align-self: center;
    margin: 0 0 10px 0;
    fill: #fff;
    transform: translateY(-30px);
    -webkit-transform: translateY(-30px);
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -o-transform: translateY(-30px);
}

.login .signin_logo svg {
    width: 70px;
    height: 70px;
    filter: drop-shadow(0px 0px 3px #ccc);
    -webkit-filter: drop-shadow(0px 0px 3px #ccc);
}
/* Login page ends */


/* Main part */



/* Navbar */

#main .navbar {
    width: 100%;
    height: 60px;
    background-color: var(--color-text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

#main .navbar .logo {
    fill: #fff;
}

#main .navbar .nav_right .nav_pics {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    position: relative;
}

#main .navbar .nav_right .nav_pics img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
}

/* Dropdowns for the nav  */
.dropdown {
    position: absolute;
    z-index: 90;
    right: 0;
    bottom: 0;
    -webkit-transform: translate(0, calc(100% + 10px));
    transform: translate(0, calc(100% + 10px));
    background-color: #fff;
    color: #24292e;
    border: 1px solid #e1e4e8;
    padding-top: 5px;
    padding-bottom: 5px;
    min-width: 180px;
    border-radius: 6px;
    -webkit-box-shadow: 0 0 20px rgba(19, 19, 19, 0.075);
    box-shadow: 0 0 20px rgba(19, 19, 19, 0.075);
    /* display: none; */
}

.dropdown .modal_section {
    border-bottom: 1px solid var(--color-border);
    margin: 0 0 7px 0;
    padding: 0 0 7px 0;
}

.dropdown .modal_section:last-of-type {
    border-bottom: 1px solid transparent;
    margin: 0;
    padding: 0;
}

.dropdown .borederd_link {
    border: 1px solid var(--color-border);
    padding: 5px 8px;
    border-radius: 5px;
    margin: 0 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 15px;
}

.dropdown .borederd_link .text {
    margin-left: 6px;
    display: block;
    max-width: 120px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
}

.dropdown .borederd_link * {
    font-size: 12px;
}

.dropdown * {
    color: #24292e !important;
}

.dropdown a,
.dropdown p {
    padding: 8px 16px;
    display: block;
    color: #24292e;
}



.nav_search_dropdown {
    width: 100%;
    transform: translateY(calc(100% + 1px));
    -webkit-transform: translateY(calc(100% + 1px));
    -moz-transform: translateY(calc(100% + 1px));
    -ms-transform: translateY(calc(100% + 1px));
    -o-transform: translateY(calc(100% + 1px));
}

/* profile section */

#main #profile {
    max-width: 1440px;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-flow: row wrap;
    /* margin-top: 40px; */
    padding: 0 40px;
}

#main #profile .left {
    width: 25%;
    /* height: 400px; */
    /* background-color: #fff; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}



#main #profile .left .pics_name,
#main #profile .left #pics .status {
    position: absolute;
    top: 45%;
    left: 85%;
    margin-bottom: 39px;
    margin-top: 0;
    z-index: 2;
}

#main #profile .left #pics {
    width: 100%;
    height: 277.88px;
    border-radius: 100vh;
    -webkit-border-radius: 100vh;
    -moz-border-radius: 100vh;
    -ms-border-radius: 100vh;
    -o-border-radius: 100vh;
    margin-top: -32px;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    /*overflow: hidden;
    */
}

@media (min-width: 1310px) {
    #main #profile .left #pics {
        width: 277.88px;
    }
}

#main #profile .left .pics_name {
    left: 10%;
    top: 0;
    align-items: flex-start;
    flex-direction: column;
}

#main #profile .left #pics .status {

    height: 38px;
    max-width: 38px;
    border-radius: 100vh;
    background: white;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    overflow: hidden;
    z-index: 1;
    border: 1px solid var(--color-border);
    -webkit-box-shadow: var(--shadow-small);
    box-shadow: var(--shadow-small);
    margin-top: 43px;
}

#main #profile .left #pics .status .emoji {
    width: 38px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

#main #profile .left #pics .status .emoji_text {
    opacity: 0;
    white-space: nowrap;
    -webkit-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
    color: unset;
    font-size: 12px;
}

#main #profile .left #pics .status .emoji_text:hover {
    color: #0366d6;
}

#main #profile .left #pics .status:hover .emoji_text {
    opacity: 1;
    margin-right: 18px;
}

#main #profile .left #pics .status:hover {
    max-width: unset;
    justify-content: space-between;
}

#main #profile .left #pics img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
}

#main #profile .left .info {
    width: 250px;
    margin-top: 330px;
    margin-left: 15px;

}

.name_login {
    margin-top: 15px;
}

#main #profile .left .name {
    font-size: 26px;
    line-height: 1.25;
    font-weight: bold;
    /* margin-top: 15px; */
}

#main #profile .left .username {
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    /* margin-top: 30px; */
    color: var(--color-text-seconday);
}

.drop_own_caret_dack {
    height: 5px;
    width: 10px;
    display: inline-block;
    background: var(--color-text-seconday);
    margin: 0 4px;
    -webkit-clip-path: polygon(100% 0, 0 0, 50% 100%);
    clip-path: polygon(100% 0, 0 0, 50% 100%);
}


#main #profile .left .info .bio {
    /* margin-top: 10px; */
    margin: 15px 0;
    line-height: 1.7;
    font-size: 113%;
}

/* Profile Right side */

#main #profile .right {
    width: 73%;
    padding-right: 30px;
}

/* Search filter header */
.tabs_header {
    /* padding: 0 16px; */
    max-width: 1440px;
    margin: 10px auto 0;
    border-bottom: 1px solid #eaecef;
    justify-content: center;
    height: 70px;
    border-bottom: 1px solid var(--color-border);
    padding-top: 0;
    padding-bottom: 0;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #fff;
    align-items: flex-end;
}

.tabs_header .left {
    position: absolute;
    left: 40px;
    bottom: 10px;
}

.tabs_header .left .profile_picture {
    width: 32px;
    height: 32px;
}

.tabs_header .right,
.tab_mb {
    transform: translateX(40px);
    -webkit-transform: translateX(40px);
    -moz-transform: translateX(40px);
    -ms-transform: translateX(40px);
    -o-transform: translateX(40px);
}

.tabs_header .right .tab,
.tab_mb .tab {
    padding: 8px 16px;
    color: var(--color-text-seconday);
    border-bottom: 2px solid transparent;
    margin-right: 4px;
}

.tabs_header .right .tab svg,
.tab_mb svg {
    margin-right: 10px;
    fill: var(--color-text-seconday);
}

.tabs_header .right .tab .num,
.tab_mb .tab .num {
    background-color: rgba(209, 213, 218, 0.5);
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 12px;
    margin-left: 8px;
    font-weight: 500;
}

.tabs_header .right .tab.active,
.tab_mb .tab.active {
    font-weight: 600;
    border-color: #f9826c;
    color: black;
}

.tabs_header .right .tab.active svg {
    fill: black;
}

.tabs_header .right .tab:not(.active):hover,
.tab_mb .tab:not(.active):hover {
    border-color: #d1d5da;
}

.repo_search_header {
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
    justify-content: space-between;
    /* flex-flow: row wrap; */
}

.repo_search_header summary {
    margin-right: 5px;
}

.search_container {
    width: 100%;
    margin-right: 20px;
}

.search_container input {
    padding: 6px 12px;
    border: 1px solid var(--color-border);
    width: 100%;
    border-radius: 6px;
    background: #fff;
    -webkit-transition: 0.1s ease-out;
    transition: 0.1s ease-out;
}


.search_container input:focus {
    border: 1px solid #0366d6;
    -webkit-box-shadow: 0 0 0 3px rgba(3, 102, 214, 0.3);
    box-shadow: 0 0 0 3px rgba(3, 102, 214, 0.3);
}


.search_dropdown {
    width: 300px;
    height: auto;
    max-height: 480px;
    margin: 20px 0 16px;
    font-size: 12px;
    border-color: var(--color-border);
    border-radius: 6px;
    box-shadow: var(--shadow-small);
    transform: translateY(calc(100% + 20px));
    -webkit-transform: translateY(calc(100% + 20px));
    -moz-transform: translateY(calc(100% + 20px));
    -ms-transform: translateY(calc(100% + 20px));
    -o-transform: translateY(calc(100% + 20px));
}



.search_dropdown p {
    border-top: 1px solid var(--color-border);
    display: block;
    cursor: pointer;
}

.search_dropdown a:hover a {
    background: #fff !important;
    color: var(--color-text-primary) !important;
}

.close_container {
    justify-content: space-between;
    padding: 2px 10px;
}

.close_container button:hover {
    background-color: #fff !important;
    color: var(--color-border) !important;
}


.search_container input::-webkit-input-placeholder {
    color: #6a737d;
    font-family: inherit;
}

.search_container input:-ms-input-placeholder {
    color: #6a737d;
    font-family: inherit;
}

.search_container input::-ms-input-placeholder {
    color: #6a737d;
    font-family: inherit;
}

.search_container input::placeholder {
    color: #6a737d;
    font-family: inherit;
}


.search_dropdown {
    width: 300px;
    height: auto;
    max-height: 480px;
    margin: 20px 0 16px;
    font-size: 12px;
    border-color: var(--color-border);
    border-radius: 6px;
    box-shadow: var(--shadow-small);
    transform: translateY(calc(100% + 20px));
    -webkit-transform: translateY(calc(100% + 20px));
    -moz-transform: translateY(calc(100% + 20px));
    -ms-transform: translateY(calc(100% + 20px));
    -o-transform: translateY(calc(100% + 20px));
}

.new_repo {
    background-color: #2ea44f;
    justify-content: space-between;
    color: #fff;

    position: relative;
    padding: 5px 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid #fff;
    border-radius: 6px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-left: 10px;
}


.new_repo svg {
    fill: #fff;
}


/* Repo Lists */

#main #profile .right .repo {
    padding: 24px 0;
    /* min-height: 70px; */
    border-bottom: 1px solid #eaecef;
    justify-content: space-between;
    /* align-items: flex-start; */
}

.repo_star_button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #fafbfc;
    border: 1px solid rgba(27, 31, 35, 0.15);
    padding: 5px 12px;
    border-radius: 6px;
    color: #24292e;
    font-size: 12px;
    -webkit-box-shadow: var(--shadow-small);
    box-shadow: var(--shadow-small);
    cursor: pointer;
    align-self: center;
}

.repo_star_button svg {
    height: 16px;
    margin-right: 4px;
}



.repo_name {
    font-weight: 600;
    color: #0366d6;
    font-size: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.repo_name:hover {
    text-decoration: underline;
}

/* 
.repo_desc {
    margin: 10px 0;
} */

.repo .repo_footer {
    flex-flow: row wrap;
    align-items: center;
}


.repo_desc,
.repo_footer {
    color: var(--color-text-seconday);
}

.date-span {
    font-size: 12px;
}

.private_tag {
    background: #fff;
    border: 1px solid var(--color-border);
    font-weight: 500;
    color: #586069;
    font-size: 12px;
    padding: 1px 7px;
    border-radius: 100vh;
    margin-left: 10px;
}

.mb-1 {
    margin-bottom: 4px !important;
}

.mb-2 {
    margin-bottom: 8px !important;
}

.mt-2 {
    margin-top: 8px !important;
}

.pt-2 {
    padding-top: 8px !important;
}

.pr-4 {
    padding-right: 24px !important;
}

.language {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.lang_color {
    width: 10px;
    height: 10px;
    border-radius: 100vh;
    -webkit-border-radius: 100vh;
    -moz-border-radius: 100vh;
    -ms-border-radius: 100vh;
    -o-border-radius: 100vh;
    margin-right: 6px;
}


.repo .repo_footer .action_button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-right: 18px;
    -webkit-transition: 0.1s ease-out;
    transition: 0.1s ease-out;
    cursor: pointer;
}

.repo .repo_footer .action_button:hover,
.repo .repo_footer .action_button:hover * {
    color: #0366d6;
}

.repo .repo_footer .action_button svg {
    width: 16px;
    margin: 0 5px;
}

.repo .repo_footer .action_button path {
    fill: currentColor;
}


.profile_picture {
    height: 20px;
    width: 20px;
    border-radius: 100vh;
    background: #fff;
    border: 1px solid var(--color-border);
}

.new_repo_btn {
    padding-left: 5px;
}

.app_page_loader {
    min-height: calc(100vh - 90px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.app_page_loader.hide {
    display: none;
}

.app_page_loader svg {
    height: 100px;
    height: 100px;
    -webkit-animation-name: breathe;
    animation-name: breathe;
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

.app_page_loader svg path {
    fill: #24292e;
}


.repo_app_header-user {
    -webkit-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
}

.repo_app_header-user.hide {
    opacity: 0;
}

@media (max-width: 863px) {
    .repo_app_header-user {
        display: none;
    }

    .searchbox-field {
        width: 100%;
    }
}

.repo_app_header-user .user_profile_picture {
    height: 33px;
    height: 33px;
    border-radius: 100vh;
}

.repo_app_header-user .name {
    margin: 0 10px;
    font-weight: 600;
}



.tab_mb {
    display: none;
    transform: unset;
    -webkit-transform: unset;
    -moz-transform: unset;
    -ms-transform: unset;
    -o-transform: unset;
}





@media (max-width: 767px) {

    .searchbox-field {
        width: 100%;
    }

    .header_search_wrapper {
        padding-left: 0;
    }

    #main {
        overflow-x: hidden;
    }

    #main #profile .left,
    #main #profile .right {
        width: 100%;
    }

    #main #profile {
        padding: 0 16px;
    }

    .repo_search_header {
        flex-flow: row wrap;
        justify-content: unset;
    }

    .repo_search_header .new_repo {
        width: 100%;
        justify-content: center;
        transform: translateY(-130px);
        -webkit-transform: translateY(-130px);
        -moz-transform: translateY(-130px);
        -ms-transform: translateY(-130px);
        -o-transform: translateY(-130px);
        margin-left: unset;
    }

    .repo_search_header .search_container {
        margin-top: 25px;
    }

    .search_container {
        margin-right: unset !important;
        margin-bottom: 8px;
    }

    #main #profile .right {
        padding-top: 35px;
        padding-right: unset;
    }

    #main #profile .left {
        align-items: flex-start;
        margin-top: 50px;
    }

    #main #profile .left #pics {
        width: 100px;
        height: 100px;
        position: unset;
        margin-right: 20px;
    }

    #main #profile .left #pics .status {
        max-width: unset;
        left: 0;
        top: 50px;
        width: 100%;
        border-radius: 6px;
        margin-bottom: 0;
    }

    #main #profile .left #pics .status .emoji_text {
        margin-right: 18px;
        opacity: 1;
    }

    #main #profile .left .pics_name {
        position: relative;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        left: unset;
        top: unset;
        width: 100%;
        /* transform: translateX(30px);
        -webkit-transform: translateX(30px);
        -moz-transform: translateX(30px);
        -ms-transform: translateX(30px);
        -o-transform: translateX(30px); */
    }

    #main #profile .left .info {
        margin-top: 50px;
        width: unset;
        margin-left: 5px;
    }

    #main #profile .left .name {
        font-size: 20px;
    }

    #main #profile .left .username {
        font-size: 20px;
        line-height: 24px;
    }

    .name_login {
        margin-top: -30px;
    }

    .tabs_header.lg {
        display: none;
    }

    .tabs_header .left {
        display: none !important;
    }

    .tab_mb {
        display: flex;
        width: 100%;
        overflow: auto;
        transform: unset;
        border-bottom: 1px solid #d1d5da;
        -webkit-transform: unset;
        -moz-transform: unset;
        -ms-transform: unset;
        -o-transform: unset;
    }

    .tab_mb .tab {
        margin-right: unset;
    }

    .tab_mb svg {
        display: none;
    }
}

@media (min-width: 768px) {
    .tabs-header {
        padding: 0 24px;
    }

    .profile-picture-name {
        margin-left: 8px;
        display: inline-block;
    }

    .special-left {
        width: 25%;
        padding: 0 16px;
    }

    #main #profile .left {
        padding: 0 16px;
    }

    .special-right {
        width: 75%;
        display: flex;
        margin-left: auto;
        justify-content: flex-start !important;
        padding: 0 16px;
    }
}

@media (min-width: 1012px) {
    .tabs-header {
        padding: 0 32px;
    }
}
