body {
    background-image: url("bg.gif");
    background-size: cover;
    /* Görseli ekranı dolduracak şekilde ölçekler */
    background-position: center;
    /* Görseli ortaya hizalar */
    background-repeat: no-repeat;
    /* Tekrarlamayı kapatır */
    height: 100vh;
    /* Yüksekliği tam ekran yapar */
    margin: 0;
    /* Varsayılan boşluğu kaldırır */
    background-attachment: fixed;
}

.bottom-bar {

    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    /* Üçünü eşit yayar */
    padding: 0 20px;
    pointer-events: none;
    /* Tıklamayı kutular alsın diye */
}

.scroll-box {
    border-style: solid;
    border-width: 10px;
    border-image: url("https://dl.dropbox.com/scl/fi/6wo0voidugxmgg0a81v20/lace-border-png-37013.png?rlkey=3hn4k762e8y0v6d2v6mwrtcbr&st=5o8bpex4") 60 fill round;

    width: 300px;
    height: 200px;
    padding: 15px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 10px;
    pointer-events: auto;
    /* Etkileşime açık */
}

/* Küçük ekranlarda otomatik küçülsün */
@media (max-width: 950px) {
    .scroll-box {
        width: 250px;
    }
}

@media (max-width: 800px) {
    .scroll-box {
        width: 200px;
        height: 150px;
    }
}

/* Çok küçük ekranda alt alta dizilsin */
@media (max-width: 650px) {
    .bottom-bar {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}


@font-face {
    font-family: pxl;
    src: url(g/pkmn_rbygsc/PKMN\ RBYGSC.ttf);
}

p {
    font-family: pxl;
    font-size: 13px;
}

h2 {
    font-family: pxl;
    font-size: 20px;
    color: rgba(155, 250, 250, 0.452);
}

.scroll-box {

    width: 500px;
    height: 180px;
    padding: 20px;
    position: relative;
    overflow-y: scroll;
    /* Kaydırma aktif */
    background: rgba(0, 0, 0, 0.251);
    color: rgba(255, 255, 255, 0.79);
    border-radius: 10px;

    /* Scrollbar'ı gizle */
    scrollbar-width: none;
    /* Firefox */
}

.scroll-box::-webkit-scrollbar {
    display: none;
    /* Chrome, Opera, Edge */
}


.scroll-box img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.button-container {
   

    display: flex;
    flex-direction: column;
    gap: 0px;
    /* Butonlar arası boşluk */
    width: 100px;
    /* Dikey kutu genişliği */
    padding: 2px;

}

.my-button {
    display: block;
    text-align: center;
    padding: 10px 0;
    
    /* Buton rengi */
    color: rgb(255, 255, 255);
    font-size: small;
    font-family: pxl;
    transition: background 0.2s;
}

.my-button:hover {
    background: #ff00001f;
    /* Hover efekti */
    color: rgb(255, 255, 255);
    font-size: medium;
}

.my-table {

    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.my-table td {


    color: white;
    padding: 10px;
    background: transparent;
    border: none;
}

.life-box {
    width: 500px;
    padding: 20px;
    position: relative;
    border-radius: 6px;
    border-style: solid;
    border-width: 10px;
    border-image: url("https://dl.dropbox.com/scl/fi/6wo0voidugxmgg0a81v20/lace-border-png-37013.png?rlkey=3hn4k762e8y0v6d2v6mwrtcbr&st=5o8bpex4") 60 fill round;
    color: white;

    height: 200px;
    padding: 20px;
    overflow-y: auto;
 

    pointer-events: auto;
    /* Etkileşime açık */
}

/* Resim başlık */
.life-title {
    position: absolute;
    top: -5px;       /* Kutunun üstüne taşırma */
    left: 0px;
    height: 60px;     /* Boyutı buradan ayarlayabilirsin */
}

.life-title2 {
    position: absolute;
    top: 0px;       /* Kutunun üstüne taşırma */
    right: 20px;
    height: 60px;     /* Boyutı buradan ayarlayabilirsin */
}

/* İçerik alanı */
.life-content {
    display: grid;
    grid-template-columns: 10fr 10fr;
    gap: 6px;
    margin: 6px;
}

.col p {
    margin: 0 0 10px;
    font-size: 12px;
}

.p2 {
    background-color: black;
}

/* Chrome, Edge, Opera */
::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* Firefox */
* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}


#shake:hover img { 
animation: shake 0.5s; 
animation-iteration-count: infinite; 
-webkit-filter:blur(1px); 
-webkit-transition: .5s ease-in; 
} 
 
@keyframes shake {
0% { transform: translate(1px, 1px) rotate(0deg); }
10% { transform: translate(-1px, -2px) rotate(-1deg); }
20% { transform: translate(-3px, 0px) rotate(1deg); }
30% { transform: translate(3px, 2px) rotate(0deg); }
40% { transform: translate(1px, -1px) rotate(1deg); }
50% { transform: translate(-1px, 2px) rotate(-1deg); }
60% { transform: translate(-3px, 1px) rotate(0deg); }
70% { transform: translate(3px, 1px) rotate(-1deg); }
80% { transform: translate(-1px, -1px) rotate(1deg); }
90% { transform: translate(1px, 2px) rotate(0deg); }
100% { transform: translate(1px, -2px) rotate(-1deg); }
} 

a{
    color: white;
    font-size: small;
    font-family: pxl;
    transition: background 0.5s;
}

a:hover{



    /* Hover efekti */
    color: rgb(89, 0, 0);
}


.jerking {
animation: jerk 0.5s infinite;
}
 
@keyframes jerk {
0% {
transform: rotate(1deg);
}
50% {
transform: rotate(1deg);
}
51% {
transform: rotate(-1deg);
}
100% {
transform: rotate(-1deg);
}
}