:root {
    color-scheme: light dark;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background: #f7f7f7;
    color: #111;
}

main
{

}

#hero
{
    min-height: 80vh;
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: grid;
    align-content: center;
    gap: 1.5rem;
}

h1 {
    margin: 0;
    font-size: clamp(3rem, 4vw, 3rem);
    line-height: 1.2;
}

p {
    margin: 0;
    color: #333;
}

.muted {
    color: #666;
    font-size: 0.95rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tags span {
    border: 1px solid #d6d6d6;
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    font-size: 0.85rem;

    background-color: #f7f7f7;
}

a {
    color: #333;
    text-decoration: none;
}

a:hover
{
    font-weight: bold;
}

#socials {
    background-image: url("images/red.png");
    background-size: 100% cover;
    background-position: center 50%;
    /*background-attachment: fixed;*/
    background-repeat: repeat-y;
    
    width: 100%;
    min-height: 60vh;
}

#section {
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    min-height: 50vh;
    
    display: grid;
    align-content: center;
    gap: 1.5rem;
}

.socials {
    flex-direction: column;
    align-items: flex-start;
}

#blog {
    min-height: 80vh;
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: grid;
    align-content: center;
    gap: 1.5rem;
}

#footer {
    border-top: 1px solid #e0e0e0;
    background-color: #f7f7f7;
    padding: 2rem 1.5rem;
    font-size: 0.85rem;
}

.footer-content {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

#footer p {
    color: #666;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.project-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.project-thumb {
    display: block;
    width: 130px;
    height: 130px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #d6d6d6;
    background-color: #eaeaea;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.project-thumb:hover {
    transform: translateY(-2px);

}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-info {
    display: grid;
    gap: 0.4rem;
}

.project-info h2 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.3;
}

@media (max-width: 500px) {
    .project-card {
        flex-direction: column;
        align-items: flex-start;
    }
}