@media only screen and (min-width: 129px) and (max-width: 640px) {

    /* CSS Document */
    .center {
        width: 98%;
        padding: 0px 1%;
        position: relative;
        overflow: hidden;
    }
}
h1, h2, h3,h4  { 
	font-family: "Bahnschrift Condensed", Cambria, Calabri, Ariel, "sans-serif";
	color: #014F28;
}

a {
	font-family: "Bahnschrift Condensed", Cambria, Calabri, Ariel, "sans-serif";
}

p { 
	font-family: "Bahnschrift Condensed", Cambria, Calabri, Ariel, "sans-serif";
	color: #070707;
	font-size: 17px;
}

p2 { 
	font-family: "Bahnschrift Condensed", Cambria, Calabri, Ariel, "sans-serif";
	color: #070707;
	font-size: 13px;
}

body { 
	margin: auto;
	margin-top: 85px;
	position: relative;
	max-width: 640px;
	font-family: "Bahnschrift Condensed", Cambria, Calabri, Ariel, "sans-serif";
	background-color: #FFFFFF;
}

button {
  padding: 5px 10px;
  font-size: 17px;
  font-family: "Bahnschrift Condensed", Cambria, Calabri, Ariel, "sans-serif";
  text-align: center;
  cursor: pointer;
  outline: none;
  color: #fff;
  background-color: #014F28;
  border: none;
  border-radius: 5px;
  box-shadow: 0 3px #999;
}

.content {
  padding: 4px;
 }

.header {
  background-color: #FFFFFF;
  position: fixed;
  top: 0;
  left: inherit;
  width: 100%;
  max-width: 640px;
}

.active4 {
	font-family: "Bahnschrift Condensed", Cambria, Calabri, Ariel, "sans-serif";
	color: #014F28;
	font-weight: bold;
	font-size: 17px;
	background-color: #FFFFFF;
}

.active4:hover {
	font-family: "Bahnschrift Condensed", Cambria, Calabri, Ariel, "sans-serif";
	color: #070707;
	font-weight: bolder;
	font-size: 18px;
	background-color: #FFFFFF;
}

ul { 
	font-family: "Bahnschrift Condensed", Cambria, Calabri, Ariel, "sans-serif";
	color: #070707;
}

li { 
	padding-left: 5%;
	font-family: "Bahnschrift Condensed", Cambria, Calabri, Ariel, "sans-serif";
	color: #070707;
}

/* Sticky Nav Bar*/
.navbar {
  overflow: hidden;
  background-color: #FFFFFF;
  width: 100%;
}

.navbar a {
  float:left;
  display:inline;
  max-width: 640px;
  width: auto;
  vertical-align: bottom;
  color: #014F28;
  text-align: left;
  padding:   4px 4px 4px 6px ;
  font-family: "Bahnschrift Condensed", Cambria, Calabri, Ariel, "sans-serif";
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}

.navbar a:hover {
  font-size: 16px;
  font-weight: bold;
  color: #070707;
 }

.navbar .icon {
  display: none;
}

/*Slide Right Menu*/
.overlay1 {
  height: 100%;
  width: 0%;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0);
  background-color: rgba(0,0,0, 0.9);
  overflow-y: hidden;
  transition: 0.5s;
}

.overlay1-content {
  position: relative;
  top: 50px;
  width: 100%;
  font-family: "Bahnschrift Condensed", Cambria, Calabri, Ariel, "sans-serif";
  font-size: 20px;
  text-align: center;
  padding-left: 10px;
  margin-top: 20px;
}

.overlay1 a {
  padding: 4px 10px 10px 4px;
  font-family: "Bahnschrift Condensed", Cambria, Calabri, Ariel, "sans-serif";
  text-decoration: none;
  font-size: 20px;
  color: #bbbbbb;
  display: block;
  transition: 0.3s;
}

.overlay1 a:hover, .overlay1 a:focus {
  color: #014F28;
}

.overlay1 .closebtn {
  position: absolute;
  color: #E0E0E0;
  top: 10px;
  left: 35px;
  font-size: 60px;
}

@media screen and (max-height: 640px) {
  .overlay1 {overflow-y: auto;}
  .overlay1 a {font-size: 20px}
  .overlay1 .closebtn {
  font-size: 15px;
  top: 5px;
  left: 25px;
  }
}

/*Popup*/
.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}

.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 10px auto;
  padding:  50px 10px 5px;
  background: #FFFFFF;
  border-radius: 5px;
  width: 75%;
  max-width: 550px;
  max-height: 75%;
  position: relative;
  transition: all 2s ease-in-out;
  overflow-y: scroll;
}
	
.popup-header {
  position: fixed;
  align-self: flex-start;
  top: 20px;
  border-radius: 5px;
  width: 68%;
  max-width: 520px;
  padding: 2px 16px;
  background-color: #BBBBBB;
  color: #FFFFFF;
  font-family: "Bahnschrift Condensed", Cambria, Calabri, Ariel, "sans-serif";
  font-size: 17px;
  font-weight: bold;
}

.popup .close {
  display: block;
  background-color: #ffffff;
  padding: 4px;
  border-color: #070707;
  border-style:solid;
  border-radius: 5px;
  position: absolute;
  top: 15px;
  right: 15px;
  transition: all 200ms;
  font-size: 20px;
  text-decoration: none;
  color: #070707;
}

.popup .close:hover {
  display: block;
  background-color: #FFFFFF;
  color: #070707;
  font-size: 21px;
  font-weight: bold;
}

.popup .content {
  font-family: "Bahnschrift Condensed", Cambria, Calabri, Ariel, "sans-serif";
  max-height: 80%;
 }

/*Footer*/
.footer {
  overflow: hidden;
  position: relative;
  left: 0;
  bottom: 0;
  width: 100%;
  height: inherit;
  background-color: #BBBBBB;
  font-family: "Bahnschrift Condensed", Cambria, Calabri, Ariel, "sans-serif";
  color: #070707;
  font-weight: bold;
  font-size: 12px;
}

.footer a {
	float: right;
	display: block;
	text-align: right;
	font-family: "Bahnschrift Condensed", Cambria, Calabri, Ariel, "sans-serif";
	color: #070707;
	padding: 4px;
	font-weight: bold;
	font-size: 12px;
	background-color: #bbbbbb;
}

.footer a:hover {
	font-family: "Bahnschrift Condensed", Cambria, Calabri, Ariel, "sans-serif";
	color: #014F28;
	font-weight: bolder;
	font-size: 13px;
	background-color: #bbbbbb;
}

