*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;}
.kapsayici{
    width: 100%;
    
    gap: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(20,50);
    grid-template-areas: 
    "menualani menualani menualani menualani"
    "menualani menualani menualani menualani"
    "menualani menualani menualani menualani"
    "footer footer footer footer"
    "footer footer footer footer"
    "footer footer footer footer"
    "footer footer footer footer"
}
body{
    background-image: url(images/ilkarkaplan.png); ;
    background-repeat: no-repeat;
    background-size: cover;
    transition: background 0.5s ease-in-out;
}
.custom-cursor {
    position: absolute;
    width: 32px; 
    height: 32px;
    background: url(boximlage/GTA-RP.CUR.cur) no-repeat center;
    background-size: contain;
    pointer-events: none; 
    z-index: 9999; 
}
.anasayfa h2{
    color: red;
    transition: 0.3s;
    font-size: 15pt;
    padding: 10px;
}
.anasayfa h2:hover{
    color: orange;
    background-color: red;
    font-size: 20pt;
    transition: 0.3s; 
    text-shadow: 0 0 10px red, 0 0 15px yellow, 0 0 20px red
}
.anasayfa h2:hover{
 cursor: url(boximlage/cursor.cur), auto;   
}
.oyunmenu h2{
    color: red;
    transition: 0.3s;
    font-size: 15pt;
    padding: 10px;
}
.oyunmenu h2:hover{
    color: orange;
    background-color: red;
    font-size: 20pt;
    transition: 0.3s; 
    text-shadow: 0 0 10px red, 0 0 15px yellow, 0 0 20px red
}
.oyunmenu h2:hover{
cursor: url(boximlage/cursor.cur), auto;
}
.aracmenu h2{
    color: red;
    transition: 0.3s;
    font-size: 15pt;
    padding: 10px;
}
.aracmenu h2:hover{
    color: orange;
    background-color: red;
    font-size: 20pt;
    transition: 0.3s;
    text-shadow: 0 0 10px red, 0 0 15px yellow, 0 0 20px red 
}
.aracmenu h2:hover{
cursor: url(boximlage/cursor.cur), auto;
}
.hakkimda h2{
    color: red;
    transition: 0.3s;
    font-size: 15pt;
    padding: 10px;
}
.hakkimda h2:hover{
    color: orange;
    background-color: red;
    font-size: 20pt;
    transition: 0.3s; 
    text-shadow: 0 0 10px red, 0 0 15px yellow, 0 0 20px red
}
.hakkimda h2:hover{
cursor: url(boximlage/cursor.cur), auto;
}
.menualani{
    grid-area: menualani;
    display: inline-flex;
    gap: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.footer{
    grid-area: footer;
    
}
.footer h1 {
    position: fixed;
    bottom: 290px; /* 'Sonraki' butonundan biraz yukarı */
    right: 360px;
    font-size: 60pt;
    color: red;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 998; /* 'sonraki' butonunun altında kalmaması için yüksek tut */
    margin: 0;
    padding: 0;
}

.footer h2{
    position: fixed;
    bottom: 180px; /* 'Sonraki' butonundan biraz yukarı */
    right: 580px;
    font-size: 40pt;
    color: red;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 998; /* 'sonraki' butonunun altında kalmaması için yüksek tut */
    margin: 0;
    padding: 0;
}
.menu-container h2#menuButton{
    color: red;
    transition: 0.3s;
    font-size: 15pt;
    padding: 10px;
}
.menu-container h2#menuButton:hover{
    color: orange;
    background-color: red;
    font-size: 20pt;
    transition: 0.3s; 
    cursor: url(boximlage/cursor.cur), auto;
    text-shadow: 0 0 10px red, 0 0 15px yellow, 0 0 20px red
}
.menu h2{
    color: red;
    transition: 0.3s;
    font-size: 15pt;
    padding: 10px;
}
.menu h2:hover{
    color: orange;
    background-color: red;
    font-size: 20pt;
    transition: 0.3s; 
    cursor: url(boximlage/cursor.cur), auto;
    text-shadow: 0 0 10px red, 0 0 15px yellow, 0 0 20px red
}
.menu{
    position: fixed;
    top: 0;
    right: -250px; /* Başlangıçta gizli */
    width: 250px;
    height: 100%;
    padding: 20px;
    transition: right 0.3s ease-in-out;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 999;
}
.menu.active {
    right: 0;
}
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #b30000; /* Kırmızı arka plan */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Simge ile yazı arasında boşluk */
    color: white;
    font-size: 24px;
    font-family: Arial, sans-serif;
    z-index: 9999;
    transition: 0.5;
}

/* Dönen yükleme simgesi */
.loader {
    width: 40px;
    height: 40px;
    border: 5px solid #fff; /* Beyaz çerçeve */
    border-top: 5px solid transparent; /* Üst kısmı boş bırak */
    border-radius: 50%;
    animation: spin 0.5s linear infinite;
    transition: 0.5;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
p{
    padding-top: 10px;
    color: red;
}

#clock-container {
    position: fixed;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-family: Arial, sans-serif;
    color: red;
    padding: 5px;
    border-radius: 5px;
    display: flex;
    align-items: center;
}