.overlay8 {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  transition: opacity 900ms;
  visibility: hidden;
  opacity: 0;
 
  z-index:8000;
}
.overlay8:target {
  visibility: visible;
  opacity: 1;
}

.popup8 {
  margin: 70px auto;
  padding: 0px;
  background: #fff;
  border-radius: 5px;
  width: 60%;
  height:550px;
  position: relative;
  transition: all 5s ease-in-out;
}

.popup8 h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup8 .close8 {
  position: absolute;
  top: 10px;
  right: 30px;
  transition: all 200ms;
  font-size: 40px;
  font-weight: bold;
  text-decoration: none;
  color: orange;
  
  
}
.popup8 .close8:hover {
  color: maroon;
}
.popup8 .content8 {
  max-height: 95%;
  overflow: auto;
}
/* END OF POPUP END OF POPUP  */
.overlay3 {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  transition: opacity 900ms;
  visibility: hidden;
  opacity: 0;
  z-index:8000;
}
.overlay3:target {
  visibility: visible;
  opacity: 1;
}

.popup3 {
  margin: 70px auto;
  padding: 30px;
  background: #fff;
  border-radius: 5px;
  width: 30%;
  position: relative;
  transition: all 5s ease-in-out;
}

.popup3 h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup3 .close3 {
  position: absolute;
  top: 10px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: rgb(183,18,31);
  
  
}
.popup3 .close3:hover {
  color: maroon;
}
.popup3 .content3 {
  max-height: 90%;
  overflow: auto;
}
/*END OF POUP 3 */
.popup34 {
  margin: 5% auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 30%;
  position: relative;
  transition: all 5s ease-in-out;
  z-index:10000;
  overflow-y:auto;
 height:80%;
}
.popup34 .close34 {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: orange;
}
.popup34 .close3:hover {
  color: maroon;
}
.popup34 .content34 {
  max-height: 100%;
 
}
/* END OF POPUP END OF POPUP  */

.overlay4 {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  transition: opacity 900ms;
  visibility: hidden;
  opacity: 0;
  z-index:8000;
}
.overlay4:target {
  visibility: visible;
  opacity: 1;
}

.popup4 {
  margin: 70px auto;
  padding: 5px;
  background: #fff;
  border-radius: 5px;
  width: 60%;
  
  position: relative;
  transition: all 5s ease-in-out;
}

.popup4 h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup4 .close4 {
  position: absolute;
  top: 10px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: rgb(183,18,31);
}
.popup4 .close4:hover {
  color: maroon;
}
.popup4 .content4 {
  max-height: 500px;
  overflow: auto;
}

/* END OF POPUP*/
.overlay5 {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  transition: opacity 900ms;
  visibility: hidden;
  opacity: 0;
  z-index:8000;
}
.overlay5:target {
  visibility: visible;
  opacity: 1;
}

.popup5 {
  margin: 15% auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 25%;
  position: relative;
  transition: all 5s ease-in-out;
}

.popup5 h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup5 .close5 {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup5 .close5:hover {
  color: maroon;
}
.popup5 .content5 {
  max-height: 400px;
  overflow: auto;
}

@media screen and (max-width: 700px){
 
   .popup3{
	 
    width: 80%;
	margin: 70px auto;
  }
  .popup34 {
  margin: 20% auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 80%;
  position: relative;
  transition: all 5s ease-in-out;
  z-index:40000;
  overflow-y:auto;
 height:80%;
}
  .popup4{
	 
    width: 80%;
	margin: 70px auto;
  }
  .popup5{
	 
    width: 80%;
	margin: 70px auto;
  }
}