#main-content,
#content {
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  opacity: 0;
  transform: translateY(40px);
  /* Geri buton sorununu önlemek için min-height ekle */
  min-height: 100vh;
}

#blog-content {
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  opacity: 0;
}

@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
html {
  /*overflow-y: scroll; /* Dikey kaydırma çubuğu her zaman açık*/
  /*cursor: none;*/
  font-size: 1vw;
  background-color: #111111;
}

body {
  overflow-x: hidden;
  margin: 0;
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /*cursor: none;*/
}

.gorundu {
  display: none;
}

*::-webkit-scrollbar {
  display: none;
}

a {
  text-decoration: none;
}

/*            BUTONLAR           */

.navbar {
  position: absolute;
  z-index: 1;
  right: 3.5vw;
  display: flex;
  align-items: center;
  min-height: 100vh;
  pointer-events: none;
  flex-direction: column;
  justify-content: center;
  gap: 2vh;
}

.navbuton {
  height: 7vh;
  width: 7vh;
  pointer-events: auto;

  border-radius: 50%;
  color: #fff;
  display: flex;
  background-color: #2b2a2a;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.navbuton .buton-icon {
  font-size: 1.5rem;
  color: #fff;
}

.navbuton:hover {
  background-color: #ffb400 !important;
  z-index: 2;
}

.navbuton.active {
  background-color: #ffb400 !important;
}

.acilan-sekme {
  display: flex;
  opacity: 0;
  position: absolute;
  right: 0;
  height: 7vh;
  width: 3.5vh;

  background-color: #ffb400;
  border-radius: 4rem;
  color: rgb(255, 255, 255);
  padding-right: 3.5vh;
  z-index: -1;

  font-size: 1rem;

  text-decoration: none;
  justify-content: center;
  align-items: center;

  transition: width 0.5s ease, opacity 0.5s ease;
}

@media screen and (min-width: 1025px) {
  /*Büyük Ekranlarda*/

  .stil {
    animation: solakayma 0.3s ease forwards;
  }

  .stilgeri {
    animation: sagakayma 0.3s ease forwards;
  }

  @keyframes solakayma {
    from {
      opacity: 0;
      width: 7vh;
    }

    to {
      opacity: 1;
      width: 20vh;
    }
  }

  @keyframes sagakayma {
    from {
      opacity: 1;
      width: 20vh;
    }

    to {
      opacity: 0;
      width: 7vh;
    }
  }

  .navbuton.hakkimda {
    position: sticky;
    top: 3vh;
  }

  .navbuton.blog {
    position: sticky;
    top: 7vh;
  }

  .navbuton.calismalarim {
    position: sticky;
    top: 11vh;
  }

  .navbuton.projects {
    position: sticky;
    top: 15vh;
  }

  .navbuton.contact {
    position: sticky;
    top: 19vh;
  }
}

/*         Home        */

.ilkyazi {
  font-size: 2rem;
  margin: 0;
  letter-spacing: 1rem;
}

.ikinciyazi {
  font-size: 1rem;
  letter-spacing: 0.3rem;
  opacity: 0.6;
}

#home {
  display: block;
  height: 100vh;
  /*position: absolute;*/
}

.home-alani-resim-bg {
  height: 100vh;
  width: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(../img/sari-bg.webp);
}

.home-icerikleri-alani {
  width: 88vw;
  height: 100vh;
  padding-left: 2.5rem;
  position: fixed;
  display: grid;
  align-items: center;
  grid-template-areas: "resim yazibolumu";
  grid-template-columns: 33vw 57vw;
}

/* buna bak
@media screen and (max-width: 1200px) {
    .home-icerikleri-alani {
        grid-template-columns: 38vw 50vw;
    }
}
*/

.home-alani-resim-kismi {
  width: 33vw;
  grid-area: resim;
  /*max-width: calc(100vh / 1.6);*/
}

.resim {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: calc(100vh - 5rem);
  border-radius: 1.8rem;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.9);
  background-image: url("../img/profile.webp");
}

