/**
 * @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,
li {
  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: 25%;
}

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

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

.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;*/
    }


.path-frontpage .header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}


.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.page-vocabulary-arsiv .title {
text-align: center;
--bs-text-opacity: 1;
  color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
}


.field--name-body blockquote {
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
}

.swiper-pagination-bullet-active {
--swiper-theme-color: #333F77;
--swiper-pagination-color: #333F77;
  opacity: var(--swiper-pagination-bullet-opacity, 1);
  background: var(--swiper-pagination-color, var(--swiper-theme-color));
}

.swiper-button-prev, .swiper-button-next {
--swiper-theme-color: #333F77;
--swiper-navigation-color: #333F77;

  color: var(--swiper-navigation-color, var(--swiper-theme-color));
}