* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

#container {
  position: relative;
  width: 100%;
}
#contentFrOTHP {
  position: relative;
  flex: 1;
  margin-right: 20px;
  width: auto; /* let it fill what's left, don't force 959px */
  height: auto; /* let it grow with the text, don't force 420px */
  background-repeat: no-repeat;
  background-position: top left;
  font-family: Verdana, Arial, Helvetica, sans-serif;
}
#content {
  position: relative; /* this is the anchor for the sidebar */
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto;
  width: 100%;
}
#contentFriends {
  display: flex;
  gap: 50px;
  position: relative;
  margin-left: 0;
  padding: 0;
  left: 0;
  top: 0;
}
#bannerpark, #bannerfriends, #bannertrees  {
  position: relative;
  width: 100%;
  max-width: 100vw;
  height: auto;
  aspect-ratio: 1280 / 62; /* <-- this is the magic bit */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#bannerpark {
	background-image: url(images/bannerpark.jpg);
}
#bannerfriends {
	background-image: url(images/bannerfriends.jpg);
}
#bannertrees {
	background-image: url(images/bannertrees.jpg)
}
#sidebarpark {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  z-index: 2;
  margin-left: 60px; 
  width: 210px;
  box-sizing: border-box;
  padding-left: 10px;
  padding-right: 10px;
  background-color: rgba(141, 129, 119, 0.75);
  font-family: Verdana, Arial, Helvetica, sans-serif;
}
#sidebarpark p {
  font-size: 0.8em;
  color: #3300CC;
  margin: 0;
}
#sidebarpark a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  color: #fdf8f0;
  text-decoration: none;
  padding: 1;
  margin: 0;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
#sidebarpark a:hover, #sidebarpark a:focus {
  background-color: #d2b48c; /* tan */
  color: #2f2a26;
  outline: none;
}
#treetitle, #treeinfonav {
	position:relative; 
	width: 800px;
	padding-left: 15px;
	padding-top: 7px;
	padding-bottom: 7px;
	margin-top: 15px;
	font-family: Verdana;
	font-size: 1em;
	background-color: #99CC66;
	color: #003300;
}
#treetitle {
	font-weight: bold;
}
#treeinfonav a {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: .9em;
	padding-right: 10px;
	left: 30px;
	text-decoration: none;
	color:#733E0A;
}
#treeinfonav a:hover {
	background-color:#FEF3C6;
}
#treedetails, #treethumbnails {
	position:relative; 
	top: 20px;
	width: 100%;
	height: auto;
	z-index:3;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: .8em;
}
#treedetails p {
    padding-left: 15px;
    color: #7B3306;
}
#treeinfoimage {
	position:absolute;
	margin-left: auto;
	margin-right: auto;
	left: 20px;
	top: 150px;
	width: 475px;
	height: 635px;
	z-index:3;
}
#treeinfodata {
	position:absolute;
	left: 505px;
	top: 150px;
	width: 490px;
	z-index:3;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: .8em;
	height: 225px;
}
#treeinfodata tr {
    vertical-align: middle;
}
.treedataodd {
	background-color:#003300;
	color: #66CC99;
}
.treedataeven {
	background-color:#66CC99;
	color: #003300;
}
form#login a {
	font-size: .9em;	
}
input {
	color: #781351;
	font-size: .6em;
	background: #fee3ad;
	border: 1px solid #781351
}
fieldset {
	border: 1px solid #FFFF33;
	width: 180px;
}
legend, label {
	color: #FFFF66;
	padding: 2px 10px 2px 10px;
	font-weight: bold;
	font-size: .7em;
}
legend {
	color: #FFFFFF;
}

#homepicfrothp {
	position: absolute;
	left: 285px;
	top: 124px;
	width: 700px;
	height: 450px;
	z-index: 1;
}

.magentaback12 {
	font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
	font-size:10pt;
	background-color:#663399;
	padding-left: 5px;
	font-style: normal;
	font-weight: bold;
	text-align: left;
	color: #FFFFFF;
	vertical-align: middle;
	}
.imgleft {
	float: left;
	margin-right: 5px;
	margin-bottom: 5px;
}
.imgright {
	float: right;
	margin-left: 5px;
	margin-bottom: 5px;
}

#slideshow {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  width: 100%; 
  min-width: 0;
  z-index: 1;
  max-width: 100%;
  height: 650px;
  margin: 0;
  overflow: hidden;
}
#slideshow img {
  max-width: 100%;
}
#homepic {
  width: 100%;
  height: 100%;
  object-fit: contain; /* show the whole photo, no cropping */
  object-position: center;
  display: block;
}