marquee {
    background: #a2a4a7;
    border: 1px solid #000;
    margin-top: 2px;
    margin-bottom: 2px;
    margin-right: 2px;
    margin-left: 2px;
}

body {
    background-color: #008080;
    padding: 10px; 
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 90vh;

    font-family:  'DotGothic16';
}

/* window style */

.window {
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
    width: 95%;         
    max-width: 1000px;
    min-width: 280px;    /* small screen */
    height: 90vh;
    display: flex;       /* auto */
    flex-direction: column; 
    margin: 10px auto;   /* reduce margin */
    padding: 2px;
    box-sizing: border-box; /* keep border inside */
}

.content {
    padding: 3px;
    border: 1px inset #fff;
    background: #c0c0c0;
    flex: 1;
    overflow-y: auto;    /* inwindow scroll */
    min-height: 0;
}

/* iframe */

iframe[name="contentFrame"] {
    width: 100%;
    height: 100%;
    min-height: 0;   
    border: none;
}

/* title style */

.title-bar {
    background: linear-gradient(90deg, #000080, #6978eb);
    color: white;
    padding: 3px 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

/* navi */

.top-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #c0c0c0;
    min-width: 140px;
    z-index: 999; 
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
   
}

.dropdown-content a {
    color: black;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    font-size: 13px;
    border-bottom: 1px solid #808080;
}

.dropdown-content a:hover {
    background-color: #000080;
    color: white;
}

/* for desktop */
.dropdown:hover .dropdown-content {
    display: block;
}

/* for mobile */
.dropdown:focus-within .dropdown-content {
    display: block;
}

/* btn style */
.retro-btn {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    color: black;
    display: block;
}

.retro-btn:active {
    border-color: #808080 #fff #fff #808080;
    padding: 6px 9px 4px 11px; /* clicked */
}

/* remove link underline */
a {
    text-decoration: none;
}


/*-----------------------page body styles-----------------------*/
.page-body {
    background: white;
    padding: 15px;
    line-height: 1.6;
}

.page-header {
    border-bottom: 2px double #808080;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.page-title {
    color: #000080;
    margin: 0;
    font-size: 24px;
}

.article-content {
    font-size: 14px;
    color: #333;
}

.logo-container {
   text-align: center;
    margin-bottom: 10px; 
}

.update-time {
    font-size: 12px;
    color: #808080;
    text-align: right;
    margin-top: 20px;
}

/*-----------------------image grid-----------------------*/
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding: 10px;
}

/* little window style*/
.grid-item {
    background-color: #e6e6e6;
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
    padding: 5px;
    text-align: center;
}

.grid-item img {
    width: 100%;
    height: auto;
    border: 1px solid #000;
    display: block;
    margin-bottom: 5px;
}

.grid-item span {
    font-size: 12px;
    color: #000;
}

.home-grid-item {
    background-color: #e6e6e6;
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
    padding: 5px;
    text-align: center;
}