.home-alani-isim-kismi {
  /*width: 45vw;*/
  width: 35.9rem;
  /*height: 60vh;*/
  /*left: 2vw; /* Öğenin sol kenarını ekranın ortasına hizala */
  grid-area: yazibolumu;
  justify-self: center;
  grid-auto-rows: min-content;
  text-align: left;
  display: grid;
  grid-template-areas:
    "cizgi isim"
    "cizgi  unvan"
    "yazi  yazi";
  grid-template-columns: 2.8rem 1fr;
}

.cizgi {
  content: "";
  background-color: #ffb400;
  grid-area: cizgi;
  margin-top: 2.2rem;
  height: 0.25rem;
  width: 2.5rem;
  border-radius: 0.62rem;
}

.home-alani-isim-kismi h1 {
  font-family: "Poppins", sans-serif;
  letter-spacing: normal;
  text-transform: uppercase;
  font-size: 3.2rem;
  font-weight: 700;
  color: #ffb400;
  margin: 0;
  grid-area: isim;
  padding-left: 1.8rem;
}

.hero-text {
  letter-spacing: normal;
  position: relative;
  font-size: 2.8rem;
  font-weight: 700;
  left: 0;
  line-height: 1.5;
  height: 3.25rem !important;
  min-width: auto;
  grid-area: unvan;
  padding-left: 1.8rem;
}

.home-alani-isim-kismi p {
  color: white;
  line-height: 2.1875rem;
  font-size: 1rem;
  position: relative;
  grid-area: yazi;
}

.text {
  position: relative;
  display: inline-block;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  font-size: 1em;
  opacity: 0.9;
  margin: 0;
  color: #ffffff;
  font-weight: 500;
  line-height: 1.2;
}

.TesekkurlerYazisi {
  display: none;
  font-family: "OpenSans", sans-serif;
  position: absolute;
  letter-spacing: normal;
  font-family: sans-serif;
  background: #1fffe0;
  width: 10rem;
  padding: 1rem;
  position: absolute;
  color: black;
  /*text-shadow: 1px 1px 2px black;*/
  z-index: 1;
  font-size: 1.375rem;
  font-weight: 600;
  justify-content: center;
  align-items: center;
  right: -3.75rem;
  top: 1.875rem;
  line-height: 1.5rem;
  border-radius: 0.625rem;
  border-style: double;
}

.TesekkurlerYazisi::before {
  content: "";
  position: absolute;
  background: #000000e8;
  width: 1.5rem;
  height: 1.5rem;
  right: calc(100% - 3.125rem);
  /* 50 = 3.125rem */
  top: calc(100%);
  clip-path: polygon(25% 0, 100% 0, 0% 100%);
}

.TesekkurlerYazisi::after {
  content: "";
  position: absolute;
  background: #1fffe0;
  width: 1.1rem;
  height: 1.1rem;
  right: calc(100% - 3rem);
  /* 48 = 3rem */
  top: calc(100%);
  clip-path: polygon(25% 0, 100% 0, 0% 100%);
}

