/* GENEL AYARLAR */
#bodygenel {
  min-height: 100vh;
  margin: 0;
  background-color: black;
  padding-bottom: 60px;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  background-color: black;
  flex-wrap: wrap;
  position: relative;
}

a {
  color: blanchedalmond;
  text-decoration: none;
  font-family: 'Times New Roman', Times, serif;
  margin: 8px;
  font-size: 1.1rem;
  padding: 5px;
  transition: transform 0.3s ease;
}

a:hover {
  color: darkslategray;
  transform: scale(1.5);
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: black;
  text-align: center;
  color: aliceblue;
  padding: 8px;
  font-size: 0.9rem;
}

.kapsayici {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
  flex-wrap: wrap;
  padding: 1rem;
}

.resim {
  width: 250px;
  height: auto;
  border-radius: 25px;
  margin: 20px;
}

.paragraf {
  max-width: 600px;
  font-family: 'Lucida Sans', Verdana, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  text-indent: 2em;
  color: aliceblue;
  margin: 20px;
}

.bayrak {
  width: 250px;
  height: auto;
  margin-top: -60px;
}

.teknoloji {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  margin-top: 85px;
}

.gununsözü1 {
  color: aliceblue;
  position: relative;
  top: 35px;
  left: 100px;
}

.gununsözü2 {
  margin-top: 40px;
  color: brown;
  font-family: Georgia, 'Times New Roman', Times, serif;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 100%;
}

/* SOSYAL MEDYA BLOĞU */
.div1 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 5% auto;
  max-width: 100%;
}

.div1 img {
  max-width: 60px;
  height: auto;
  transition: transform 0.9s ease;
}

.büyüme:hover {
  transform: scale(1.4);
}

/* SAĞ ÜST BAYRAK */
.bayrak2 {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 12%;
  max-width: 90px;
  height: auto;
  z-index: 1000;
  border-radius: 30px;
}

td {
  color: aliceblue;
  border: 1px solid #2a2424;
  height: 100%;
}

.tablo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20%;
  width: 100%;
}

#nav1 {
  display: flex;
  gap: 20px;
}

#nav1 a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .kapsayici {
    flex-direction: column;
    text-align: center;
  }

  .resim, .paragraf {
    width: 90%;
    margin: 10px auto;
  }

  #nav1 {
    display: none;
    flex-direction: column;
    background-color: #222;
    position: absolute;
    top: 60px;
    right: 10px;
    width: 220px;
    padding: 15px;
    border-radius: 8px;
    z-index: 1500;
  }

  #nav1.show {
    display: flex;
  }

  #nav1 a {
    font-size: 16px;
    margin: 10px 0;
    padding: 8px;
    color: blanchedalmond;
  }

  a {
    top: 0;
  }

  footer {
    position: relative;
  }

  .gununsözü1, .gununsözü2 {
    font-size: 14px;
    padding: 10px;
  }

  .paragraf {
    padding: 15px;
    font-size: 16px;
    text-align: justify;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
    position: relative;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 2000;
  }

  /* Teknoloji kısmı: 2 satır, 4 sütun olacak şekilde */
  .teknoloji {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .teknoloji img {
    flex: 0 0 23%;       /* %23 genişlik ile 4 sütun oluşturur */
    max-width: 23% !important;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .teknoloji img:hover {
    transform: scale(1.05);
  }

  .bayrak2 {
    top: 10px;
    left: 10px;
    right: auto;
    width: 12%;
    max-width: 60px;
  }

  .div1 {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 10% auto;
  }

  .div1 img {
    max-width: 50px;
  }

  .tablo {
    overflow-x: auto;
    margin-top: 50px;
  }

  .tablo table {
    width: 100%;
  }

  td {
    font-size: 14px;
  }
}
