/* helper-general */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300&display=swap');

body{
    font-family:poppins;
    background: var(--bg-primary);
    color: var(--bs-color);
    cursor: none;
    overflow-x: hidden;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --bs-primary: #0CB4CE;
    --bs-secondary: #6442FF;
    --bs-success: #18bc9c;
    --bs-info: #3498db;
    --bs-warning: #f39c12;
    --bg-secondary: #ececec;
    --bg-primary: #F2F6F2;
    --bs-color: #707170;
    --bg-servizi:linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(167,194,200,1) 50%, rgba(122,190,200,1) 100%);

}
 
.dark-mode{
    --bg-secondary: #777;
    --bg-primary: #333;
    --bs-color: #c7c7c7;
    --bg-servizi:linear-gradient(0deg, rgb(48, 48, 48) 0%, rgb(95, 110, 114) 50%, rgba(122,190,200,1) 100%);

}

#mode-icon{
    width: 40px;
    cursor: pointer;
    position: fixed;
    top:93%;
    right: 40px;
    z-index: 99999;
    
    }
#cursor{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    background: #fff;
    pointer-events: none;
    transition: 0.05s ease-out;
    z-index: 999999;
    box-shadow: 0 0 5px #888;
    mix-blend-mode: difference;
    }
  
  #cursor-lazy{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    position: absolute;
    /* top: 0;
    left: 0;
    transform: translate(-50%, -50%); */
    z-index: 999999;
    pointer-events: none;
    transition: 0.15s ease-out;
    mix-blend-mode: difference;
    animation: cursorLazyAnim .5s infinite alternate;
  }
  
  @keyframes cursorLazyAnim{
    0%{transform: scale(1) translate(-50%, -50%);}
  
    100%{transform: scale(.9) translate(-55%, -55%);}
  }
  
  .expand{
    border: 2px solid #c3f7ff !important;
    animation: expandAnim .5s forwards !important;
  }
  
  @keyframes expandAnim{
    0%{transform: scale(1) translate(-50%, -50%);}
    50%{transform: scale(2) translate(-25%, -25%);}
    100%{transform: scale(1) translate(-50%, -50%);}
  }
  
  @media(pointer: coarse){
    #cursor-lazy ,#cursor{
      display: none;
      cursor:auto;
    }
  }

 
#main{
    padding-top: 100px;
    overflow-x: hidden;
}
img{
    width: 100%;
}
img .height-100{
    height: 100vh;
}
.bg-sec_miratc{
    background: #4D4D4F;
  }
.shadow-1{
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}
.shadow-2{
  box-shadow: 0 25px 40px -20px #868686;
}
h1{
    color: var(--bs-primary);
}
.bdr{
    border: 1px solid red;
}
.b-radius-20{
border-radius: 20px;
}
.h-100{
    height: 100vh !important;
}
hr{
    height:3px !important;
    background: radial-gradient(circle at left top , rgb(12, 180, 206) 9% , rgb(0, 108, 255) 48% , rgb(100, 66, 255) 91%);
}
.height-auto{
    height: auto !important;
}
.f-s-16{
    font-size: 16px !important;
    margin-bottom: 20px !important;
}
.f-s-12{
    font-size: 12px;
}
.btn-miratec{
    position: relative;
    padding: 15px 30px;
    text-decoration: none;
    color: var(--bs-white);
    text-shadow: 0 0 2px rgb(187, 187, 187);
    font-size: 20px;
    text-transform: uppercase;
    font-family: sans-serif;
    letter-spacing: 2px;
    overflow: hidden;
    background: rgba(12,180,206, .4);
    box-shadow: 0 5px 5px rgba(0,0,0,.2);
    transition: 0.5s;
}
.container-miratec{
    max-width: 1320px !important;
}
.btn-miratec::after{
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background:linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;

}
.btn-miratec:hover::after{
    left: 100%;
}
.btn-miratec:hover{
    box-shadow: 0 5px 15px rgba(53, 53, 53, 0.5);
    color: var(--bs-white);
    transition: 0.5s;
}
.titolo-miratec{
  font-size: 10rem !important;
  color: rgba(0,0,0,0.1);
  position: relative;
  top: 0;
  transform: translate(0px, -50%);

}
.container-fluid{
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.mt--1{
  margin-top: -100px;
}
.p-b-5{
    padding-bottom:200px ;
}
.height-auto{
    height: auto;
}
.bg-second{
    background:var(--bg-secondary);
}
.min-h-65{
    min-height: 650px;
}
.w-space-no{
  white-space: nowrap;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: var(--bs-primary);
  }
  
  :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: var(--bs-primary);
  }
  
  ::-ms-input-placeholder { /* Microsoft Edge */
    color: var(--bs-primary);
  }
  .cover__filter{ 
    background: rgba(0, 0, 0, 0.5);
     width:100%; height:400px; 
     position: absolute; 
     top:0;
     bottom: 0; 
     z-index: 0; 
     padding: 100px 0;
  }
    ::-webkit-scrollbar {
    width: 15px;
  }
  
  ::-webkit-scrollbar-track {
    background: #F2F6F2; 
  }
  
  ::-webkit-scrollbar-thumb {
    background:  
    radial-gradient(circle at left top , rgba(12, 180, 206 ,0.5) 9% , rgba(0, 108, 255 ,0.5) 48% , rgba(100, 66, 255 ,0.5) 91%);      border-radius: 25px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(167,194,200,1) 50%, rgba(122,190,200,1) 100%)  
}
  
  @media (max-width:768px) {
    .p-2-mob{
      padding: 30px;
    }
    .btn-miratec{
        font-size: 18px;
    }
    .h-100{
        height: 90vh !important;
    }
    .order-1{
        order: 2 !important;
    }
    .order-2{
        order: 1 !important;
    }
    .h-100-m{
        height: 100vh !important;
    }
    .titolo-miratec{
      font-size: 4rem !important;  
    }
    .mt--1{
      margin-top: -50px;
    }
    .hide-mob{
        display: none;
    }
    .w-space-no{
  white-space: normal;
}
}
/* footer */
.logo-footer{
    width: 164px;
    height: 40px;
    margin: 20px 0;
}