.TesekkurlerYazisi.gorunur {
  display: flex;
  /* Görünür olduğunda */
  animation: fadeIn 0.5s ease-in-out forwards;

  /* Fade-in animasyonu */
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.TesekkurlerYazisi.gorunur.gizlenmis {
  /* Görünür olduğunda */
  animation: fadeOut 1s ease-in 1;
  /* Fade-in animasyonu */
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  /* Başlangıçta şeffaf */
  to {
    opacity: 0;
  }

  /* Sonunda opak */
}

.homebutonlaralani {
  display: flex;
  height: 5rem;
  align-items: center;
}

/*   CV İndir Butonu */
.btn-1 {
  font-family: "OpenSans", sans-serif;
  position: absolute;
  letter-spacing: normal;
  color: #fff;
  font-size: 1rem;
  /* 16 */
  font-weight: 500;
  width: 9.375rem;
  /* 150 */
  height: 3.625rem;
  /* 58 */
  line-height: 1.5rem;
  /* 24 */
  border-radius: 0.625rem;
  /* 10 */
  background-color: #2b2a2a;
  box-shadow: inset 0 0 0.625rem #2b2a2a, inset 0 0 2.1875rem #2b2a2a;
  /* 10, 35 */
  border-style: dotted;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn-1:hover {
  transform: scale(1.03);
}

.type1::before {
  content: "CV İndir";
  height: 3.625rem;
  /* 58 */
  width: 9.375rem;
  /* 150 */
  background-color: #2b2a2a;
  color: #fff;
  position: absolute;
  top: 0%;
  left: 0%;
  transform: translateY(0) scale(1);
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease-in-out;
}

.type1::after {
  content: "↓";
  height: 3.125rem;
  width: 10rem;
  background-color: #008080;
  color: #fff;
  position: absolute;
  top: 0%;
  left: 0%;
  transform: translateY(3.125rem);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease-in-out;
}

.type1:hover::after {
  transform: translateY(0) scale(1.2);
}

.type1:hover::before {
  transform: translateY(-3.125rem) scale(0) rotate(120deg);
}

.btn-1Tiklandi {
  display: none;
  opacity: 0;
  font-family: "OpenSans", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  z-index: 5;
  position: absolute;
  letter-spacing: normal;
  width: 9.375rem;
  height: 3.625rem;
  line-height: 1.5rem;
  border-radius: 0.625rem;
  border-style: dotted;
  background-color: #008080;
  justify-content: center;
  align-items: center;
  transform: scale(0.8) rotateY(90deg);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn-1Tiklandi.gorunur {
  display: flex;
  animation: slideInFromBottom 0.5s ease-in-out forwards;
}

@keyframes slideInFromBottom {
  from {
    transform: perspective(400px) rotateY(180deg);
    opacity: 0;
  }

  to {
    transform: perspective(400px) rotateY(0deg);
    opacity: 1;

    transform: scale(1.04);
  }
}

.btn-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "OpenSans", sans-serif;
  position: absolute;
  letter-spacing: normal;
  color: #fff;
  font-size: 1.875rem;
  font-weight: 500;
  width: 4.375rem;
  height: 4.375rem;
  line-height: 1.5rem;
  margin-left: 10.3125rem;
  border-radius: 50%;
  background-color: #2b2a2a;
  box-shadow: inset 0 0 0.625rem #2b2a2a, inset 0 0 2.1875rem #2b2a2a;
  border-style: inherit;
  cursor: pointer;
  transition: background-color 0.5s ease;
}

.btn-2:hover {
  background-color: #008080;
}

/* Ring Start*/

.ring {
  position: absolute;
  top: 0;
  left: 0;
  background-color: transparent;
  box-shadow: inherit;
  border-radius: 50%;
  z-index: -1;
  width: 4.375rem;
  /* Başlangıç genişliği */
  height: 4.375rem;
  /* Başlangıç yüksekliği */
  opacity: 1;
  /* Başlangıç opaklığı */
  animation: animateRing 2s infinite;
  /* Animasyon süresi ve tekrar sayısı */
}

@keyframes animateRing {
  0% {
    transform: scale(1);
    /* Başlangıç boyutu */
    opacity: 1;
    /* Başlangıç opaklığı */
  }

  100% {
    transform: scale(1.6);
    /* Boyutun büyüdüğü aşama */
    opacity: 0;
    /* Opaklığın kaybolduğu aşama */
  }
}

/* Ring End*/

@media screen and (max-width: 1024px) {
  body.home-page .mobile-hamburger {
    transform: translateY(0) !important;
  }
  /*Laptoptan Küçük Ekranlarda*/

  .mobile-hamburger {
    position: fixed;
    display: unset !important;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: #444;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transform: translate(-51px, 51px);
    transition: transform 0.3s ease;
  }

  .mobile-hamburger.scrolled {
    transform: translate(0, 0);
  }

  .mobile-hamburger.active {

    transform: translateY(-7vh);
  }

  .mobile-hamburger.active i {
    transform: rotate(90deg);
    
  }

  .mobile-hamburger i {
    transition: transform 0.3s ease;
  }

  .mobile-hamburger.active i::before {
    content: "\f00d"; /* FontAwesome X ikonu */
  }

  .navbar {
    position: fixed;
    min-height: unset;
    right: unset;
    gap: unset;
    pointer-events: auto; 
    width: 100vw;
    height: 8.2vh;
    flex-direction: row;
    bottom: 0;
    justify-content: space-evenly;
    background-color: #444;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }

  .navbar.show {
    transform: translateY(0);
  }

  html {
    font-size: 2vh;
  }

  .home-alani-resim-bg {
    display: none;
  }

  .home-icerikleri-alani {
    justify-content: center;
    width: 100vw;
    height: 90vh;
    padding-left: 0;
    grid-template-columns: 35vh;
    grid-template-areas:
      "resim"
      "yazibolumu";
  }

  .home-alani-resim-kismi {
    width: 35vw;
  }

  .resim {
    height: 35vh;
    width: 35vh;
    border-radius: 50%;
    background-position: top;
  }

  .cizgi {
    display: none;
  }

  .home-alani-isim-kismi {
    width: 90vw;
    text-align: center;
    grid-template-areas:
      "isim"
      "unvan"
      "yazi";
    grid-template-columns: 1fr;
  }

  .home-alani-isim-kismi h1 {
    font-size: 2.5625rem;
    /* 41 = 2.5625rem */
    padding-left: 0;
  }

  .hero-text {
    line-height: 2.2;
    font-size: 2rem;
    /* 32 = 2rem */
    padding-left: 0;
  }

  .home-alani-isim-kismi p {
    font-size: 0.9375rem;
    /* 15 = 0.9375rem */
  }

  .homebutonlaralani {
    justify-content: center;
  }

  .btn-2 {
    display: none;
  }
}

/* Başlangıç durumu */
#content-wrapper {
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* Sayfa geçişi için görünmez yapı */
#content-wrapper.fade-out {
  opacity: 0;
}

/*      SECTİONLAR       */

.bolge {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  position: relative;
  text-align: center;
  /*padding: 0 2em;*/
}

.kapatbutonu {
  position: absolute;
  z-index: 3;
  right: 1.5625rem;
  top: 1.5625rem;
  width: 3.125rem;
  height: 3.125rem;
  border-radius: 3.125rem;
  font-size: 1.875rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.kapatbutonu.show {
  opacity: 1;
  visibility: visible;
}

.kapatbutonu:hover {
  background-color: rgba(255, 180, 0, 0.8);
}

.geributonu {
  position: absolute;
  z-index: 3;
  right: 1.5625rem;
  top: 1.5625rem;
  width: 3.125rem;
  height: 3.125rem;
  border-radius: 3.125rem;
  font-size: 1.875rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.geributonu.show {
  opacity: 1;
  visibility: visible;
}

.geributonu:hover {
  background-color: rgba(255, 180, 0, 0.8);
}

.blog-post-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.blog-post-container h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #333;
}

.blog-post-container img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}

.blog-content {
  line-height: 1.8;
  color: #444;
  font-size: 1.1em;
}

.blog-content p {
  margin-bottom: 20px;
}






/* Responsive */

/* tablet ve altı */
@media (max-width: 768px) {
  
  .geributonu,.kapatbutonu {
    right: 0.5rem;
    top: 0.5rem;
    scale: 0.8;
  }

  /* Mobilde CV İndir butonunu basitleştir - hover animasyonlarını devre dışı bırak */
  .type1:hover::after {
    transform: translateY(3.125rem);
  }

  .type1:hover::before {
    transform: translateY(0) scale(1);
  }

  /* Mobilde butona basınca active efekti */
  .btn-1:active {
    transform: scale(0.95);
  }
}

/* telefon ve altı */
@media (max-width: 576px) {
}
/* küçük telefon ve altı */
@media (max-width: 425px) {
}
/* çok küçük telefon ve altı */
@media (max-width: 350px) {
}

/*navbar eklendiğinde, yani telefon modunda*/
@media screen and (max-width: 1024px) {
  
}
