body{
    margin: auto;
    max-width: 1200px;
    height: 100vh;
    color: white;
    background-image: url(images/space.jpeg); 
    animation: scrollBackground 15s linear infinite;
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
}
h1{
    font-family: 'Press Start 2P', system-ui;
    font-weight: 400;
    margin-top: 60px;
}
main h2{
    font-family: 'Press Start 2P', system-ui;
    font-weight: 400;
    font-size: 18px;
}

    @keyframes scrollBackground {
        0% {
            background-position: 0 0;
        }
        100% {
            background-position: 100% 0;
        }
    }
header{
    text-align: center;
    width: 100%;
    height: 250px; 
    overflow: hidden;
    position: relative;
    background-image: url(images/grid\ top.png);
    background-size: cover;
}
main{
    display: flex;
}
main nav{
    flex: 1;
    margin: 30x;
}
main nav h2{
    text-align: center;
}
.right{
    text-align: center;
}
main nav ul{
    padding-left: 0px;
    align-content: center 
}
main nav ul li{
    display: block;
    border: solid 5px darkblue;
    border-radius: 20px;
    width: 220px;
    height: 40px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 2s ease-in-out
}
main nav ul li:hover {
    border-color: rgb(92, 112, 240);
    background-color: rgb(92, 112, 240);
}
main nav ul li a{
    color: white;
    text-align: center;
    list-style-type: none;
    text-decoration: none;
}
article{
    margin-left: 300px;
    margin-right: 300px;
}
article p a{
    text-decoration: none;
    color: rgb(92, 112, 240);
}
footer{
    text-align: center;
    width: 100%;
    height: 250px; 
    overflow: hidden;
    position: relative;
    background-image: url(images/grid\ bottom.png);
    background-size: cover;
    color: white;
    text-decoration: none;
}
footer div{
    display: flex;
    transition: all 2s ease-in-out;
}
footer section{
    display: block;
    background-color: none;
    border: dashed 3px darkblue;
    flex: content;
    flex-direction: row;
    width: 150px
}
footer section:hover {
    background-color: darkblue;
    opacity: 0.6;
    border-color: rgb(92, 112, 240);
}
footer section p{
    text-align: center;
    padding: 5px;
}
footer section p{
    text-decoration: none;
    color: white;
}
footer p a{
    text-decoration: none;
    color: white;
}
footer p a:hover{
    color: rgb(92, 112, 240);
}