/* slider flifkity */
  
  .carousel-cell {
    overflow: hidden;
    width: 70%;
    margin: 10px 20px 70px 20px;
    box-shadow: 0 25px 40px -20px #868686;
    border-radius: 20px;
  }
  
  .carousel-cell img {
    display: block;
    width: 100%;
    height: 70vh;
    object-fit: cover;
  }
  .flickity-button.flickity-prev-next-button{
    border-radius: 8px;
    background: hsl(0deg 0% 100% / 25%);
    }
    
    .flickity-button.flickity-prev-next-button .flickity-button-icon {
        color: var(--bs-primary);
    }
    .flickity-page-dots .dot{
        background: var(--bs-primary);
    }
  @media ( max-width: 768px ) {
    .carousel-cell img {
      height: 500px;
  
    }
    .carousel-cell {
      margin-right: 10px;
      width: 90%;
    }
  }
  /* about me */
  .element{
    position: absolute;
    height:auto;
    object-fit: cover;
    transition: 0.2s;
  }
  .php-icon { top: 30%;  left: 15%;  width: 50px;}
  .html-icon { top: 10%;  right: 30%; width: 60px;}
  .css-icon { top: 40%;  left: 50%;  width: 40px;}
  .js-icon { top: 45%;  left: 35%; width: 45px;}
  .wordpress-icon { top: 25%;  right: 40%; width: 40px;}
  .python-icon { top: 15%;  left: 20%; width: 40px;}

  /* protfolio */
.progetto {
    padding: 3em;
    height: 100vh;
    position: relative;
    box-sizing: border-box;
  }
  .progetto .titolo-progetto {
    font-size: 2.3em;
    margin-top: 10%;
    position: absolute;
  }
  .progetto .titolo-progetto span {
    width: 100%;
    /* background: var(--bs-primary); */
    display: block;
    height: 4px;
    margin-top: 20px;
  }
  .progetto img {
    position: absolute;
    width: auto;
  }
  .progetto img:nth-of-type(1) {
    width: 60%;
    right: 0;
    top: 30%;
  }
  .progetto img:nth-of-type(2) {
    width: 25%;
    right: 45%;
    top: 20%;
    margin-top: 15%;
  }

  @media (max-width:768px) {
    .progetto img:nth-of-type(1) {
        width: 100%;
        height: auto;
        right: 0;
        top: 40%;
      }
      .progetto img:nth-of-type(2) {
        width: 80%;
        height: auto;
        right: 10%;
        top: 65%;
        margin-top: 15%;
      }
      .progetto {
          padding-top: 3em;
          padding-left: 10px;
      }
  }

/* chi sono */
.circle-anim{
    width: 500px;
    height: 500px;
    vertical-align: bottom;
    box-shadow: 0 8px 30px 0 rgba(0,0,0,0.3);
    background:linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(167,194,200,1) 50%, rgba(122,190,200,1) 100%);
    animation: chi-sono-transform 27s linear infinite;
    overflow: hidden;
}

