html { color: white; }
body {
    font-family: Tahoma, Verdana, Arial, sans-serif;
    background-image: url("/images/space-background.gif");
    background-attachment: fixed;
    background-position: center;
    margin: 0;
}
img {
    image-rendering: pixelated;
}
nav {
    background-color: darkblue;
    margin: 0;
    position: fixed;
    width: 100%;
    display: flex;
    height: 40px;
}

nav .link {
    padding: 5px;
    margin: 0;
    width: fit-content;
}

#main {
    width: 720px;
    margin: 0 auto;
}

.coolBorder {
	border: 10px double purple;
}

.coolBackground {
    background-color: #323232;
	background-image: url("/images/star-background.gif");
    background-position: center;
}

.content {
	
	min-height: 720px;
	margin: 16px;
	padding: 16px;
    text-align: center;
}

.footer {
	height: auto;
	margin: 16px;
	padding: 16px;
    text-align: center;
}

.audio {
	width: 100%;
	border: 1px dashed white;
	margin: auto;
}

h1, h3 { text-align: center;}

.coolLinks {
    background-color: lightgray;
    max-width: 500px;
    padding-bottom: 30px;
    border: white outset 4px;
    margin: auto;
    font-family: 'Times New Roman', Times, serif;
    aspect-ratio: 500/500;
}

.coolLinks h1 {
    padding: 0;
    margin: 0;
    margin-bottom: 30px;
    background-color: blue;
    width: fill;
    padding-top: 0.25em;
    color:  white;
    text-shadow: black 3px 3px;
    text-align: left;
    padding-left: 10px;
}

.img-preview {
    image-rendering: pixelated;
    width: calc(50% + 2px);
    border: white inset 2px;
    background-color: lightblue;
}

.link-container {
    font-size: 32px;
    margin-top: 20px;
    width: 100%;
    display: grid;
    grid-template-columns: 40% 40%;
    justify-content: center;
    gap: 30px;
}

.link {
    margin: auto;
    display: block;
    width: 100%;
    padding-top: 4px;
    background-color: lightgray;
    border: 4px white outset;
    text-decoration: none;
    color: black;
}

.link:focus, .link:hover {
    cursor: pointer;
    outline: black dashed 1px;      
}

.link:active {
    border-style: inset;
}


@media only screen and (max-width: 800px) {
    #main {
        width: auto;
    }
}