@import url('https://fonts.googleapis.com/css2?family=Bentham&family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
body {

    font-family: "Roboto";

    background-image: url(images/backgrounds/tiger.jpeg);
    background-repeat:no-repeat;
    background-size:cover;
    background-attachment: fixed;

    min-width: 100vw;
    margin: 0;
    position: fixed;

    font-size: large;
    color: burlywood;

    line-height: 1.3;
}

.content {
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    overflow-y: scroll;
}

h1, h2, h3 {
    font-family:"Old Standard";
    color: #ff8800;
    margin-bottom: -10px;
}
h3 {
    text-align: center;
    margin: 30px 10px;
}

ul li ul li{
    color: #745c45;
}


.box {
    min-width: 1vw;
    min-height: 0.6vh;

    align-content: center;
    
    border-style: solid;
    border-width: 4px;
    border-color: #a7723e;
    border-radius: 20px;

    background-color: rgba(0, 0, 0, 0.8);

    padding: 10px 30px;
    margin: 0 20px 20px;
}

header {
    text-align: center;
    color: #a7723e;
}

.mid{
    width: 40vw;
    
}

aside{
    min-width: 10vw;
    max-width: 20vw;
    /* max-width: min-content; */
    
}


/* champion grid */
/* .championGrid {
    max-width: 15vw;
} */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    gap: 16px;

    width: 100%;
    box-sizing: border-box;
}

.champion-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.champion-entry img {
    width: 100%;
    max-width: 80px;
    height: auto;
    object-fit: contain;
}

.champion-entry span {
    margin-top: 6px;
    font-size: 24px;
}

/* === SCROLLBAR SUAVE === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #5e5e5e;
    border-radius: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

/* === Imagens da grid responsivas === */
@media (max-width: 768px) {
    .champion-entry img {
        width: 50px;
        height: 50px;
    }

    .champion-entry span {
        font-size: 16px;
    }

    .grid {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .champion-entry img {
        width: 40px;
        height: 40px;
    }

    .champion-entry span {
        font-size: 14px;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    }
}