/* Load your OTF font globally */
@font-face {
    font-family: "main-font";
    src: url("/font/FOTSeuratProB.otf") format("opentype");
}

/* Make it the main body font */
body {
    position: relative;
    background: white; /* keep header area clean */
}

/* Fake background layer */
body::before {
    content: "";
    position: absolute;
    top: 200px;
    left: 0;
    width: 100%;
    height: calc(100% - 200px);
    background-image: url("https://jeralddude.neocities.org/images/FlipnoteBG.png");
    background-repeat: repeat;
    background-position: top center;
    background-size: 512px 384px; /* ← scaled tile */
    z-index: -1;
}

body {
    margin: 0;
    font-family: "main-font", sans-serif;
    color: red;
    background: #fff;
    cursor: url("cursor.png") 0 0, auto;
}

/* Center the whole layout */
.wrapper {
    width: 960px;
    margin: 0 auto;
}

/* Banner with background image */
.banner {
    width: 960px;
    height: 200px;
    background: url("/images/uc_web_banner.png") no-repeat center top;
    position: relative;
}

/* Text navigation on top of banner */
.nav-text {
    position: absolute;

    /* Pixel positioning */
    top: 50%;
    right: 30px;
    transform: translateY(-50%);

    font-size: 16px;
    color: red;
    text-align: right;
}

.nav-text a {
    color: red;
    text-decoration: none;
    margin-left: 25px;
}

.nav-text a:hover {
    text-decoration: underline;
}

/* ----------------------------- */
/* RIGHT COLUMN CONTENT (NEW)    */
/* ----------------------------- */

#right-column {
    width: 460px;
    height: auto;
    padding-left: 10px;
    box-sizing: border-box;
}

/* Container for all 3 vertical items */
.side-list {
    display: flex;
    flex-direction: column;
    gap: 20px; /* spacing between each item */
    width: 100%;
}

/* Each item block */
.side-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px; /* spacing between thumbnail and text */
}

/* Thumbnail (128x96) */
.side-thumb {
    width: 128px;
    height: 96px;
    border: 4px solid red;
    border-radius: 4px;
    object-fit: cover;
    display: block;
}

/* Title above description */
.side-title {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: red;
}

/* Small description below title */
.side-desc {
    margin: 4px 0 0 0;
    font-size: 13px;
    line-height: 1.3;
    color: #000;
}

/* Banner + searchbar */

.banner-search {
    position: absolute;
    top: 50%;
    right: 30px; /* aligns with nav-text */
    transform: translateY(40px); /* moves it BELOW the nav links */
    display: flex;
    gap: 6px;
}

.banner-search input {
    height: 28px;
    width: 160px;
    border: 5px solid red;
    border-radius: 8px;
    padding: 0 8px;
    font-family: "main-font", sans-serif;
    background: white;
    color: #000;
    outline: none;
}

.banner-search button {
    height: 36px;
    padding: 0 10px;
    border: 5px solid red;
    border-radius: 8px;
    background: white;
    font-family: "main-font", sans-serif;
    color: red;
    cursor: pointer;
}

/* Hover + pressed states (Flipnote Hatena accurate) */
.banner-search button:hover {
    background: #fcfcbb; /* Hatena hover yellow */
}

.banner-search button:active {
    background: #e5e58f;
    transform: translateY(1px);
}

/* ----------------------------- */
/* SEARCH RESULT ICONS (48x48)   */
/* ----------------------------- */

.result {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    border: 5px solid red;
    padding: 10px;
    margin: 20px 0;
    border-radius: 8px;
    background: #fceeee;
}

.result-icon {
    width: 128px;
    height: 96px;
    image-rendering: auto;
    flex-shrink: 0;
    border: 2px solid red;
    border-radius: 2px;
}

.result-text h2 {
    margin: 0;
    color: red;
    font-size: 30px;
}

.result-text p {
    margin: 0px 0 0px 0;
    font-size: 12px;
    color: red;
}


