.box{
    display: flex;
    font-family: 'Times New Roman', Times, serif;
}

body{
    overflow-x: hidden;
    background-image: url(board.gif);
    background-size: 1024px 1024px;
    display:flex;
    flex-direction: column;
    flex-wrap:wrap;
    align-items: center;

/* IE, only works on <img> tags */
  -ms-interpolation-mode: nearest-neighbor;
  /* Chromium + Safari */
  image-rendering: pixelated;
}

img{
    width: 100%;
    height: auto;
}
#header{
    width: 100%;
    display: flex;
    flex-direction: column;
}
#titleBox img{
    display: flex;
    transform: scale(1.7);
}
#topTitle{
    color:#d900ff;
    font-size: 3vw;
    display: flex;
    border:dotted 1vw;
    justify-content: center;
    width:fit-content;
    padding: 3vw;
    flex: 2;
    text-align: center;
    flex-direction: column;
}
.head{
    flex: 1;
}
#buttonBar{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.button{
    display: flex;
    width: 12%;
    height: auto;
    z-index: 2;
}
.button:hover{
    transition: transform .2s;
    transform: scale(1.5);
    z-index: 3;
}
.button a{
    width: 100%;
    height: 100%;
}
#homePage{
    flex-direction: row-reverse;
    width: 80%;
    justify-content: space-around;
}
#linkPage{
    flex-direction: column;
    align-items: center;
    width: 45%;
}
#upcoming{
    display: flex;
    justify-content: center;
    margin: 0.5vw;
    font-size:1vw;
    border: double 1vw #00ff00;
    background-color: #d359ff;
    background-position: 0% 4%;
}
#linkDescription{
    text-align: center;
    width: 100%;
    font-size: 1vw;
    font-weight: bold;
    border: double 1vw #00ff00;
    background-color: #d359ff;
    background-position: 0% 30%;
}
#tableBox{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95%;
    background-image: url(IsoWater.gif);
    background-size: 960px 540px;
    border: 3px solid #5b00a9;
}
#tableBox a{
    width: 90%;
    margin: 1vw;
}
.icon:hover{
    transition: transform .2s;
    transform: scale(1.5);
    z-index: 28;
}
#links{
    text-align: center;
    font-weight: bold;
    display: block;    
    font-size: 1.4vw;
    color: rgb(201, 0, 109);
}
#links table, th, td {
    border: 3px solid;
}
#links h5{font-size:1.4vw;}
#links img{
    width: 85%;
    height: auto;
    max-width: 256px;
    transform: scale(1);
}

#about{
    flex-wrap: wrap;
    background-size: 546px 546px;
    flex-direction: column;
    width: 45%;
    justify-content: space-around;
}
#scanContainer{
    background-image: url(metal.png);
    display: flex;
    flex-direction: column;
    border:groove 1vw #888888;
}
    #aboutTitle{
    justify-content: center;
    font-size: 2vw;
}
#attributes{
    width: fit-content;
    font-size: 1.8vw;
}
#scan{
    margin-right: -1vw;
    width: 40%;
    z-index: 1;
}
#scan img{
    transform: scale(1.9);
    position: relative;
    top: 5vw;
}
#description{
    border:dashed rgb(38, 201, 0);
    background-color: rgba(0, 0, 0, 0.42);
    font-size: 2vw;
    color: rgb(38, 201, 0);
    padding: 2vw;
}
#aboutSite{
    display: block;
    border:solid rgb(0, 255, 236);
    background-image: url(space.gif);
    background-size: 1024px 1024px;
    font-size: 1.4vw;
    color: rgb(0, 255, 236);
    padding: 2vw;
    width: 80%;
    margin: 2vw;
}



@media only screen and (max-width: 600px) {
    body{
        background-size: 512px 512px;
    }
    #topTitle{ 
        border:dotted 2vw;
    }
    #titleBox img{
        transform: scale(1.7);
        display: flex;
    }
    #buttonBar{
        display: flex;
        flex-wrap: wrap;
    }
    #buttonBar img{
        width: 100%
    }
    .button{
        width: 25%;
    }
    .button:hover{
        transform: scale(1);
    }
    #homePage{
        flex-direction: column;
        align-items: center;
        width: 95%;
    }
    #linkPage{
        width: 95%;
    }
    #upcoming{
        width: 110%;
        font-size:3.3vw;
    }
    #tableBox{
        background-size: 480px 270px;
    }
    #links{
        font-size: 4vw;
    }
    #links h5{font-size:4vw;}
    #links table, th, td {
      border: 1vw solid;
    }
    #links img{
        max-width: 128px;
        transform: scale(1);
    }
    #linkDescription{
        font-size: 3vw;
    }
    #about{
        width:95%;
        background-size: 182px 182px;
    }
    #aboutTitle{
        font-size: 5vw;
    }
    #attributes{
        width: fit-content;
        font-size: 4vw;
    }
    #scan img{
        transform: scale(1.5);
        position: relative;
        top: 2vw;
    }
    #description{
        font-size: 4vw;
        background-size: 480px 270px;
    }
    #aboutSite{
        font-size: 3vw;
        background-size: 2048px 2048px;
    }
}

h1{
    margin-top: 0px;
    margin-bottom: 0px;
}
h2{
    margin-top: 0px;
    margin-bottom: 0px;
}
h3{
    margin-top: 0px;
    margin-bottom: 0px;
}
h4{
    margin-top: 0px;
    margin-bottom: 0px;
}
h5{
    margin-top: 0px;
    margin-bottom: 0px;
}
h6{
    margin-top: 0px;
    margin-bottom: 0px;
}