@keyframes chi-sono-transform{
    0%,100% { border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; } 
  14% { border-radius: 40% 60% 54% 46% / 49% 60% 40% 51%; } 
  28% { border-radius: 54% 46% 38% 62% / 49% 70% 30% 51%; } 
  42% { border-radius: 61% 39% 55% 45% / 61% 38% 62% 39%; } 
  56% { border-radius: 61% 39% 67% 33% / 70% 50% 50% 30%; } 
  70% { border-radius: 50% 50% 34% 66% / 56% 68% 32% 44%; } 
  84% { border-radius: 46% 54% 50% 50% / 35% 61% 39% 65%; } 
}
.circle-anim__img{
    height: 95%;
    width: auto;
    margin-top: 5%;
    margin-left: 10%;
}
.div-scroll-effect{
    height: 100vh;
    overflow-y: scroll ;
    scroll-snap-type: y mandatory;
}

.div-scroll-effect section{
    scroll-snap-align: start;
    width: 99%;
    margin-bottom: 70px;
}

@media (max-width:768px) {

    .circle-anim{
        width: 300px;
        height: 300px;
    }
}

/* home */
.scrollmagic-pin-spacer{
    padding-left: 0;
    padding-right: 0;
}

.intro{
    height: 100vh;

}

.intro video.home-anim{
    height: 100%;
    width: 100%;
    object-fit: cover;
}


.titolo-n1{
    top: 20%;
    left: 10%;
}
.titolo-n2{
    top: 40%;
    right: 10%;
    text-align: right;
}
.titolo-n3{
    top: 60%;
    left: 10%;
}
.intro .intro_h1{
    position: absolute;

    color: #fff;
    text-shadow: 1px 1px 10px rgb(124, 124, 124);
    font-size: 80px;
}

.heigth-100 h1{
    padding-top: 300px;
    text-align: center;
    font-size: 80px;
}

/* servizi */

.servizi{
    display: flex;
    justify-content: center;
    align-items: center;
    padding:2rem;
    gap: 2rem;
  }
  
  .anim-container{
    position: relative;
    max-width: 700px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .anim-container .card-miratec{
    position: relative;
    width: 100%;
    min-width: 320px;
    height: 400px;
    background: var(--bg-servizi);
    border-radius: 20px;
    overflow: hidden;
  }
  .anim-container .card-miratec .img-service{
    height: 40%;
    width: auto;
  }
  .anim-container .card-miratec::before{
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at left top , rgba(12, 180, 206 ,0.2) 9% , rgba(0, 108, 255 ,0.2) 48% , rgba(100, 66, 255 ,0.2) 91%);
    clip-path: circle(300px at 80% 0%);
    transition: 0.5s ease-in-out;
  }
  .anim-container .card-miratec:hover::before{
    clip-path: circle(200px at 85% 20%);
  
  
  }
  .anim-container .card-miratec .img-bx{
    position: absolute;
    top: 0%;
    /* transform: translateY(-50%); */
    z-index: 99;
    width: 100%;
    height:230px;
    transition: 0.9s;
  }
  
  .anim-container .card-miratec:hover .img-bx{
    top:0%;
    transform:  translate(-5%, -50%) rotate(-10deg);
  }
  .anim-container .card-miratec .img-bx .img-service{
    position: absolute;
    left: 0%;
    transform:  translate(0%, 50%) rotate(-15deg);
  }
  
  .anim-container .card-miratec .content-bx{
    position: absolute;
    bottom:0;
    width: 100%;
    height: 120px;
    text-align: center;
    transition: 1s;
    z-index: 10;
    padding: 0px 15% 0px 15%;
  }
  .anim-container .card-miratec:hover .content-bx{
    height: 350px;
  }
  
  .anim-container .card-miratec .content-bx h2{
    position: relative;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--bs-white);
    text-shadow: 0 0 1px #000;
  
  }
  
  .anim-container .card-miratec .content-bx .descrizione{
    display: inline-block;
    color: var(--bs-white) !important;
    font-weight: 500;
    margin-top: 50px;
    opacity: 0;
    transform: translateY(50px);
    transition: 0.5s;
    text-shadow: 0 0 1px #000;
  }
  .anim-container .card-miratec:hover .content-bx .descrizione{
    opacity: 1;
    transform: translate(0px);
    transition-delay: 0.5s;
  }
  @media(max-width:768px){
    .servizi{
      flex-wrap: wrap;
    }
    .anim-container .card-miratec .img-service{
      height: 50%;
    }
    .anim-container .card-miratec .content-bx{
      padding: 0px 7% 0px 7%;
    }
  }

