/* CSS ile Stil Tanımlamaları */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('images/arkaplan.png');
    background-size: cover;
    z-index: -2;
}

.background::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Siyah ile %50 şeffaflık */
    z-index: -1;
    /* Arkaplanın altında olmasını sağlar */
}


.negative-message-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #f8d7da;
    color: #721c24;
    padding: 10px 20px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.negative-message-container.goster {
    opacity: 1;
}

.positive-message-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #d4edda;
    /* Yeşil tonu */
    color: #155724;
    /* Koyu yeşil */
    padding: 10px 20px;
    border: 1px solid #c3e6cb;
    /* Yeşilin biraz daha açık tonu */
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.positive-message-container.goster {
    opacity: 1;
}



.loginbutonu {
    position: absolute;
    top: 1%;
    right: 10px;
    text-align: right;
    background-color: #4CAF50;
    color: white;
    padding: 5px 11px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.loginbutonu:hover {
    background-color: #45a049;
}





.loginekrani {
    display: none;
    position: absolute;
    top: 5%;
    right: 10px;
    text-align: right;
    background-color: rgb(170 224 255 / 25%);
}

.wifivarsa {
    text-align: center;
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: rgb(170 224 255 / 25%);
    padding: 10px;
}

.wifiyoksa {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(170 224 255 / 25%);
    padding: 10px;
}


.esikalani {
    display: flex;
    flex-direction: row;
}



.esikayarkismi {
    display: flex;
    align-items: center;
}

.arttirmabutonu,
.dusurmebutonu {
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.arttirmabutonu:active,
.dusurmebutonu:active {
    transform: scale(0.95);
}

.arttirmabutonu:hover,
.dusurmebutonu:hover {
    background-color: #e0e0e0;
}

.degergosterici {
    font-size: 19px;
    font-weight: bold;
    margin: 0 6px;
}

.arttirmabutonu {
    background-color: #4caf50;
    color: white;
}

.dusurmebutonu {
    background-color: #f44336;
    color: white;
}










#kontroldegistir {
    background-color: #007BFF;
    /* Mavi arka plan */
    border: 1px solid #007BFF;
    /* Kenarlık mavi */
    color: white;
    /* Beyaz yazı rengi */
    padding: 12px 24px;
    /* Düğmenin iç boşluğu */
    font-size: 16px;
    /* Yazı tipi boyutu */
    border-radius: 5px;
    /* Köşeler hafif yuvarlatılmış */
    font-family: 'Arial', sans-serif;
    /* Yazı tipi */
    font-weight: bold;
    /* Kalın yazı */
    margin: 5px;
    cursor: pointer;
    /* İmleç el şeklinde */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Hafif gölge */
    transition: all 0.3s ease;
    /* Geçiş efekti */
}

#kontroldegistir:hover {
    background-color: #0056b3;
    /* Hover durumunda daha koyu mavi */
    border: 1px solid #0056b3;
    /* Hover durumunda kenarlık daha koyu mavi */
}

#kontroldegistir:active {
    background-color: #004494;
    /* Tıklandığında daha koyu mavi */
    border: 1px solid #004494;
    /* Tıklandığında kenarlık daha koyu mavi */
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
    /* Tıklandığında daha az gölge */
    transform: translateY(1px);
    /* Tıklandığında hafifçe aşağı iner */
}


.ackapabutonu {
    background-color: #fff;
    color: black;
    box-shadow: 0 0 0 2px rgb(255, 255, 255);
    width: 40px;
    height: 20px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 10px;
    transition-duration: 0.4s;
    position: relative;
    /* Dairenin konumunu ayarlamak için */
}

.ackapabutonu::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    /*Daireyi dikey ortala*/
    width: 20px;
    /* Dairenin genişliği */
    height: 20px;
    /* Dairenin yüksekliği */
    background-color: #f44336;
    /* Dairenin rengi */
    border-radius: 50%;
    /* Daireyi yuvarlak yapmak için */
    transition: background-color 0.4s, transform 0.4s;
    /* Renk ve konum değişimini değişken kılmak için */
}

.ackapabutonu.acik::before {
    background-color: #4caf50;
    /* Aktif olduğunda dairenin rengini değiştir */
    transform: translate(100%, -50%);
    /* Daireyi sağa kaydır */
}





.kutu-alani {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* kutu'lar arasındaki boşluk */
    margin-bottom: 20px;
    /* kutu'lar ile diğer içerikler arasındaki boşluk */
}

.kutu {
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* kutu'ların esneklik özelliği */
    /* kutu'ların maksimum genişliği */
    text-align: center;
    display: flex;
    flex-direction: column;
    margin: 5px;
    align-items: center;
}


.kutu h1 {
    margin-bottom: 3px;
}


h1 {
    font-size: 20px;
    color: #333;
    margin-top: 3px;
}

span {
    font-size: 18px;
    color: #666;
}


input[type="submit"] {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    transition-duration: 0.4s;
}

input[type="submit"]:hover {
    background-color: #45a049;
}


@media (max-device-width: 475px) {

    .loginbutonu,
    .loginekrani {
        transform: scale(2);
        transform-origin: top right;
    }

    .negative-message-container,
    .positive-message-container {
        top: 5%;
        transform: scale(2);
        transform-origin: right;
    }

    .wifivarsa,
    .wifiyoksa {
        transform: scale(2);
    }
}

@media (min-device-width: 476px) and (max-device-width: 950px) {

    .loginbutonu,
    .loginekrani {
        transform: scale(1.5);
        transform-origin: top right;
    }

    .negative-message-container,
    .positive-message-container {
        top: 5%;
        transform: scale(1.5);
        transform-origin: right;
    }


    .wifivarsa,
    .wifiyoksa {
        transform: scale(1.5);
    }
}

@media (min-device-width: 1500px) {


    .loginbutonu,
    .loginekrani {
        transform: scale(2);
        transform-origin: top right;
    }


    .negative-message-container,
    .positive-message-container {
        top: 5%;
        transform: scale(2);
        transform-origin: right;
    }

    .wifivarsa,
    .wifiyoksa {
        transform: scale(2);
    }
}