﻿/* Genel Stil */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f7f6;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

/* Başlık Stili */
.baslik_kutusu {
    background-color: #00796b;
    color: white;
    padding: 20px;
    text-align: center;
}

.baslik_kutusu h1, .baslik_kutusu h2 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: bold;
}

.button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.button-container a {
    text-decoration: none;
    padding: 10px 15px;
    border: 1px solid #007BFF;
    border-radius: 4px;
    background-color: #007BFF;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.button-container a:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.plan-tamam {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.plan-tamam a {
    text-decoration: none;
    padding: 8px 12px;
    margin: 5px;
    border: 1px solid #28a745;
    border-radius: 4px;
    background-color: #28a745;
    color: white;
    font-size: 12px;
    text-align: center;
}

.plan-tamam a:hover {
    background-color: #218838;
    transform: scale(1.05);
}

/* Genel Tablo Stili */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 5;
}

table, th, td {
    border: 2px solid #ddd;
}

th, td {
    padding: 12px;
    text-align: center;
}

/* Tablo Başlıkları */
th {
    background-color: #00796b;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
}

/* Tablo Satır Stili */
tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #ddd;
}

/* Form Stili */
form {
    display: inline-block;
}

form button {
    background-color: #00796b;
    color: white;
    border: none;
    padding: 10px 20px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #004d40;
}

