@font-face {
    font-family: barcode;
    src: url(../barcode/barcode.woff);
}
@font-face {
    font-family: calculator;
    src: url(../calculator/calculator.woff);
}
@font-face {
    font-family: pixell;
    src: url(../pixell/pixell.woff);
}
body {
    margin: 0;
    background-color: white;
    font-family: courier;
}
.grid_container {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1px;
    background-color: white;
}
.grid_container a,
.grid_container h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    margin: 0;
    padding: 20px;
    font-size: 80px;
    overflow: hidden;
    transition: background-color 0.2s, color 0.2s, background-size 0.2s;
}
.grid_container h1 {
    background-color: white;
    color: black;
    font-family: courier;
    font-weight: bold;
    font-size: 34px;
    letter-spacing: 0.15em;
    line-height: 1.3;
    flex-direction: column;
}
.grid_container a[href*="calculator"] {
    background-color: #b6c89a;
    color: #1c2a16;
    font-family: calculator;
    background-image: radial-gradient(rgba(28,42,22,0.18) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
}
.grid_container a[href*="barcode"] {
    background-color: #16243f;
    color: #f4f1e8;
    font-family: barcode;
}
.grid_container a[href*="pixell"] {
    background-color: #ffb700;
    color: #3a2600;
    font-family: pixell;
    background-image:
        linear-gradient(rgba(58,38,0,0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(58,38,0,0.10) 1px, transparent 1px);
    background-size: 18px 18px;
}
.grid_container a:hover {
    background-color: white;
    color: #111111;
    background-size: 22px 22px;
}
.grid_container h1 a.portfolio_link {
    margin-top: 18px;
    padding: 0 0 3px 0;
    font-family: courier;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: black;
    background: none;
    border-bottom: 2px solid black;
    transition: color 0.2s, border-color 0.2s;
}
.grid_container h1 a.portfolio_link:hover {
    color: #ffb700;
    border-color: #ffb700;
    background: none;
}
