/*TEXT*/

h1 {
    font-family: "Astloch", system-ui;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    margin: auto;
}

h2 {
    font-family: "Astloch", serif;
    font-weight: 600;
    font-style: normal;
    text-align: center;
    margin: auto;
}

h3 {
    font-family: "IM Fell English", serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    margin: auto;
}

p {
    font-family: "Ledger", serif;
    font-weight: 400;
    font-style: normal; 
}


/*LINKS*/

a {
    text-decoration: none;
    color: #F6F4F1;
}

ul {
    list-style: none;
}

.li-text {
    filter: drop-shadow(0 0 3px #422113);
}


/*FOUNDATION*/

html, body {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 5% auto 5%;
    grid-template-areas: 
        "head"
        "main"
        "foot";
    gap: 0;
    height: 100vh;
    width: 100vw;
    background-color: #F0DDC4;
    margin: auto;
    padding: 0;
    background-image: radial-gradient(circle, rgba(166, 91, 59, 0.2) 1.2px, transparent 1.2px);
    background-size: 15px 15px;
    overflow: hidden;
}


/*HEADER STYLING*/

header {
    grid-area: head;
    width: 100%;
    height: 100%;
    margin: auto;
    margin-top: 20px;
    background-image: linear-gradient(to right, rgba(255, 0, 0, 0), rgba(240, 221, 196, 1), rgba(255, 0, 0, 0));
    padding: 10px;
}

.grid-logo {
    width: 100%;
    text-align: center;
}

.grid-logo a {
    color: #422113;
    filter: unset;
}

#site-message {
    width: 100%;
    margin: auto;
    text-align: center;
    font-size: 8pt;
    color: #A65B3B;
}

/*MAIN STYLING*/

main {
    display: block;
    grid-area: main;
    height: 100%;
    place-content: center;
    overflow-y: scroll;
}

main::-webkit-scrollbar {
  display: none;
}


#main-grid {
    display: grid;
    margin: auto;
    padding: 0;
    height: 50vh;
    min-height: 500px;
    width: 80vw;
    max-width: 1200px;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 20px;
    grid-template-areas: 
        "a a a a b"
        "a a a a x"
        "d e z g g"
        "d f z g g";
}  

.grid-item {
    width: 100%;
    height: auto;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
}

.grid-item-img {
    height: auto;
    max-height: 400px;
    width: 100%;
    z-index: 1;
    opacity: 100;
}

.grid-item-text {
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #422113;
    opacity: 0;
}

.grid-item-text:hover {
    opacity: 100;
}

#work-text {
    top: 20%;
    left: 70%;
}

#work-img {
    max-width: 650px;
    min-width: 100%;
    margin-left: -30px;
}

#about-text {
    top: 55%;
    left: 20%;
}

#about-img {
    max-height: 320px;
    width: auto;
    margin-left: 50px;
}

.item-work {
    grid-area: a;
    max-width: 700px;
    margin: auto;
}

.item-about {
    grid-area: g;
    max-width: 250px;
    margin: auto;
}

.item-rift {
    grid-area: b;
    visibility: hidden;
}

.item-contact {
    grid-area: d;
    visibility: hidden;
}

.item-garden {
    grid-area: e;
    visibility: hidden;
}

.item-shrines {
    grid-area: f;
    visibility: hidden;
}

/*PORTFOLIO*/

.pf-grid {
    display: grid;
    margin: auto;
    padding: 0;
    height: 60vh;
    min-height: 500px;
    width: 80vw;
    max-width: 1000px;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 50px repeat(4, 1fr);
    gap: 30px;
    grid-template-areas:
        "bb bb bb bb"
        "tl tm tm tr"
        "tl mm mr mr"
        "bl bl mr mr"
        "bl bl br br";
}

.button-row {
    grid-area: bb;
    width: 100px;
    margin: auto;
    padding: 0;
}

.back-button {
    display: flex;
    margin: auto;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 5px;
    border: medium double #A65B3B;
    border-radius: 5%;
    corner-shape: notch;
    background-color: #F6F4F1;
    color: #422113;
}

.pf-item {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 3px;
    filter: drop-shadow(0 0 2px rgba(166, 91, 59, 0.5));
    margin: auto;
}

.pf-item:hover {
    filter: drop-shadow(0 0 2px rgba(166, 91, 59, 1));
    scale: 102%;
}

.plus {
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #f6f4f1;
    filter: drop-shadow(0 0 2px rgba(66, 33, 19, 1));
    font-size: x-large;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
}

.pf-img {
    z-index: 1;
}

.plus:hover {
    opacity: 100;
}

#arrow {
    grid-area: tl;
}

#nitw {
    grid-area: mr;
}

#brew {
    grid-area: mm;
}

#fir {
    grid-area: br;
}

#doll {
    grid-area: bl;
}

#woman {
    grid-area: tr;
}

#tree {
    grid-area: tm;
}


/*IMAGE PAGES*/

.grid {
    display: grid;
    margin: auto;
    padding: 0;
    height: 90%;
    min-height: 500px;
    width: 80vw;
    max-width: 1000px;
    
}

.full-img-wrap {
    width: 100%;
    height: 100%;
    overflow: visible;
    margin: auto;
    justify-content: center;
    align-items: center;
}

.full-img {
    width: 100%;
    height: auto;
    max-height: 1000px;
    border-radius: 3px;
    filter: drop-shadow(0 0 2px rgba(166, 91, 59, 0.5));
    margin-top: 30px;
}


/*ABOUT PAGE*/

.pfp {
    display: block;
    width: 60vw;
    max-width: 700px;
    margin: auto;
}

.pfp img {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 3px;
}

.about-me {
    width: 100%;
    color: #422113;
}

.about-me h3 {
    color: #A65B3B;
    font-style: italic;
}


/*FOOTER STYLING*/

footer {
    grid-area: foot;
    color: #A65B3B;
    font-size: max(7pt, 0.5vw);
    text-align: center;
    place-self: end center;
}

