@charset "utf-8";

/*
    CSS Page of "Exploring Hollow Knight"
    Author: Joel Joaquin Nunez
    Date: 03/24/2026
    Filename: silksong.css
*/

/* ===== html ===== */
    html {
        background: black;
    }
/* ===== body ===== */
    body {
        margin: auto;
        max-width: 1280px;
        min-width: 530px;
    }
/* ===== header ===== */
    header {
        background: url(silksong_logo_white_4k_Black.png) center / auto 80% no-repeat,
                    linear-gradient(to right, rgba(220, 20, 60, 0), #b71c1c, #b71c1c, rgba(220, 20, 60, 0.0));
        width: 100%;
        height: 20em;
        margin: auto;
    }
    .head-text {
        color: white;
    }
/* ===== nav ===== */
    .horizontalnav {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    .horizontalnav ul {
        background: black;
        display: flex;
        justify-content: space-between;
    }
    .horizontalnav li {
        flex: 1;
    }
    .horizontalnav a {
        display: block;
        text-align: center;
        padding: 10px;
    }
    a:hover {
        background-color: rgba(255,255,255, 0.1);
    }
/* ===== container ===== */
    .contentcontainer {
        box-shadow: 0 0 20px rgba(255,255,255, .10);
        display: flex;
        flex-direction: row;
        max-width: 100%;
        margin: 20px auto 20px auto;
        gap: 20px;
        padding: 20px;
        background: linear-gradient(to right, rgba(0, 0, 0, 100%), #b71c1c, 
                                              #b71c1c, rgba(0, 0, 0, 100%));
    }
    .contentcontainer.variable {
        display: flex;
        background: transparent;
        padding: 0;
        margin: auto;
        flex: 1;
        box-shadow: none;
    }
    .container-img {
        width: 50%;
        aspect-ratio: 4/3;
        background-position: center;
        background-repeat: no-repeat;
        background-size: auto 100%;
    }
    .container-text {
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        color: white;
        text-align: center;
        padding: 10px 0px;
    }
    .container-text  h2 {
        margin-bottom: 10px;
        background-color: rgba(0, 0, 0, 0.1);
    }
    .container-text p {
        line-height: 1.5em;
        font-style: italic;
        background-color: rgba(0, 0, 0, 0.1);
    }
/* ===== images ===== */
    .hornet {
        background-image: url(boss_hornet_02.png);
    }
    .phantom {
        background-image: url(boss_phantom.png);
    }
    .carmelita {
        background-image: url(boss_hunter_queen_carmelita.png);
    }
    .grandmothersilk {
        background-image: url(grandmothersilk.png);
    }
/* ===== footer ===== */
    .teamcherry {
        width: 120px;
        height: 100px;
        margin: auto;
    }
    .teamcherry a {
        display: block;
        height: 100%;
        width: 100%;
        color: white;
    }
    .tc-link {
        background: url(team_cherry_logo_big_red.png) center / contain no-repeat;
    }
        /* ===== media queries ===== */
            @media screen and (max-width: 768px) {
                .contentcontainer {
                    flex-direction: column;
                }
                .container-img, .container-text {
                    width: 100%;
                }
            }