@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

@font-face { 
	font-family: 'Cross Stitch Cursive W95 Rg'; 
	src: url("/fonts/cross-stitch-cursive-w95-rg.ttf") format("truetype"); 
	font-weight: normal;
	font-style: normal; 
	font-display: swap; 
}

@font-face { 
	font-family: 'PF Pixelscript Pro Regular'; 
	src: url("/fonts/pf-pixelscript-pro-regular.ttf") format("truetype"); 
	font-weight: normal;
	font-style: normal; 
	font-display: swap; 
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    justify-content: left;
    align-items: center;
    position: relative;

    /* -- background -- */
    background-image: url(assets/nothingsdot2.png);
    background-repeat: repeat;
    background-attachment: fixed;
    background-color: white;

    /* -- text -- */
    font-family: 'Space Mono', monospace;
    font-size: 0.7em;
    color: black;
    line-height: 1.3em;
}

/* -- DEFAULTS -- */

* {
    box-sizing: border-box;
}

ul {
    margin: 0;
    padding-left: 20px;
}

/* -- ALL PAGES -- */

/* -- texts --*/
.all-pages-heading-title-text {
    font-family: 'Cross Stitch Cursive W95 Rg', cursive;
    font-size: 1.2em;
    z-index: 1;
}

.all-pages-go-home {
    font-family: 'Space Mono', monospace;
    font-size: 0.8em;
    color: black;
    background-color: white;
    padding: 2px 8px;
    position: relative;
    z-index: 1;
}

.all-pages-go-home-position {
    position: absolute;
    top: 0%;
    left: 0%;
}

/* -- LANDING -- */

/* -- texts --*/
.landing-title-text {
    font-family: 'Space Mono', monospace;
    font-size: 1.2em;
    color: black;
    background-color: white;
    padding: 2px 8px;
    position: relative;
    z-index: 1;
}

.landing-title-text-slightly {
    position: absolute;
    top: 25%;
    left: 8%;
    transform: rotate(8deg);
    z-index: 1;
}

.landing-title-text-burnt {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: rotate(-5deg);
    z-index: 1;
}

.landing-title-text-toast {
    position: absolute;
    top: 70%;
    left: 70%;
    transform: rotate(3deg);
    z-index: 1;
}

/* -- grid -- */
.landing-grid-container {
    display: grid;
    grid-gap: 10px;
    padding-top: 200px;
    margin: 0 auto;
    width: 460px;
    position: relative;
    grid-template:
        "desc title"
        "desc menu"
        "changelogs menu"
        / 150px 1fr;
}

.landing-grid-desc {
    grid-area: desc;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px dashed black;
    overflow-x: hidden;
    overflow-y: scroll;
    height: 320px;
    padding: 10px;
}

.landing-grid-title {
    grid-area: title;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px dashed black;
    overflow-x: hidden;
    overflow-y: hidden;
    height: 200px;
    position: relative;
}

.landing-grid-title img {
    object-fit: cover;
    position: absolute;
    top: -90%;
    left: -85%;
    transform: scale(0.7);
}

.landing-grid-changelogs {
    grid-area: changelogs;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px dashed black;
    overflow-x: hidden;
    height: 60px;
    padding: 10px;
}

.landing-grid-nav {
    grid-area: menu;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px dashed black;
    overflow-x: hidden;
    overflow-y: hidden;
    height: 180px;
    padding: 10px;
}

.menu-title {
    display: block;
    padding-top: 5px;;
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
}

.menu-items-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.menu-items-left {
    padding-top: 10px;
    padding-bottom: 20px;
}

.menu-items-right {
    padding-top: 10px;
    padding-bottom: 10px;
}

.menu-kitchen {
    display: block;
    font-size: 0.8em;
    text-align: center;
}

/* -- BLOG -- */

/* -- texts --*/
.blog-title-blog {
    font-family: 'Cross Stitch Cursive W95 Rg', cursive;
    font-size: 10em;
    color: white;
    text-shadow: 1px 1px 2px black;
    position: absolute;
    top: 52%;
    left: 70%;
    z-index: 1;
}

/* -- grid -- */
.blog-grid-container {
    display: grid;
    grid-gap: 10px;
    padding-top: 100px;
    margin: 0 auto;
    width: 700px;
    position: relative;
    grid-template:
        "header header"
        "nav content"
        "tags content"
        "footer footer"
        / 150px 1fr;
}

.blog-grid-header {
    grid-area: header;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px dashed black;
    overflow-x: hidden;
    overflow-y: hidden;
    height: 150px;
}

.landing-grid-header img {
    object-fit: cover;
    position: absolute;
}

.blog-grid-nav {
    grid-area: nav;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px dashed black;
    overflow-x: hidden;
    overflow-y: hidden;
}

.blog-grid-tags {
    grid-area: tags;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px dashed black;
    overflow-x: hidden;
    overflow-y: hidden;
}

.blog-grid-content {
    grid-area: content;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px dashed black;
    overflow-x: hidden;
    overflow-y: hidden;
}

.blog-grid-footer {
    grid-area: footer;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px dashed black;
    overflow-x: hidden;
    overflow-y: hidden;
}

/* -- GROCERY LIST PAGE -- */

.grocery-page {
    overflow-y: hidden;
}

.grocery-img {
    position: absolute;
    padding-top: 200px;
    left: 17%;
    overflow-y: hidden;
    z-index: 2;
}

.grocery-title {
    font-family: Helvetica, sans-serif;
    color: blue;
    text-align: center;
    font-size: 100px;
    letter-spacing: -0.1em;
    position: absolute;
    padding-top: 270px;
    left: 17%;
    z-index: 1;
}

/* -- 404 PAGE -- */

.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.error-title {
    font-family: Helvetica, sans-serif;
    color: blue;
    a:visited {
        color: blue;
    }
    font-size: 100px;
    letter-spacing: -0.1em;
}