body {
  background-color: #ffffff;
  font-family: 'Montserrat';
  font-size: 3vh;
  background-image: url('/images/backgrond.jpg');
  background-size: cover;
  /* Görüntüyü ekran boyutuna sığdır */
  background-repeat: no-repeat;
  /* Görüntüyü tekrar etme */
  background-attachment: fixed;
  margin: -0;
}

header {
  position: relative;
  z-index: 3;
  background-color: #ece6ac;
  padding: 1vh;
  border-radius: 4vh;
  margin-top: 1vh;
  margin-left: 2vh;
  margin-right: 2.1vh;
}

.headler nav {
  display: flex;
  justify-content: space-between;
}

.headler ul {
  list-style: none;
  padding: 0vh;
  padding: 0vh;
  margin: 0vh;
  z-index: 1;
  display: flex;
  align-items: center;
}

.headler li {
  display: inline-block;
  margin-right: 2vh;
}

.headler a {
  text-decoration: none;
  color: #221b22;
  font-weight: bold;
  transition: color 0.3s ease-in-out;
  font-size: 2.731411229135053vh;
}

.headler a:hover {
  color: #000;
  display: inline-block;
}

.headler .sendbutton {
  background-color: rgba(255, 65, 0, 0.9);
  font-size: 2.731411229135053vh;
  color: white;
  border: none;
  max-height: 10vh;
  border-radius: 4vh;
}

/*---------------DROP-MENU---------------*/
.demo-dropdown {
  z-index: 2;
}

.demo-dropdown>li {
  position: relative;
  /* içerisinde ul position:absolute değerine sahip olduğu için kapsayıcı li relative olmalı */
  display: inline-block;
  margin-left: 1vh;
}

.demo-dropdown>li ul {
  position: absolute;
  /* Açılır menü mouse üzerine gelerek açıldığında aşağıdaki öğeleri kaydırması istenmiyor. Bu yüzden absolute. */
  display: none;
  /* Açılır menü li:hover olmadığı sürece gizlencektir */
  top: 3.5vh;
  /* Top 100% değeri parent li'ye göre hesaplanır ve li'nin bittiği noktayı göstermektedir. */
  left: -5vh;
  /* left:0 değeri li'nin sol başlangıç değerini referans alır ve ul'yi aynı hizda konumlandırı. */
  width: 31.86646433990895vh;
  background-color: #ece6ac;
  border-radius: 0vh 0vh 5vh 5vh;
}

.demo-dropdown>li ul li a {
  color: #333;
  transition: max-height 1s;
}

.demo-dropdown .droped {
  margin-left: 2vh;
}

.demo-dropdown .belgesel {
  margin-bottom: 3vh;
  margin-left: 2vh;
}

.demo-dropdown .anka {
  margin-top: 3vh;
  margin-left: 2vh;
}

.demo-dropdown>li:hover ul {
  display: block;
}

.mobile-menu a {
  padding: 2vh;
  color: #221b22;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease-in-out;
}

.mobile-menu a:hover {
  background-color: #ddd;
}

/* Mobil cihazlar için menü düğmesi stil */
.mobile-menu-button {
  display: none;
}

/*---------------Logo Css---------------*/
.logo {
  display: flex;
  text-align: center;
}

