html {
    height: auto;
    width: 100%;
    font-size: 1.2em;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
    overflow: auto;
    width: 99%;
	/*background-color: #D0D0D0;*/
	text-align: left;
	min-height: 400px;
	margin-bottom: 4vh;;
	clear: both;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: linear-gradient(120deg, #777777, #D0D0D0);
    text-wrap: wrap;
}

#header {
	top: 0;
	left: 0;
	right: 0;
    display: flex;
	position: fixed;
	clear: both;
	text-align: center;
	justify-content: center;
	background-color: #FF9933;
    background-image: none;
    z-index: 100;
}

#header a {
  float: left;
  color: black;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 1.4em;
  border-radius: 4px;
}

#header a:hover {
  background-color: #ddd;
  color: black;
}

a {
	color: #003399;
	text-decoration: none;
}


@keyframes bottomSlide {
    50% {background-position: bottom 25% right;}
    100% {background-position: bottom -50% right;}
  }


.body-double {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url("images/temp.png");
    animation: bottomSlide 20s infinite;
    background-position: bottom -50% right;
    background-repeat: no-repeat; /*Prevent showing multiple background images */
}


.content {
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    width: max-content;
    padding-top: 4%;
    padding-bottom: 4%;
}

h1, h2, h4, p {
    text-align: left;
    /*background-color: #D0D0D0;*/
}

h3 {
	width: 100%;
	text-align: left;
	/*background-color: #D0D0D0;*/
}

.fade-slide {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
}

#footer {
    display: flex;
	position: fixed;
	clear: both;
	justify-content: center;
	left: 0;
	right: 0;
	background-color: #FF9933;
	bottom: 0;
}

#footer p {
    text-align: center;
    background-color: #FF9933;
    margin: 0;
}

#footsie {
    text-align: center;
    font-size: 1.3em;
    vertical-align: middle;
    padding: 12px;
}

@media screen and (max-width: 1000px)  {
    body {
        font-size: 2em;
    }
    h1, h2, h4, p {
        width: 100%;
    }
    .content {
        width: 100%;
    }
    .ifwame {
        height: auto;
        width: 50%;
    }

    #header {
        font-size: .65em;
    }
    #footer, #footsie{
        font-size: 1em;
    }
}