@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}


body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: "Poppins", serif;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* the profile find part of container */
.profile-find h1{
    font-size: 32px;
}

.card {
    width: 60vw;
    display: flex;
    align-items:flex-start;
    background: white;
    padding: 1rem;
    border-radius: 4px;
    border: 2px solid #212121;
    margin: 0 auto;
}

.card:hover {
    box-shadow: 0.25rem 0.25rem 0 #212121;
}

.input {
    position: relative;
    margin-bottom: 0.5rem;
    width: 80vw;
}

.input__label {
    position: absolute;
    left: 0;
    top: 0;
    padding: 0.375rem 0.25rem;
    margin: 0.375rem 0.25rem;
    background: white;
    white-space: nowrap;
    transform: translate(0, 0);
    transform-origin: 0 0;
    transition: transform 120ms ease-in;
    font-weight: bold;
    line-height: 1.2;
}

.input__field {
    box-sizing: border-box;
    display: block;
    width: 100%;
    border: 2px solid #212121;
    padding: 0.75rem 0.5rem;
    color: #212121;
    background: transparent;
    border-radius: 4px;
    font-size: 16px;

}

.input__field:focus+.input__label,
.input__field:not(:placeholder-shown)+.input__label {
    transform: translate(0.25rem, -65%) scale(0.8);
    color: #ff90e8;
}

.search-btn {
    padding: 12px 0px;
    background: #ff90e8;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    width: 70%;
    font-size: 16px;
}

.search-btn:hover {
    background: #ff90e8;
}


/* the profile result part of container */
.profile-result {
    width: 60vw;
    display: flex;
    border-radius: 4px;
    border: 2px solid #212121;
    overflow: hidden;
}

.profile-result:hover {
    box-shadow: 0.25rem 0.25rem 0 #212121;
}

/* design of left side part of  */
.profile-left{
    padding: 15px;
    width: 35%;
}

.img {
    height: 200px;
    width: 200px;
    background-color: aquamarine;
    border-radius: 100px;
    margin-left: 30px;
    margin-bottom: 10px;
    border: 1px solid #212121;
    transition: all .14s ease-out;
}

.img:hover {
    box-shadow: 4px 4px 0 #000;
    transform: translate(-4px, -4px);
}

.img:focus-visible {
    outline-offset: 1px;
}

.view-profile {
    outline: 0;
    grid-gap: 8px;
    align-items: center;
    background-color: #ff90e8;
    color: #000;
    border: 1px solid #000;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 16px;
    gap: 8px;
    justify-content: center;
    line-height: 1.5;
    overflow: hidden;
    padding: 12px 16px;
    text-decoration: none;
    text-overflow: ellipsis;
    transition: all .14s ease-out;
    white-space: nowrap;
    margin-left: 75px;
}

.view-profile:hover {
    box-shadow: 4px 4px 0 #000;
    transform: translate(-4px, -4px);
}

.view-profile:focus-visible {
    outline-offset: 1px;
}

.view-profile a{
    text-decoration: none;
    color: black;
}

/* design of right side */
.profile-right {
    width: 65%;
    display: flex;
    flex-direction: column;
    border-left: 2px solid #212121;
    padding: 15px;
    gap: 5px;
}

.name {
    font-size: 24px;
    font-weight: 700;
}

.bio {
    font-size: 1rem;
    margin-bottom: 15px;
}

.follow {
    display: flex;
    gap: 2rem;
    list-style: none;
}

/* design of repos of link */
.repo{
    background-color: #ff90e8;
    border-radius: 4px;
    display: inline-block;
    font-size: 1rem;
    padding: 0.25rem 0.5rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    border: 1px solid #212121;
    transition: all .14s ease-out;
}

.repo:hover {
    box-shadow: 2px 2px 0 #000;
}