.logo img {
  max-width: 9.104704097116844vh;
  max-height: 9.104704097116844vh;
  margin-right: 4vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/*---------------FOOTER---------------*/
footer {
  background-color: #333;
  color: white;
  padding: 4vh;
  bottom: 0;
}

.footer-content {
  display: flex;
  justify-content: space-around;
}

.footer-section {
  flex: 1;
  text-align: left;
  margin-left: 10vh;
}

.footer-section h3 {
  color: #ffcc00;
  font-size: 4.09711684370258vh;
}

.footer-section p {
  font-size: 3vh;
}

.footer-content ul {
  list-style: none;
  padding: 0;
}

.footer-content ul li {
  margin-bottom: 1.2139605462822458vh;
}

.footer-content a {
  font-size: 2.731411229135053vh;
  color: #fff;
  text-decoration: none;
  flex-direction: column;
}

.footer-content a:hover {
  text-decoration: underline;
}
.footer-content .instagramlogo img{
  width: 5vh;

}
/*---------------carousel---------------*/
.carousel-container {
  position: relative;
  width: 100vh;
  border-radius: 5vh;
  margin: auto;
  margin-top: 2vh;
  overflow: hidden;
}

.carousel-slide {

  display: none;
  animation: fadeOut 1.5 ease-in-out;
}

.carousel-container img {
  width: 100vh;
  height: auto;
}

.carousel-container .prev,
.next {
  position: absolute;
  top: 30vh;
  transform: translateY(-50%);
  font-size: 3.6418816388467374vh;
  cursor: pointer;
  color: #000;
}

.carousel-container .prev {
  left: 2vh;
}

.carousel-container .next {
  right: 2vh;
}

/*---------------Gelişmeler ve Makeleler---------------*/
.container {
  display: flex;
  justify-content: space-between;
  width: 80%;
  padding: 4vh;
  margin: auto;
  color: #221b22;

}

.section {
  flex-basis: 50%;
  /* İki bölümü eşit genişlikte ayarlar */
  background-color: rgba(236, 230, 172, 0.9);

  border-radius: 5vh;
  padding: 3vh;
  margin-bottom: 4vh;

}

.announcement {
  flex-basis: 50%;
  /* İki bölümü eşit genişlikte ayarlar */
  background-color: rgba(236, 230, 172, 0.9);

  border-radius: 5vh;
  padding: 3vh;
  margin-bottom: 4vh;
  margin-left: 9%;
  margin-right: 2vh;
}

.makelevegelisme h2 {
  text-align: center;
}

.container ul {
  list-style: none;
  padding: 0;
  padding: 0;
  margin: 0;
  z-index: 1;
}

.container li {
  margin-right: 4vh;

}

.container a {
  text-decoration: none;
  color: #221b22;
  font-weight: bold;
  transition: color 0.3s ease-in-out;

}

/*---------------Yazıgönder---------------*/
.sendwrite {
  background-color: rgba(255, 65, 0, 0.9);
  border-radius: 5vh;
  padding: 3vh;
  width: 35%;
  margin: auto;
  margin-bottom: 6vh;

  /* Formu kapsayıcı olarak belirle */
  display: flex;
  flex-direction: column;
  gap: 3vh;
  justify-content: space-between;
}

/* Form elemanları için genel stiller */
.sendwrite .input-group {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.sendwrite input {
  flex-grow: 1;
  padding: 1vh;
  border: 0.15174506828528073vh solid #ddd;
  border-radius: 5vh;
  display: flex;
  width: 99%;

}

/* Başlık stili */
.sendwrite h2 {
  color: white;
  font-size: 5vh;
  margin-bottom: 2vh;
}
.sendwrite input{
  font-size: 2.2vh;
}
/* Dosya yükleme alanı stili */
.sendwrite input[type="file"] {
  background-color: #f1f1f1;
  color: #333;
}

/* Gönderme butonu stili */
.sendwrite button {
  font-size: 2.731411229135053vh;
  background-color: #0095ff;
  color: white;
  border: none;
  padding: 0.7587253414264037vh 2.12443095599393vh;
  border-radius: 5vh;
  cursor: pointer;
  margin-top: 2vh;
  margin-left: 45%;
}

.sendwrite label {
  margin-right: 2vh;
  font-size: 4vh;
  font-weight: bold;
  color: white;
}
@media (max-width: 768px) { /* Adjust breakpoint as needed */
body{
  font-size: 2vh;
}
  .headler li{
    display: none;
  }

  .main-menu {
    display: none; /* Hide main menu initially */
  }

  .footer-content {
    flex-direction: column; /* Elemanları dikey hizala */
    align-items: center; /* Yatay hizalama */
  }

  .footer-section {
    margin-left: 0;    /* Kenar boşluğunu kaldır */ 
    text-align: center; /* Metni ortala */
  }

  /* Daha küçük ekranlarda font ve boşlukları ayarla (isteğe bağlı)*/
  .footer-section h3 {
    font-size: 3.5vh; 
  }
  .footer-section p {
    font-size: 2.5vh; 
  } 
  .carousel-container {
    width: 95vw; /* Occupy nearly full viewport width */
    margin-top: 5vh; /* Increase top margin for better spacing */
    
  }
.carousel-container img{
  width: 45vh;

}
.container {
  flex-direction: column; /* Öğeleri sütun halinde sırala */
}

.section, .announcement {
  flex-basis: auto; /* Esnek genişliğe izin ver */
  width: 80%;  /* Daha dar bir genişlik ayarla */
  margin-left: auto;
  margin-right: auto;
}

.announcement {
  margin-left: 0; /* Duyuru için sol boşluğu sıfırla */
}
.sendwrite {
  width: 85%; /* Increase width for better fit on phone screens */
  padding: 2vh;  /* Reduce padding */
}

.sendwrite h2 {
    font-size: 3vh; /* Slightly reduce heading size */
}

.sendwrite input {
    font-size: 1.7vh; /* Reduce input text size */
}

.sendwrite button {
  font-size: 1.7vh;  /*  Reduce button text size */
  margin-left: 35%; /* Adjust button centering */
}

.sendwrite label {
  font-size: 2vh; /* Reduce label size */
}
}

