
img:not([draggable]),
embed,
object,
video {
  max-width: 100%;
  height: auto;
}

img {
  border: none;
  max-width: 100%;
  height: auto;
}

button:focus {
  -moz-outline: none;
  outline: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.section {
  padding: 12rem 0;
}

.section-top {
  padding: 12rem 0 0;
}

.section-bottom {
  padding: 0 0 12rem 0;
}

.btn.focus, .btn:focus {
  border: 1px solid transparent;
}

.form-control:focus,
.btn.focus, .btn:focus {
  color: #495057;
  background-color: #fff;
  outline: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
}

a:focus {
  outline: 0px solid;
}

.fix {
  overflow: hidden;
}

p {
  margin: 0 0 24px;
}

a {
  text-decoration: none;
}

a:hover {
  color: #690038;
  text-decoration: none;
}

a:active, a:hover {
  outline: 0 none;
  color: #690038;
}

ul {
  list-style: outside none none;
  margin: 0;
  padding: 0;
}

::-moz-selection {
  background: #690038;
  text-shadow: none;
}

::selection {
  background: #690038;
  text-shadow: none;
  color: #ffffff;
}

.header {
  background-color: #f8f9fa;
}

@media (max-width: 767.98px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100%;
  }
  .header .navbar {
    padding: 0;
  }
  .header .container-fluid {
    padding: 0;
  }
  .header .navbar-brand {
    padding-left: 5px;
  }
  .header .navbar-toggler {
    margin-right: 5px;
  }
}

.header .navbar-brand img {
  max-height: 60px;
}

.header .navbar-nav a {
  display: inline-block;
  font-size: 17px;
  font-weight: 600;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.header .navbar-nav a.active, .header .navbar-nav a:hover {
  color: #690038 !important;
}

@media (max-width: 767.98px) {
  .header button:focus {
    outline: 0;
    -webkit-box-shadow: 0 0 0 transparent;
            box-shadow: 0 0 0 transparent;
  }
  .header .nav-item {
    text-align: center;
  }
  .header .navbar-nav {
    border-top: 1px solid #ddd;
  }
}

@media (max-width: 767.98px) {
  .main {
    padding-top: 0px;
  }
}

.main .gallery-title {
  text-align: center;
  padding: 72px 0 36px;
  font-weight: 700;
  font-size: 40px;
}

.main .main-content {
  padding: 10px;
  display: -ms-grid;
  display: grid;
  grid-gap: 10px;
  -ms-grid-columns: (minmax(160px, 1fr))[auto-fit];
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  grid-auto-rows: 160px;
  grid-auto-flow: dense;
}

.main .main-content .img-item {
  -webkit-transition: all linear .3s;
  transition: all linear .3s;
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  display: none;
  -webkit-transform: scale(0);
          transform: scale(0);
  -webkit-transform-origin: center;
          transform-origin: center;
}

.main .main-content .img-item.active {
  -webkit-transform: scale(1);
          transform: scale(1);
}

.main .main-content .img-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  vertical-align: middle;
  -webkit-transition: transform .35s ease;
  transition: transform .35s ease;
}

.main .main-content .img-item:nth-child(2n) {
  grid-column: auto;
}

.main .main-content .img-item:nth-child(4n) {
  grid-row: auto;
}

.main .main-content .img-item:nth-child(10n) {
  grid-column: auto;
  grid-row: auto;
}

.main .main-content .img-item:nth-child(8n) {
  grid-column: auto;
  grid-row: auto;
}

.main .load-more-area {
  text-align: center;
  padding: 60px 0;
}

.main .load-more-area a {
  display: inline-block;
  background-image: linear-gradient(135deg, #7c3aed, #06b6d4);
  padding: 10px 28px;
  color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(124,58,237,.25);
}

.main .load-more-area a:hover {
  background-color: #1f0b30;
}

.main .main-content .img-item:hover img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}


