@media only screen and (min-width: 576px) { 

  .visibilOnDesktop {
    visibility: visible;
  }

  .visibilOnMobile {
    visibility: hidden;
  }

  .fa {
    padding: 1px;
    font-size: 35px;
    width: 35px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
  }
  
  .fa:hover {
    opacity: 0.7;
  }
  
  .bd-placeholder-img:hover {
    opacity: 0.5;
  }
  
  .referansContainer {
    position: relative;
    width: 50%;
  }
  
  .referansImage {
    display: block;
    width: 100%;
    height: auto;
  }
  
  .referansOverlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: 0.5s ease;
    background-color: #008cba;
  }
  
  .referansContainer:hover .referansOverlay {
    opacity: 1;
  }
  
  .referansText {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
  }
  
  .containerAbout {
    position: relative;
    text-align: center;
    color: white;
  }
  
  .centeredAbout {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .swiper {         
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    }
  
  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    height: calc((100% - 30px) / 2) !important;
  
    /* Center slide text vertically */
    display: flex;
    justify-content: center;
    align-items: center;
    }
  
  
    .mainpage_text_center {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: rgb(37, 89, 164);
      background-color: rgba(255, 255, 255, 0.8);
      padding: 10px;
      border-radius: 5px; 
    }

    .mainpage_projects_center {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: rgb(37, 89, 164);
      background-color: rgba(255, 255, 255, 0.8);
      padding: 5px;
      border-radius: 5px; 
      text-align: center;
    }
  
    .mainpagebanner_text_center {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%); 
      padding: 10px;
      color: rgb(37, 89, 164);
      background-color: rgba(255, 255, 255, 0.8);  
      border-radius: 10px;
    }

    .mainpagefirstbanner_text_center {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%); 
      padding: 10px;
      color: rgba(12, 7, 74, 0.8);  
      background-color: rgba(255, 255, 255, 0.8);  
      border-radius: 10px;
    }
  
  
    .reveal{
      position: relative;
      transform: translateY(150px);
      opacity: 0;
      transition: 1s all ease;
    }
    
    .reveal.active{
      transform: translateY(0);
      opacity: 1;
    }
  
  
    .zoomIn{
      width:102%; 
      transition: transform ease-in-out 1s;
      transform: scale(1.03);
    }
  
  
  .counter-text{
    font-size: 150px;
    font-weight: bold;
  
  }

  .hideOnDesktop {
    display:none;
  }
 
} 




@media only screen and (max-width: 575px) { 

  .visibilOnDesktop {
    visibility: hidden;
  }

  .visibilOnMobile {
    visibility: visible;
  }

  .fa {
    padding: 1px;
    font-size: 35px;
    width: 35px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
  }
  
  .fa:hover {
    opacity: 0.7;
  }
  
  .bd-placeholder-img:hover {
    opacity: 0.5;
  }
  
  .referansContainer {
    position: relative;
    width: 50%;
  }
  
  .referansImage {
    display: block;
    width: 100%;
    height: auto;
  }
  
  .referansOverlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: 0.5s ease;
    background-color: #008cba;
  }
  
  .referansContainer:hover .referansOverlay {
    opacity: 1;
  }
  
  .referansText {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
  }
  
  .containerAbout {
    position: relative;
    text-align: center;
    color: white;
  }
  
  .centeredAbout {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .swiper {         
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    }
  
  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    height: calc((100% - 30px) / 2) !important;
  
    /* Center slide text vertically */
    display: flex;
    justify-content: center;
    align-items: center;
    }

    .mainpagefirstbanner_text_center {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: rgb(37, 89, 164);
      background-color: rgba(255, 255, 255, 0.8);
      padding: 10px;
      border-radius: 5px;     
    }
  
  
    .mainpage_text_center {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: rgb(37, 89, 164);
      background-color: rgba(255, 255, 255, 0.8);
      padding: 10px;
      border-radius: 5px;     
    }

    .mainpage_projects_center {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: rgb(37, 89, 164);
      background-color: rgba(255, 255, 255, 0.8);
      padding: 5px;
      border-radius: 5px; 
      text-align: center;
    }

  
    .mainpagebanner_text_center {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%); 
      padding: 10px;
      color: rgb(37, 89, 164);
      background-color: rgba(255, 255, 255, 0.8);  
      border-radius: 10px;
    }
  
    .mainpagefirstbanner_text_center {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%); 
      padding: 10px;
      color: rgb(37, 89, 164);
      background-color: rgba(255, 255, 255, 0.8);  
      border-radius: 10px;
    }
  
    .reveal{
      position: relative;
      transform: translateY(150px);
      opacity: 0;
      transition: 1s all ease;
    }
    
    .reveal.active{
      transform: translateY(0);
      opacity: 1;
    }
  
  
    .zoomIn{
      width:102%; 
      transition: transform ease-in-out 1s;
      transform: scale(1.03);
    }
  
  
  .counter-text{
    font-size: 150px;
    font-weight: bold;  
  }

  .fw-light {
    margin: 3rem 0 0 0;
  }

  .hideOnMobile {
    display:none;
  }

 
} 


