.pixelsharp {
   image-rendering: pixelated;
   image-rendering: crisp-edges;
}

h2 {
text-align: center;
font-size:2em;
animation: tilt 5s infinite alternate;
   font-family: "Vampiro One", system-ui;
   font-weight: 400;
   font-size: 32px;
   font-style: normal;
   margin-bottom: 4px;
}

@keyframes tilt {
from { transform: rotate(1deg); }
to { transform: rotate(-1deg); }
}

@-webkit-keyframes tilt {
from { transform: rotate(1deg); }
to { transform: rotate(-1deg); }
}

body {
    background-image: url('/art/background1.gif');
    background-attachment: fixed;
    background-repeat: repeat;
}

header, nav, main, footer{
   font-family: "grandstander", sans-serif;
   border: black 2px solid;
    color: rgb(219, 238, 255);
   border-image: url(/art/9slice.png) 16 14 16 14 fill / 16px 14px 16px 14px;
   padding: 16px 14px 16px 14px;
   
}

/*This is for repetitive CSS that will all use the same exact stuff.*/
.topheader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 300px;
}

.header-image {
    width: 80px;
    height: auto;
}

.site-title {
   -webkit-background-clip: text;
   -webkit-text-stroke-color: #b12e2e;
   -webkit-animation: glow 5.0s linear infinite;
   animation: glow 5.0s linear infinite;
   font-size:2em;
   font-weight:bold;
    color: white;
    font-size: 48px;
    margin: 0;
    line-height: 1;
}

@keyframes glow {
0% { text-shadow: 0 0 15px pink; }
50% { text-shadow: none; }
100% { text-shadow: 0 0 15px pink; }
}

@-webkit-keyframes glow {
0% { text-shadow: 0 0 15px pink; }
50% { text-shadow: none; }
100% { text-shadow: 0 0 15px pink; }
}


.site-subtitle {
    font-size: 24px;
    display: block;
    margin-top: 4px;
}

.box{
   max-width: 1000px;
   margin-left: auto;
   margin-right: auto;
   display: grid;
   grid-gap: 10px;
   grid-template-columns: 250px minmax(0,1fr);
}

header{
   grid-row: 1 / 2;
   grid-column: 1 / 3;
}

nav{
   grid-row: 2 / 3;
   grid-column: 1 / 2;
   height: max-content;
}

main{
   grid-row: 2 / 3;
   grid-column: 2 / 3;
   height: max-content;
}

footer{
   grid-row: 3 / 4;
   grid-column: 1 / 3;
}

.alignleft {
  padding: 60px;
  left: 0;
  text-align: left;
  margin: 0;
}

.alignright {
  padding: 60px;
  left: 0;
  text-align: left;
  margin: 0;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px;
    margin-bottom: 20px;

    /*border: 2px solid #666;
    background: #222;*/
}

.containertext {
    flex: 1;
    padding-right: 20px;
}

.containerimage img {
   border-image: url(/art/9sliceplain.png) 16 14 16 14 fill / 16px 14px 16px 14px;
   padding: 16px 14px 16px 14px; 
   width: 300px;
    height: auto;
    display: block;
}

.button {
    display: inline-flex;
    align-items: center;

    padding: 2px;
    margin-bottom: 2px;

    border-image: url(/art/9slice.png) 16 14 16 14 fill / 16px 14px 16px 14px;
    padding: 16px 14px 16px 14px;

    width: fit-content;
}

.buttonimage {
    display: flex;
    align-items: center;
    gap: 8px;
}

.buttonimage img {
    max-width: 32px;
    height: auto;
    display: block;
}

.buttontext {
    white-space: nowrap;
}

.button:hover {
    /*transform: translateY(2px);*/
    filter: brightness(1.3);
}

.divider {
    border: none;
    border-top: 4px solid #fcfcfc;
    margin: 16px 0;
}