/* header */
.menu-icon[type="checkbox"]:checked,
.menu-icon[type="checkbox"]:not(:checked){
  position: fixed;
  left: -9999px;
}
.menu-icon:checked + label,
.menu-icon:not(:checked) + label{
  position: fixed;
  top: 63px;
  right: 75px;
  display: block;
  width: 30px;
  height: 30px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  z-index: 100010;
}
.menu-icon:checked + label:before,
.menu-icon:not(:checked) + label:before{
  position: absolute;
  content: '';
  display: block;
  width: 30px;
  height: 20px;
  z-index: 100020;
  top: 0;
  left: 0;
  border-top: 2px solid #ececee;
  border-bottom: 2px solid #ececee;
  transition: border-width 100ms 1500ms ease, 
              top 100ms 1600ms cubic-bezier(0.23, 1, 0.32, 1),
              height 100ms 1600ms cubic-bezier(0.23, 1, 0.32, 1), 
              background-color 200ms ease,
              transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}
.menu-icon:checked + label:after,
.menu-icon:not(:checked) + label:after{
  position: absolute;
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  z-index: 100020;
  top: 10px;
  right: 4px;
  background-color: #ececee;
  margin-top: -1px;
  transition: width 100ms 1750ms ease, 
              right 100ms 1750ms ease,
              margin-top 100ms ease, 
              transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}
