/*
@font-face {
    font-family: 'Fira Code';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/firacode/v22/uU9NCBsR6Z2vfE9aq3bh0NSDulI.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
*/

:root {
    --background-color: #101211;
    --background-shadow-color: #171918;
    --text-color: white;
    --accent-color: #4d81ee;
    --accent-medium-color: #4d85ee;
}

body {
    font-family: sans-serif; /* CHANGE MAIN FONT HERE */
    font: 300;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
}

* {
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    outline: none;
    border: none;
}

h1 {
    margin: 0;
    padding-bottom: 0.5rem;
    font-size: 4.5rem;
    font-weight: 500;
    line-height: 1;
}

h3 {
    font-weight: 400;
    font-size: 2rem;
}

p {
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    size: 1.25rem;
    line-height: 1.45;
    opacity: 0.72;
}

.HFlex20 {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.Spacer4 {
    width: 0.25rem;
    height: 0.25rem;
    color: transparent;
}

.Spacer32 {
    width: 2rem;
    height: 2rem;
    color: transparent;
}

.Spacer80 {
    width: 5rem;
    height: 5rem;
    color: transparent;
}

.Spacer128 {
    width: 8rem;
    height: 8rem;
    color: transparent;
}

.HDivider {
    width: 100%;
    height: 0.0625rem;
    background-color: rgba(255, 255, 255, 0.06);
}

.TextGradient {
    display: inline;
    background-image: linear-gradient(to right, var(--text-color) 70%, var(--accent-color) 100%);
    background-clip: text;
    color: transparent;
}

.NavBarSection {  
    position: sticky;
    display: flex;
    justify-content: center;
    align-items: center;
    inset: 0rem auto auto auto;
    background-color: var(--background-color);
    height: 4.5rem;
    z-index: 2;
    margin: auto;
}

.NavBar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    padding-left: 5rem;
    padding-right: 5rem;
    height: 100%;
    max-width: 110rem;
    width: 100%;
}

.NavContentWrapper {
    display: flex;
    justify-content: left;
    align-items: center;
    flex-shrink: 1;
    column-gap: 3rem;
}

.NavSiteLogo {
    display: inline-block;
    padding-left: 0rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.NavMenu {
    display: flex;
    justify-content: left;
    align-content: stretch;
}

.NavLink {
    justify-content: left;
    align-items: center;
    align-content: center;
    margin: 0 0.125rem 0 0.125rem;
    padding: 0 0.875rem 0 0.875rem;
    min-height: 2.5rem;
    font-size: 0.9375rem;
    border-radius: 0.5rem;
    border-color: black;
}

.NavLink:hover {
    background-color: var(--background-shadow-color);
}

.ContentSection {
    padding: 8rem 5rem 8rem 5rem;
    overflow: hidden;
}

.ContentContainer {
    width: 100%;
    max-width: 100rem;
    margin-left: auto;
    margin-right: auto;
}

/* CHANGE TO FLEX INSTEAD OF GRID */
/* FIX SO THE TEMPLATE ACTUALLY HAS 1FR ON BOTH SIDES */
.AboutLayout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-gap: 5rem;
    justify-content: stretch;
    align-items: top;
}

.AboutInfo {
    display: flex;
    flex-direction: column;
    justify-content: left;
    max-width: 45rem;
    grid-column: 1;

}

.MainButton {
    display: inline-block;
    border-radius: 0.5rem;
    background-color: var(--accent-color);
    min-height: 3.5rem;
    padding: 1rem 1.75rem 1rem 1.75rem;
    font-weight: 600;
    cursor: pointer;
}

.MainButton:hover {
    opacity: 88%;
}

.MainButton:active {
    transform: scale3D(0.98, 0.98, 1);
}

.AboutImage {
    display: inline-block;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.ServicesLayout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    justify-content: left;
    align-items: stretch;
    gap: 1.25rem;
}

.ServiceGridElement {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-content: space-between;
    padding: 2.5rem;
    width: 100%;
    height: 100%;
    min-height: 100%;
    min-width: 100%;
    background-color: var(--background-shadow-color);
    border-radius: 0.75rem;
    border-color: black;
}

.ServiceElementGameDev {
    grid-row: 1 / 3;
    grid-column: 1;
}

.ServiceElementAppDev {
    grid-row: 1;
    grid-column: 2;
}

.ServiceElementWebDev {
    grid-row: 3;
    grid-column: 1;
}

.ServiceElementMarketplace {
    grid-row: 2 / 4;
    grid-column: 2;
}

.ContactLayout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 4.5rem;
    row-gap: 5rem;
}

.ContactContent {
    grid-column: 1;
}

.ContactFormWrapper {
    grid-column: 2;
    width: 100%;
    margin: 0 auto 0rem auto;
}

.ContactForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.MainFormEntry {
    padding: 1rem 1.25rem 1rem 1.25rem;
    margin: 0 0 0rem 0;
    min-height: 3.5rem;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.5;
    background-color: var(--background-shadow-color);
    border: 0.125rem solid transparent;
    border-radius: 0.5rem;
}

.FooterCopyrightLayout {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}