@font-face {
    font-family: 'VCRFont';
    src: url(../fonts/VCR_OSD_MONO_1.001.ttf) format("truetype");
}

@font-face {
    font-family: 'PixelFont';
    src: url(../fonts/C&C\ Red\ Alert\ [INET].ttf) format("truetype");
}

@font-face {
    font-family: 'ScanLineFont';
    src: url(../fonts/Workbench-Regular-VariableFont_BLED\,SCAN.ttf) format("truetype");
}

h1 {
    color: white;
    font-family: "VCRFont", sans-serif;
    font-size: 4em;
    font-weight: lighter;
}

h3 {
    color: white;
    font-family: "VCRFont", sans-serif;
    font-size: 2em;
    font-weight: lighter;
}

p1 {
    color: white;
    font-family: "PixelFont";
    font-size: 2em;
    font-weight: lighter;
}

body {
    background-color: black;
    display: flex;
    flex-direction: column;
    /* border: white .5rem solid; */
}

header {
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* border: orange .5rem solid; */
}

nav {
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    position: relative;
    margin-top: 30px;
    /* border: yellow .5rem solid */
}

main {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    background-color: rgb(88, 88, 88);
    background-size: cover;
    background-blend-mode: multiply;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgb(0, 0, 0, 0)), url(../img/abstract-geometric-background-shapes-texture.jpg);
    /* border: blue .5rem solid; */
}

/* BLOG POSTS */

#recent{
    color: white;
    font-family: "VCRFont";
    font-size: 2.5em;
    font-weight: lighter;
}

.postList{
    font-family: "PixelFont";
    font-size: 2rem;
    margin: .5rem 0rem;
}

.blogPost p{
    color: white;
    font-family: "PixelFont";
    font-size: 2rem;
    text-indent: 3rem;
}

.blogPost blockquote p{
    font-family: "ScanLineFont";
    font-size: 1.3rem;
}

/* ART GALLERY */
.gallery{
    display: flex;
    flex-wrap: wrap;
    margin-top: 3rem;
    /* border: .5rem solid orange; */
}

.frame{
    display: inline-block;
    /* border: 5px solid white; */
    margin: 10px;
    padding: 5px;
    max-width: 250px;
}

.artwork{
    width: 100%;
    height: auto;
    transition: .5s;
    cursor: pointer;
}

.artwork:hover{
    transform: scale(1.05);
}

.frame .description{
    padding: 10px;
    font-family: "PixelFont";
    font-size: 1.5em;
    color: white;
    text-align: center;
}

/* LIGHTBOX */
#lightbox {
  position: fixed;
  z-index: 1000;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .8);
  display: none;
}

#lightbox.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

#lightbox img {
  max-width: 90%;
  max-height: 80%;
  padding: 4px;
  background-color: black;
  border: 2px solid white;
}

/* WRITING */
.Scripts{
    border: 5px solid white;
    margin: 2rem;
    padding: .5rem;
}

.Scripts:hover{
    border-color: blue;
}

.Scripts:hover h3, .Scripts:hover p1{
    color: blue;
}

.ScriptLink{
    text-decoration: none;
}


/* HEADER ALLIGNMENT */

.AboveTV {
    display: flex;
    justify-content: center;
}

.TopShelf {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 40px;
}

.bookshelf img {
    height: auto;
    width: 900px;
}

#VHSPlayer {
    width: 256px;
    height: auto;
    cursor: pointer;
}

#SonyTV {
    width: 256px;
    height: auto;
    /* cursor: pointer; */
}

#BonsaiTree {
    width: 256px;
    height: auto;
}

#NeonSign {
    width: 256px;
    height: auto;
}

#GameboyAdvanceSP {
    height: auto;
    width: 80px;
    cursor: pointer;
}

.BottomShelf {
    display: flex;
    justify-content: space-evenly;
    align-items: baseline;
    position: absolute;
    top: 373px;
    left: 20px;
}

.OnShelf {
    margin: 0px 20px 0px 10px;
}

#GameCube {
    width: 128px;
    margin-left: 20px;
    cursor: pointer;
}

#PS2andPuzzle {
    width: 256px;
    cursor: pointer;
}

.VHSTapes {
    height: 180px;
    margin: 0px 8px 0px 8px;
}

.VHSTapes:hover {
    transform: scale(1.1);
    transition: 0.2s;
}

.Section1 {
    display: flex;
    flex-direction: column;
    margin: 3rem;
    width: 80vw;
    max-width: 60rem;
    /* border: red .5rem solid; */
}

.writeFooter {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 10rem;
    /* min-height: 1000px; */
    /* border: green .5rem solid; */
}

#DepthOfMind {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

@media (max-width: 600px) {
    nav {
    display: flex;
    flex-direction: column;
    max-width: 315px;
    position: relative;
    margin-top: 2rem;
    /* border: yellow .5rem solid */
    }

    h1 {
        font-size: 2.5em;
    }

    p1 {
        font-size: 1.2em;
    }

    /* BLOG */

    #recent{
        font-size: 1.3rem;
    }

    .postList{
        font-size: 1.3rem;
    }

    .blogPost p{
        font-size: 1.3rem;
        text-indent: 2rem;
    }

    .blogPost blockquote p{
        font-family: "ScanLineFont";
        font-size: 1rem;
    }

    /* ART GALLERY */
    .frame .description{
        font-size: 1.2rem;
    }
    
    .TopShelf {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 14px;
    }

    .bookshelf img {
        height: auto;
        width: 315px;
    }

    #VHSPlayer {
        width: 89.6px;
        height: auto;
    }

    #SonyTV {
        width: 89.6px;
        height: auto;
    }

    #BonsaiTree {
        width: auto;
        height: 89.6px;
    }

    #NeonSign {
        width: 89.6px;
        height: auto;
    }

    #GameboyAdvanceSP {
        height: auto;
        width: 28px;
    }

    .BottomShelf {
        display: flex;
        justify-content: space-evenly;
        align-items: baseline;
        position: absolute;
        top: 134px;
        left: 7px;
    }

    .OnShelf {
        margin: 0px 7px 0px 3.5px;
    }

    #GameCube {
        width: 44.8px;
    }

    #PS2andPuzzle {
        width: 89.6px;
    }

    .VHSTapes {
        height: 62.3px;
        margin: 0px 2.5px 0px 2.5px;
    }

    #VHSLostFlowers {
        width: 62.3px;
        height: auto;
        margin-right: 11.9px;
    }

    .VHSTapes:hover {
        transform: scale(1.1);
        transition: 0.2s;
    }

    .TVScreen {
        position: absolute;
        top: 35.4px;
        left: 137.9px;
    }

    .OnScreen {
        width: 72.8px;
        height: auto;
        position: absolute;
    }
}