/* Some default styling first */

.intro {
  padding: 48px 0 48px 24px;
  font-size: 1.5rem;
}

.container {
  margin-top: 0px !important;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 15px;
}


/* article styling */
article {
    color: #1e2432;
    background: #FFF;
    border-radius: 8px;
    cursor: pointer;
    transition: all .24s ease-in-out;
    /* border: 2px solid #dddddd; /* Dark gray border */ 
    height: fit-content;
    margin-bottom: 0px; /* Adjust as needed */
  
  }
  
  article:hover {
    transform: scale(1.023);
    box-shadow: rgba(0, 0, 0, 0.5) 0px 25px 50px -12px;
  }
  
/*   article > * {
    padding: 20px;
  }
   */
  article figure {
    margin: 0;
    padding: 0;
  }


  
  
 /* h2 a {
    padding-top: 5px;
    color: #1e2432;
    text-decoration: none;
    display: block;
    text-align: center;
    font-weight: 300;
     padding-left: 2px;
} */
  
  time {
    margin: 0;
    color: #6b7280;
    font-size: 1.4rem;
    display: block;
    text-align: center;
  }
  
  .read-more {
    padding-right: 5px;
    color: #abce4c;
    text-decoration: none;  
  }
  
  .read-more:hover, .read-more:active {
    text-decoration: underline;  
  }

 .articlestitle {
  padding-bottom:5px;
}

@keyframes gradient {
  0% {
      background-position: 0% 50%;
  }
  100% {
      background-position: 100% 50%;
  }
}

.faint-line {
  border: none;
  height: 2px; /* Adjusted to a line with height */
  background: linear-gradient(90deg, #a3c93a,#a3c93a); /* Gradient colors */
  background-size: 200% 100%; /* Make the gradient twice as wide as the element */
  animation: gradient 3s alternate infinite; /* Animate the gradient */
  margin: 10px 0; /* Adjust spacing as needed */
}

  
  @media screen and (min-width: 680px) {
    .grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media screen and (min-width: 768px) {
    .grid {
      gap: 18px;
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media screen and (min-width: 1200px) {
    .grid {
      gap: 24px;
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  @media screen and (min-width: 1600px) {
    .grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  
  /* Ensure the items span rows automatically to create masonry effect */
  .grid-item {
/*     break-inside: avoid;
 */    margin-bottom: 12px; /* Adjust as needed */
  }
  

/*New Masonry Edits*/
.gridmasonry {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
  grid-auto-rows: 20px;    
  padding-bottom: 30px;

}



.itemmasonry {
  color: #1e2432;
  background: #FFF;
  cursor: pointer;
  transition: all .24s ease-in-out;
  height: fit-content;
  margin-bottom: 12px; /* Adjust as needed */
  BOX-SHADOW: 0 10px 30px rgba(53,69,95,.2);
  
}



.itemmasonry:hover {
  transform: scale(1.023);
  box-shadow: rgba(0, 0, 0, 0.5) 0px 25px 50px -12px;
}



.itemmasonry figure {
  margin: 0;
  padding: 0;
  width: 100%; /* or a fixed width if needed */
  height: 100%; /* or a fixed height if needed */
  position: relative; /* if using absolute positioning for the images */
}

.itemmasonry figure img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This ensures the image covers the area without distortion */
  display: block; /* Remove any default inline spacing for images */
}


.itemmasonry footer {
  text-align: right;
}

.photothumbmasonry{
  width: 100%;
}

.titlemasonry {
  padding: 0px;
 }

 .center-title {
  display: block; /* Makes the <a> tag a block element */
  text-align: center; /* Centers the text within the block element */
}

.titlemasonry h3{
  font-size: 1.2em;
  color: #abce4c;
}

.projectmasonry .title{
  background-color: #607D8B;
}

.blogmasonry .title{
  background-color: #ff9800;
}

.photomasonry .title{
  background-color: #f44336;
}

.descmasonry{
  padding: 10px 10px 5px 10px;
}

.descmasonry img{
  width: 50%;
  margin: 0 10px 10px 0;
  float: left;
}

.descmasonry p{
  margin-bottom: 10px;
}

/* --- Start progress bar --- */

.process-wrapper {
	margin:auto;
	max-width:1080px;
}

#progress-bar-container {
	position:relative;
	width:90%;
	margin:auto;
	height:100px;
	margin-top:65px;
}

#progress-bar-container ul {
	padding:0;
	margin:0;
	padding-top:15px;
	z-index:9999;
	position:absolute;
	width:100%;
	margin-top:-40px
}

#progress-bar-container li:before {
	content:" ";
	display:block;
	margin:auto;
	width:30px;
	height:30px;
	border-radius:50%;
	border:solid 2px #aaa;
	transition:all ease 0.3s;
     
}

#progress-bar-container li.active:before, #progress-bar-container li:hover:before {
	border:solid 2px #fff;
       	 
	background: linear-gradient(to right, #E91E63 0%,#fff 100%); 
}

#progress-bar-container li {
	list-style:none;
	float:left;
	width:20%;
	text-align:center;
	color:#aaa;
	text-transform:uppercase;
	font-size:11px;
	cursor:pointer;
	font-weight:700;
	transition:all ease 0.2s;
	vertical-align:bottom;
	height:60px;
	position:relative;
}

#progress-bar-container li .step-inner {
	position:absolute;
	width:100%;
	bottom:0;
    font-size: 14px;
}

#progress-bar-container li.active, #progress-bar-container li:hover {
	color:#444;
}

