/* style  */

body {
    font-size: 1.125rem;
    margin: 0;
    background-image: url("png/grassPattern.png");
    background-repeat: repeat;
    background-position-x: 50%;
    /* font-family: "Ubuntu", sans-serif; */
    font-family: "Comic Sans MS", "Comic Sans";
}
.imageLink {
    height: 130px;
    /* display:inline-block; */
    /* border: 32px solid black; */
    /* width:100%;
	height:100%; */
}
.iframePadding {
    padding-bottom: 3rem;
    /* border: red solid 4px; */
}
.preloadedImages {
    width: 0px;
    height: 0px;
    display: inline;
    background-image: url();
}

.hiddenImage {
    vertical-align: top;
    width: 1px;
    opacity: 0;
    padding: 0;
}

/* typography */
h1 {
    font-size: 3rem;
    color: #f9e0db;
}

h2 {
    font-size: 1.5rem;
}

p {
    padding: 1rem;
    margin-top: 0;
    margin-bottom: 0;
    color: #f9e0db;
}

.centered {
    text-align: center;
    width: fit-content;
    margin: 0 auto;
}

/* buttons */

.navList {
    max-width: 70%;
    margin: 0 auto;
    list-style: none;
    display: flex;
    /* align-self: center;
	justify-content: center; */
}

.navListItem {
    flex-grow: 1;
    text-align: center;
}

.navLink {
    /* border: dashed red 2px; */
    text-decoration: none;
    color: #f9e0db;
    font-weight: 700;
    padding: 0 0;
    padding-bottom: 0;
}

.navLink:hover,
.navLink:focus {
    color: #e7a5bc;
}

.currentPage {
    border-bottom: 1px solid #f9e0db;
}

.currentPage:focus,
.currentPage:hover {
    color: #f9e0db;
}

/*/////////// layout  ///////////*/

.container {
    z-index: 0;
    padding: 1rem;
    width: 95%;
    max-width: 980px;
    margin: 0 auto;
}

img {
    max-width: 100%;
}

.navbar {
    /* margin:  0 auto; */
    margin-bottom: 1rem;
}

.mainGrid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    grid-auto-rows: minmax(30px, auto);
    margin: 0.5rem;
    margin-bottom: 0;
}

.toolBar {
    display: flex;
    justify-content: center;
}

.toolIcon {
    flex-grow: 0;
    border: 6px solid black;
    border-image: url("png/toolBorder.png") 33% fill;
    max-width: 100%;
}

/* GRID MAIN */
.box_1 {
    grid-column: 2 / 7;
    grid-row: 1;
}

.box_2 {
    grid-column: 2 / 7;
    grid-row: 2 / 8;
}
/* .farmGame_paddock {
	margin:0 auto;
} */
.box_3 {
    grid-column: 6 / 8;
    grid-row: 2 / 4;
}

.box_4 {
    grid-column: 1 / 8;
    grid-row: 2;
}

.box_5 {
    grid-column: 6 / 8;
    grid-row: 7;
}

.box_6 {
    margin-top: 10%;
    grid-column: 6/7;
    grid-row: 4/7;
    /* border: 2px solid magenta; */
}

.box_7 {
    /* margin: auto auto; */
    margin-top: 10%;
    grid-column: 7/8;
    grid-row: 4/7;
    /* border: 2px solid magenta; */
}

.fencedIn {
    border: 32px solid black;
    border-image: url("png/paddockTiles_v04.png") 33% round;
}

#fencePad {
    padding: 0px;
}

.fencePadding {
    display: block;
    /* padding: 0; */
    border: 32px solid black;
    border-image: url("png/grassTiles_v01.png") 33% round;
}
.dirtPath {
    background-image: url("png/dirtBackground_v01.png");
    background-repeat: repeat;
}
.headerImg {
    margin-bottom: 0;
    margin: 0 auto;
}

.farmGame_grass {
    margin: auto;
    padding: 0.15rem;
}

/* portfolio */

.gridWrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* grid-template-rows: repeat(3, 1fr); */
    /* grid-template-rows: 500px; */
    gap: 0%;
    grid-auto-rows: minmax(auto, auto);

    margin: 0.5rem;
    margin-bottom: 0;
}

.flatWrapper {
    display: block;

    margin-bottom: 0;
    height: 500px;
}

