/* Center the loader */
#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 120px;
  height: 120px;
  margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
#loader2 {
  position: absolute;
  left: 20%;
  top: 50%;
  z-index: 1;
  width: 120px;
  height: 120px;
  margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid blue;
  border-bottom: 16px solid blue
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
#loader3 {
  position: absolute;
  left: 40%;
  top: 50%;
z-index: 1;
margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid blue;
  border-right: 16px solid green;
  border-bottom: 16px solid red;
  border-left: 16px solid pink;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
#loader4 {
  position: absolute;
  left: 60%;
  top: 50%;
z-index: 1;
margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-right: 16px solid blue;
  border-bottom: 16px solid yellow;
  border-left: 16px solid red;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
#loader5 {
  position: absolute;
  left: 80%;
  top: 50%;
z-index: 1;
margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid yellow;
  border-right: 16px solid green;
  border-bottom: 16px solid yellow;
  border-left: 16px solid brown;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
#loader21 {
  position: absolute;
  left: 20%;
  top: 50%;
  z-index: 1;
  width: 120px;
  height: 120px;
  margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 100%;
  border-top: 16px;
  border-bottom: 16px
}
#loader31 {
  position: absolute;
  left: 40%;
  top: 50%;
z-index: 1;
margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 100%;
  border-top: 16px;
  border-right: 16px;
  border-bottom: 16px;
  border-left: 16px;
  width: 120px;
  height: 120px;
}
#loader41 {
  position: absolute;
  left: 60%;
  top: 50%;
z-index: 1;
margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 100%;
  border-right: 16px;
  border-bottom: 16px;
  border-left: 16px;
  width: 120px;
  height: 120px;
}
#loader51 {
  position: absolute;
  left: 80%;
  top: 50%;
  z-index: 1;
  margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 100%;
  border-top: 16px;
  border-right: 16px;
  border-bottom: 16px;
  border-left: 16px;
  width: 120px;
  height: 120px;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}

@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 } 
  to { bottom:0px; opacity:1 }
}

@keyframes animatebottom { 
  from{ bottom:-100px; opacity:0 } 
  to{ bottom:0; opacity:1 }
}

#myDiv {
  display: none;
  text-align: center;
}
#myDiv2 {
  display: none;
  left: 30%;
  top: 60%;
}

.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: block;
  user-select: none;
}

/* The actual popup */
.popup .popuptext {
  visibility: hidden;
  width: 360px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -80px;
}

/* Popup arrow */
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;} 
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}