form input[type="submit"] {
    background-color: #ff5252;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

form input[type="submit"]:hover {
    background-color: #d32f2f;
}

/* Mesajlar */
p {
    font-size: 1.2rem;
    color: #555;
    text-align: center;
}

ul {
    font-size: 1.2rem;
    color: #555;
            margin-left: 50px;
    text-align: left;
}


/* Responsive Tasarım */
@media screen and (max-width: 768px) {
    .baslik_kutusu h1, .baslik_kutusu h2 {
        font-size: 2rem;
    }
    
    th, td {
        font-size: 0.9rem;
    }

    form button, form input[type="submit"] {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media only screen and (min-width: 300px) and (max-width: 500px) {
  .birim {
    width: 90%;
    display: block;
font-size: 16px;
line-height: 1.5;
color: #333;
background-color: #fff;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-width: 1px;
  border-style: solid;
    justify-content: center;
    align-items: center;
    text-align: center;
  margin: 0 auto;
  vertical-align: middle;
  }
  }

@media only screen and (min-width: 501px) and (max-width: 650px) {
  .birim {
    width: 80%;
    display: block;
font-size: 16px;
line-height: 1.5;
color: #333;
background-color: #fff;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-width: 1px;
  border-style: solid;
    justify-content: center;
    align-items: center;
    text-align: center;
  margin: 0 auto;
  vertical-align: middle;
  }
  }

@media only screen and (min-width: 651px) {
  .birim {
    width: 70%;
    display: block;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
font-size: 16px;
line-height: 1.5;
color: #333;
background-color: #fff;
  border-width: 1px;
  border-style: solid;
    justify-content: center;
    align-items: center;
    text-align: center;
  margin: 0 auto;
  vertical-align: middle;
  }
  }

.esnek {
  display: flex;
  flex-wrap: wrap;
    justify-content: top;
    align-items: left;
}

        .container {
            display: flex;
            align-items: flex-start;
        }
        .left-side {
            margin-right: 20px;
        }
        .right-side {
            flex-grow: 1;
        }
        .form-container {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .form-row {
            margin-bottom: 10px;
        }
        .form-basit {
    justify-content: center;
    align-items: center;
    text-align: center;
  vertical-align: middle;
            margin-top: 10px;
            margin-bottom: 10px;
        }
        .thumbnail {
            width: 120px;
            height: auto;
            cursor: pointer;
        }

.mini_panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
    vertical-align: top;
    margin: 20px 30px;
    padding: 20px;
    background-color: #f5f5f5; /* Açık gri arka plan */
    border-radius: 10px; /* Kenarları yuvarla */
    font-family: Arial, sans-serif; /* Font stili */
    color: #333; /* Metin rengi */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Hafif gölge */
}

.mini_panel p {
    justify-content: left;
    margin: 0;
    padding-bottom: 10px;
}

.mini_panel form {
    display: flex;
    gap: 10px;
}

.mini_panel button {
    padding: 10px 20px;
    background-color: #007bff; /* Mavi buton rengi */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.mini_panel button:disabled {
    background-color: #ccc; /* Devre dışı buton rengi */
    cursor: not-allowed;
}

.mini_panel button:hover:not(:disabled) {
    background-color: #0056b3; /* Hover rengi */
}

.photo-frame {
    margin-bottom: 15px;
}

.photo-frame img.thumbnail {
    border-radius: 50%;
    border: 2px solid #ccc;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.text-frame .header_ust {
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
}

.text-frame .header_ust a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.text-frame .header_alt a {
    color: #555;
    text-decoration: none;
    margin: 0 5px;
    font-size: 14px;
}

.text-frame .header_alt a:hover {
    text-decoration: underline;
    color: #000;
}

    .text-frame {
        text-align: left;
    }

    .text-frame .header_ust {
        font-size: 16px;
    }

    .text-frame .header_alt a {
        font-size: 16px;
    }
}

.button-container {
    display: flex;              /* İçerik öğelerini yatayda hizalar */
    justify-content: center;    /* Öğeleri yatayda ortalar */
    align-items: center;        /* Öğeleri dikeyde ortalar */
    gap: 10px;                  /* Butonlar arasına boşluk ekler */
    margin: 20px 0;             /* Üst ve alt kenarlardan boşluk */
    padding: 10px;              /* İç boşluk */
}

.button-container button {
    padding: 10px 20px;         /* Buton içi boşluk */
    font-size: 16px;             /* Buton yazı büyüklüğü */
    border: none;               /* Kenarlık yok */
    border-radius: 5px;         /* Yuvarlatılmış köşeler */
    background-color: #4CAF50;  /* Yeşil arka plan rengi */
    color: white;               /* Beyaz yazı rengi */
    cursor: pointer;            /* Fareyi buton üzerinde tutarken imleci pointer yapar */
    transition: background-color 0.3s ease;  /* Arka plan rengi geçişi */
}

.button-container button:hover {
    background-color: #45a049;  /* Hover durumunda buton arka plan rengini değiştir */
}

.button-container button:active {
    background-color: #3e8e41;  /* Butona tıklandığında arka plan rengini değiştir */
}

/* Menü başlangıçta gizli */
.menu {
    display: none;
    background-color: #333;
    padding: 10px 0;
    text-align: center;
}

.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.menu ul li {
    margin: 0 10px;
}

.menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 15px;
    display: block;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.menu ul li a:hover {
    background-color: #575757;
}

/* Menü toggle butonu */
.menu-toggle {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    margin: 10px;
    display: block;
}

.menu-toggle:hover {
    background-color: #575757;
}

/* Mobil uyum */
@media (max-width: 768px) {
    .menu ul {
        flex-direction: column;
    }

    .menu ul li {
        margin: 5px 0;
    }

    .menu ul li a {
        font-size: 16px;
    }
}

        .grafik-container {
            width: 100%;
            max-width: 100%;
            margin: 0 auto;
            overflow-x: auto; /* Geniş ekranlar için kaydırılabilirlik sağlar */
        }

canvas {
    width: 80vw; /* Ekran genişliğinin %80'i */
    max-width: 800px; /* Maksimum genişlik sınırı */
    height: auto;
    max-height: 60vh; /* Ekran yüksekliğinin %60'ı */
    margin: 0 auto;
}

.responsive-img {
    max-width: 90%;
    height: auto;
    justify-content: center;
}

.resim-kutusu {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 90vw; /* Görünüm genişliğinin %90'ı */
    max-height: 80vh; /* Görünüm yüksekliğinin %80'i */
    overflow: hidden;
    border: 2px solid #ccc; /* Çerçeve */
    border-radius: 10px; /* Köşeleri yuvarlatma */
    margin: 0 auto;
}

.resim-kutusu img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Resmi çerçeveye sığdır */
}

/* Header */
header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

header h1 {
    margin: 0;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

h1, h2 {
    color: #333;
}

.blog-post {
    margin-bottom: 20px;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.blog-post h2 {
    margin: 0;
}

.blog-post .meta {
    font-size: 0.9em;
    color: #777;
}

.blog-post a {
    display: inline-block;
    margin-top: 10px;
    color: #00f;
    text-decoration: none;
}

.blog-post a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    header nav ul {
        flex-direction: column;
        margin-top: 1rem;
    }

    header nav ul li {
        margin-left: 0;
        margin-bottom: 0.5rem;
    }
}
