* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: sans-serif;
}
a {
	text-decoration: none;
}
body,
html {
	width: 100%;
	min-height: 100%;
	background-color: #1e1f1c;
	background-color: black;
	background-color: #f8fafb;
}
main {
	display: flex;
	flex-direction: column;
	.top {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		height: 30vh;
		gap: 1rem;

		h1 {
			font-size: 4rem;
			font-family: 'Poppins', sans-serif;
			font-weight: 700;
			letter-spacing: 2px;
			color: #2a84eb;
			text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
			text-transform: uppercase;
			text-decoration: underline;
		}
		p {
		}
		form {
			margin: 0 1rem;
		}
		.input {
			background-color: #fff;
			border: 1px solid #d6d6d6;
			padding: 0.5rem 1rem;
			border-radius: 1rem;
			max-width: 700px;
			width: 95vw;
			display: flex;
			justify-content: space-between;
			gap: 1rem;
			align-items: center;
			position: relative;

			input {
				border: none;
				outline: none;
				width: 100%;
				font-size: 1.2rem;
				font-weight: bold;
				color: rgba(0, 0, 0, 0.8);
				background-color: #fff;
			}
			button {
				padding: 12px 24px;
				font-size: 18px;
				font-weight: bold;
				color: #ffffff;
				background-color: #2a84eb;
				border: none;
				border-radius: 8px;
				cursor: pointer;
				transition: all 0.3s ease;
				max-width: 120px;
				overflow: hidden;
				min-width: 120px;
			}

			button:hover {
				background-color: #047bf1;
				transform: scale(1.05);
			}

			button:active {
				transform: scale(1);
			}
		}
	}
}

.middle {
	display: flex;
	flex-wrap: wrap;
	padding: 1rem 2rem;
	gap: 2rem;
	justify-content: center;
	align-items: center;
	margin: 1rem 2rem;
	.card {
		display: flex;
		align-items: center;
		padding-left: 1rem;
		gap: 2rem;
		width: 250px;
		height: 100px;
		background-color: #ffffff;
		border-radius: 10px;
		font-weight: bold;
		color: #333;
		border: 1px solid rgb(193, 193, 193);

		.icon {
			background-color: #efc7de;
			padding: 0.6rem;
			border-radius: 50%;
			width: 50px;
			height: 50px;
			display: flex;
			justify-content: center;
			align-items: center;
		}
		.icon2 {
			background-color: #90ee90;
		}
		.icon3 {
			background-color: #a99ef1;
		}
		.icon4 {
			background-color: #ffdab9;
		}
		h3 {
			margin-left: 8px;
			font-size: 1rem;
		}
	}
}

.bottom {
	padding: 1rem 5rem;
	display: flex;
	gap: 2rem;
	.left {
		background-color: white;
		border: 1px solid #d6d6d6;
		width: 50%;
		border-radius: 1rem;
		position: relative;
		padding: 1rem 2rem;
		.text {
			a {
				font-size: 0.9rem;
			}
			h3 {
				font-size: 1.2rem;
				margin-top: 5px;
				opacity: 0.8;
			}
			h4 {
				opacity: 0.7;
			}
		}
		img {
			position: absolute;
			top: 1.1rem;
			right: 3rem;
			width: 100px;
			width: 100px;
			border-radius: 50%;
			object-fit: cover;
			object-position: center;
			border: 4px solid #2a84eb;
		}
		.available {
			position: absolute;
			right: 0.5rem;
			top: 0.5rem;
			padding: 4px 6px;
			border-radius: 1rem;
			background-color: rgb(162, 239, 162);
			z-index: 1;
		}
		.notAvailable {
			position: absolute;
			right: 0.5rem;
			top: 0.5rem;
			padding: 4px 6px;
			border-radius: 1rem;
			background-color: rgb(222, 76, 76);
			z-index: 1;
		}
		.bio {
			margin-top: 12px;
			opacity: 0.8;
			display: -webkit-inline-box;
			-webkit-line-clamp: 2;
			-webkit-box-orient: vertical;
			overflow: hidden;
		}
		ul {
			margin-top: 1rem;
			li {
				list-style-type: none;
				margin: 0;
				padding: 0;
				align-items: center;
				display: flex;
				margin-top: 4px;
				strong {
					opacity: 0.7;
				}
			}
		}
	}
	.right {
		background-color: white;
		border: 1px solid #d6d6d6;
		width: 50%;
		border-radius: 1rem;
		position: relative;
		padding: 1rem 2rem;
		.repos {
			margin-top: 1.5rem;
			margin-left: 0.5rem;
			a {
				display: block;
				margin-top: 4px;
				display: -webkit-inline-box;
				-webkit-line-clamp: 1;
				-webkit-box-orient: vertical;
				overflow: hidden;
			}
		}
	}
}

@media (max-width: 1010px) {
	.bottom {
		.left {
			img {
				right: 0.5rem;
			}
		}
	}
}

@media (max-width: 1230px) {
	.bottom {
		flex-direction: column !important;
		.left {
			width: 100%;
		}
		.right {
			width: 100%;
		}
	}
}
@media (max-width: 528px) {
	.bottom {
		padding: 1rem;
	}
	.bottom .left .text h4 {
		margin-top: 2rem;
	}
}
.suggestionContainer {
	background-color: #fff;
	border: 1px solid #d6d6d6;
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
	max-width: 500px;
	width: 100vw;
	height: 300px;
	position: absolute;
	top: 70px;
	left: 50px;
	z-index: 9;
	border-radius: 0.5rem;
	display: none;

	ul {
		padding: 1rem;
		display: flex;
		flex-direction: column;

		li {
			display: flex;
			gap: 1rem;
			cursor: pointer;
			padding: 0.4rem;
			border-radius: 0.5rem;
			&:hover {
				background-color: #eeecec;
			}
			img {
				width: 40px;
				height: 40px;
				border-radius: 50%;
			}
			p {
				margin-left: 8px;
			}
		}
	}
}
@media (max-width: 660px) {
	.suggestionContainer {
		left: 10px;
		width: 80%;
	}
}
