@font-face {
  font-family: "Press Start 2P";
  src: url('Press_Start_2P/PressStart2P-Regular.ttf');
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    height: 100%;
}

body {
    max-width: 1000px;
    margin: 0 auto;
    height: auto;
    /* margin: 0 50px; */
    color: #000;
    padding: 16px;
    background: no-repeat 50% 100% / cover url('images/bg.png');
    
    image-rendering: pixelated;
    background-attachment: fixed;
}
    body * {
        /* color: #000; */
    }

main {
    background-color: rgba(255, 254, 252, 0.7); border: 2px solid #000; 
}


h2{
    margin: 0;
    /* background: linear-gradient(to bottom, #53a3ff, #536cfb); */
    color: #536cfb; font-size: 13px; margin: 0; display: inline-block; }

section{display: inline-block; width: 100%; vertical-align: top; padding: 16px;}
h1,h2{font-family: 'Press Start 2P';}
h1{margin: 24px 0; font-size: 26px; text-align: center; letter-spacing: 0.1em;}
h1 a{text-decoration: none; color: #fff;}
header{
    background: url('header-bg2.png');
    background-size: contain;
    /* background: linear-gradient(to bottom, #ff9f45, #ff7304); */
    /* background: linear-gradient(to bottom, #ff9f45, #ff9f45 20%, rgb(255 147 51) 20%, rgb(255 147 51) 40%, rgb(255 136 34) 40%, rgb(255 136 34) 60%, rgb(255 128 23) 60%, rgb(255 128 23) 80%, #ff7304); */
    padding: 16px 24px; display: block; margin-bottom: 16px; border: 2px solid #000; border-radius: 8px;
}

ul {
    margin: 0;
}

#container {
    flex: 1;
    font-size: 18px;
    /* margin-top: -12%; */
    margin: 32px 0;
}

#content {
    padding: 32px;

    border: 2px solid #eee;
    background-color: #cbcbcb4b;

    /* text-align: center; */
    /* border: solid 5px #959595;
    border-top-color: #eee;
    border-left-color: #eee; */
}


#header {
    text-align: center;
    margin-bottom: 24px;
    /* margin-top: 8px; */
}
    #header img {
        height: 46px;
        padding: 5px;
    }


#topics {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
    #topics > a {
        text-align: center;
        /* text-decoration: none; */
    }
    #topics > a > img {
        height: 58px;
    }


#gifs {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin: 48px 0;
}
    #gifs > img {
        height: 40px;
    }



#art {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    gap: 24px;
}
    #art > div {
        
    }
    #art > div > img {
        width: 100%;
        display: inline-block;
        outline: 2px solid #eee;
    }