body {
    background-image: url("bg2.png");
    background-color: black;
    background-size: cover;
    /* Görseli ekranı dolduracak şekilde ölçekler */
    background-position: center;
    /* Görseli ortaya hizalar */
    background-repeat: repeat-x;
    /* 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;
    height: 250px;
    top: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-items: left;
    margin-left: 100px;
    /* Üçünü eşit yayar */
    padding: 0 20px;
    pointer-events: none;
    /* Tıklamayı kutular alsın diye */
    align-items: left;
}



/* 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, serif;
    src: url(g/pkmn_rbygsc/PKMN\ RBYGSC.ttf);
}

p {
    font-family: pxl, serif;
    font-size: 13px;
}

h2 {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 20px;
    color: rgba(75, 20, 20, 0.764);
}

.scroll-box {


    padding: 15px;
    overflow-y: auto;

    pointer-events: auto;
    /* Etkileşime açık */
    padding: 0px;
    position: relative;
    overflow-y: scroll;
    /* Kaydırma aktif */




    /* 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: 10px;
    /* Butonlar arası boşluk */
    width: 15px;
    /* Dikey kutu genişliği */
    padding: px;

}

.my-button {

    display: block;
    text-align: center;
    padding: -2px;
    background-color: black;
    border-color: rgba(4, 32, 58, 0.589);
    border: solid;
    border-top: 0px;
    /* Buton rengi */
    color: rgba(113, 170, 190, 0.482);
    font-size: small;
    font-family: pxl;
    transition: background 0.2s;
}

.my-button:hover {
    background: #9db2ff1f;
    /* Hover efekti */
    color: rgb(140, 203, 106);
    font-size: smaller;
}



/* Resim başlık */
.life-title {
    position: absolute;
    top: -5px;
    /* Kutunun üstüne taşırma */
    left: 0px;
    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;
}


a {
    color: white;
    font-size: small;
    font-family: pxl;
    transition: background 0.5s;
}

a:hover {



    /* Hover efekti */
    color: rgb(89, 0, 0);
}

.img-swap {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 320px;
    /* istediğin maksimum genişlik */
    cursor: pointer;
}

.img-swap img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity .25s ease;
}

.img-swap img.hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    /* alttaki görselin hover'ını bozmamak için */
}

.img-swap:hover img.hover {
    opacity: 1;
}

.img-swap:hover img:not(.hover) {
    opacity: 0;
}

.back-btn {
    width: 60px;
    height: 20px;
    background: transparent;
    color: white;
    /* istersen black yapabilirsin */


    font-size: 12px;
    cursor: pointer;

    align-items: center;
    justify-content: center;
}

.fancy-box {
    padding: 20px;
    border: 15px solid transparent;
    /* kalınlık burada ayarlanıyor */
    border-image: url("border.png") 60 round;
    /* 30 = slicing değeri. Border görseline göre değiştirirsin. */
    border-style: solid;
    background-color: rgba(0, 0, 0, 0.37);
    color: wheat;

    background-size: cover;
    pointer-events: auto;
    background-clip: padding-box;
    /* ÇAKIŞMAYI ÖNLÜYOR */

}