* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;

}

#search {
    width: 100%;
    border: 2px solid black;
    background-color: #0D1117;
    color: #ffff;
}

#profile-search {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#profile-search h1 {
    font-size: 3.2rem;
    margin-top: 3rem;
}

#search-input-box {
    width: 40%;
    display: flex;
    margin: 2rem 0 2rem 0;
    flex-direction: row;
    background-color: black;
    justify-content: center;
    border-radius: 10px;
    padding: 0.4rem;
    gap: 0.2rem;
    box-shadow: 0px 0px 10px 0px whitesmoke;
}

#search-input-box>img {
    width: 4rem;
    border-radius: 50%;
    border: none;
    outline: none;
    background-position: center center;
}

.search-btn img {
    width: 3rem;
    border-radius: 30%;
}

#search-input-box input {
    width: 42rem;
    margin: 0.5rem;
    background-color: rgb(17, 17, 17);
    border: none;
    outline: none;
    color: #F2F2F2;
    font-size: 1.7rem;
    word-spacing: 0.2rem;
    padding-left: 0.5rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 550;
}

.search-btn {
    background-color: black;
    border-radius: 15%;
    border: none;
}

/* 2 profile views */
#profile-views {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 5rem 0;

}

span {
    color: red;
    font-size: 2rem;
}

.user-profile {
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    border: 1px solid red;
    box-shadow: 0px 0px 10px 0px whitesmoke;
    border-radius: 15px;
}

.user-profile h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 650;
}

.user-profile img {
    width: 15rem;
    border-radius: 50%;
    border: 2px solid red;
    margin: 0rem 2.3rem;
    box-shadow: 0px 0px 10px 0px whitesmoke;
    height: 15rem;
}

.user-login {
    font-size: 2rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bolder;
}

.view-profile-btn {
    width: 70%;
    font-size: 1.3rem;
    font-weight: 300;
    background-color: #0D1117;
    border-radius: 10px;
    padding: 0.4rem;
    border: 1px solid whitesmoke;
}

a {
    text-decoration: none;
    color: whitesmoke;
}


.view-profile-btn:hover {
    border: 1px solid red;
    cursor: pointer;
    color: red;
    font-weight: 400;

}

.user-details {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0rem;
}

.user-social {
    width: 100%;
    display: flex;
    gap: 2rem;
}

.item {
    width: 33%;
    border: 2px solid red;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0px 0px 10px 0px whitesmoke;
}

.item img {
    width: 2rem;
    border-radius: 50%;
    margin: 0.8rem 2rem;
}

.item h4 {
    font-size: 1.3rem;
    font-weight: 500;
}

.item span {
    margin: 1rem 0rem;
    font-size: larger;
    font-weight: 400;
    font-family: 'Times New Roman', Times, serif;
}

.user-personal {
    width: 100%;
    border: 2px solid red;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 15px;
    padding: 0.6rem 0 0.6rem 0.6rem;
    box-shadow: 0px 0px 10px 0px whitesmoke;
}

/* 3. Most Popular GitHub Accounts */
.template {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 80px;
    gap: 6rem;
    justify-content: center;
    background-color: #0D1117;


}

#heading {
    background-image: linear-gradient(to bottom, white, #3d00e5ae, #1b665fd4, #b43030e3);
    text-align: center;
}

.heading {
    font-size: 1.6rem;
    padding: 1rem;
    color: #ffff;
}

.card {
    width: 20rem;
    padding: 40px;
    height: 50%;
    border: 4px solid orange;
    text-align: center;
    border-radius: 22px;
    background-image: linear-gradient(to top, #3d00e5ae, #1b665fd4, #b43030e3);
    text-transform: capitalize;
    box-shadow: 0px 0px 5px 0px whitesmoke;
}

.card:hover {

    box-shadow: 0px 0px 15px 3px rgb(175, 184, 175);
    transition: height 1ms 0.5s ease-in;
    transform: scale(1.03);
}

.card img {
    width: 100%;
    height: 200px;
    border-radius: 16px;
}

.card h2 {
    font-size: 2rem;
    margin: 10px;
    color: #ffff;
}

.card a {
    display: inline-block;
    text-decoration: none;
    padding: 0.6rem;
    font-size: 1.2rem;
    border-radius: 12px;
    color: whitesmoke;
    background-image: linear-gradient(to top, black, red);
    border: 2px solid rgb(6, 15, 9);
    outline: none
}

.card a:hover {
    border: 2px solid orange;
    color: blue;

}

.card h3 {
    font-size: 1.8rem;
    padding: 10px;
    color: rgb(64, 5, 120);
}