body {
  font-family: 'Poppins', sans-serif;
  background: #fafafa;
}
.wrapper {
  display: flex;
  width: 100%;
}
#sidebar {
  min-width: 250px;
  max-width: 250px;
  background: #F4F4F4;
  color: #000;
  position: fixed;
  height: 100%;
  transition: all 0.3s;
  z-index: 5;
}
.sidebar-header>a>img{
  width: 210px;
  height: auto;
}
#sidebar .sidebar-header {
  padding: 20px;
  background: #E5E5E5;
}
#sidebar ul.components {
  padding: 20px 0 20px 10px;
}
#sidebar ul li a {
  padding: 10px 10px 10px 30px;
  font-size: 15px;
  display: block;
  color: #000;
  text-decoration: none;
}
#sidebar ul li a i{
  font-size: 0.7em;
}
#sidebar ul li a:hover {
  background: var(--rmkclr1);
  color: white;
}
rmkactivemenu{
  color: var(--rmkclr1);
}
#content {
  padding: 20px;
  margin-left: 250px;
}
#sidebarCollapse {
  display: none;
}
@media (min-width: 769px) {
  #content {
    width: calc(100% - 250px);
  }
}
/* Mobil Mod İçin */
@media (max-width: 768px) {
  #sidebar {
    margin-left: -250px;
  }
  #sidebar.active {
    margin-left: 0;
  }
  #sidebarCollapse {
    display: inline-block;
  }
  #content {
    width: 100%;
    margin-left: 0;
  }
}
.submenu{
  padding-left: 10px;
}
.submenu a{
  font-size: 14px;
}

#iddivpreloader{
  display: inline-block;
  position: fixed;
  background-color: transparent;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 10;
  margin: 0 auto;
  padding: 0 0;
  transition: all 0.4s;
  gap: 0;
}
#iddivpreloader>#idpldiv1{
  display: inline-block;
  position: fixed;
  background-color: #000;
  transition: all 0.5s;
  margin: 0 auto;
  border: none;
  outline: none;
  width: 50%;
  height: 50%;
  gap: 0;
  left: 0; 
  top: 0;
  animation-timing-function: ease-in;
}
#iddivpreloader>#idpldiv2{
  display: inline-block;
  position: fixed;
  background-color: #000;
  transition: all 0.5s;
  margin: 0 auto;
  border: none;
  outline: none;
  width: 50%;
  height: 50%;
  gap: 0;
  left: 50%; 
  top: 0;
}
#iddivpreloader>#idpldiv3{
  display: inline-block;
  position: fixed;
  background-color: #000;
  transition: all 0.5s;
  margin: 0 auto;
  border: none;
  outline: none;
  width: 50%;
  height: 50%;
  gap: 0;
  left: 0; 
  top: 50%;
}
#iddivpreloader>#idpldiv4{
  display: inline-block;
  position: fixed;
  background-color: #000;
  transition: all 0.5s;
  margin: 0 auto;
  border: none;
  outline: none;
  width: 50%;
  height: 50%;
  gap: 0;
  left: 50%; 
  top: 50%;
}
#sidebarCollapse{
  position: fixed;
  right: 20px;
  top: 20px;
  z-index: 5;
}
.sidebarsocialicon {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.sidebarsocialicon>a>img {
  width: 30px;
  height: 30px;
  margin: 5px;
}
#iddivpagebody{
  transition: all 0.3s;
  width: 100%;
}
.rmkcolor1{color: var(--rmkclr1);}
.rmkbgcolor1{background-color: var(--rmkclr1);}
.area404{

  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  margin: 0;
}
.error-page {
  text-align: center;
}
.error-code {
  font-size: 8rem;
  font-weight: 700;
  color: #343a40;
}
.error-message {
  font-size: 1.5rem;
  color: #6c757d;
  margin-bottom: 1rem;
}
.home-button {
  font-size: 1.1rem;
}
  .fliparea {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
  }
  /* Kartın dış çerçevesi */
  .flip-card {
    perspective: 1000px;
    text-align: center;
  }

  /* Kartın kendisi */
  .flip-card-inner {
    position: relative;
    width: 300px;
    height: 300px;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    text-align: center;
  }

  /* Mouse üzerine geldiğinde 180 derece dönüş */
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }

  /* Kartın ön ve arka yüzü */
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    padding: 20px;
    box-sizing: border-box;
    z-index: 1;
    text-align: center;
  }

  /* Yazının yüksek görünmesi */
  .flip-card-front > span, .flip-card-back > span {
    position: relative;
    z-index: 2; /* Yazının görsellerden yüksek olması */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); /* Yazının öne çıkması için gölge */
    transform: translateZ(120px); /* 3D efekti */
    text-align: center;
    background-color: rgba(0,0,0,0.15);
  }

  /* Resmin kendisi */
  .flip-card-front img, .flip-card-back img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi kare görünüm için kırpar */
    z-index: 1; /* Yazının altında kalması için z-index */
    border-radius: 5px;
    text-align: center;
  }

  /* Arka yüz için dönüş ayarı */
  .flip-card-back {
    transform: rotateY(180deg) translateZ(20px);
  }
/*-------------------------*/

 /* Kare resim görünümü için düzenleme */
    .gallery-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Kare kutu */
    .gallery-item {
      position: relative;
      width: 100%;
      padding-top: 100%; /* Kare görünüm için */
    }

    .gallery-item img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
/* Karusel ayarları *//*
.logo-carousel {
    overflow: hidden;
    white-space: nowrap;
}

.carousel-track {
    display: inline-flex;
    animation: scroll 20s linear infinite;
}

.logo-img {
    max-width: 150px;
    margin: 0 15px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.logo-img:hover {
    opacity: 1;
}

@keyframes scroll {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-100%);
  }
}
*/

