:root {
    --clr-primary: #F3F3F3;
    --clr-secondary: #292728;
    --clr-tertiary: #868686;
    --clr-accent-1: #7321D7;
    --clr-accent-2: #A74482;
}

* {
    font-family: "KulimPark";
    font-weight: 400;

    /* outline: 1px solid red; */
}

html, body {
    background: var(--clr-primary);
    margin: 0px;
}

body {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
}

/* Extra Light Weight */
@font-face {
    font-family: "KulimPark";
    src: url("fonts/KulimPark-ExtraLightItalic.ttf") format("truetype");
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: "KulimPark";
    src: url("fonts/KulimPark-ExtraLight.ttf") format("truetype");
    font-weight: 200;
    font-style: normal;
}


/* Light Weight */
@font-face {
    font-family: "KulimPark";
    src: url("fonts/KulimPark-LightItalic.ttf") format("truetype");
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: "KulimPark";
    src: url("fonts/KulimPark-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

/* Regular Weight */
@font-face {
    font-family: "KulimPark";
    src: url("fonts/KulimPark-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "KulimPark";
    src: url("fonts/KulimPark-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

/* SemiBold Weight */
@font-face {
    font-family: "KulimPark";
    src: url("fonts/KulimPark-SemiBoldItalic.ttf") format("truetype");
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: "KulimPark";
    src: url("fonts/KulimPark-SemiBold.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

/* Bold Weight */
@font-face {
    font-family: "KulimPark";
    src: url("fonts/KulimPark-BoldItalic.ttf") format("truetype");
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: "KulimPark";
    src: url("fonts/KulimPark-Bold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

a.reset-a,
a.reset-a:hover,
a.reset-a:active,
a.reset-a:visited
{
    color: var(--clr-secondary);
    text-decoration: none;
    outline: none;
}

.hidden, .hidden2 {
    display: None;
}

.content-layout {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-container {
    flex-grow: 1;
    width: clamp(300px, 80%, 1100px);
}

.nav-bar {
    display: grid;

    background: var(--clr-primary);
    grid-template-columns: 165px 1fr;
    grid-template-rows: 60px;
    height: fit-content;
    padding: 5px 0px;
    grid-gap: 40px;

    margin-bottom: 10px;

    align-items: center;
}

.main-logo {
    /* background: red; */
    --padding-offset: 3px;

    display: flex;
    justify-items: center;
    width: fit-content;

    text-decoration: none;
    color: none;
    display: flex;

    padding: calc(15px - var(--padding-offset)) 0px calc(15px + var(--padding-offset)) 0px;
}

.logo {
    vertical-align: center;
    user-select: none;
    font-size: 20pt;
}

.logo-clr-accent-1 {
    color: var(--clr-accent-1);
}

.logo-clr-secondary {
    color: var(--clr-secondary);
}

.logo-clr-primary {
    color: var(--clr-primary);
}

.search-bar {
    --search-bar-height: 32px;
    width: min(100%, 550px);
    height: var(--search-bar-height);
    border-radius: 14px;

    outline: 1px solid var(--clr-secondary);

    display: grid;
    padding: 0px 15px;
    box-sizing: border-box;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-self: right;
}

.search-text {
    color: var(--clr-accent-1);
    width: 100%;
    height: 100%;

    position: relative;
    display: flex;
    align-items: center;

    font-weight: 200;
    font-size: 12px;
    --approx-height: 14px;
    padding: calc((var(--search-bar-height) - var(--approx-height)) / 2) 0px;
    padding-left: 15px;

    box-sizing: content-box;
    white-space: nowrap;
    overflow: hidden;
}

.search-text:empty::before {
    content: attr(data-placeholder);
    pointer-events: none;
    color: var(--clr-tertiary);

    top: 50%;
    left: 10%;
}

.search-text:focus:empty::before {
    content: none;
}

.search-text:focus {
    outline: none;
}

.search-icon-stack {
    position: relative;
    --search-icon-len: 20px;

    width: var(--search-icon-len);
    height: var(--search-icon-len);
}

.child-icon {
    position: absolute;
    width: 100%;
}

footer {
    position: sticky;
    width: 100%;
    background-color: var(--clr-secondary);
}

@media (max-width: 700px) {
    .content-container {
        flex-grow: 1;
        width: clamp(200px, 95vw, 1100px);
    }
}
