@font-face {
    font-family: Bohemian-Soul;
    src: url(/resources/fonts/Bohemian\ Soul.otf);
}

@font-face {
    font-family: basiic;
    src: url(/resources/fonts/basiic_byCINNI.ttf);
}

/* ----- GENERAL ----- */
* {
    font-family: basiic;
    font-size: 15px;
    color:#3e1d35;
}

body {
    height: 100vh;
    align-content: center;
    background-image: url(/resources/bg/bg11.gif);
}

h1, h2, h3, h4, h5, h6 {
    font-family: Bohemian-Soul;
    font-weight: lighter;
}


h2 { font-size: 5em; }

h3 {
    font-size: 2.5em;
    margin: .5em;
}

nav, #ad, .art-content {
    background-color: white;
    border: 8px double aliceblue;
}

::-moz-selection {
    color: #b2cde8;
    background: #f0f8ff8e;
}

::selection {
    color: #b2cde8;
    background: #f0f8ff8e;
}

/* ----- LAYOUT ----- */
header { grid-area: header;}
aside { grid-area: aside;}
.art-content { grid-area: content;}

#main-container {
    width: 1200px;
    height: min-content;
    margin: auto;
    padding: 1.5em 2em;
    object-fit: contain;
    justify-content: center;

    display: grid;
    gap: 1em;
    grid-template-rows: 220px auto;
    grid-template-columns: 20% 80%;
    grid-template-areas:
        'header header'
        'aside content';
}

/* ----- HEADER ----- */
header {
    width: 100%;
    height: 220px;
    background-image: url("/img/art/illust/20250223.jpg");
    background-size: cover;
    background-position: center;
    justify-items: center;
    align-content: center;
}

/* ----- ASIDE ----- */
aside {
    display: grid;
    gap: 1em;
    grid-template-rows: 426px 220px;
    box-sizing:border-box;

}

nav {
    align-content: center;
    text-align: center;
}


nav > button , a > button {
    background-color: aliceblue;
    border-radius: .5em;
    border: 0;
    width: 140px;
    padding: 1em;
    margin: .8em;
}

nav > button:hover , a > button:hover{
    transform: scale(1.02);
    background-color: #b2cde8;
    transition: .1s;
    cursor: pointer;
}

#ad {
    height: 220px;
}

#ad > a > img {
    width: 100%;
    height: 220px;
}

#ad:hover {
    transform: rotate(-3deg);
    transition: .2s;
}

/* ----- CONTENT ----- */
.art-content {
    /* border: 1px solid red; */
    height: 600px;
}

.art-content > article {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.art-content > article > a {
    width: 20%;
    margin: 1em;
}

.art-content > article > a > img { width: 100%;}

.art-content {
    padding: 2em;
    text-align: center;
    overflow-y: auto;
}

.art-content > article > a:hover {
    transform: scale(1.03);
    transition: .2s;
}

/* ----- ART SECTIONS ----- */
#index { display: block;}
#illust { display: none;}
#chibis { display: none;}
#sketches { display: none;}
#designs { display: none;}
#pixel { display: none;}