.gridItem {
    border: 32px solid black;
    border-image: url("png/dirtHoleTile_v01.png") 33% round;
    height: calc(100% - 64px);
    width: calc(100% - 64px);
    margin-bottom: 0;
    padding-bottom: 3px;
    /* height:calc(100% - 32px); */
    /* margin-bottom: 36px; */
    margin-top: 0;
}

.sixteenNine {
    padding-bottom: calc(12 / 16 * 100% - 64px);
}

.one {
    /* grid-column: 1/7; */
    /* padding-bottom: calc(4/16 * 100% - 64px); */
    /* background-color:pink; */
}
.two {
    /* background-color:pink; */
}
.three {
    /* background-color:pink; */
    /* grid-column: 1; */
    /* grid-row: 2 / 5; */
}
.four {
    /* background-color:pink; */
    /* grid-column: 3; */
    /* grid-row: 1/2; */
}
.five {
    /* background-color:pink; */
    /* grid-column: 2/3; */
    /* grid-row: 2/5; */
}
.six {
    /* background-color:pink; */
    /* grid-column: 3; */
    /* grid-row: 2/5; */
}

.seven {
    background-color: pink;
    grid-column: 1/4;
    /* grid-row: 5; */
    /* padding-bottom: calc(3/16 * 100%); */
    max-height: 80px;
    margin-bottom: 0;
}

#invisibleImage {
    vertical-align: top;
    width: 100%; /* max width */
    opacity: 0; /* make it transparent */
    padding: 0;
}

.film_yfia {
    background: url("png/films/yfia.png") 50% / 100%;
}

.film_yfia:hover {
    background-image: url("gif/films/yfia_small_long.gif");
}

.film_flower {
    background: url("png/films/flowerStory_v04.png") 50% / 100%;
}

.film_flower:hover {
    background-image: url("gif/films/flowerStory_v04_small.gif");
}

.film_code {
    background: url("png/films/sitmTrailer_IG_v1.png") 50% / 100%;
}

.film_code:hover {
    background-image: url("gif/films/sitmTrailer_IG_v1_small.gif");
}

.film_gba {
    background: url("png/films/eyesLikeTexas.png") 50% / 100%;
}

.film_gba:hover {
    background-image: url("gif/films/eyesLikeTexas_small.gif");
}

.film_ladyArt {
    background: url("png/films/ladyArt.png");
    background-size: 10%;
    /* background-position: 0 320px; */
}

.film_ladyArt:hover {
    background-image: url("gif/films/ladyArt_small.gif");
    /* background-position: 0 320px; */
}

.film_portrait {
    background: url("png/films/selfPortrait_02.png") 50% / 100%;
}

.film_portrait:hover {
    background-image: url("gif/films/selfPortrait_02_small.gif");
}

.film_titmouse {
    background: url("png/films/titmouseChirp.png") 50% / 100%;
}
.film_titmouse:hover {
    background-image: url("gif/films/titmouseChirp_small.gif");
}

.img-film {
    /* float: left; */
    /* width: 100%;
	height: 100%; */
    /* background:url("png/films/yfia.png") 50% / 100%	; */
    background-size: 130%;
    background-repeat: no-repeat;
}

#portfolio_1 {
    background-size: 200%;
    background-color: #eecdd1;
}
#portfolio_2 {
    background-size: 150%;
    background-repeat: repeat;
}
#portfolio_3 {
    background-color: #cea3aa;
}
#portfolio_4 {
    background-size: 120%;
    background-color: #ead7df;
}
#portfolio_5 {
    background-color: #000;
    background-size: 170%;
}
#portfolio_6 {
    background-color: #e3c3c8;
}

#portfolio_7 {
    background-position-y: 80px;
    background-size: 50%;
    background-repeat: repeat;
}

.img-film:hover {
    /* background-size: 100%; */
}

/* ///////// MEDIA /////////// */

/* embed */

iframe {
    margin: auto auto;
    padding-top: 0;
    /* margin-bottom: 64px; */

    max-width: 640px;
    width: 100%;
    max-height: 320px;
    display: block;
}

/* canvas */

#myCanvas {
    display: none;
    z-index: 1;
    top: 0;
    left: 0;
    position: fixed;
    pointer-events: none;

    /* image-rendering: optimizeSpeed;
	image-rendering: -moz-crisp-edges;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: -o-crisp-edges;
	image-rendering: optimize-contrast;
	-ms-interpolation-mode: nearest-neighbor; */
}

/* MARQUEE */

