.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav .icon {
  display: none;
}

nav a {
  color: rgba(0,0,0,.54);
  font-size: 30px;
  padding: 0.8rem;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'Abril Fatface', cursive;
}

.carousel {
  width: 100%;
}



#accessibility-link {
  color: #ffffff;
  position: relative;
  left: -2000px;
  background-color: #4c4c4c;
}

#accessibility-link:focus {
  position: static;
  border: 2px solid  #4c4c4c;
}

#form {
  display: block;
}

body {
  text-align: center;
}


nav {
  margin-top: 25px;
  margin-bottom: 50px;
  text-align: left;
}

.indexnav {
  margin-top: 25px;
  padding-top: 20px;
  margin-bottom: 50px;
}

.current {
  color: rgb(0,0,0);
  text-decoration: underline;
}

.skip {
  position: relative;
  left: -2000px;
  background-color: #575757;
  color: #ffffff;
}

.skip:focus {
  position: static;
  border: 2px solid #575757;
}

/* table bordering style */
table {
  border-collapse: collapse;
  position: relative;
  margin: 0 auto;
}
th,
td {
  border: 3px solid #c6c7cc;
  padding: 10px 15px;
}
th {
  font-weight: bold;
}

h1 {
  text-align: center;
  padding: 10px;
  text-transform: uppercase;
  font-size: 35px;
}

.histcontainer {
  display: grid;
  grid-template-columns: 1fr;
  grid-row-gap: 40px;
  justify-items: center;
}

.histcontainer li{
  list-style: none;
}

.contact_container {
  display: grid;
  grid-row-gap: 40px;
  justify-items: center;
}

.contact_container div {
  font-size: 20px;
}

.contactheader {
  margin-bottom: 20px;
}

.indexcontainer {
  display: grid;
  column-gap: 40px;
  justify-content: center;
  grid-row-gap: 40px;
}


.fab {
  display: inline;
  font-size: 32px;
  color: black;
}

.fas {
  display: inline;
  font-size: 32px;
  color: black;
}

footer {
  text-align: center;
  padding: 10px;
}

.imagearea {
  background-color: black;
  background-image: url("../images/teampic.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin-top: -50px;
  height: 490px;
}


.background h1 {
  color: white;
  height: 100px;
  text-align: center;
  text-transform: uppercase;
  font-family: 'Playfair Display', serif;
  font-size: 50px;
}

.background p {
  line-height: 1.3;
  font-family: 'Open Sans', sans-serif;
  font-size: 25px;
}

.background h2{
  text-align: center;
  text-decoration: underline;
  text-transform: uppercase;
  font-family: 'Playfair Display', serif;
  margin-bottom: 10px;
  color: rgb(184,184 ,189);
  font-size: 40px;
}

.background .indexcontainer {
  padding: 10px;
  background-color: black;
  color: white;
}

.background a {
  color: white;
}

.indexnav a {
  color: white;
}

.background .fab {
  color: white;
}

.background .fas {
  color: white;
}

.background footer {
  overflow: auto;
  background: rgb(57, 55, 61);
  padding: 25px;
}

.navimg {
  height: 70px;
  width: 70px;
  margin-top: -30px;
  margin-bottom: -20px;
  margin-right: -10px;
}

body {
  font-family: Helvetica;
  font-size: 25px;
}

h2 {
  padding: 20px;
}

.button {
  background-color: black;
  border-color: black;
  color: white;
  display: inline-block;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: .25rem;

}


/* full screen */
@media screen and (min-width: 1000px) {
  .indexcontainer {
    grid-template-columns: 1fr 1fr;
  }
  .histcontainer {
    grid-template-columns: 1fr 1fr;
    justify-items: left;

  }
  .histcontainer > div > ul > li {
    text-align: left;
  }

  .histcontainer li{
    list-style: circle;
  }

  .histcontainer > div > h2 {
    text-align: left;
  }

  .historyheader {
    margin-bottom: 30px;
  }

  .contact_container {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .contactfooter {
    padding-top: 30px;
  }

}

/* ipad */
@media screen and (min-width : 700px) and (max-width : 1245px) {
  .box {
    min-height: 100vh;
    position: relative;
    padding-bottom: 40px;
  }
  .contact_container {
    grid-template-columns: 1fr 1fr;
  }
  .contact_container img {
    width: 350px;
  }
  .contactfooter {
    position: absolute;
    bottom: 0;
    width: 100%;
  }
}

/* phone */
@media screen and (max-width: 800px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 800px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

/* Print QR code */
@media print {
       body:after{
            content: url(https://chart.googleapis.com/chart?cht=qr&chs=150x150&chl=https://carolgil.github.io/michiganclubgolf/&choe=UTF-8);
            }
}
