body
{
background-color:RGB(23,20,90);
background-image:url('BackgroundGradient.png');
background-repeat:repeat-y;
background-attachment:fixed;
background-position:center;
text-align:center;
font-family:"Comic Sans MS", "Chalkboard SE", "Comic Neue","Comic Relief","Apple Casual","Casual",comic, sans-serif;
max-width:1500px;min-width:600px;margin: 0 auto;
}

body div{margin-left:auto;margin-right:auto;}


.picCapCont{margin-left:auto; margin-right:auto;width:100%;}
.picCapCont div{position:relative;display:inline-block;margin:0;padding:5px;width:160px;max-width:160px;height:120px;max-height:120px;}
.picCapCont div p{position:absolute;bottom:5px;left:50%;color:white;font-size:22px;transform:translate(-50%,75%);
    white-space:nowrap;border:2px solid black;border-radius:17px;background-color:black;padding:0px 3px;z-index:5; line-height:80%;
}
.picCapCont div img{float:left;border:1px solid black;}

body div details div{margin-left:auto;margin-right:auto;}
.backToTopButton{z-index: 10; position: fixed; right: -2px; bottom: 20px;background-image: url('https://www.spooljunkies.com/bttButton.png'); width:40px;height:70px;}

.randomGenContainer{margin-left:auto; margin-right:auto;width:100%;white-space: nowrap;}
.randomGenContainer div{position:relative;display:inline-block;margin:0;padding:5px;width:160px;max-width:160px;height:120px;max-height:120px;}
.randomGenContainer div p{position:absolute;bottom:5px;left:50%;color:white;font-size:22px;transform:translate(-50%,75%);
    white-space:nowrap;border:2px solid black;border-radius:17px;background-color:black;padding:0px 3px;z-index:5; line-height:80%;
}
.randomGenContainer div img{float:left;border:1px solid black;}

.randomTableInput td {text-align: left;}
.randomTableInput td:first-child {text-align: right;}






.randomsstacker{border:none;border:0;padding:0;width:60;height:120,max-width:60;max-height:120;}
.randomsstacker img:first-child{transform:translate(0%,0%);border:none;border:0;}
.randomsstacker img{transform:translate(-100%,-100%);border:none;border:0;}


