*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:  sans-serif;
    /* color: black; */
}

.wrapper{
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background-color: rgb(145, 141, 141);
    background-image: linear-gradient(to right, #434343 0%, black 100%);

}

.search-container{
    width: 50%;
    height: 10%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: white;
    box-shadow: 1px 1px 14px rgba(183, 183, 183, 0.362);
    border-radius: 14px;
}

.input-searchlogo{
    height: 80%;
    width: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-search-input{
    width: 100%;
    height: 70%;
    display: flex;
    align-items: center;
    text-align: center;
    border-radius: 8px;
    font-size: 1rem;
    border: none;
    outline: none;
    background-color: #434343;
    appearance: none;
    color: white;
    box-shadow: 1.5px 1.5px 10px rgb(0, 0, 0);
}

.profile-search-input:focus{
    border: 0.5px rgba(255, 255, 255, 0.787) solid;
}
.profile-search-input:hover{
    transform: scale(1.05);
    transition: 0.5s ease;
}



.error-div{
    width: 20%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.no-search-result{
    color: rgba(0, 0, 0, 0.536);
    text-align: center;
    font-size: 0.8rem;
    display: block;
}

.search-btn{
    width: 15%;
    height: 60%;
    border-radius: 8px;
    background-color: #434343;
    color: white;
    font-size: 1rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}


.search-btn:hover{
    transform: scale(1.1);
    transition: 0.5s ease;
}

.profile-container{
    padding-top: 15px;
    width: 50%;
    height: 65%;
    display: none;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    background-color: white;
    border-radius: 14px;
    box-shadow: 1px 1px 14px rgba(183, 183, 183, 0.362);
}

.profile-container:hover{
    box-shadow: 1px 1px 20px rgba(183, 183, 183, 0.776);
    transition: 0.5s ease-in-out;
}

.profile-container.active{
    display: flex;
}

.profile-header{
    width: 95%;
    height: 30%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border-radius: 14px;
    background-color: #818080;
    box-shadow: 1px 1px 14px rgba(0, 0, 0, 0.362);
    margin-top: -5px;
}

.profile-header>img{
    width: 15%;
    aspect-ratio: 1/1;
    border-radius: 14%;
    box-shadow: 1px 1px 15px rgba(21, 21, 21, 0.482);
}

.name-and-username{
    width: 45%;
    height: 90%;
    padding: 10px;
    display: flex; 
    flex-direction: column;
    justify-content: space-evenly;
    align-items: left;
}

.name-and-username>p{
    font-size: 2rem;
    color: rgba(220, 217, 217, 0.889);
}

.name-and-username>a{
    font-size: 1.3rem;
    color: rgb(53, 53, 53);
}

.joined-date{
    padding-right: 15px;
    text-transform: uppercase;
    font-size: 1rem;
    width: 25%;
    color: rgb(0, 0, 0);
    display: flex;
    align-items: center;
    text-align: center;
}

.profile-stats{
    width: 90%;
    height: 17%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.bio{
    height: 15%;
    width: 90%;
    border-radius: 14px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    padding-inline: 5px;
}

.stats-box{
    width: 25%;
    height: 100%;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    box-shadow: 1px 1px 14px rgba(0, 0, 0, 0.282);
}

.stats-name{
    padding-top: 10px;
    font-size: 1rem;
    text-transform: uppercase;
}

.stats-num{
    width: 50%;
    height: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.45rem;

}

.links{
    width: 90%;
    height: 30%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.linkdiv{
    width: 50%;
    height: 50%;
    display: flex;
    text-align: center;
    justify-content: space-between;
    align-items: center;
    padding: 5%;
}

.logo-links{
    width: 80%;
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
    font-size: 1.2rem;
}

.logo-links>a,p{
    font-size: 0.8rem;
    color: rgb(53, 53, 53);
}

.sitename{
    font-size: 1.1rem;
}

.linkdiv>i{
    margin-right: 5px;
    font-size: 1.5rem;
}



@media (min-width: 800px) and (max-width: 1100px){
    .search-container{
        width: 60%;
    }

    .profile-container{
        width: 60%;
    }

    .profile-header>img{
        width: 22%;
    }

    .stats-box{
        width: 30%;
    }

    .name-and-username>a{
        font-size: 1.2rem;
    }
}

@media (min-width: 500px) and (max-width: 800px){
    .search-container{
        width: 70%;
    }

    .profile-container{
        padding-top: -15px;
        width: 70%;
        justify-content: space-between;
    }

    .profile-header{
        height: 25%;
        width: 95%;
        padding-left: 5px;
    }


    .profile-header>img{
        width: 23%;
    }

    .stats-box{
        width: 30%;
    }

    .stats-name{
        font-size: 0.8rem;
    }

    .links{
        width: 90%;
        height: 30%;
    }

    .linkdiv{
        height: 25%;
        width: 60%;
    }

    .name-and-username>a{
        font-size: 1rem;
    }
}

@media (min-width: 300px) and (max-width: 500px){
    .search-container{
        width: 95%;
        height: 8%;
    }

    .input-searchlogo{
        width: 65%;
        height: 100%;
    }

    .profile-search-input{
        height: 80%;
    }

    .error-div{
        width: 10%;
    }

    .profile-container{
        padding-top: -15px;
        width: 95%;
        justify-content: space-between;
        padding-bottom: 5px;
    }

    .profile-header{
        height: 25%;
        width: 95%;
        padding-left: 5px;
    }


    .profile-header>img{
        width: 23%;
    }

    .stats-box{
        width: 30%;
        height: 95%;
    }

    .stats-name{
        font-size: 0.8rem;
    }

    .links{
        width: 90%;
        height: 30%;
    }

    .linkdiv{
        height: 25%;
        width: 80%;
    }

    .name-and-username>a{
        font-size: 1rem;
    }
}
