
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Arial', sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    background-image: url('bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #333;
    min-height: 100vh;
}

.wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

.navbar {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: space-between;
    padding: 20px 50px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.navbar ul {
    list-style-type: none;
    display: flex;
    align-items: center;
}

.navbar ul li {
    margin-left: 20px;
}

.navbar ul li a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.navbar ul li a:hover {
    color: #a33f39;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.header {
    text-align: center;
    padding: 100px 0 50px;
}

.header h1 {
    font-size: 3rem;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.header p {
    font-size: 1.5rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* İçerik Bölümü (Form Kutusu) */
.content {
    max-width: 400px; /* Genişlik küçültüldü */
    margin: 100px auto; /* Yatay ve dikey ortalama sağlandı */
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9); 
    padding: 20px; 
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Hafif gölge ekleyerek öne çıkardık */
    flex-grow: 1;
}

.content h2 {
    font-size: 2rem;
    color: #444;
    margin-bottom: 20px;
}

.content p, .content ul {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 10px 0;
}

/* Form Girdileri */
input[type="text"], input[type="email"], input[type="password"] {
    width: 90%; /* Girdileri küçültüp formun genişliğiyle uyumlu hale getirdik */
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

/* Butonlar */
.btn {
    padding: 10px 20px; 
    font-size: 1.1rem; 
    background-color: #a33f39;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 20px auto 0; /* Üstte boşluk ve altta biraz daha boşluk bırakıldı */
    display: inline-block;
}

.btn:hover {
    background-color: #bf4939;
}

.footer {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    padding: 20px 0;
    width: 100%;
    position: relative;
    bottom: 0;
}

.footer-menu {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

.footer-menu li {
    display: inline;
    margin-right: 20px;
}

.footer-menu li a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-menu li a:hover {
    color: #a33f39;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem;
    }

    .content h2 {
        font-size: 1.5rem;
    }

    .content p {
        font-size: 1rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .footer-menu li {
        display: block;
        margin: 10px 0;
    }

    .navbar ul {
        flex-direction: column;
        text-align: right;
    }

    .navbar ul li {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 2rem;
    }

    .content h2 {
        font-size: 1.2rem;
    }

    .content p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}
