@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');
/* -------------  CSS Loader  ----------- */

.overlay{
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	background: #fff;
	z-index: 10;
	opacity: 0.7;
}
.loader{
	width: 150px;
	height: 150px;
	border-radius: 50%;
	border:10px solid #333;
	position: relative;
	margin: 0 auto;
	top:30%;
	animation:loader 2s linear infinite;
}
@keyframes loader{
	50% {
		opacity: 0.5;
	}
	100% {
		transform:rotate(360deg);
	}
}
.loader:after{
	content: "";
    width: 35px;
    height: 35px;
    background: #333;
    position: absolute;
    border-radius: 50%;
    top: -20px;
    left: 55px;
}
.loader:before{
	content: "";
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid #333;
    position: absolute;
    transform: rotate(-90deg);
    top: -10px;
    left: 39px;

}
/* --------- CSS Loader End Here ------------*/

/* style the image used to trigger the modal */
.myImg{
  cursor: pointer;
}
.myImg:hover{
  opacity:0.6;
}

/* the modal (background) */
.modal{
  display: none; /* hidden by default */
  position: fixed; /* stay in place */
  z-index: 1; /* sit on top */
  padding-top: 100px; /* location of the box */
  left: 0;
  top: 0;
  width: 100%; /* full width */
  height: 100%; /* full height */
  overflow: auto; /* enable scroll if needed */
  background-color: rgb(0, 0, 0); /* fallback color */
  background-color: rgba(0, 0, 0, 0.9); /* black w/ opacity */
}

/* modal content (image) */
.modal-content{
  margin: auto;
  display: block;
  width: 50%;
  max-width: 900px;
}

/* Caption of modal image (image text) - same width as the image */
#caption{
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  height: 150px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
}

/* Add Animation - zoom in the modal */
.modal-content, #caption{
  animation-name: zoom;
  animation-duration: 2.5s;
}
@keyframes zoom {
  from {transform: scale(0)}
  to {transform: scale(1)}
}

/* the close button */
.close{
  position: absolute;
  top: 50px;
  right: 35px;
  color: #f1f1f1;
  font-size: 60px;
  font-weight: normal;
  transition: 0.3s;
}
.close:hover, .close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% image width on smaller screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 80%;
  }
}
