.main {
	font-family: Arial, sans-serif;
	display: grid;
	grid-template: repeat(3, minmax(100px, max-content)) repeat(5, minmax(min-content, max-content)) / repeat(6, 1fr);
	grid-gap: 2px;
	justify-content: start;
	min-height: 100vh;
	overflow: hidden;
	}

.mainimg {
	grid-area: 1 / 1 /4 / 7;
	float: none;
	overflow: hidden;
}

.mainimg img {
  width: 100%;
	max-height: 50vw;
	align-self: stretch;

}

.toptxt {
    grid-area: 3 / 3 / 4 / 5;
    color: black;
    text-align: center;
    z-index: 10;
    font-size: calc(0.4em + 1.1vw);
    overflow: hidden;
    -webkit-text-stroke: 1px white;
  }

.bottomtxt {
  color: white;
  font-stretch: ultra-condensed;
  letter-spacing: 0.05em;
  -webkit-text-stroke: 1px black;
}

.maintxt {
  position: relative;
	box-sizing: border-box;
	padding-left: 15px;
	padding-right: 15px;
	grid-area: 5 / 2 / 8 / 6;
	text-align: center;	
	z-index: 10;
	font-size: calc(0.4em + 1vw);
  line-height: 1.6;
	overflow: visible;
  margin-top: 70px;
  margin-bottom: 70px;
}

.maintxt:before {
  grid-area: 5 / 2 / 8 / 6;
  content: ' ';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.25;
  background-image: url('../images/RJWCLogo.png');
  background-position: center;
  background-size: 35vw 35vw;
  background-repeat: no-repeat;
  z-index: -1;
  }
  
.contact {
  text-align: left;
}

.contact a {
  color: black;
  z-index: 10;
}

.mainsmltxt {
	font-size: calc(0.3em + 0.7vw);
  color: dimgray;
  text-align: left;
}

.more {
  text-align: left;
}

.more h3 {
  display: inline;
}

.more h4 {
  display: inline;
}

.hidebutt {
  font-size: calc(0.4em + 1vw);
  font-style: italic;
  color: darkblue;
  background: none;
  border: none;
  margin-bottom: 40px;
  z-index: 10;
}

@media screen and (max-width:1000px) {
  .toptxt {
    grid-area: 4 / 3 / 5 / 5;
    color: black;
    text-align: center;
    z-index: 10;
    font-size: calc(0.4em + 1.1vw);
    overflow: hidden;
    -webkit-text-stroke: 0px black;
  }
  
  .bottomtxt {
    color: black;
    font-stretch: normal;
    -webkit-text-stroke: 0px black;
    letter-spacing: normal;
  }
  
  .mainimg img {
    max-height: 60vw;
  }
  
  .maintxt {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  .hidebutt {
    font-size: calc(0.4em + 1.1vw);
  }
}

.footer {
	grid-area: 8 / 1 / 9 / 7; 
  font-size: calc(-0.4em + 1.1vw);  
	text-align: center;
    padding: 3px;
    background-color: #333;
    color: white;
}

.footul {
  list-style-type: none;
  display: inline;
}

.footul li {
  float: right;
  padding: 16px;
}

.copy {
  color: silver;
  font-size: calc(-0.2em + 0.9vw);
}

.mail a {
  color: white;
}

.aws img {
  grid-area: 8 / 1 / 9 / 2;
  max-height: 3vw;
  justify-self: left;
  align-self: center
}