*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.main{
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.secondDiv{
    display: flex;
    flex-direction: column;
    background-color: #acf4c3;
    width: 90%;
    max-width: 500px;
    padding: 20px;
    min-height: 50%;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}

.secondDivHidden{
    display: none;
}

.userInfo{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.userImg{
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.userDetail{
    font-size: 18px;
    text-align: center;
}

.userName{
    font-size: 1.5rem;
}

.userFollow{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.Follower{
    display: flex;
    width: 100%;
    justify-content: space-around;
    font-size: 16px;
}

.repo {
    font-size: 1.5rem;
    text-align: center;
}

.VisitProfile{
    background-color: rgb(60, 60, 60);
    width: 100%;
    padding: 12px;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 20px;
    text-decoration: none;
}

/* Loader stays same */
.loader {
    width: 48px;
    height: 48px;
    border: 3px solid #FFF;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
} 

.loader::after {
    content: '';  
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-bottom-color: #FF3D00;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 🔥 Mobile adjustments */
@media (max-width: 480px) {
    .secondDiv{
        width: 95%;
        padding: 15px;
    }

    .userImg{
        width: 90px;
        height: 90px;
    }

    .userName{
        font-size: 1.2rem;
    }

    .userDetail{
        font-size: 14px;
    }

    .repo{
        font-size: 1.2rem;
    }

    .VisitProile{
        font-size: 1rem;
        padding: 10px;
    }
}