body {
    background-image: url(thumbnails/grid.jpg);
    background-position: top;
    background-repeat: repeat;
    font-family: 'Days One', sans-serif;
    font-size: 30px;
    overflow-x: hidden;
}
.appealbox, .brandbox, .portfoliobox, .homebox, .appeal, .home, .brand, .portfolio {
    position: absolute;
}
.appealbox, .brandbox, .portfoliobox, .homebox {
    width: 70%;
    height: 50%;
    padding: 0px;
}
.brandbox, .portfoliobox, .homebox {
    background-color: white;
}
.appealbox {
    border: 6px solid black;
    max-width: 35vw;
    max-height: 40vh;
    box-shadow: 0.5em -0.5em rgb(0, 217, 255);
}
.appealbox {
    background-image: url(thumbnails/allappeal.png);
    background-size: cover;
    bottom: 20%;
    right: 6%;
    z-index: 3;
}
.appeal {
    bottom: -10px;
    right: -6px;
}
.brandbox, .portfoliobox, .homebox {
    font-size: 1.2rem;
}
.brandbox, .portfoliobox {
    box-shadow: 0.3em -0.3em rgb(0, 217, 255);
}
.brandbox {
    -webkit-text-fill-color: rgb(0, 217, 255);
    border: 3px solid rgb(0, 217, 255);
    left: 14%;
    bottom: 15%;
    max-width: 10vw;
    max-height: 10vh;
    z-index: 3;
}
.brand {
    bottom: -7px;
    left: -2%;
}
.portfoliobox, .homebox {
    border: 3px solid rgb(0, 0, 0);
}
.portfoliobox {
    left: 8%;
    bottom: 10%;
    max-width: 10vw;
    max-height: 5vh;
    z-index: 2;
}
.portfolio {
    bottom: -7px;
    left: -2%;
}
.homebox {
    left: 5%;
    bottom: 5%;
    width: 15%;
    height: 35%;
    max-width: 5vw;
    max-height: 20vh;
    box-shadow: 0.3em -0.3em black;
}
.home {
    writing-mode: vertical-rl;
    top: -2%;
    left: -8px;
}
.galeriaall {
    display: none;
    position: fixed;
    z-index: 99;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}
.galeriacontent {
    position: relative;
    background-color: transparent;
    margin: auto;
    padding: 0;
    max-width: 105vh;
}
.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}
.close:hover, .close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}
.slides {
    display: none;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.prev:hover, .next:hover {
    background-color: rgb(0, 217, 255);
}
.numbertext {
    color: rgb(0, 217, 255);
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}
.homebox:link , .appealbox:link , .portfoliobox:link,.homebox:visited, .appealbox:visited, .portfoliobox:visited {
    -webkit-text-fill-color: black;
}
.appealbox:hover, .portfoliobox:hover {
    -webkit-text-fill-color: rgb(0, 217, 255);
    border-color: rgb(0, 217, 255);
}
.appealbox:hover {
    box-shadow: 1em -1em rgb(0, 217, 255);
}
.portfoliobox:hover {
    box-shadow: 0.7em -0.7em rgb(0, 217, 255);
    -webkit-text-fill-color: 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) {
    .appeal, .home, .brand, .portfolio {
        font-size: 50%;
   }
}
@media (min-height: 400px) and (max-height: 549px) {
    .appeal, .home, .brand, .portfolio {
        font-size: 70%;
   }
}
@media (min-height: 550px) and (max-height: 600px) {
    .appeal, .home, .brand, .portfolio {
        font-size: 80%;
   }
}
@media (min-width: 768px) and (max-width: 1010px) {
    .appeal, .home, .brand, .portfolio {
        font-size: 80%;
   }
}
@media (min-width: 479px) and (max-width: 767px) {
    .appealbox {
        top: 5em;
   }
    .appeal, .home, .brand, .portfolio {
        font-size: 85%;
   }
    .brandbox, .portfoliobox, .homebox {
        position: relative;
        width: 30vw;
        max-width: 40vw;
        margin-top: 5%;
        height: 20vh;
        bottom: 0;
        right: 0;
        display: block;
   }
    .brandbox {
        margin-top: 130%;
   }
}
@media (max-width: 480px) {
    .appealbox {
        top: 5em;
   }
    .appeal, .home, .brand, .portfolio {
        font-size: 70%;
   }
    .brandbox, .portfoliobox, .homebox {
        position: relative;
        width: 25vw;
        max-width: 30vw;
        margin: 5%;
        height: 20vh;
        bottom: 0;
        right: 0;
        display: block;
   }
    .brandbox {
        margin-top: 130%;
   }
}