@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Roboto:wght@400;500&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Muli', sans-serif;
}
html{
    font-size: 0.625rem;
}
body{
    background-image: url(image/github\ shahka.png);
     /* Replace with your image path */
    background-repeat: repeat; /* Repeats the image horizontally */
    background-size: 75px 75px; /* Specifies the size of the background image */
	background-color: #000;
    color: #000; 
	
}
.container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2rem;
	
}
.search-wrapper{
	position: relative;
	width: 50rem;
	height: 5rem;
	background-color: #fff;
	margin-bottom: 1.5rem;
	border-radius: 3rem;
	overflow: hidden; 
	border: 1px solid white;
}
.input-username{
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding: .5rem 16rem .5rem 1.5rem;
}
.input-user::placeholder{
	color: #bdbdbd;
}
.btn{
    width: 13rem;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #1d0f43;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all .3s ease;
	
	
}
.btn:hover{
	transition: all .5s ease;
	background-color: #4675af;
}
/* user information section */
.info-display-div{
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 60rem;
    box-shadow: 0 0 1rem #d6d3d3;
	border-radius: 7% 7% 0% 0%;
	overflow: hidden;
    /* background-color: #fafafa; */
    background: linear-gradient(to left, #ca67bb, #e02cc5, #38bbdf, #0635a1);
    height: 100vh;
    margin: 0;
}
.info-display-div .user-info{
    width: 100%;
    height: 60vh;
    /* background-color: #fafafa; */
    color: #fff8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 16rem;
    overflow: hidden;
	border-radius: 7% 7% 0% 0%;;

}

.info-display-div img{
    width: 15rem;
    height: 15rem;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #000;
}
.info-display-div .user-name{
    display: block;
    margin: 1rem;
    text-align: center;
}
.info-display-div h3{
	font-size: 1.2rem;
	margin:0;
}
.info-display-div h2{
	text-align: center;
	font-size: 1.8rem;
	margin: .5rem 0;
}
.info-display-div .follow{
    width: 100%;
    display: flex;
    text-align: center;
    justify-content: space-evenly;
    margin-top: 0.8rem;
}
.follow .item{
	font-size: 1.4rem;
}
.follow span{
	font-size: 1.2rem;
	font-weight: bold;
	display: block;
	margin-top: .7rem;
}
.info-display-div .visit-user{
    margin: 2rem 0 2rem 0;
}
.info-display-div .repos{
    width: 100%;
}

.visit-user a{
	text-decoration: none;
	list-style: none;
	background-color: #000;
	color: white;
	background-color: #251e70;
	color: #fff8f8;
	padding: 1rem;
	cursor: pointer;
	letter-spacing: .1rem;
	transition: all .5s ease;
	border-radius: 1rem;
    
}
.visit-user a:hover{
	background-color: #54a0ff;
}

/* repository section design */
.repos{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 5rem 2rem;
    scroll-behavior: auto;
    /* background-color: #1d0f43; */
    color: white;
}
.repos h2{
	font-size: 2.2rem;
	margin-bottom: 1.5rem;
}
.repo-details{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.repo-name{
    font-size: 1.2rem;
}
.repos .items{
	width: 95%;
	border: 1px solid #fff;
	border-radius: .5rem;
	margin-bottom: 1.5rem;
	padding: 1rem;
}
.repos .repo-name{
	font-size: 1.2rem;
	margin-bottom: 1rem;
}
/* .repo-details .info-fork .info-star .info-size{
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	margin: 5rem;
} */

.card {
	position: fixed;
	top: 10px;
	right: 10px;
	border: 1px solid #ccc;
	padding: 20px;
	box-shadow: 0 0 1rem #d6d3d3;
	border-radius: 7%;
	overflow: hidden;
	z-index: 1000;
	display: none;
	text-align: left;
	background: linear-gradient(to left, #ca67bb, #e02cc5, #38bbdf, #0635a1);
    height: 20vh;
    margin: 0;
}
#developer-card h2{
	color: white;
	text-decoration: none;

}

/* #developer-1-link a{
	color: white;
	text-decoration: none;
}  */
.developer a{
	font-size: 1.5rem;
	color: white;
	text-decoration: none;
	transition: text-decoration 0.3s ease, color 0.3s ease ;
} 
.developer a:hover{
	text-decoration: underline;
	cursor: pointer;
}
.hidden {
	display: none;
}
  
.visible {
	display: block;
}
.developer {
	margin-top: 1rem;
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}
  
.developer-photo {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	margin-right: 10px;
}

.progress-bar {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background-color: yellow;
	animation: progress 5s linear forwards;
}
  
@keyframes progress {
	from { width: 0; }
	to { width: 100%; }
}
/* media queries */
/* Media queries for tablet devices */
@media (max-width: 800px) {
    .container {
        padding: 9rem;
    }
    .info-display-div {
        width: 60rem;
        margin-top: 4rem;
    }
    .info-display-div .user-info {
        padding: 2rem;
    }
}

/* Media queries for mobile devices */
@media only screen and (max-width: 600px) {
	.container {
	  padding: 2rem;
	}
  
	.search-wrapper {
	  width: 100%;
	  margin-bottom: 1rem;
	}
  
	.input-username {
	  padding: .5rem 10rem .5rem 1.5rem;
	}
  
	.btn {
	  width: 10rem;
	  font-size: 1.2rem;
	}
  
	.info-display-div {
	  width: 100%;
	  margin-top: 2rem;
	  padding: 1rem;
	}
  
	.user-info {
	  padding: 1rem;
	}
  
	.repos .repo-details .items {
	  width: 100%;
	}
  
	.repo-name h3 {
	  font-size: 1rem;
	  margin-bottom: 1rem;
	}
  
	.visit-user a {
	  padding: 0.8rem;
	}
  
	.developer-photo {
	  width: 30px;
	  height: 30px;
	}
  
	.card {
	  position: fixed;
	  top: 18%;
	  left: 33%;
	  transform: translate(-25%, -25%);
	  width: 90%;
	  max-width: 300px;
	  animation: slideIn 5s forwards; /* Add animation for card sliding in */
	}
}
/* @media (max-width: 400px) {
    .info-display-div {
        width: 35rem;
        margin-left: .2rem;
    }
    .repos .repo-details .item {
        width: 90%;
        margin: auto;
        margin-bottom: 1rem;
    }
    .repos .repo-name {
        font-size: 1.3rem;
        margin-bottom: 1.8rem;
    }
    .search-wrapper {
        width: 35rem;
        margin-top: -5rem;
    }
}

@media screen and (max-width: 800px) {
    .card {
        top: 10px;
        left: 10px;
        right: unset;
        width: calc(100% - 20px);
        max-width: 300px;
    }
} */

/* @media (max-width: 800px) {
	.container {
		padding: 9rem;
	}
	.info-display-div{
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		width: 60rem;
		box-shadow: 0 0 1rem #fff;
		margin-top: 4rem;
	}
	.info-display-div .user-info{
		width: 100%;
		padding: 2rem;
	}
	
}
@media (max-width: 400px) {
	 .info-display-div{
		width: 35rem;
		margin-left: .2rem;
	 }
	.repos .repo-details .item{
		width: 90%;
		margin:auto;
		margin-bottom: 1rem;
	}
	.repos .repo-name{
		font-size: 1.3rem;
		margin-bottom: 1.8rem;
	}
	.search-wrapper{
		width: 35rem;
		margin-top: -5rem;
	}
}
@media screen and (max-width: 800px) {
	.card {
	  top: 10px;
	  left: 10px;
	  right: unset;
	  width: calc(100% - 20px);
	  max-width: 300px;
	}
} */