/* Genel Stil */
body, html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1d243d;
    color: #dfdeee;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    position: relative; /* Particles-js için */
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Header */
header {
    background-color: #272e48;
    color: #fff;
    padding: 15px 0;
    text-align: center;
    position: relative;
}

/* Logo Stili */
.logo-link {
    position: absolute;
    top: 8px;
    left: 25px;
}

.logo {
    height: 70px; /* İhtiyaca göre ayarlayın */
}

/* Başlık */
header h1 {
    margin: 0;
    font-size: 24px;
}

/* Navigasyon */
nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.header-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #28a745;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.header-button:hover {
    background-color: #218838;
}

.logout-button {
    background-color: #dc3545;
}

.logout-button:hover {
    background-color: #c82333;
}

/* İçerik */
main {
    padding: 40px 20px;
    text-align: center;
}

section {
    background: #262e49;
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

section img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

a {
    color: #5c7fda;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #272e48;
    color: #fff;
    position: fixed;
    width: 100%;
    bottom: 0;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

/* Login Form */
.container {
    margin: 0;
    top: 50px;
    left: 50%;
    position: absolute;
    text-align: center;
    transform: translateX(-50%);
    background-color: rgb(33, 41, 66);
    border-radius: 9px;
    border-top: 10px solid #79a6fe;
    border-bottom: 10px solid #8BD17C;
    width: 400px;
    height: 500px;
    box-shadow: 1px 1px 108.8px 19.2px rgb(25,31,53);
}

.box h4 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #5c6bc0;
    font-size: 18px;
    margin-top: 94px;
}

.box h4 span {
    color: #dfdeee;
    font-weight: lighter;
}

.box h5 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    color: #a1a4ad;
    letter-spacing: 1.5px;
    margin-top: -15px;
    margin-bottom: 70px;
}

.box input[type="text"], .box input[type="password"] {
    display: block;
    margin: 20px auto;
    background: #262e49;
    border: 0;
    border-radius: 5px;
    padding: 14px 10px;
    width: 320px;
    outline: none;
    color: #d6d6d6;
    transition: all .2s ease-out;
}

.box input[type="text"]:focus, .box input[type="password"]:focus {
    border: 1px solid #79A6FE;
}

.btn1 {
    border: 0;
    background: #7f5feb;
    color: #dfdeee;
    border-radius: 100px;
    width: 340px;
    height: 49px;
    font-size: 16px;
    position: absolute;
    top: 79%;
    left: 8%;
    transition: 0.3s;
    cursor: pointer;
}

.btn1:hover {
    background: #5d33e6;
}

.error {
    background: #ff3333;
    text-align: center;
    width: 337px;
    height: 30px;
    padding: 5px;
    border: 0;
    border-radius: 5px;
    margin: 10px auto 10px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    display: none;
    position: absolute;
    top: 31%;
    left: 7.2%;
}