#progress-bar-container li:after {
	content:" ";
	display:block;
	width:6px;
	height:6px;
	background:#777;
	margin:auto;
	border:solid 7px #fff;
	border-radius:50%;
	margin-top:40px;
	box-shadow:0 2px 13px -1px rgba(0,0,0,0.3);
	transition:all ease 0.2s;
     
}

#progress-bar-container li:hover:after {
	background:#555;
}

#progress-bar-container li.active:after {
	background:#207893;
}

#progress-bar-container #line {
	width:80%;
	margin:auto;
	background: #eee;
	height:6px;
	position:absolute;
	left:10%;
	top:57px;
	z-index:1;
	border-radius:50px;
	transition:all ease 0.9s;
}

#progress-bar-container #line-progress {
	content:" ";
	width:3%;
	height:100%;
	background: #207893;	 
	background: linear-gradient(to right, #207893 0%,#2ea3b7 100%); 
	position:absolute;
	z-index:2;
	border-radius:50px;
	transition:all ease 0.9s;
}

#progress-content-section {
	width:90%;
	margin: auto;
	background: #f3f3f3;
	border-radius: 4px;
}

#progress-content-section .section-content {
	padding:30px 40px;
	text-align:center;
}

#progress-content-section .section-content h2 {
	font-size:17px;
	text-transform:uppercase;
	color:#333;
	letter-spacing:1px;
}

#progress-content-section .section-content p {
	font-size:16px;
	line-height:1.8em;
	color:#777;
}

#progress-content-section .section-content {
	display:none;
	animation: FadeInUp 700ms ease 1;
	animation-fill-mode:forwards;
	transform:translateY(15px);
	opacity:0;
}

#progress-content-section .section-content.active {
	display:block;
}

@keyframes FadeInUp {
	0% {
		transform:translateY(15px);
		opacity:0;
	}
	
	100% {
		transform:translateY(0px);
		opacity:1;
	}
}

.card-clickable {
    /* Ensure items are properly styled */
    display: block;
}



/* Lazy Load Styles */
.card-image {
	display: block;
	min-height: 20rem; /* layout hack */
	background: #fff center center no-repeat;
	background-size: cover;
	filter: blur(3px); /* blur the lowres image */
}

.card-image > img {
	display: block;
	width: 100%;
	opacity: 0; /* visually hide the img element */
}

.card-image.is-loaded {
	filter: none; /* remove the blur on fullres image */
	transition: filter 1s;
}

/* <- Demo Stuff Start */

body{
  font-family: 'Roboto', 'Roboto', Arial, sans-serif;
  margin:0;
}

.containerbut {
  display: flex;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  margin: 2% 0% 0% 0;
}
.btn {
     /* margin: 10px; */
    padding: 15px;
    text-align: center;
    transition: 0.5s;
     background-size: 200% auto; 
    color: white;
    /* text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2); */
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
 }

/* Demo Stuff End -> */

/* <- Magic Stuff Start */

.btn:hover {
  background-position: right center; /* change the direction of the change here */
}

.btn-3 {
  background-image: linear-gradient(to right, #363636 0%, #959595 51%, #363636 100%);
}
/* Magic Stuff End -> */