*{
    margin: 0;
    box-sizing: border-box;
}
body{
    display:flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
     font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-style: normal;
    min-height: 100dvh;
}
.main{
    min-height: 500px;
    width: 450px;
    display: flex;
    padding: 15px;
    flex-direction: column;
    justify-content: space-around;
    border-radius: 10px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(51, 65, 85, 0.5);

}
.top-section{
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
 
}
.image-bg {
    height: 120px;
    width: 120px;
    border-radius: 50%;
    background-color: #a5a7ad;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0; 
}

.profile-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.profile-image:hover{
    transform: scale(1.1);
    transition: transform 0.3s ease;
}
.info{
    display: flex;
    flex-direction: column;
    gap: 7px;
}
a:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
  border-radius: 4px;
}

.social-icons li a:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 4px;
}
h4{
    font-weight: 500;
}
h2{
    font-weight: 500;

}
.top-section h3, p{
    font-weight: 400;
    font-size: small;
}
.top-section h3{
    color: #64748b;
}
.bottom-section{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-top: 15px;

}
section{
    border-radius: 10px;
    width: 50%;
}
.hobbies{
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    padding-top: 40px;
    padding-bottom: 40px;
}
.hobbies li{
    font-size: small;
}
.social-icons{
    display: flex;
}
.icon{
    width: 48px;
}
.icon:hover{
    transform: scale(1.2);
    transition: transform 0.3s ease;
}
.vl{
    border-left: 2px solid rgba(148, 163, 184, 0.4);
    height: 40px;
}
ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
@media (max-width: 520px) {
    body{
        padding: 20px;
    }
    .main{
        width: 100%;
        height: auto;
    }
    .bottom-section{
        flex-direction: column;
        gap: 20px;
    }
    .top-section{
        flex-direction: column;
        gap: 20px;
    }
    section{
        width: 100%;
    }
    .icon{
        width: 36px;
    }
}