body {
  font-family: 'Montserrat', sans-serif;
  background-color: #F5F7FA;
}

/* Main Section */
.main-container{
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: row-reverse;
  width: 90%;
  background-color: #fff;
  margin: 20px auto;
  box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.2);
}


table{
    width: 100%;
    border-spacing: 10px;
    margin: 10px 10px 10px 10px;
    border: 0;
}

td, th, tr {
  border: 10px;
  border-spacing: 10px;
}

/* картинка на странице */
.minimized {
  /* width: 570px; */
  display: table-cell;
  width: 100%;
  cursor: pointer;
  /*margin-bottom: 10px;*/
  vertical-align: middle;
  /* margin: 20px 20px 20px 20px; */
  box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.2);
}
.minimized:hover {
  box-shadow: 0px 0px 20px rgb(2, 230, 21);
}
/* увеличенная картинка */
#magnify {
  display: none;
  position: fixed;
  max-width: 800px;
  height: auto;
  z-index: 9999;
}
#magnify img {
  width: 100%;
}
/* затемняющий фон */
#overlay {
  display: none;
  background: #000;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0.5;
  z-index: 9990;
}
/* кнопка закрытия */
#close-popup {
  width: 30px;
  height: 30px;
  background: #FFFFFF;
  border: 1px solid #AFAFAF;
  border-radius: 15px;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 15px;
}
#close-popup i {
  width: 30px;
  height: 30px;
  background: url(https://codernote.ru/files/cross.png) no-repeat center center;
  background-size: 16px 16px;
  display: block;
}
@keyframes rota {
 25% { transform: rotate(360deg); }
}
#close-popup:hover {
  animation: rota 4s infinite normal;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}
