body {
    background-image: url(portfolio/thumbnails/grid.jpg);
    background-position: top;
    background-repeat: repeat;
    font-family: 'Days One', sans-serif;
    font-size: 30px;
    overflow-x: hidden;
}
.zinesbox, .brandbox, .postersbox, .homebox, .portfoliobox, .zines, .brand, .posters, .home, .portfolio {
    position: absolute;
}
.zinesbox, .brandbox, .postersbox, .homebox, .portfoliobox {
    padding: 0px;
    background-color: white;
    width: 70%;
    height: 50%;
}
.zinesbox, .brandbox, .postersbox {
    box-shadow: 0.5em -0.5em rgb(0, 217, 255);
    border: 6px solid black;
}
.zinesbox {
    max-width: 20vw;
    max-height: 20vh;
    top: 30%;
    right: 20%;
    z-index: 2;
}
.zines {
    bottom: -10px;
    right: -6px;
}
.postersbox {
    max-width: 17vw;
    max-height: 30vh;
    top: 10%;
    left: 25%;
    z-index: 2;
}
.posters {
    bottom: -10px;
    right: -3px;
}
.brandbox {
    max-width: 20vw;
    max-height: 45vh;
    top: 40%;
    right:10%;
}
.brand {
    bottom: -10px;
    right: -3px;
}
.home, .portfolio{
    font-size: 1.2rem;
}
.portfoliobox {
    -webkit-text-fill-color: rgb(0, 217, 255);
    border: 3px solid rgb(0, 217, 255);
    left: 8%;
    bottom: 10%;
    max-width: 10vw;
    max-height: 8vh;
    box-shadow: 0.3em -0.3em rgb(0, 217, 255);
    z-index: 2;
}
.portfolio {
    bottom: -7px;
    left: -2%;
}
.homebox {
    border: 3px solid black;
    left: 5%;
    bottom: 5%;
    max-width: 5vw;
    max-height: 20vh;
    box-shadow: 0.3em -0.3em black;
}
.home {
    writing-mode: vertical-rl;
    top: -2%;
    left: -8px;
}
.brandbox:link, .postersbox:link, .zinesbox:link, .homebox:link, .brandbox:visited, .postersbox:visited, .zinesbox:visited, .homebox:visited {
    -webkit-text-fill-color: black;
}
.brandbox:hover, .postersbox:hover, .zinesbox:hover {
    border-color: rgb(0, 217, 255);
    -webkit-text-fill-color: rgb(0, 217, 255);
    box-shadow: 1em -1em rgb(0, 217, 255);
}
.homebox:hover {
    border-color: rgb(238, 255, 0);
    -webkit-text-fill-color: rgb(238, 255, 0);
    box-shadow: 0.7em -0.7em rgb(238, 255, 0);
}
@media (max-height: 399px) {
    .zines, .brand, .posters, .home, .portfolio {
        font-size: 50%;
   }
}
@media (min-height: 400px) and (max-height: 549px) {
    .zines, .brand, .posters, .home, .portfolio {
        font-size: 70%;
   }
}
@media (min-height: 550px) and (max-height: 600px) {
    .zines, .brand, .posters, .home, .portfolio {
        font-size: 80%;
   }
}
@media (min-width: 768px) and (max-width: 1010px) {
    .zines, .brand, .posters, .home, .portfolio {
        font-size: 80%;
   }
}
@media (min-width: 479px) and (max-width: 767px) {
    .zinesbox, .brandbox, .postersbox {
        position: relative;
        width: 60vw;
        max-width: 70vw;
        margin: 20px auto;
        height: 30vh;
        bottom: 0;
        right: 0;
        display: block;
   }
    .zines, .brand, .posters, .home, .portfolio {
        font-size: 70%;
   }
    .homebox, .portfoliobox {
        position: relative;
        width: 30vw;
        max-width: 40vw;
        margin: 20px auto;
        height: 20vh;
        bottom: 0;
        right: 0;
        display: block;
   }
}
@media (max-width: 480px) {
    .zinesbox, .brandbox, .postersbox {
        position: relative;
        width: 80%;
        max-width: 80%;
        margin: 20px auto;
        height: 30vh;
        bottom: 0;
        right: 0;
        display: block;
   }
    .zines, .brand, .posters, .home, .portfolio {
        font-size: 60%;
   }
    .homebox, .portfoliobox {
        position: relative;
        width: 25vw;
        max-width: 30vw;
        margin: 20px auto;
        height: 20vh;
        bottom: 0;
        right: 0;
        display: block;
   }
}
