:root {
    --outline-color: rgb(245, 162, 8);
    --box-color-1: #1d1b0f;
    --shadow-color: rgb(37, 28, 8);
    --box-shadow-1: 5px 8px 3px var(--shadow-color);
    --background-color: #0a0a0a;
    --link-color: #bd361e;
    font-family: 'dominobrick';
}


@font-face {
    font-family: 'matrix';
    src: url(/fonts/pixeloid.ttf);
}

@font-face {
    font-family: 'dominobrick';
    src: url(/fonts/dominobrick.ttf);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

* {
    padding: 0;
    box-sizing: border-box;
    font-family: 'dominobrick';
    letter-spacing: 0.1rem;
    transition: fadeIn 0.3s;
}

html {
    background-color: var(--background-color);
    color: var(--outline-color);
    background-image: radial-gradient(#180e01, 1px, transparent 1px);
    background-size: 8px 8px;
    background-color: var(--background-color);
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

body {
    position: relative;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.4;
    color: var(--text);
    background: var(--bg1);
    background-image: url("https://sweetfish.site/img/bg.png");
}

main {
    position: relative;
    max-width: 70rem;
    margin: 0 auto;
    padding-top: 60px;
    display: block;
    float: none;
}

p,
ul,
li,
a {
    font-size: 0.8rem;
}

a {
    text-decoration: none;
    color: var(--link-color);
}

a:hover {
    text-decoration: underline 2px;
}

.menu {
    width: min-content;
    margin: 0px;
}

.header {
    display: flex;
    width: 100%;
    z-index: 99;
    position: fixed;
    justify-content: space-between;
    padding: 0.45rem 1.2rem;
    background-color: var(--outline-color);
    border-bottom: var(--border-style);
    font-size: .8rem;
    color: var(--background-color);
    letter-spacing: 1px;
    height: 3.2em;
    font-weight: bold;
    border: 5px solid;

    a {
        color: var(--background-color);
        text-decoration: none;
    }

    ul {
        margin: 0;
        padding: 0;
        padding-bottom: 0px;
        list-style: none;
        overflow: hidden;
    }

    .home {
        display: block;
        flex-basis: 20%;
        font-size: 1em;
        max-width: 20%;
        padding: 0em;
        text-decoration: none;
    }
}

.boxHeader {
    display: flex;
    justify-content: space-between;
    background-color: var(--box-color-1);
    border-bottom: var(--outline-color) solid 2px;
    padding: 10px 15px;
}

.pageContent {
    padding: calc(4.7rem + .1vw) 5vw 5vw 5vw;
    position: absolute;
    top: 0;
    min-height: 100vh;
    width: 100%;
}

.row {
    margin-bottom: 20px;
    flex-direction: row;
    display: flex;
    gap: 10px;
    align-items: stretch;

    .box {
        flex: 1;
        display: flex;
        flex-direction: column;
        width: auto;
    }
}

.column {
    flex-direction: column;
    display: flex;
    gap: 10px;
    align-items: stretch;

    .box {
        flex: 1;
        display: flex;
        flex-direction: column;
        width: auto;
    }
}

.section * {
    margin: 20px 0px 0px 0px;
}

.box {
    border-width: 2px;
    border-color: var(--outline-color);
    border-style: solid;
    background-color: var(--background-color);
    text-overflow: clip;
    overflow: hidden;

    li {
        list-style: square;
        list-style-position: inside;
    }

    img {
        max-height: 10em;
        width: 100%;
        object-fit: cover;
        object-position: 50% 45%;
    }

    .content {
        position: relative;
    }

    .heading {
        background-color: var(--box-color-1);
        width: 100%;
        margin: 0px;
        color: var(--outline-color);
    }

    .body {
        padding: 0px 10px;
        margin: 0px;
    }
}

.date {
    letter-spacing: 3px;
    font-weight: bold;
}

/* HOME PAGE SPECIFIC */

#quickNav {
    flex: 0.38;
}

#socialmedia {
    flex: 0.8;
}

#books {
    flex: 0.8;
}

#music {
    flex: 1.2;
}

/* GALLERY SPECIFIC */

.gallery {
    column-count: 3;
    gap: 10px;

    img {
        overflow: hidden;
        width: 100%;
        display: block;
        object-fit: cover;
        margin-bottom: 10px;
        border: var(--outline-color) 2px solid;
    }

    img:hover {
        transform: translateY(-2px);
    }
}



/* Index Copy HTML */

.tristContainer {
    column-count: 2;
    background-color: red;
    gap: 10px;

    .tristColumn {
        width: 100%;
        height: 200px;
        background-color: green;
        display: flex;
        gap: 10px;

        .tristItem {
            width: 100%;
            height: 100%;
            background-color: purple;
        }
    }

    #info1 {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width:800px) {
    .tristContainer {
        column-count: 1;
    }
}