*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
body{
    background-color: rgb(245, 244, 244);
    height: 100vh;
}
header{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    padding: 15px;
    background-color: rgb(68, 109, 223);
}
header a{
    text-decoration: none;
    font-size: 1.3em;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: rgb(255, 255, 255);
    }
header a:hover{
    text-decoration: underline;
}
.pics {
    justify-content: center;
    display: flex;
    gap: 50px;
    }
.pics img{
    width: 70px;
    border-radius: 50%;
    cursor: pointer;
}
.pics img:hover{
    transform: scale(1.1);
}
.container{
    justify-content: center;
    align-items: center;
    display: flex;
}
.search{
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}
.search input{
    font-size: 20px;
    padding: 10px 5px;
    border-radius: 15px;
    border: 2px solid rgb(68, 109, 223);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.search button{
    background-color: rgb(68, 109, 223);
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 15px;
    padding: 10px;
    font-size: 21px;
    cursor: pointer;
}
.search button:hover{
    background-color: rgb(38, 73, 172);
}
.profile{
    background-color: #ffffff;
    padding: 40px;
    width: 90%;
    max-width: 600px;
    margin: 30px auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(68, 109, 223, 0.15);
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: transform 0.3s ease;
}
.profile-header {
    display: flex;
    align-items: center;
    gap: 25px;
}
.profile img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid rgb(68, 109, 223);
    object-fit: cover;
}
.user-info {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.name-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.user-info h2 {
    font-size: 24px;
    color: #2b3442;
    font-weight: 700;
}
.joined-date {
    font-size: 14px;
    color: #666;
}
.login {
    color: rgb(68, 109, 223);
    text-decoration: none;
    font-size: 16px;
    margin-top: 5px;
}
.bio {
    color: #4b5563;
    line-height: 1.6;
    font-size: 16px;
}
.stats {
    display: flex;
    justify-content: space-between;
    background-color: #f6f8ff;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.stat-item span {
    font-size: 13px;
    color: #666;
}
.stat-item strong {
    font-size: 20px;
    color: #2b3442;
}
.links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4b5563;
    font-size: 14px;
}
.link-item a {
    color: #4b5563;
    text-decoration: none;
}
.link-item a:hover {
    text-decoration: underline;
}
.first{
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.first img{
    width: 800px;
}
.first h1{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
    max-width: fit-content;
}
.how-container{
    width: 100%;
}
.code-box{
    background:#1e1e1e;
    color:rgb(68, 109, 223);
    padding:20px;
    border-radius:10px;
    margin:20px 0;
    font-family:monospace;
    white-space:pre-wrap;
}
.explain{
    background:white;
    padding:15px;
    border-radius:8px;
    box-shadow:0 3px 8px rgba(0,0,0,0.1);
    margin-bottom:20px;
    font-size:18px;
}
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    max-width: 95%;
    margin: 60px auto;
}
@media (max-width: 768px) {
    header {
        gap: 30px;
        flex-wrap: wrap;
        padding: 15px 20px;
    }
    .search {
        flex-direction: column;
        width: 90%;
        margin: 0 auto;
    }
    .search input,
    .search button {
        width: 100%;
        text-align: center;
    }
    .profile {
        padding: 25px;
        gap: 20px;
    }
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    .name-header {
        flex-direction: column;
        gap: 10px;
    }
    .stats {
        flex-direction: column;
        gap: 15px;
    }
    .links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .link-item {
        justify-content: center;
    }
    .info-grid {
        grid-template-columns: 1fr;
        width: 95%;
        gap: 30px;
    }
    .code-box {
        font-size: 13px;
        padding: 15px;
        overflow-x: auto;
    }
    .explain {
        font-size: 16px;
    }
}
footer {
    background-color: rgb(68, 109, 223);
    color: #a9b3c1;
    padding-top: 50px;
    margin-top: 60px;
}
.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-about, .footer-links {
    flex: 1;
    min-width: 220px;
    margin-bottom: 20px;
}
.footer-about h3 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 15px;
}
.footer-about p {
    line-height: 1.7;
    font-size: 14px;
    max-width: 300px;
}
.footer-links h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-links ul {
    list-style: none;
    padding: 0;
}
.footer-links ul li {
    margin-bottom: 10px;
}
.footer-links ul li a {
    color: #a9b3c1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}
.footer-links ul li a:hover {
    color: #ffffff;
}
.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    border-top: 1px solid #4b5563;
    font-size: 14px;
}
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-about p {
        margin: 0 auto;
    }
}