﻿/* yatay ve dikey scroll çubuğunu kaldırıyoruz. */
body {
    overflow-x: hidden; /* Yatay kaydırmayı engeller */
    overflow-y: auto; /* Dikey kaydırmayı aktif eder */
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    gap: 20px;
    /* background: rgba(0, 0, 0, 0.5); */ /* Arka plana opaklık eklemek için */
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    /*  background-color: darkblue; */
    padding: 10px;
    color: white;
    gap: 10px;
}

    .header img {
        height: 250px; /* Logonun yüksekliği */
    }

.master-button {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    background-color: white;
    color: #1A459B;
    cursor: pointer;
    text-decoration: none;
}

    .master-button:hover {
        background-color: #1A459B;
        color: white;
    }

input {
    padding: 10px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    width: 300px;
}

button {
    padding: 10px 20px;
    font-size: 24px;
    border: none;
    border-radius: 5px;
    background-color: white;
    color: #1A459B;
    cursor: pointer;
}

    button:hover {
        background-color: #0056b3;
        color: white;
    }

.button-container {
    display: flex; /* Elemanları yan yana hizala */
    justify-content: center; /* Ortalamak için */
    gap: 15px; /* Butonlar arasına boşluk bırak */
}

video {
    border: 2px solid white;
    border-radius: 5px;
    width: 300px;
    height: 200px;
}

/* Modal içeriğinin kaydırılabilir olması için stil */
.swal2-html-container {
    max-height: 300px; /* İçeriğin maksimum yüksekliği */
    overflow-y: auto; /* Dikey kaydırma aktif */
    text-align: left; /* Yazıyı sola hizala */
}
/* Modal başlık stilleri */
.modal-title {
    font-size: 20px;
    font-weight: bold;
}

/* Mobil cihazlar için (ekran genişliği 768px veya daha küçükse) */
@media screen and (max-width: 768px) {
    .header img {
        height: 100px; /* Logonun yüksekliği */
    }

    video {
        width: 240px; /* Genişliği otomatik ayarla */
        height: 90px; /* Yüksekliği küçült */
    }

    button {
        padding: 10px 20px;
        font-size: 15px;
        border: none;
        border-radius: 5px;
        background-color: white;
        color: #1A459B;
        cursor: pointer;
    }

    .button-container {
        display: flex; /* Elemanları yan yana hizala */
        justify-content: center; /* Ortalamak için */
        gap: 15px; /* Butonlar arasına boşluk bırak */
    }

    .master-button {
        position: absolute;
        top: 10px;
        left: 10px;
        padding: 10px 20px;
        font-size: 15px;
        border: none;
        border-radius: 5px;
        background-color: white;
        color: #1A459B;
        cursor: pointer;
        text-decoration: none;
    }
}
