* { /* overrides default values */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    image-rendering: pixelated;
}
@font-face {
    font-family: 'internerd';
    src: url(fonts/Internerd.ttf);
}
@font-face {
    font-family: 'slapandcrumbly';
    src: url(fonts/SlapAndCrumbly.ttf);
    }
/* text styling */
h2 {
    font-family: 'ms ui gothic';
    font-size: 11px;
    line-height: -2px;
    letter-spacing: 0px;
    word-spacing: 1px;
    padding-bottom: 5px;
}
section p, a, ul, li{
    font-family: "ms ui gothic";
    font-size: 12px; line-height: 14px;
    letter-spacing: 0px;
    word-spacing: 1px; 
}
    a {
        text-decoration-line: underline;
        text-decoration-style: dotted;
    }

    h1 {
        font-family: 'internerd';
        font-size: 100px; font-weight: 100;
    }

.fieldrow-text {
    padding-bottom: 10px;
}
#home-wrapper {
    max-width: 950px;
    margin: auto;
}

body {
    background: url(images/bg-tile.gif); 
    animation: slide 3s linear infinite;
}
/* this animates the background top left to bottom right by moving it diagonally using img dimensions */
@keyframes slide { 
    0% {
        background-position: -71px -71px;
    }
    100% {
        background-position: 71px 71px;
    }
}

section { /*this is for the inset text area*/
    background: #fff;
    box-shadow: inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a;
    display: block;
    margin: 0;
    padding: 12px;
}
.home{
    position: relative;
}
    a.home img:hover{
        transform: rotate(10deg);
    }

/* HOMEPAGE */
    .main-grid { /* all windows */
        display: grid;
        max-width: 100%;
        margin: 5rem 0 0;
        gap: 0.5rem;

        grid-template-columns: 155px 501px 275px;
        grid-template-rows: 0px 178px 170px 180px 105px 100px;
        grid-template-areas:
      'deco deco deco'
      '.   main   status' 
      'calendar main   todo  ' 
      'nav main   todo  '
      '. . .'
      'stamps  stamps stamps';
    } 
        #index-iframe {
            grid-area: main;
            width: 505px; height: 657px;
            border: none; overflow-x: hidden;
            -ms-overflow-style: none;  /* IE and Edge */
            scrollbar-width: none;  /* Firefox */
        }
        #index-iframe::-webkit-scrollbar {
            display: none;
          }

    #nav { /*navigation */
        grid-area: nav;
        width: 155px;
        align-self: start;
        z-index: 1;
    }
        .nav-menu {
            display: grid;
            grid-template-areas: 
            'menu menu menu menu'
            'address address address address';
        }
            .nav-menu div {
                display: flex; 
                flex-direction: row; 
                justify-content: center; 
                align-items: center;
                column-gap: 6px;
            }
            .nav-tools {
                grid-area: menu;
            }
        .nav-index {
            display: grid;
            height: 100%;
            padding: 2px;
        }
            #nav > .window-body {
                margin: 2px 0 0 0;
            }

        #nav-list > li > a:hover, #nav-list > li > ul > li > a:hover {
            text-decoration: underline;
        }

    #status { /* music player window */
        grid-area: status;
        width: 275px; height: 178px;
        justify-self: start;
    }
        .music-menu {
            padding: 4px 0 0 0;
            margin: 0 6px;
        }
        .music-menu span {
            padding: 0; padding-right: 6px;
        }
        .mcontainer {
            margin: 0 6px;
            display: grid;
            grid-template-columns: 2fr 1fr;
            column-gap: 10px;
            padding-top: 8px; padding-bottom: 6px;
        }
        #duration-container {
            border-top: 1px solid gray; border-left: 1px solid gray;
            border-bottom: 1px solid white; border-right: 1px solid white;
            box-shadow: inset -1px -1px lightgrey;
            background-color: black;
            height: 100%;
            color: olive; font-size: 20px; text-align: center; padding: 12px 0;
            display: inline-block;
        }
            .button-grid {
                display: grid;
                grid-template-columns: 23px 23px 23px 23px 23px;
                row-gap: 6px;
                grid-template-areas:
                'play play play pause stop'
                'skipback back next skipnext eject';
            }
            .button-grid button {
                display: inline-block;
                min-width: 5px; width: 23px;
                min-height: 5px; height: 22px;
                padding: 0;
            }
        .info-container {
            display: grid;
            grid-template-columns: 1fr 9fr;
            row-gap: 4px;
            margin: 0 6px;
        }
            .info-container label {
                justify-self: end; 
                padding-right: 4px;
            }
    .todo {
        grid-area: todo;
    }
    #todo {
        background: url("images/paper.png") no-repeat;
        background-size: contain; overflow: hidden;
    }
        .todo-text {
            padding: 53px 30px;
            line-height: 20px;
        }
            .todo-text p {
                font-family: garamond; font-size: 12px;
                padding-left: 25px; letter-spacing: 0.5px;
            }
            .todo-text h2 {
                font-family: garamond; font-size: 11px;
                padding-bottom: 0;
            }

    #stampwall {
        grid-area: stamps;
        width: 75%; height: 100%;
        display: flex;
        flex-flow: row wrap; gap: 5px 14px;
        /* overflow-y: scroll; */
    }
        #stamp img {
            display: inline-block;
        }

    #calendar > script {
        grid-area: calendar;
        height: fit-content; width: 155px;
    }
