@import url('https://fonts.googleapis.com/css2?family=Inter&family=Roboto:ital,wght@0,300;1,300&display=swap');

* {
    font-family: 'Inter', sans-serif;

}

body {
    margin: 0px;
    overflow: hidden;
}

/* ?================================================= Container ============================================== */
.main-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.main-content-container {
    height: 100vh;
}

.main-content {
    height: 100%;
    padding-top: 0px;
    margin-top: 58px
}

/*? ===================================================Navbar================================================== */
#navbar-repohunter {
    background-color: #D5D5D5;
    width: 101%;

}

/*?==================================================== Left Div =========================================*/
.welcome-text-h1 {
    font-size: 4rem;
    font-weight: 700;
}

#welcome-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;

}

#skeleton-user-profile,
#user-profile-show {
    margin-top: 30px
}

#username {
    border-radius: 999999px;
    height: 62px;
    width: 70%;
    padding-left: 33px;
    font-size: 18px;
}

#fetch-data-btn {
    border-radius: 999999px;
    width: 28%;
    font-size: 18px;
    margin-left: 15px;
}

#left-container {
    background-color: #d5d5d5;


}



.user-profile-image {
    border-radius: 9999px;
    object-fit: cover;
    border-width: 1px;
    border-color: #171717;
}

#welcome-text {
    font-size: 20px;
    font-weight: bold;
    margin-top: 18%;
    margin-left: 20px;
}

/* ?===============================================Right div=================================================== */
.right-repo-div {
    background: url('../assets/privateinvestocat-light.jpg') center center / cover;
    height: 100%;
    overflow-y: auto;
    padding-bottom: 60px;
}

.right-div-title {
    font-weight: bold;
    margin-top: 10px;
    margin-left: 10px;
}

.card-main-content {
    background-color: rgba(255, 255, 255, 0.8);
}


.language-circle {
    width: 50%;
    border-radius: 99999px;
    background-color: #212529;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 12px 24px;
    font-size: 18px;
    margin: 12px 0;
}

/*?=================================== Skeleton Loader Styles ===========================================*/

.skeleton-avatar {
    border-radius: 9999px;
    background-color: #ddd;
    width: 100px;
    height: 100px;
    margin: 10px
}

.skeleton-line-full {
    width: 100%;
    height: 16px;
    background-color: #ddd;
    margin-bottom: 10px;
}

.skeleton-line-half {
    width: 50%;
    height: 16px;
    background-color: #ddd;
    margin-bottom: 10px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.skeleton-avatar,
.skeleton-line-full,
.skeleton-line-half {
    background-color: #b4b4b4;
    margin-bottom: 10px;
    animation: blink 1.5s infinite;
    /* Apply the blink animation */
}




/* ?=======================================Pagination component=============================== */


.pagination select,
.pagination button {
    padding: 8px;
    margin: 0 5px;
    cursor: pointer;
}

#skeleton-loader-repositories,
#skeleton-user-profile,
#pagination-container,
#user-profile-show,
#right-div-title {
    display: none;
}


/* ?========================================Media query for mobile============================================== */
@media screen and (max-width: 768px) {
    body {
        margin: 0px;
        overflow: auto;
        overflow-x: hidden;
    }

    #left-container {
        min-height: 80vh;
    }

    .main-container {
        flex-direction: column;
    }

    .right-repo-div {

        padding-bottom: 7px;
    }

    #repositories-container {
        justify-content: center;
    }


}