/* HTML and Body */
@font-face {
    font-family: 'PocketMonk';
    src: url('../font/PocketMonk-15ze.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}


::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}


::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #DD5454, #161616, #C1C1C1, #161616, #C1C1C1);
    border-radius: 12px;
}


::-webkit-scrollbar-track {
    background: #000000;
    border-radius: 12px;
}


html {
    font-size: 65.5%;
    /* set standart size on 1rem = 10px */
    background-color: #000;
}


b {
    text-decoration: underline;
}


body {
    font-size: calc(2.5rem + 0.390625vw);
    font-family: "raleway";
    min-height: max-content;
    margin: 0;
}


a {
    color: #FFCB05;
    text-decoration: none;
    font-weight: bold;
}


a:hover {
    text-decoration: underline;
    font-weight: 900;
    cursor: pointer;
}


a:visited {
    color: #FFCB05;
}


p {
    font-size: calc(2.1rem + 0.390625vw);
    font-family: "PocketMonk";
    color: #FFCB05;
    text-shadow: #000000 1px 0 10px;
    filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 1));
    margin: 0;
}


#page_container {
    display: grid;
    grid-template-rows: auto 1fr auto;
    position: relative;
    min-height: 100vh;
}


#content_wrap {
    padding: 143px 0;
    background-image: url(../img/pokeball-bg.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: contain;
    background-repeat: repeat;

    display: grid;
    grid-template-columns: 1fr repeat(12, 1fr) 1fr;
    grid-template-rows: auto;

    @media (max-width: 800px) {
        grid-template-columns: 1fr repeat(6, 1fr) 1fr;
    }

    @media (max-width: 500px) {
        grid-template-columns: 1fr repeat(2, 1fr) 1fr;
    }
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    background-color: rgb(14, 0, 78);
    padding: 0 130px;

    @media (max-width: 800px) {
        padding: 0;
    }
}


footer {
    padding: 0 130px;
    height: 125px;
    display: flex;
    background-color: rgb(14, 0, 78);
    justify-content: space-between;
    align-items: center;
    object-fit: cover;
    position: static;
    bottom: 0;
    min-width: calc(100% - 300px);

    @media (max-width: 800px) {
        padding: 0;
    }
}


header img {
    margin: 10px 0px;
    max-height: 76px;
    max-width: auto;

    @media (max-width: 500px) {
        max-width: 150px;
    }
}


footer img {
    margin: 10px 0px;
}


.footer_link {
    display: flex;
    align-items: center;


    @media (max-width: 500px) {
        display: flex;
        flex-direction: column;
        padding: 5px;
    }
}


h1,
h2,
h3 {
    font-family: "PocketMonk";
    color: #FFCB05;
    margin: 5px;
    text-shadow: #000000 1px 0 10px;
    filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 1));
    text-align: center;
}


#main_container {
    grid-column: 2/14;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    max-width: min(90%, 1900px);
    margin: 0 auto;
    gap: 10px;
    padding: 20px 0;

    @media (min-width: 1600px) {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        grid-column: 3/13;
    }

    @media (max-width: 800px) {
        grid-column: 2/8;
    }

    @media (max-width: 500px) {
        grid-column: 1/-1;
    }
}