* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --background-color: #ffffff;
    --background-highlight: #000000;
    --text-color: #0000ff;
    --text-color-hover: #007bff;
}

body {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@view-transition {
    navigation: auto;
}

header {
    background-color: var(--background-color);
    border-bottom: 1px solid var(--background-highlight);
    nav {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1rem 1.5rem;
        ul {
            list-style: none;
            display: flex;
            gap: 2rem;
            a {
                text-decoration: none;
                display:block;
                color: var(--text-color);
            }
            a:hover {
                color: var(--text-color-hover);
            }
        }
        button {
            background: none;
            cursor: pointer;
            border: none;
            padding: 0.5rem 2rem;
        }
    }
}

main {
    display:flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .project-grid {
        display: flex;
        justify-content: center;
    }
    #social-links {
        display: flex;
        justify-content: center;
        padding: 2rem;
        border: 1px solid var(--background-highlight);
    }
    form {
        display: flex;
        flex-direction: column;
        border: 1px solid var(--background-highlight);
        padding: 2rem;
        gap: 0.5rem;
        width: 50vw;
        input {
            padding: 1rem;
        }
        fieldset {
            border: none;
        }
        button {
            padding: 0.5rem;
            border-radius: 0.5em;
            margin-top: 1rem;
            cursor: pointer;
            border: 1px solid var(--background-highlight);
            background-color: var(--text-color-hover);
            color: var(--background-color);
        }
    }
}

footer {
    background-color: var(--background-color);
    border: 1px solid var(--background-highlight);
    display:flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
}