.marquee {
    width: 234px;
    margin: 0 auto;
    overflow: hidden;
    box-sizing: border-box;
    padding-top: 6px;
    padding-bottom: 6px;
    margin-bottom: 32px;
}

#marqueeText {
    color: #cea3aa;
}

.marquee span {
    display: inline-block;
    width: max-content;
    padding-left: 100%;
    /* show the marquee just outside the paragraph */
    will-change: transform;
    animation: marquee 16s linear infinite;
}
.marquee span:hover {
    animation-play-state: paused;
}
@keyframes marquee {
    0% {
        transform: translate(10%, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}
/* Respect user preferences about animations */
@media (prefers-reduced-motion: reduce) {
    .marquee span {
        animation-iteration-count: 1;
        animation-duration: 0.01;
        width: auto;
        padding-left: 0;
    }
}
/* @media (max-width: 900px) { */
@media (max-width: 1050px) {
    body {
        padding-bottom: 250px;
    }
    #navId {
        max-width: 50%;
    }
    .mainGrid {
        gap: 0;
    }
    .container {
        max-width: 100%;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }
    .box_1 {
        grid-column: 1 / 8;
        grid-row: 1;
    }
    .box_2 {
        grid-column: 1 / 8;
        grid-row: 3;
    }
    .box_3 {
        grid-column: 1 / 8;
        grid-row: 2;
    }

    .box_5 {
        margin: auto auto;
        grid-column: 7/8;
        grid-row: 2;
    }

    .box_6 {
        /* margin: auto auto; */
        grid-column: 2/3;
        grid-row: 2;
    }

    .box_7 {
        /* margin: auto auto; */
        grid-column: 6/7;
        grid-row: 2;
    }

    .toolBar {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-content: space-between;
    }

    .toolIcon {
        max-width: 32px;
    }
    .farmGame_grass {
        margin: auto auto;
        padding: 1em;
        padding-bottom: 2em;
    }

    .gridWrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5%;
        grid-auto-rows: minmax(30px, auto);
        margin: 0.5rem;
        margin-bottom: 0;
    }

    .img-film {
        /* float: left; */
        /* width: 100%;
		height: 100%; */
        /* background:url("png/films/yfia.png") 50% / 100%	; */
        background-size: 120%;
    }

    .img-film:hover {
        background-size: 120%;
    }

    .one {
        background-color: pink;
        grid-row: 1;
        grid-column: 1/3;
        padding: 0;
        padding-bottom: calc(8 / 16 * 100% - 64px);
        margin-bottom: 1rem;
    }
    .two {
        background-color: pink;
        grid-row: 2;
        grid-column: auto;
        /* padding-bottom: calc(9/16 * 100% - 64px); */
    }
    .three {
        background-color: pink;
        grid-row: 3;
        grid-column: auto;
        /* padding-bottom: calc(9/16 * 100% - 64px); */
    }
    .four {
        background-color: pink;
        grid-row: 2;
        grid-column: auto;
        /* padding-bottom: calc(9/16 * 100% - 64px); */
    }
    .five {
        background-color: pink;
        grid-row: 3;
        grid-column: auto;
        /* padding-bottom: calc(9/16 * 100% - 64px); */
    }
    .six {
        background-color: pink;
        grid-row: 4;
        grid-column: auto;
        /* padding-bottom: calc(9/16 * 100% - 64px); */
    }

    .seven {
        background-color: pink;
        grid-row: 4;
        grid-column: auto;
    }

    .film_yfia {
        background: url("gif/films/yfia_small_long.gif") 50% / 100%;
        background-repeat: no-repeat;
    }

    .film_flower {
        background: url("gif/films/flowerStory_v04_small.gif") 50% / 100%;
        background-repeat: no-repeat;
    }

    .film_code {
        background: url("gif/films/sitmTrailer_IG_v1_small.gif") 50% / 100%;
        background-repeat: no-repeat;
    }

    .film_gba {
        background: url("gif/films/eyesLikeTexas_small.gif") 50% / 100%;
        background-repeat: no-repeat;
    }

    .film_ladyArt {
        background: url("gif/films/ladyArt_small.gif");
        /* background-position: 0 320px; */
        background-repeat: no-repeat;
    }

    .film_portrait {
        background: url("gif/films/selfPortrait_02_small.gif") 50% / 100%;
        background-repeat: no-repeat;
    }

    .film_titmouse {
        background: url("gif/films/titmouseChirp_small.gif") 50% / 100%;
        background-repeat: no-repeat;
    }
    .dirtPath {
        padding-bottom: 8px;
    }

    .imageLink {
        height: 300px;
    }
    .gridItem {
        /* border: none;
		padding-bottom: 1.5em;
		*/
        margin-top: 1rem;
        margin-bottom: 2rem;
        /* height:auto; */
        /* height:calc(9/16 * 400px - 64px); */
        padding-bottom: calc(9 / 16 * 100% - 64px);
    }
}

