* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace;
    text-decoration: none;
}

html, body {
    height: 100%;
    width: 100%;
    background: rgb(120, 176, 204);
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Dikeyde ortalar */
    align-items: center; /* Yatayda ortalar */
    padding: 0;
    margin: 0;
    min-height: 100vh; /* Minimum yüksekliği tam ekran yapar */
}

nav {
    position: fixed; /* Sabit konumda kalmasını sağlar */
    top: 0; /* Ekranın en üstüne yerleştirir */
    left: 0; /* Ekranın soluna hizalar */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0rem 2rem;
    width: 100%;
    height: 100px;
    background: rgba(255, 255, 255, 1);
    border-bottom: solid 3px rgba(156, 148, 148, 0.3);
    z-index: 10; /* Diğer içeriklerin üstünde kalmasını sağlar */
}

nav #menuBtn {
    display: none;
}

nav .menuBtn {
    font-size: 2rem;
    color: rgb(120, 176, 204);
    float: right;
    line-height: 100px;
    margin-right: 2rem;
    display: none;
}

nav p {
    display: flex;
    width: 300px;
    height: 100px;
}

nav p a {
    display: block;
    height: 20px;
    margin-top: 30px;
    font-size: 20px;
    text-align: center;
}

nav p img {
    float: left;
}

nav ul {
    float: right;
    margin-right: 10px;
}

nav ul li {
    list-style: none;
    display: inline-block;
    line-height: 100px;
    margin: 0rem .5rem;
}

nav ul li a {
    color: rgb(155, 86, 86);
    font-size: 1.5rem;
    font-weight: bold;
    padding: .5rem 5px;
    text-decoration: none;
}

nav ul li a:hover {
    background: rgb(242, 250, 7);
    border-radius: .3rem;
}

@media (max-width: 1280px) {
    nav p a {
        display: none;
    }
    nav p {
        display: flex;
        width: 90px;
        height: 100px;
    }
}

@media (max-width: 1065px) {
    nav ul li a {
        color: rgb(155, 86, 86);
        font-size: 1rem;
        font-weight: 100;
    }
}

@media (max-width: 815px) {
    nav .menuBtn {
        display: initial;
    }
    nav ul {
        position: fixed;
        background: rgba(255, 255, 255, 1);
        width: 100%;
        height: calc(100vh - 100px); /* Top kısmın yüksekliğini düşürerek kalan alanı kaplar */
        top: 100px; /* Menü yüksekliği */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s;
        left: -100%;
    }
    nav ul li {
        display: block;
        min-width: 80%;
        text-align: center;
        line-height: 4rem;
    }
    nav ul li a {
        display: block;
        font-size: 1rem;
    }
    nav #menuBtn:checked ~ ul {
        left: 0;
    }
    nav #menuBtn:checked ~ label.menuBtn i::before {
        content: "\f00d";
    }
}

.Yoklama {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 100px); /* Ekranın geri kalan yüksekliği, nav yüksekliği kadar çıkartılır */
    width: 100%;
    padding: 30px;
    position: relative;
}

.form {
    display: block;
    width: 100%;
    max-width: 400px;
    padding: 10px;
}

.formYoklama {
    background: #fff;
    padding: 40px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.formYoklama h2 {
    margin: 0 0 20px;
    padding: 0;
    color: rgb(131, 184, 211);
    text-align: center;
}

.yoklamaKullaniciAdiSifre {
    position: relative;
    margin-bottom: 30px;
}

.yoklamaKullaniciAdiSifre input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
    background: transparent;
}

.yoklamaKullaniciAdiSifre label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;
    color: #333;
    pointer-events: none;
    transition: 0.5s;
}

.yoklamaKullaniciAdiSifre input:focus ~ label,
.yoklamaKullaniciAdiSifre input:valid ~ label {
    top: -20px;
    left: 0;
    color: #333;
    font-size: 12px;
}

.GirisButon {
    background: #4cd86a;
    border: none;
    outline: none;
    padding: 10px 20px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    text-align: center;
    transition: 0.3s;
}

.GirisButon:hover {
    background: #d36868;
}
