.image_post {
  border-radius: 5px;
  cursor: pointer;
  /*transition: 0.3s;*/
  transition: transform .2s,opacity .2s; /* Animation */
  margin: 0 auto;
}

.image_post:hover {
  opacity: 0.7;
  transform: scale(1.05); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

.modal_zooming {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 2; /* 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 */
  overflow:hidden;
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
}

/* The Modal (background) */
.modal-content_zooming {
  margin: auto;
  display: block;
  width: 90%;
  max-width: 800px;
}

/* Modal Content (image) */
#caption {
  margin: auto;
  display: block;
  width: 90%;
  max-width: 800px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content_zooming, #caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)}
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* The Close Button */
.close_zooming {
  position: absolute;
  top: 15px;
  right: 60px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close_zooming:hover,
.close_zooming:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content_zooming {
    width: 100%;
  }
}
.img-zoom-container{
  display:flex;
}
#img_zooming{
  width: 500px;
  height: fit-content;
  /*height: auto;*/
}
.img-zoom-container {
  position: relative;
  margin: auto;
  width: min-content;
}

.img-zoom-lens {
  position: absolute;
  border: 1px solid #d4d4d4;
  background: rgba(0,0,0,0.4);
  /*set the size of the lens:*/
  width: 40px;
  height: 40px;
}

.img-zoom-result {
  border: 1px solid #d4d4d4;
  /*set the size of the result div:*/
  width: 300px;
  height: 300px;
  max-width: 400px;
}
.img-zoom-line-left{
  width: 0px;
  top: 0px;
  position: absolute;
  height: 1px;
  background-color: red;
}
.img-zoom-line-top{
  width: 1px;
  top: 0px;
  position: absolute;
  height: 0px;
  background-color: red;
}
.img-zoom-line-right{
  width: 0px;
  top: 0px;
  position: absolute;
  height: 1px;
  background-color: red;
}
.img-zoom-line-bottom{
  width: 1px;
  top: 0px;
  position: absolute;
  height: 0px;
  background-color: red;
}
.pointer_horizontal{
  width: 100%;
  height: 1px;
  background-color: red;
  top: 50%;
  position: relative;
}
.pointer_vertical{
  height: 100%;
  width: 1px;
  background-color: red;
  /*left: 50%;*/
  position: relative;
}
.middle_zoom{
  width: 80px;
}
.options_zoom{
    display: flex;
    margin: 30px 0;
    justify-content: space-around;
}