.menu-icon:checked + label:before{
  top: 10px;
  transform: rotate(45deg);
  height: 2px;
  background-color: #ececee;
  border-width: 0;
  transition: border-width 100ms 340ms ease, 
              top 100ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
              height 100ms 300ms cubic-bezier(0.23, 1, 0.32, 1), 
              background-color 200ms 500ms ease,
              transform 200ms 1700ms cubic-bezier(0.23, 1, 0.32, 1);
}
.menu-icon:checked + label:after{
  width: 30px;
  margin-top: 0;
  right: 0;
  transform: rotate(-45deg);
  transition: width 100ms ease,
              right 100ms ease,  
              margin-top 100ms 500ms ease, 
              transform 200ms 1700ms cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-miratec{
  position: fixed;
  top: 43px;
  right: 60px;
  display: block;
  width: 60px;
  height: 60px;
  padding: 0;
  margin: 0;
  z-index: 10009;
  overflow: hidden;
  box-shadow: 0 8px 30px 0 rgba(0,0,0,0.3);
  background-color: #707170;
  animation: border-transform 7s linear infinite;
  transition: top 250ms 800ms cubic-bezier(0.23, 1, 0.32, 1),  
              right 250ms 800ms cubic-bezier(0.23, 1, 0.32, 1),
              transform 170ms 800ms ease,
              width 450ms 270ms cubic-bezier(0.23, 1, 0.32, 1),
              height 450ms 270ms cubic-bezier(0.23, 1, 0.32, 1);
}
@keyframes border-transform{
  0%,100% { border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; } 
  14% { border-radius: 40% 60% 54% 46% / 49% 60% 40% 51%; } 
  28% { border-radius: 54% 46% 38% 62% / 49% 70% 30% 51%; } 
  42% { border-radius: 61% 39% 55% 45% / 61% 38% 62% 39%; } 
  56% { border-radius: 61% 39% 67% 33% / 70% 50% 50% 30%; } 
  70% { border-radius: 50% 50% 34% 66% / 56% 68% 32% 44%; } 
  84% { border-radius: 46% 54% 50% 50% / 35% 61% 39% 65%; } 
}

.menu-icon:checked ~ .nav-miratec {
  animation-play-state: paused;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 200%;
  height: 200%;
  transition: top 250ms 470ms cubic-bezier(0.22, 1, 0.32, 1),  
              right 250ms 470ms cubic-bezier(0.22, 1, 0.32, 1),
              transform 170ms 470ms ease,
              width 450ms 700ms cubic-bezier(0.23, 1, 0.32, 1),
              height 450ms 700ms cubic-bezier(0.23, 1, 0.32, 1);
}
.menu-icon:checked ~ .nav-miratec ul{
    position: fixed;
    text-align: center;
    transform: translateY(-50%);
    list-style: none;
    display: block;
}
.nav-miratec ul{
  position: fixed;
  top: 50%;
  left: 0;
  display: none;
  width: 100%;
  padding: 0;
  margin: 0;
  z-index: 0;
  text-align: center;
  transform: translateY(-50%);
  list-style: none;
}
.nav-miratec ul li{
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 10px 0;
  text-align: center;
  list-style: none;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: all 200ms linear;
}
.nav-miratec ul li:nth-child(1){
  transition-delay: 140ms;
}
.nav-miratec ul li:nth-child(2){
  transition-delay: 105ms;
}
.nav-miratec ul li:nth-child(3){
  transition-delay: 70ms;
}
.nav-miratec ul li:nth-child(4){
  transition-delay: 30ms;
}
.nav-miratec ul li a{
  font-size: 9vh;
  text-transform: uppercase;
  line-height: 1.2;
  font-weight: 800;
  display: inline-block;
  position: relative;
  color: #ececee;
  transition: all 200ms linear;
}
.nav-miratec ul li a:hover{
  text-decoration: none;
  color:var(--bs-primary);
}

.menu-icon:checked ~ .nav-miratec  ul li {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 350ms ease,
              transform 250ms ease;
}
.menu-icon:checked ~ .nav-miratec ul li:nth-child(1){
  transition-delay: 700ms;
}
.menu-icon:checked ~ .nav-miratec ul li:nth-child(2){
  transition-delay: 780ms;
}
.menu-icon:checked ~ .nav-miratec ul li:nth-child(3){
  transition-delay: 860ms;
}
.menu-icon:checked ~ .nav-miratec ul li:nth-child(4){
  transition-delay: 940ms;
}

.logo-miratec {
	position: fixed;
	top: 50px;
	left: 50px;
	display: block;
	z-index: 100011;
	transition: all 250ms linear;
}
.logo-miratec img {
	height: 40px;
	width: auto;
	display: block;
  transition: 0.4s;
}

@media screen and (max-width: 991px) {
  .menu-icon:checked + label,
  .menu-icon:not(:checked) + label{
    right: 55px;
  }
  .logo-miratec {
    left: 40px;
  }
  .nav-miratec{
    right: 40px;
  }
  .nav-miratec ul li a{
    font-size: 8vh;
  }
}

/* contatti */
form{
    display: grid;
    gap: 10px;
  }
@media(max-width:768px){
  form{
    margin-left: -20px;
  }

}

  input[type=text] ,
   input[type=email] ,
    input[type=tel] ,
     textarea{
    border: none;
    border-bottom: 2px solid var(--bs-primary) !important;
    background: transparent;
    font-size: 1.4rem;
  }
  input[type=submit]{
    width: 150px;
    border: none;
  }
  
.bg-contatti{
background-attachment: fixed;
background-size: cover;
background-position: 70% 50%;;
min-height: 400px;
}
.social{
  padding-bottom: 80px !important;
}

.social svg{
  position: absolute;
    height: 30px;
    transition: .5s;
}
.social a{
    margin: auto;
}
.social svg path{
  fill: var(--bs-primary);
  transition: 0.3s;
}
.social svg:hover{
  height: 40px;
}
.social svg.facebook:hover path{
  fill: #3b5998;
}
.social svg.linkedin:hover path{
  fill: #0e76a8;
}
.social svg.instagram:hover path{
  fill: #DD2A7B;
}
.social svg.whatsapp:hover path{
  fill: #25D366;
}

/* p-servizi */
.hero-servizi{
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: start;
  align-items: center;
}
.hero-servizi:before{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--bg-secondary) , transparent);
  z-index: 10;
}

.hero-servizi img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;

}


/* .hero-servizi #hero-servizi_titolo{
position: absolute;
color: transparent;
-webkit-text-stroke: 4px var(--bs-primary);
font-size: 7vw;
text-align: center;
line-height: 0.55em;
transform: translateY(-50px);
} */


#arrow-down{
position: relative;
left: 10%;
display: inline-block;
height: 50px;
padding: 10px 30px;
transform: translateY(150px);
animation: mymove 3s ease-in-out infinite;
}
@keyframes mymove {
  0% {top: 0px;}
  50% {top: 20px;}
  100% {top: 0px;}
}
.down{
height: 40px;
width: auto;
padding-left:10px ;
}

.servizi{
  position: relative;
  background-color: var(--bg-secondary);
  color: var(--bs-color);

}

.titolo-servizi{
  font-size: 3rem;
}
@media(max-width:768px){
  .titolo-servizi{
    font-size: 2.2rem;
  }
}

/* gallery */
.col-gallery img{
  margin-bottom: 30px;
  border: 2px dashed #888;
  padding: 7px;
  flex: 33%;
}

@media (max-width:998px) {
  .col-gallery{
    flex: 50%;
  }
}
@media (max-width:768px) {
  .col-gallery{
    flex: 100%;
  }
}