html, body {
    height: 100%;
    margin: 0;
    display: flex;
    background-color: #18181B;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #E4E4E7;
    overflow-x: hidden;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
}

.display {
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    background-color: #27272A;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow-y: auto;
    border: 1px solid #3F3F46;
}

.display span {
    font-size: 1.1rem;
    margin-right: 0.75rem;
    color: #A1A1AA;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #27272A;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #3F3F46;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    gap: 1.5rem;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #E4E4E7;
    transition: all 0.2s ease;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

.nav-links h3 {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    background-color: #3F3F46;
    color: #00DC82;
}

.canvas {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    padding: 2rem;
    gap: 2.5rem;
}

.content-area {
    flex: 1;
    min-width: 300px;
}

.me {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
    color: #00DC82;
}

.details {
    font-size: 0.95rem;
    color: #A1A1AA;
}

.details p {
    display: flex;
    align-items: center;
    margin: 0.75rem 0;
}

.description {
    max-width: 600px;
    line-height: 1.8;
    margin: 2rem 0;
}

.description h2 {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: #E4E4E7;
}

.description p {
    color: #A1A1AA;
    font-size: 0.95rem;
}

.link-heading {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    color: #E4E4E7;
}

.contact {
    max-width: 100%;
    margin-bottom: 2rem;
}

.contact .links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.links .link {
    display: flex;
    align-items: center;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    color: #E4E4E7;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    background-color: #3F3F46;
    border: 1px solid #52525B;
}

.links .link .logo {
    color: #00DC82;
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.links .link:hover {
    background-color: #52525B;
    border-color: #00DC82;
}

.links .link:hover .logo {
    transform: translateX(2px);
}

.blog {
    width: 100%;
    max-width: 350px;
    margin-top: 0;
}

@media (min-width: 992px) {
    .blog {
        margin-top: 3rem;
    }
}

.blog h3 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: #E4E4E7;
}

.blog .photo {
    width: 100%;
    max-width: 320px;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #3F3F46;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    animation: gradientShift 3s infinite;
}

@keyframes gradientShift {
    0% {
        background: linear-gradient(45deg, 
            #383838, #6e6e6e, #4a4a4a, #757575,
            #505050, #696969, #424242, #7a7a7a,
            #474747, #666666, #3d3d3d, #727272,
            #4d4d4d, #5f5f5f, #454545, #6b6b6b,
            #484848, #707070, #404040, #737373
        );
    }
    33% {
        background: linear-gradient(135deg,
            #4a4a4a, #757575, #383838, #6e6e6e,
            #424242, #7a7a7a, #505050, #696969,
            #3d3d3d, #727272, #474747, #666666,
            #454545, #6b6b6b, #4d4d4d, #5f5f5f,
            #404040, #737373, #484848, #707070
        );
    }
    66% {
        background: linear-gradient(225deg,
            #505050, #696969, #4a4a4a, #757575,
            #474747, #666666, #424242, #7a7a7a,
            #4d4d4d, #5f5f5f, #3d3d3d, #727272,
            #484848, #707070, #454545, #6b6b6b,
            #383838, #6e6e6e, #404040, #737373
        );
    }
    100% {
        background: linear-gradient(315deg,
            #383838, #6e6e6e, #4a4a4a, #757575,
            #505050, #696969, #424242, #7a7a7a,
            #474747, #666666, #3d3d3d, #727272,
            #4d4d4d, #5f5f5f, #454545, #6b6b6b,
            #484848, #707070, #404040, #737373
        );
    }
}

.blog .photo:hover {
    transform: translateY(-2px);
    border-color: #00DC82;
    box-shadow: 0 4px 12px rgba(0, 220, 130, 0.1);
}

.blog .text {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: #E4E4E7;
    font-size: 1.1rem;
    font-weight: 600;
    z-index: 2;
}

.blog .photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    transition: opacity 0.2s ease;
}

@media (max-width: 768px) {
    .display {
        height: auto;
        min-height: 90vh;
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .canvas {
        padding: 1.5rem;
    }
    
    .description {
        max-width: 100%;
    }
    
    .blog {
        margin: 1.5rem auto;
    }
}

@media (max-width: 480px) {
    .display {
        width: 95%;
    }
    
    .navbar {
        padding: 0.75rem;
    }
    
    .canvas {
        padding: 1rem;
    }
    
    .blog .photo {
        max-width: 100%;
    }
}