/* Karusel ayarları */
.logo-carousel {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.carousel-track {
    display: inline-flex;
    gap: 20px;
    animation: scroll 20s linear infinite;
}

.logo-img {
    max-width: 150px;
    margin: 0 15px;
    opacity: 0.8;
    transition: opacity 0.3s;
  filter: grayscale(1);
}

.logo-img:hover {
    opacity: 1;
  filter: grayscale(0);
}

/* Animasyon için */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}



/* Kare oranında galeri elemanları */
.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1; /* Kare oranı */
}
/* Resimlerin tam kare görünüm alması için */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Kare içine sığdır */
}
.blog-post {
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}
.blog-title {
    font-size: 1.2rem;
    font-weight: bold;
}
.blog-info {
    font-size: 0.9rem;
    color: #555;
}
.blog-content {
    margin-top: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.post-content {
    line-height: 1.8;
    font-size: 1.1rem;
    margin-top: 20px;
}
.post-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: 20px;
}
.post-meta {
    font-size: 1rem;
    color: #6c757d;
}
.post-image {
    max-width: 100%;
    margin-top: 20px;
}
/*------------------------------------------------*/
.circle-container1 {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}
.circle-image1 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  opacity: 0.5;
  filter: grayscale(1);
}
.circle-border1 {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 15px solid transparent;
  border-top-color: gray;
  border-radius: 50%;
  animation: hover-spin1 4s linear infinite;
  transform-origin: center;
  transition: border-top-color 0.3s;
  pointer-events: none;
}
.circle-container1:hover .circle-border1 {
  animation-duration: 3s;
  border-top-color: #3498db;
}
@keyframes hover-spin1 {
  0% {
    transform: rotate(0deg);
    border-top-color: gray;
  }
  50% {
    border-top-color: #ff5733;
  }
  100% {
    transform: rotate(360deg);
    border-top-color: #3498db;
  }
}

/* Container Ayarları ----------------------------------------------*/
.circle-container2 {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  margin: 10px auto;
}

/* Daire Resim Ayarları */
.circle-image2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Havada duran gölge efekti */
    opacity: 0.5;
    filter: grayscale(0.5);
}
/* Çeyrek Yay Ayarları */
.circle-border2 {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 15px solid transparent;
    border-top-color: white; /* Sabit gri renk */
    border-radius: 50%;
    transform-origin: center;
    transition: transform 0.6s ease; /* Dönüş animasyonu */
    pointer-events: none;
    background-color: rgba(0,0,0,0.4);
}

/* Hover Durumunda 360 Derece Dönme */
.circle-container2:hover .circle-border2 {
    transform: rotate(360deg); /* Tam tur döner */
}

/* Container Ayarları ------------------------------------------------- */
.circle-container3 {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}
/* Daire Resim Ayarları */
.circle-image3 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Havada duran gölge efekti */
  filter: grayscale(1);
  opacity: 0.5;
}

.circle-image3:hover {
  filter: grayscale(0);
}
/* Gri Çeyrek Yay Ayarları */
.circle-border-gray3 {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 15px solid transparent;
  border-top-color: gray; /* Gri renk */
  border-radius: 50%;
  transform-origin: center;
  transition: transform 0.6s ease; /* Dönüş animasyonu */
}
/* Siyah Çeyrek Yay Ayarları */
.circle-border-black3 {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 15px solid transparent;
  border-bottom-color: black; /* Siyah renk, alt kısımda görünmeyecek */
  border-radius: 50%;
  transform-origin: center;
  transition: transform 0.6s ease; /* Dönüş animasyonu */
  transform: rotate(180deg); /* Başlangıçta alt kısımda olacak şekilde */
}
/* Hover Durumunda Döndürme */
.circle-container3:hover .circle-border-gray3 {
  transform: rotate(360deg); /* Gri yay saat yönünde döner */
}
.circle-container3:hover .circle-border-black3 {
  transform: rotate(-180deg); /* Siyah yay saat yönünün tersine döner */
  z-index: 1;
}
/*----------------------------------------------*/
.pictext {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    overflow: hidden;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.70); /* Yazıya gölge vererek daha belirgin hale getir */
}
@media (min-width: 1200px){
  .pictext {
    font-size: 1.5em;
  }
}
@media (max-width: 769px) and (min-width:1199px){
  .pictext {
    font-size: 0.9em;
  }
}
@media (max-width: 768px){
  .pictext {
    font-size: 1.2em;
  }
}

.centered-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background-color:rgba(0,0,0,0.2); 
}

.centered-container img {
    width: 80px; 
    height: 80px;
}
.footertext{
  display: inline-block;
  position: fixed;
  bottom: 0;
  padding: 0 0;
  margin: 0 auto;
  font-size: 10px; 
  color: white ;
  background-color: black;
  border: none;
  outline: none;
  border-top: thin solid gray;
  text-align: center;
  z-index: 2;
}
@media (min-width: 769px){
  .footertext{ 
    width: calc(100% - 250px);
    margin-left: -20px;
  }
}
@media (max-width: 768px){
  .footertext{
    width: 100%; 
    margin-left: -20px;
  }
}
.blogmainimg{
  filter: grayscale(1);
}
.blogmainimg:hover{
  filter: grayscale(0);
}
.text-background {
    position: relative;
    background: repeating-linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 0.1) 10px,
        rgba(0, 0, 0, 0) 10px,
        rgba(0, 0, 0, 0) 20px
    );
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #ccc;
}