@font-face {
    font-family: "IranSans";
    src: url("../fonts/iransans/eot/IRANSansWeb.eot");
    src: url("../fonts/iransans/woff/IRANSansWeb.woff") format("woff"),
    url("../fonts/iransans/ttf/IRANSansWeb.ttf") format("ttf"),
    url("../fonts/iransans/woff2/IRANSansWeb.woff2") format("woff2");
}

* {
  margin: 0;
  padding: 0;
}

html {
    position: relative;
}

body {
    min-height: 100vh;
    direction: rtl;
    font-family: 'IranSans';
    background-color: #F0F0F1;
}

#gallery {
  -webkit-column-count: 4;
  -moz-column-count: 4;
  column-count: 4;
  
  -webkit-column-gap: 20px;
  -moz-column-gap: 20px;
  column-gap: 20px;
}

@media (max-width:1200px) {
  #gallery {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;

    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;
    column-gap: 20px;
  }
}

@media (max-width:800px) {
  #gallery {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;

    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;
    column-gap: 20px;
  }
}

@media (max-width:600px) {
  #gallery {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
}

#gallery img,
#gallery video {
  width: 100%;
  height: auto;
  margin: 4% auto;
  box-shadow: -3px 5px 15px #000;
  /* cursor: pointer; */
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.modal-img,
.model-vid {
  width: 100%;
  height: auto;
}

.modal-body {
  padding: 0px;
}