@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Splash Screen   */

.spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;         
  height: 100vh;        
  background-color: rgba(0, 0, 0); 
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999; /* Üstte görünmesi için */
}

.loader {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid;
  border-color: #fff #0000; /* Yarı beyaz, yarı saydam */
  animation: spin 1s infinite linear;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Gizlendiğinde opacity ile kaybolsun */
.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}


* {
  margin: 0;
  padding: 0%;
  box-sizing: border-box;
}

body {
  height: 100vh;
  text-align: justify;
  
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1%;
  background-color: white; /* Arka plan eklenerek içerik ile karışması önlenir */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Gölge ile header belirginleştirilir */
  z-index: 1000; /* Header'ın diğer içeriklerin üzerinde olması sağlanır */
}

header .navbar {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-around;
}

.navbar .logo {
  height: 2.5em;
  width: auto;
}

.navbar .logo span {
  color: #e06a00;
}

.navbar .menu-links {
  list-style-type: none;
  display: flex;
  gap: 40px;
  font-size: medium;
}

.navbar a {
  color: #000000;
  text-decoration: none;
  transition: 0.4s ease;
}

.navbar a:hover {
  color: #3e72c0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}


/*  İçerik Bölümü */

.container {
  text-align: center;
  align-items: center;
  width: 100%;
  max-width: 100vh;
  margin: 0 auto;
}

#blogDetail {
  position: relative;
  padding: 3%;
  background: #f9f9fc;
  color: #010101;
}


.metin {
  display: flex;
  align-items: start;
  justify-content: start;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2%;
  text-align: justify;
}


h1 {
  font-size: xx-large;
  font-family: "Inter", sans-serif;
  text-align: center;
  text-transform: capitalize;
  margin-top: 7%;
  margin-bottom: 5%;
  
}


h2 {
  font-size: x-large;
  font-family: "Inter", sans-serif;
  text-align: justify;
  text-transform: capitalize;
  margin: 2% 0 2% 0;
}

h3 {
  font-size: larger;
  font-family: "Inter", sans-serif;
  text-align: justify;
  text-transform: capitalize;
  margin: 2% 0 2% 0;
}

h4 {
  font-size: large;
  font-family: "Inter", sans-serif;
  text-align: justify;
  text-transform: capitalize;
  margin: 2% 0 2% 0;
}


p {
  font-size: medium;
  text-align: justify;
}

.img {
  max-width: 100%; /* Resmin genişliği ekran boyutuna uyum sağlar */
  height: auto; /* Yükseklik otomatik ayarlanır */
  margin: 0 auto; /* Yatay ortalamak için */
  display: block; /* Blok öğe olarak ayarlanır, margin ile ortalanması sağlanır */
  text-align: center; /* Ortalanma davranışını güçlendirir */
}


.w80 {
  width: 80%;
}



