@import url('https://fonts.googleapis.com/css2?family=Rowdies:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?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: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    background-color: #00b4d8;
}

.user-info {
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 20px;
}

h1 {
    font-family: "Rowdies", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: #caf0f8;
}

.info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #48cae4;
    border-radius: 12px;
    padding: 14px 14px;
    border: 1px solid;
}

.details {
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 16px;
}

.userDet {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

#profilePic {
    width: 80px;
    border-radius: 100%;
    border: 2px solid #023e8a;
}

a {
    text-decoration: none;
}

h3 {
    margin-top: 5%;
    background-color: #0077b6;
    display: flex;

    justify-content: center;
    position: relative;
    padding: 5px;
    border-radius: 9px;
    color: #caf0f8;
    border: 1px solid black;
}

.about-userDet {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.addedLink:hover{
    text-decoration: underline; 
}

.about-user {
    text-align: justify;
    margin-bottom: 2%;
    background-color: #48cae4;
    padding: 14px 15px;
    border-radius: 12px;
    border: 1px solid;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-width: 100%;
}
.aboutEdits{
    display: flex;
    gap: 10px;
    justify-content: center;
}
.aboutEdits button{
    padding: 5px 20px;
    border-radius: 5px;
}

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

.search-container input::placeholder {
    text-align: center;
    color: #caf0f8;
}

.search-container input {
    border: 1px solid black;
    background-color: #0077b6;
    padding: 10px;
    border-radius: 5px;
    color: #caf0f8;
}

.search-container input:focus {
    text-align: center;
    border: none;
}

button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 20px;
    border-radius: 10px;
    transition: all ease 0.2s;
    cursor: pointer;
}
button:hover{
    transform: scaleX(1.01);
    box-shadow:0 3px black;
}
button:active{
    transform: scaleX(0.97);
    box-shadow: none;
}


.search-user {
    background-color: #048fda;
    border: 1px solid;
    font-size: 14px;
}
.view-gang{
    background-color: #caf0f8;
    border: 1px solid;
}
.view-gang a{
    width: 100%;
    color: black;
    font-size: 14px;
}
.log-out{
    background-color:#d62839;
    font-size: 14px;
    color: white;
    border: 1px solid black;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loginwall {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.wall-btn {
    display: flex;
    justify-content: center;
    gap: 0.5%;
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.wall-btn a {
    background: #4285F4;
    color: white;
    padding: 43px 20px;
    border-radius: 5px;
    text-decoration: none;
    position: relative;

}

.wall-btn h2 {
    color: #4285F4;
}

@media (max-width:495px){
    .info{
        flex-direction: column-reverse;
        gap: 15px;
        
    }
    .details{
        font-size: 13px;
        align-items: center;
        
    }
    .about-user{
        font-size: 12px;
    }
}