@media (max-width: 1050px) {
    .headerImg {
        max-width: 95%;
        /* margin-bottom: 0;

		margin: 0 auto; */
    }
    .navList {
        max-width: 95%;
        flex-grow: 0;
    }
    .navListItem {
        font-size: 2rem;
    }
    .marquee {
        width: 78%;
        font-size: 2.2rem;
        /* padding-top: 10px; */
        padding-top: 0px;
        /* padding-bottom: 10px; */
        margin-bottom: 48px;
    }
    #dirt {
        padding-top: 10px;
    }
    body {
        padding-bottom: 300px;
    }

    .box_1 {
        grid-column: 1 / 8;
        grid-row: 1;
    }
    .box_2 {
        grid-column: 1 / 8;
        grid-row: 2;
    }
    .box_3 {
        grid-column: 2 / 7;
        grid-row: 2;
    }

    .gridWrapper {
        display: block;
        /* height:300px; */
        gap: 0.5%;

        margin: 24px;
        margin-bottom: 0;
    }

    .sixteenNine {
        /* padding-bottom: calc(12/16 * 100% - 64px); */
        padding: 0;
        padding-bottom: calc(9 / 16 * 100% - 64px);
        margin-bottom: 0rem;
    }

    .one {
        grid-column: 1/8;
        grid-row: 1;
        padding: 0;
        padding-bottom: calc(9 / 16 * 100% - 64px);
        margin-bottom: 0;
    }
    .two {
        grid-row: 2;
        grid-column: 1 / 8;
    }
    .three {
        grid-row: 4;
        grid-column: 1 / 8;
    }
    .four {
        grid-row: 3;
        grid-column: 1;
        grid-column: 1 / 8;
    }
    .five {
        grid-row: 5;
        grid-column: 1;
        grid-column: 1 / 8;
    }
    .six {
        grid-row: 6;
        grid-column: 1;
        grid-column: 1 / 8;
    }

    .seven {
        grid-row: 7;
        grid-column: 1;
        grid-column: 1 / 8;
        /* padding-bottom: calc(9/16 * 100% - 64px); */
        /* padding: 0; */
        padding-bottom: calc(8 / 16 * 100% - 64px);
        /* margin-bottom: 80px; */
    }

    #portfolio_1 {
        background-size: 120%;
        background-color: #eecdd1;
    }
    #portfolio_2 {
        background-size: 90%;
        background-repeat: repeat;
    }
    #portfolio_3 {
        background-size: 80%;
        background-color: #cea3aa;
    }
    #portfolio_4 {
        background-size: 70%;
        background-color: #ead7df;
    }
    #portfolio_5 {
        background-color: #000;
        background-size: 120%;
    }
    #portfolio_6 {
        background-color: #e3c3c8;
        background-size: 90%;
    }

    #portfolio_7 {
        background-position-y: 80px;
        background-size: 80%;
        background-repeat: repeat;
    }
}

@media (max-width: 500px) {
    .marquee {
        width: 100%;
        padding-top: 6px;
        padding-bottom: 6px;
        margin-bottom: 33px;
    }

    .box_5 {
        display: none;
    }
}

@media (max-width: 350px) {
    .navList {
        flex-direction: column;
    }
    .marquee {
        margin-bottom: 38px;
    }
    .navLink {
        font-size: 0.8rem;
    }
    .box_1 {
        grid-column: 1 / 8;
        grid-row: 1;
    }
    .box_2 {
        grid-column: 1 / 8;
        grid-row: 3;
    }
    .box_3 {
        grid-column: 1 / 8;
        grid-row: 2;
    }

    .gridItem {
        border: none;
        padding-bottom: 1.5em;
        margin-bottom: 0.5em;
    }

    .fencePadding {
        border: none;
    }
}

.workImg {
    display: block;
    max-width: 80%;
    margin: 0 auto;
}

/* .titmouseGif{
	width: 100%;
	height:200px;
	overflow:hidden;
} */
