.gallery {
    position: relative;   /* иначе кнопки влево-вправо не правильно располагаются */
    border: 1px groove #D7E3FF;
    margin-top: 25px;
}
.slide {
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 3.6 / 2;
}
.gallery img {
    width: auto;
    max-height: 100%;
    display: block;
    margin: 0 auto;
    cursor: pointer;
}
.prev, .next {
    background: #D7E3FF;
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 10px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 10px 10px 0;
    user-select: none;
}
.next {
    right: 0px;
    border-radius: 10px 0 0 10px;
}
.prev:hover, .next:hover {
    color: #415e91;
}
.number {
    color: #415e91;
    background: #D7E3FF;
    font-size: 14px;
    padding: 6px 9px;
    position: absolute;
    top: 0;
    border-radius: 0 0 10px 0;
}

/*Модальное окно*/
#pmodal {
    display: none;
    position: fixed;
    z-index: 20;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: #f3f3fa;
}
.modal-content {
  position: relative;
  margin: 10px auto;
  padding: 0;
  width: 80%;
  max-width: 1920px;
}
.mySlides {
  display: none;
}
.mySlides img {
    width: 100%;
    height: auto;
}
#pclose {
    position: absolute;
    top: 10px;
    right: 20px;
    background: #D7E3FF;
    color: white;
    padding: 0 8px;
    border-radius: 5px;
    font-size: 28px;
    font-weight: bold;
    transition: 0.3s;
}
#pclose:hover, #pclose:focus {
    color: #415e91;
    text-decoration: none;
    cursor: pointer;
}

.column img {
    float: left;
    width: 10%;
}
.demo {
  opacity: 0.4;
}
.active, .demo:hover {
  opacity: 1;
}
img.hover-shadow {
  transition: 0.3s;
}
.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}