* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p {
    color: saddlebrown;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

a:link, a:visited {
  color: saddlebrown;
  text-decoration: none;
}

a:hover, a:active {
  color: sandybrown;
  opacity: .5;
}

fade-in {
	opacity: 1;
	animation-name: fadein;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 5s;
}

@keyframes fade-in {
	0% {
		opacity: 0;
	}
    100% {
		opacity: 1;
	}
}

@keyframes fade-out {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 100vw;
    min-height: 100vh;
    background-color: #003333;
    background-size: cover;
    background-position: center;
}

.field {
    width: 1000px;
    height: 800px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
 }

.splash {
    max-width: 75vw;
    max-height: auto;
    justify-content: center;
    align-items: center;
    animation: fade-out .0005s ease-out forwards 3s;
    z-index: 2;
    position: absolute;
}

.main {
    box-sizing: border-box;
    /* scale responsively: prefer 90vw but don't exceed 1000px */
    width: min(90vw, 1000px);
    /* preserve original aspect ratio 1000x800 -> 5/4 */
    aspect-ratio: 5 / 4;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* animation: fade-in .0005s ease-in forwards 3s; */
    position: absolute;
    opacity: 1;
    z-index: 1;
    background-image: url("pshome.png");
    background-size: contain;
}

.table {
    display: table-row-group;
    vertical-align: right;
    width: 800px;
    margin-top: 100px;
    margin-right: 20px;
}

.table-left {
    display: table-cell;
    text-align: right;
    width: 400px;
}

.table-right {
    display: table-cell;
    text-align: right;
    width: 400px;
    justify-content: right;
    background-image: url("hometext1.gif");
    background-size: cover;
    background-position: center;
}
