body {
  height: 100vh;
  max-width: 1080px;
  margin: auto;
  text-align: center;
  font-family: arial, sans-serif;
  font-size: 1em;
  background-image: url("golf-grass.jpg");4
  background-position: top;
  background-size: 100% auto;
  background-repeat: y-repeat;
  background-color: #1f3a06;
}

header, footer {
    text-align: center;
    font-weight: bold;
    background: lightgreen;
    color: Green;
}

hr {
  border: 3px solid #ded;
}
main {

}

/***************/
/* USING ID  -  BOTTOMLEFT - DROP UP NAV  */
/***************/

#navbar {
  position: fixed;
  bottom: 0;
  --font-family: arial, sans-serif;
  background-color: #515;
  --color: #ded;
  --width: 100%;
  --overflow: hidden;
}

/* Style the links inside the navigation bar */
#navbar a {
  float: left;
  --display: block;
  text-decoration: none;
  background-color: #1f3a06;
  color: #ded;
  text-align: center;
  padding: .5em;
  --font-size: 1em;
  border-left: 1px solid #ded;
}

/* Change the color of links on hover */
#navbar a:hover {
  background-color: #ded;
  color: #1f3a06;
}

/* The container <div> - needed to position the dropup content */
#dropup {
  float: left;
  position: relative;
  display: inline-block;
}

/* Dropup Button */
#dropbtn {
  background-color: #1f3a06;
  color: #ded;
  padding: .5em;
  font-size: 1em;
  border: none;
  border-left: 1px solid #ded;
}

/* Dropup content (Hidden by Default) */
#dropup-content {
  display: none;
  position: absolute;
  bottom: 1.75em;
  --background-color: #ded;
  --color: #1f3a06;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,32,0,0.4);
  z-index: 1;
}

/* Links inside the dropup */
#dropup-content a {
  background-color: #1f3a06;
  color: #ded;
  padding: .5em;
  text-decoration: none;
  display: block;
  min-width: 160px;
  border-top: 1px solid #ded;
}

/* Change color of dropup links on hover */
#dropup-content a:hover {
  background-color: #ded;
  color: #1f3a06;
}

/* Show the dropup menu on hover */
#dropup:hover #dropup-content {
  display: block;
}

/* Change the background color of the dropup button when the dropup content is shown */
/*.dropup:hover .dropbtn {
  background-color: #ded;
  color: #1f3a06;
}*/




/***************/
/* USING ID  -  TOPRIGHT - DROP DOWN NAV  */
/* global replace:
 navbar to TRnav
  dropup to TRdropdown
  dropbtn to TRdropbtn
*/
/***************/

#TRnav {
  --position: fixed;
  --float: right;
  top: 0;
  right: 40px;
  --font-family: arial, sans-serif;
  background-color: #515;
  --color: #ded;
  --width: 100%;
  --overflow: hidden;
  --z-index:1000;
}

/* Style the links inside the navigation bar */
#TRnav a {
  float: right;
  text-decoration: none;
  background-color: #1f3a06;
  color: #ded;
  text-align: center;
  padding-bottom: .5em;
  padding-right: 1em;
}

/* Change the color of links on hover */
#TRnav a:hover {
  color: #9a9;
}

/* The container <div> - needed to position the dropup content */
#TRdropdown {
  float: right;
  position: relative;
  display: inline-block;
}

/* Dropup Button */
#TRdropbtn {
  background-color: #1f3a06;
  color: #ded;
  padding-bottom: .5em;
  padding-right: 1em;
  font-size: 1em;
}


/* Dropup content (Hidden by Default) */
#TRdropdown-content {
  display: none;
  position: absolute;
  top: 1.25em;
  background-color: #ded;
  color: #1f3a06;
  min-width: 130px;
  border: 1px solid #ded;
  box-shadow: 0px 8px 16px 0px rgba(0,32,0,0.4);
  z-index: 1000;
}

/* Links inside the dropup */
#TRdropdown-content a {
  background-color: #1f3a06;
  color: #ded;
  padding: .5em;
  text-decoration: none;
  display: block;
  min-width: 130px;
}