/*          */


    #menu-btn{
      color: #000000;
      cursor: pointer;
      display: none;
    }

    #close-menu-btn {
      display: none;
      position: absolute;
      right: 20px;
      top: 20px;
      cursor: pointer;
    }

    .footer {
      background-color: rgb(30, 30, 30); 
      color: white; 
      text-align: center; 
      padding: 1%; 
      margin-top: 1%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }


    /* İletişim */

    .social-media-links {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      margin: 2%;
    }
    
    .social-media-links p {
      font-size: 1rem;
      font-weight: bold;
      margin-bottom: 10px;
      text-align: center;
    }
    
    .tooltip-container {
      display: flex;
      justify-content: center;
      gap: 15px;
    }
    
    .tooltip {
      position: relative;
      display: inline-block;
      text-align: center;
    }
    
    .icon {
      width: 24px;
      height: 24px;
      cursor: pointer;
      transition: transform 0.3s ease;
    }
    
    .icon:hover {
      transform: scale(1.2);
    }
    
    .tooltip-text {
      visibility: hidden;
      background-color: #555;
      color: #fff;
      text-align: center;
      padding: 5px;
      border-radius: 4px;
      position: absolute;
      bottom: -30px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 1;
      user-select: text;
      opacity: 0;
      transition: opacity 0.3s ease, visibility 0s 0.3s; /* Gecikmeli kapanma */
    }
    
    .tooltip:hover .tooltip-text {
      visibility: visible;
      opacity: 1;
      transition-delay: 0s; /* Hızlıca açılmasını sağlar */
    }
    
    .tooltip:not(:hover) .tooltip-text {
      transition-delay: 0.3s; /* Geç kapanmasını sağlar */
    }


    
    /* ////////////////////////////////////// */

    @media screen and (max-width: 900px) {

      * {
        margin: 0;
        padding: 0%;
        box-sizing: border-box;
        text-align: justify;
      }

      body {
        height: 100vh;
        
      }
      

      .metin {
        display: flex;
        align-items: start;
        justify-content: start;
        flex-wrap: wrap;
        justify-content: center;
        
      }

      h1 {
        font-size: x-large;
        font-family: "Inter", sans-serif;
        text-transform: capitalize;
        text-align: center;
        margin-top: 10vh;
        
      }
      
      
      h2, h3, h4 {
        font-size: large;
        font-family: "Inter", sans-serif;
        text-align: center;
        text-transform: capitalize;
        margin: 2% 0 2% 0;
      }
      
      
      p {
        text-align: justify;
        margin: 5%;
      }

      
    /* Splash Screen   */

.spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;         
  height: 100vh;        
  background-color: rgba(0, 0, 0); 
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999; /* Üstte görünmesi için */
}

.loader {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid;
  border-color: #fff #0000; /* Yarı beyaz, yarı saydam */
  animation: spin 1s infinite linear;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Gizlendiğinde opacity ile kaybolsun */
.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

      * {
        margin: 0;
        padding: 0%;
        box-sizing: border-box;
      }

      body {
        height: 100vh;
        
      }
      

      header.show-mobile-menu:before {
        content: "";
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        backdrop-filter: blur(5px);
      }

      #close-menu-btn, #menu-btn {
        display: block;

      }
      

      .navbar .menu-links {
        position: fixed;
        left: -260px;
        top: 0;
        flex-direction: column;
        width: 260px;
        height: 100vh;
        background: #fff;
        padding: 70px 40px 0px;
      }

      header.show-mobile-menu .navbar .menu-links {
        left: 0;
      }

      .navbar a{
        color: #000000;

      }

      /* Hero-Section İçeriği Genel Ayarlar */
      .hero-section .content {
        width: 100%;  /* ya da auto */
        margin: 0;    /* soldan boşluk olmasın */
        text-align: left; /* sola dayalı hale getirmek için */
        padding: 0.5rem;  /* isterseniz biraz iç boşluk verin */
      }
    

      /* Başlık (h1) Ayarları */
      .hero-section .content h1 {
        margin-top: 5em 0;
        font-size: 40px;      /* Mevcut font boyutu */
        text-align: center;     /* Ortalamayı kaldırıp sola yasla */
      }

      /* Alt Başlık / Açıklama (h2) Ayarları */
      .hero-section .content h2 {
        margin: 4em 0 3em 0;            /* Varsayılan boşlukları kaldır */
        text-align: center;     /* Sola yasla */
        font-size: 14px;      /* Mobilde okunabilir boyut */
      }
    


      /* Bize Ulaşın */

      .content2 {
        font-size: 1rem;
        align-content: left;
        padding-bottom: 1rem;
      }


      .social-media-links .icon {
        width: 24px; /* İkon boyutunu ayarlar */
        height: 24px; /* İkon boyutunu ayarlar */
        margin: 0 10px; /* İkonlar arasındaki boşluk */
        vertical-align: middle; /* İkonların düzgün hizalanması */
        transition: transform 0.3s ease; /* Hover efektini sağlar */
      }
      
      .social-media-links .icon:hover {
        transform: scale(1.2); /* İkonun büyümesi için hover efekti */
      }


    } 
      