:root {
    /* page variables */
    scroll-behavior: smooth;
}

@font-face {
    src: url("https://cdn.eriksonarias.dev/vescien_net/fonts/InstrumentSerif-Regular.ttf");
    font-family: "Instrument Serif";
    font-weight: normal;
    font-style: normal;
}

@font-face {
    src: url("https://cdn.eriksonarias.dev/vescien_net/fonts/InstrumentSerif-Italic.ttf");
    font-family: "Instrument Serif";
    font-weight: normal;
    font-style: italic;
}

@font-face {
    src: url("https://cdn.eriksonarias.dev/vescien_net/fonts/PublicSans-VariableFont_wght.ttf");
    font-family: "Public Sans";
    font-weight: normal;
    font-style: normal;
}

@font-face {
    src: url("https://cdn.eriksonarias.dev/vescien_net/fonts/PublicSans-VariableFont_wght.ttf");
    font-family: "Public Sans";
    font-weight: 100;
    font-style: normal;
}

@font-face {
    src: url("https://cdn.eriksonarias.dev/vescien_net/fonts/PublicSans-VariableFont_wght.ttf");
    font-family: "Public Sans";
    font-weight: 200;
    font-style: normal;
}

@font-face {
    src: url("https://cdn.eriksonarias.dev/vescien_net/fonts/CHAOS16.otf");
    font-family: "CHAOS16";
    font-style: monospace;
}

@font-face {
    src: url("https://cdn.eriksonarias.dev/vescien_net/fonts/Heritage-Display.otf");
    font-family: "Heritage Display";
    font-style: normal;
}

html {
    width: 100vw;
    min-height: 100vh;
    margin: 0;
    background-color: #FFF4D8;
    position: relative;
    font-family: 'Public Sans', sans-serif;
    display: flex;
    justify-content: center;
    font-size: 14pt;
}

body {
    width: 40%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

h1 {
    font-family: "Instrument Serif", serif;
    font-weight: normal;
    margin: 0;
    font-size: 3rem;
}

h2 {
    font-weight: normal;
    margin: 0;
}

h3 {
    margin: 0;
    font-weight: normal;
}

h4 {
    font-size: 36px;
}

a {
    color: rgb(0, 0, 0);
    text-decoration: none;
}

a:visited {
    color: #000000;
    
}

p {
    line-height: 1.5;
}

/* navigation header */

#navigation {
    width: 100%;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid black;
    box-sizing: border-box;
    align-items: baseline;
    margin-top: 50px;

    #logo {
        font-size: 2rem;
        font-weight: 300;
        letter-spacing: -0.15rem;
    }

    #page-nav {
        span {
            font-weight: 100;
        }

        #current {
            font-weight: 400;
        }
    }
}

#footer {
    border-top: 1px solid black;
    box-sizing: border-box;
    padding: 20px 0;
    text-align: center;
    width: 100%;

    span {
        font-size: 0.8rem;
        font-weight: 200;
    }
}

.content {
    padding-bottom: 150px;
    flex: 1;
    margin-top: 150px;
}

#home {
    display: flex;
    flex-direction: column;
    align-items: center;

    #home-hero{
        width: 70%;

        img {
                width: 100%;
        
            }
    }
    #home-nav {
        width: 100%;
        margin-top: 100px;

        .home-nav-row {
            width: 100%;
            display: flex;
            justify-content: center;
            gap: 50px;

            .home-nav-item {
                display: flex;
                align-items: center;
        
                span {
                    font-family: "Instrument Serif", serif;
                    font-size: 2.5rem;
                    white-space: nowrap;
                }
        
                .home-nav-item-bullet {
                    margin-right: 15px;
        
                    span {
                        font-family: "CHAOS16", monospace;
                        font-size: 2rem;
                    }
                }
            }
        }
    }
}

#about {
    margin-top: 0px;
    padding-bottom: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;

    #about-img {
        display: flex;
        width: 100%;
        justify-content: center;
    
        img {
            width: 90%;
        }
    }   
}


#article {
    h1 {
        font-family: "Instrument Serif", serif;
        font-size: 2rem;
        font-weight: normal;
        display: block;
        margin-top: 50px;
    }

    p:first-of-type::first-letter {
        font-family: "Heritage Display", serif;
        font-size: 5rem;
        float:left;
        line-height: 2;
        margin-right: 10px;
    }


    #article-header {
        margin-bottom: 150px;

        h1 {
            font-family: "Instrument Serif", serif;
            font-weight: normal;
            font-size: 3rem;
            margin-top: 0px;
        }

        h2 {
            font-style: italic;
            font-weight: 200;
            font-size: 1rem;
        }

        h3 {
            font-size: 1rem;
            text-transform: uppercase;
            margin-bottom: 30px;
        }

        
    }
}

.page-header {
    margin-bottom: 10px;
}

#article-index {

    #article-list {
        table {
            border: solid black 1px;
            border-collapse: collapse;
            width: 100%;

            tr {
                border: solid black 1px;
                border-collapse: collapse;
            }

            .article-row {
                display: flex;
                align-items:center;
                
                
                .article-bullet {
                    margin-right: 25px;
                    margin-left: 10px;

                    span{
                       font-family: "CHAOS16", monospace; 
                       font-size: 2rem;
                       margin-bottom: 0.3rem;
                       display: block;
                    }
                }

                .article-title {
                    display: flex;
                    justify-content: space-between;
                    flex: 1;
                    margin-right: 10px;
                    
                }
            }
        }
        
    }
    
}

#error {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

    #error-image {
        width: 100%;
        position: absolute;

        img {
            width: 100%;
        }

    }
}

#gallery {
    display: flex;
    flex-direction: column;
    align-items: center;

    h1 {
        display: block;
        width: 100%;
    }

    .gallery-images {
        display: flex;
        gap: 5px;

        .gallery-column {
            display: flex;
            flex-direction: column;
            gap: 5px;
            flex: 1;

            .gallery-img {
                display: flex;
                box-sizing: border-box;

                img {
                    width: 100%;
                }
            }
        }
    }

    #scans {
        gap: 15px;

        .gallery-column {
            gap: 15px;

            .gallery-img {
                transition: transform 0.1s ease;
            }
        }
    }

    #albums {
        gap: 15px;

        .gallery-column {
            gap: 20px;

            .gallery-img {
                position: relative;

                .sepia {
                    width: 100%;
                    height: 100%;
                    background-color: #613617;
                    position: absolute;
                    top: 0;
                    left: 0;
                    mix-blend-mode: color;
                    opacity: 1;
                    transition: all 0.25s ease;
                }

                img {
                    filter: drop-shadow(8px 8px 3px rgb(172, 172, 172));
                    transition: all 0.25s ease;
                }
            }

            .gallery-img:hover {
                position: relative;

                .sepia {
                    opacity: 0;
                }

                img {
                    filter: drop-shadow(5px 5px 3px rgb(172, 172, 172));
                }
            }
        }
    }
}

.mobile-only {
    display: none !important;
}

@media screen and (max-width: 1000px) {
    .mobile-only {
        display: inherit !important;
    }

    .desktop-only {
        display: none !important;
    }

    body {
        width: 90%;
    }

    .content {
        margin-top: 50px;
    }

    #home #home-hero {
        width: 100%;
    }
}