/* Change color of dropup links on hover */
#TRdropdown-content a:hover {
  color: #9a9;
}

/* Show the dropup menu on hover */
#TRdropdown:hover #TRdropdown-content {
  display: block;
}






/***************/
/* MAIN STUFF  */
/***************/


#no-wrap{
  white-space: nowrap;
}


#pageHeader {
    position: fixed;
    --left:0px;
    center: 0px;
    width: 100%;
    max-width:1080px;
    top: 0px;
    --height: 11em;
    z-index: 999;
    text-align: center;
    font-weight: bold;
    background: #1f3a06;
    color: #ded;
}

#pageFooter {
    position: fixed;
    center: 0px;
    width: 100%;
    max-width: 1080px;
    bottom: 0px;
    --height: 3em;
    z-index: 998;
    text-align: center;
    font-weight: bold;
    background: #1f3a06;
    color: #ded;
}


#backgnd {
  background: rgba(32,48,32,.6);
  padding-top: 6em;
  padding-bottom: 2em;

}

#main1 {
  text-align: left;
  margin: 2em;
  color: #ded;
}

#Rules {
  text-align: left;
  margin: 2em;
  padding: 2em;
  background-color: white;
  background: rgba(255,255,255,.8);
  background-image: url("parchment.jpg");
  background-position: top;
  background-size: 100% auto;
  background-repeat: y-repeat;
}

#mainArticle {
    grid-area: article;
    text-align: center;
}
#mainNav {
    width: 260px;
    height: 485px;
    padding: 20px;
    text-align: left;
    background-color: #1f3a06;
    font-weight: bold;
    grid-area: nav;
    list-style: none;
}

#mainNav a{
  text-decoration: none;
  color: #ded;
  --background: #d0e5d0;
  background-color: #1f3a06;
  font-weight: bold;
  --line-height: 2em;
  grid-area: nav;
  --padding:  0 .5em;
  --font-size: 1em;
  --border: 1px solid #ded;
}

/* Change the color of links on hover */
#mainNav a:hover {
  --background-color: #ded;
  color: #9a9;
}

#marquee {
    grid-area: marquee;
    line-height: 1em;
    font-size: 1.8em;
    font-weight: bold;
    background: rgba(255,225,225,.5);
    color: Red;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
  text-align: center;
}

#grid2 {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 300px 400px;
    grid-gap: 1px;
}
#grid2 > div {
    text-align: left;
    background: #d0e5d0;
    color: Green;
    font-weight: bold;
    line-height: 2em;
}

li{
  padding: .5em;
}

#Rules ul li{
  padding: 0;
}

#Rules ol li{
  padding: .5em;
}
a { color: #ded }

#Rules a { color: blue }

h1 {
    font-family: Arial, sans-serif;
    font-size: 2em;
    padding: 0;
    margin: 0;
    background: #1f3a06;
    color: #ded;
}

h2 {
    font-family: Arial, sans-serif;
    font-size: 2em;
    text-align: left;
    padding: 0;
    padding-left: 10px;
    margin: 0;
    background: #1f3a06;
    color: #ded;
}
#main1 h3 {
    font-family: Arial, sans-serif;
    font-size: 1.5em;
    text-align: center;
    padding: 0;
    margin: 0;
    color: #ded;
}
#main1 h4 {
    font-family: Arial, sans-serif;
    font-size: 1em;
    text-align: center;
    padding: 0;
    margin: 0;
    color: #ded;
}

#rules h3 {
    font-family: Arial, sans-serif;
    font-size: 1.5em;
    text-align: left;
    padding: 0;
    margin: 0;
}

#rules h4 {
    font-family: Arial, sans-serif;
    font-size: 1em;
    text-align: left;
    padding: 0;
    margin: 0;
    font-weight: bold;
    text-decoration: underline;

}
.clickbtn {
  background-color: Red;
  color: white;
  text-decoration: none;
  font-size: 1em;

}
.clickbtn a {
  text-decoration: none;
}


.marquee {
    grid-area: marquee;
    line-height: 1em;
    font-size: 1.8em;
    font-weight: bold;
    color: Red;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}

.marquee p {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 10s linear infinite;
}

@keyframes marquee {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}
