:root {
    --content-width: min(900px, calc(100vw - 5rem));
    --background: #F3F4F6;
    --text-color: #080809;
    --primary-color: #438f48;
    --secondary-color: #17bbc7;
    --nav-height: min(4em, 12vw);
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background-color: var(--background);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

nav {
    position: sticky;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    text-align: center;
    display: flex;
    align-items: center;
    background-color: var(--background);
    box-shadow: 0 0 3px var(--text-color);
    z-index: 100;
}

nav a {
    margin: 0 min(2em, 2vw);
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
}

.hero {
    max-height: calc(100vh - var(--nav-height));
    overflow: hidden;
    position: relative;
}

.hero img {
    margin: 0;
    padding: 0;
    width: 100%;
}

.hero h1, .hero h2 {
    position: absolute;
    right: 0;
    margin: 0;
    padding-right: 5vw;
    font-weight: bold;
    text-align: right;
    color: var(--background);
}

.hero h1 {
    top: 16vw;
    font-size: 6.5vw;
    letter-spacing: -0.09vw;
}

.hero h2 {
    top: 24vw;
    font-size: 2.15vw;
    line-height: 2.365vw;
    letter-spacing: -0.012vw;
}

.triplet {
    display: grid;
    gap: 1em;
}

.triplet .middle {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (width > 800px) {
    .triplet {
        grid-template-columns: 1.618fr 1fr;
    }
    .triplet .first {
        grid-column: 1;
        grid-row: 1;
    }
    .triplet .middle {
        grid-column: 2;
        grid-row: 1 / 3;
    }
    .triplet .last {
        grid-column: 1;
        grid-row: 2;
    }
}

.content-container {
    box-sizing: border-box;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    line-height: 1.5em;
}

section {
    width: var(--content-width);
    scroll-margin-top: var(--nav-height);
    text-align: justify;
}

section ul {
    text-align: left;
    margin: 0.4em 0;
}

section h1 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

section h2 {
    margin-bottom: 0;
    text-align: left;
    font-size: larger;
}

section p {
    margin: 0.4em 0;
}

section img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 1rem;
}

footer {
    text-align: center;
    padding: 10px 0;
    margin-top: 3rem;
    width: 100%;
    background-color: var(--primary-color);
}

.blog-preview {
    display: grid;
}

.blog-preview {
    margin-top: 2em;
}

.blog-preview a {
    text-decoration: none;
    color: var(--text-color);
}

.blog-preview h1 {
    margin-top: 0;
    padding-top: 0;
}
.blog-preview .date {
    font-size: 0.8em;
    color: gray;
}

@media (width > 800px) {
    .blog-preview {
        gap: 1em;
        grid-template-columns: 1fr 1.618fr;
    }
    .blog-preview .left {
        grid-column: 1;
        grid-row: 1;
    }
    .blog-preview .right {
        grid-column: 2;
        grid-row: 1;
    } 
}

.text-highlight {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    background-clip: text;
    color: transparent;
    font-weight: bolder;
}
<<<<<<< HEAD:public/styles.css
=======

>>>>>>> dev:styles.css