/* ABOUT ME ----------------------------------------------------------------------------------- */

#abt-wrapper {
    margin: auto;
    width: 940px; height: 646px;
}

#abt-grid { /* all windows */
    display: grid;
    grid-template-rows: 226px 335px 85px 0px 0px 0px 0px;
    grid-template-columns: 51px 476px 400px; column-gap: 6px;
    grid-template-areas:
    '. paint tidbits'
    'faq color .';
    margin: 9rem 0 0;
    height: 632px;
} 
    #mspaint {
        width: 475px; height: 418px;
        grid-area: paint;
    }
        #mspaint > .window-body > .paint-menu > span {
            padding: 4px;
        }
        .paint-body {
            display: grid;
            grid-template-columns: 55px 3fr;
            grid-template-areas: 
            'buttons canvas';
        }
            .paint-buttons {
                display: flex;
                flex-flow: row wrap;
                grid-area: buttons;
                padding: 0px 2px 6px 6px;
                margin-left: 1px;
                border-top: 1px solid gray; border-bottom: 1px solid white;
                box-shadow: inset 0px 1px #fff, inset 0px -1px gray;
                align-content: flex-start;
                
            }
                .paint-buttons button {
                    display: inline-block;
                    min-width: 5px; width: 22px;
                    min-height: 5px; height: 22px;
                    padding: 0;
                    box-shadow: inset -1px -1px #0a0a0a,inset 1px 1px #fff,inset -2px -2px grey;
                }
            .brush {
                border-top: 1px solid gray; border-left: 1px solid gray;
                border-right: 1px solid white; border-bottom: 1px solid white;
                height: 70px;
                width: 42px;
                margin-left: 1px; margin-top: 6px;
            }
            .canvas {
                grid-area: canvas;
                display: block;
                height: 300px;
                margin-right: 2px;
                overflow-y: scroll;
            }
            #mspaint > img {
                margin: 8px 0px 8px 2px;
            }
            #mspaint ul, .tidbits ul {
                list-style-image: url(images/bparrow.gif);
                line-height: 16px;
            }
            #mspaint li, .tidbits li { 
                padding-bottom: 8px;
            }

    #colorpicker {
        width: 445px; height: 327px;
        grid-area: color;
        position: relative;
        left: 275px; top: 8px;
        z-index: -1;
    }
        #colorpicker > .window-body {
            display: grid;
            grid-template-columns: 205px 222px;
            grid-template-areas: 'color1 color2';
            margin: 6px; margin-top: 8px;
        }
        .color1 {
            grid-area: color1;
        }
        .color2 {
            grid-area: color2;
            padding-left: 12px;
            display: flex; flex-flow: row wrap;
            align-content: flex-start;
        }
        #basiccolors, #customcolors {
            display: flex;
            flex-flow: row wrap;
            gap: 5px; padding: 6px 4px;
        }
            #basiccolors div, #customcolors div {
                box-shadow: inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a;
                display: inline-block; height: 17px; width: 20px; background-color: white;
            }
        #color2-grid {
            display: grid;
            grid-template-columns: 63px 65px 75px;
            grid-template-areas:
            'solid col1 col2';
            margin-top: 8px; justify-items: end;
        }
            #color2-grid input {
                width: 27px; margin-left: 2px;
            }
    .buttonwall {
        position: relative;
        top: 570px; left: 332px;
        display: flex; flex-flow: row wrap;
        width: 450px; height: 75px;
        row-gap: 4px; column-gap: 6px;
        align-items: flex-start;
        align-content: flex-start;
    }
        .buttonwall img{
            width: 88px;
        }
    .faq {
        grid-area: faq;
        width: 325px; height: 275px;
        position: relative;
        top: 145px;
    }

    .tidbits {
        position: relative;
        grid-area: tidbits;
        width: 400px;
        height: 226px;
    }
        .tidbits > .window-body > section {
            display: flex;
            flex-flow: row nowrap;
            column-gap: 5px;
            height: 180px;
        }    
        
    .homebtn {
        display: flex;
        gap: 15px;
        position: relative;
        height: 68px;
        width: 175px;
        bottom: 315px;
        right: 200px;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
    }

/* CAT LOG ----------------------------------------------------------------------------------- */

.wrapper-cat {
    margin: auto;
    width: fit-content;
}
.cat-grid {
    display: grid;
    grid-template-columns: 400px 500px;
    grid-template-rows: 460px 600px;
    gap: 10px;
    grid-template-areas: 
    'card logbox'
    'gallery gallery';
}
    .card {
        grid-area: card;
        background: url(assets/catcard.png) no-repeat; 
        background-size: contain;
    }
    .logbox {
        grid-area: logbox;
    }
        .logentry {
            background: url(assets/catmsg.png) no-repeat;
            background-size: contain;
            height: 150px;
        }
    .gallery {
        grid-area: gallery;
        background-color: green;

        display: flex;
        flex-flow: row wrap;
    }