/**
 * @file
 * Subtheme specific CSS.
 */


.path-frontpage .hero-top {
  background-image: url(/sites/kasimdemiralp.com/themes/custom/bootstrap_kasimdemiralp/images/kasimdemiralp-hero-bg.webp);
  background-position: bottom;
  background-repeat: no-repeat;
  background-color: #D2D2D2;
}

.path-frontpage .arsiv-top {
  background-image: url(/sites/kasimdemiralp.com/themes/custom/bootstrap_kasimdemiralp/images/arsiv-bg.webp);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
}


header .navbar .container {
  background-image: url(/sites/kasimdemiralp.com/themes/custom/bootstrap_kasimdemiralp/images/header-bg.png?123);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

p {
  font-family: "Merriweather", serif;
  line-height: 2 !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", sans-serif;
}


.font-merriweather {
  font-family: "Merriweather", serif !important;
  line-height: 2 !important;
}

.font-inter {
  font-family: "Inter", sans-serif !important;
}


.page-node-16 .title {
font-family: "Merriweather", serif !important;
 text-align: center;
margin-top: 2rem; 
  --bs-text-opacity: 1;
  color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
  font-weight: 300 !important;
}

.block-content-hero_block {
overflow: hidden;
}


.hero-layout {
min-height: 240px;
  margin-top: 60px;
}

.hero-card {
  display: flex;
  flex-direction: column;
  position: absolute;
  width: 330px;
  height: auto;
  top: 10px;
transition: all 0.4s, translate 0s;

}

.card1 {
  margin-left: 10px;
  z-index: 6;
}

.card2 {
  margin-left: 15%;
}

.card3 {
  margin-left: 33%;
  z-index:5;
}

.card4 {
  margin-left: 47%;
  z-index:5;
}

.card5 {
  margin-left: 60%;
  z-index:6;
}

.card6 {
  margin-left: 72%;
  z-index:7;
}

.hero-card:hover {
  z-index: 100;
  top: -50px;

}


.masonry-grid {
  text-align: center;
  max-width: 95vw;
  margin: 2.5vw auto;
}



.masonry-grid-item {
  padding: 5px;
  box-sizing: border-box;
  display: inline;
}


/* Step 4: Add media queries (subjective) to make the whole grid resposive. */

@media only screen and (max-width : 768px) {
 .hero-layout {
  min-height: 120px;
  margin-top: 30px;
}
.hero-card {
  display: flex;
  flex-direction: column;
  position: absolute;
  width: 120px;
  height: auto;
  top: 10px;
  transition: all 0.4s, translate 0s;
}

}

 .swiper-slide {
     height: auto;
    }

 .swiper-slide img {
     max-height: 294px;
    }

