@font-face {
    font-family: 'Berkeley Mono';
    src: url('../fonts/BerkeleyMono-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Berkeley Mono', 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Consolas', 'Courier New', monospace;
    background: #fafafa;
    color: #141414;
    min-height: 100dvh;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: grid;
    align-content: start;
    gap: 54px;
    padding: clamp(24px, 5vw, 40px);
}

main {
    max-width: 480px;
}

.content {
    display: grid;
    gap: 54px;
}

.job-block {
    line-height: 18px;
}

main a,
.social-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;

    &:hover {
        opacity: 0.7;
    }
}

.social-links {
    display: flex;
    gap: 2ch;
}

.home-link {
    justify-self: start;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #141414;
    color: #fafafa;
    padding: 8px;
    text-decoration: none;
    z-index: 100;

    &:focus {
        top: 0;
    }
}
