/* Global Styles */
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #C0C0C0;
    overflow: hidden;
    border: 1px solid #C0C0C0;
    cursor: url("../img/arrow.cur"),  auto;
}

/* Netscape Window Styles */
.netscape-window {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf, inset -2px -2px grey, inset 2px 2px #fff;
}

/* Title Bar Styles */
.title-bar {
    background: linear-gradient(to right, #000080, #1084d0);
    padding: 2px;
    display: flex;
    align-items: center;
}

.netscape-logo {
    width: 16px;
    height: 16px;
}

.title-bar-text {
    font-weight: bold;
    color: white;
    margin-left: 5px;
    font-size: 12px;
}

.title-bar-controls {
    margin-left: auto;
    margin-right: 2px;
    display: flex;
}

.title-bar-controls button {
    width: 16px;
    height: 14px;
    border: 1px outset #fff;
    margin-left: 2px;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}

/* Menu Bar and Toolbar Styles */
.menu-bar,
.toolbar,
.address-bar {
    padding: 2px;
    border-bottom: 1px solid #808080;
    box-shadow: 0 1px 0 white;
    display: flex;
    align-items: center;
}

.menu-bar span,
.text-toolbar span,
.address-bar span {
    font-size: 12px;
}

.menu-bar span {
    margin: 0 5px;
}

/* Symbol Toolbar Styles */
.symbol-toolbar {
    justify-content: space-between;
}

.symbol-toolbar button {
    width: 50px;
    height: 40px;
    padding: 0;
    border: none;
    background: none;
}

.symbol-toolbar img {
    display: block;
    margin: 0 auto;
}

/* Text Toolbar Styles */
.text-toolbar {
    justify-content: flex-start;
}

.text-toolbar span {
    margin-right: 20px;
}

.text-toolbar img,
.address-bar img {
    margin-right: 5px;
}

/* Address Bar Styles */
.address-bar input {
    flex-grow: 1;
    border: 1px inset #808080;
    padding: 1px;
    font-size: 12px;
}

/* Content Area Styles */
.content-area {
    flex-grow: 1;
    border: 2px inset #808080;
    background-color: #000033;
    overflow: auto;
    display: flex;
}

/* Container Styles */
.container {
    font-family: sans-serif;
    color: #00FF00;
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    min-width: 700px;
}

/* Header Styles */
header {
    background-color: #000066;
    padding: 20px;
    text-align: center;
    border: 3px dashed #FF00FF;
}

h1 {
    color: #FF00FF;
    font-size: 36px;
    text-shadow: 2px 2px #FFFF00;
    margin: 0;
}

/* Navigation Styles */
nav {
    background-color: #000044;
    padding: 10px;
    text-align: center;
    margin-top: 10px;
}

nav a {
    color: #00FFFF;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
}

/* Content Layout Styles */
.content {
    display: flex;
    margin-top: 20px;
    flex-grow: 1;
}

.sidebar {
    width: 200px;
    background-color: #000055;
    padding: 20px;
    border-right: 1px solid #00FF00;
}

main {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

main img {
    max-width: 40%;
    max-height: 500px;
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.7),
                0 0 30px rgba(0, 255, 255, 0.5);
    border-radius: 5px;
    margin: 20px;
}

/* Section Styles */
section {
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid #00FF00;
    background-color: #000044;
}

h2 {
    color: #FFFF00;
}

.divider {
    border: 0;
    height: 3px;
    background-image: linear-gradient(to right, transparent, #00FF00, transparent);
    margin: 20px 0;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 20px;
    background-color: #000066;
    border-top: 3px dashed #FF00FF;
    margin-top: 20px;
}

.footer-text, .footer-text a {
    color: #00FF00;
    font-size: 12px;
    margin: 5px 0;
}

.footer-image {
    margin: 10px 5px;
    width: 100px;
}

/* Animation Styles */
@keyframes blinker {
    50% { opacity: 0; }
}

.blink {
    animation: blinker 1s linear infinite;
}

/* Utility Styles */
img {
    max-width: 100%;
    height: auto;
}

/* Status Bar Styles */
.status-bar {
    padding: 2px;
    border-top: 1px solid #808080;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
}

.status-bar div {
    border: 1px solid #868686;
    margin-left: 2px;
}

.status-icons img {
    transform: translateY(25%);
}

.document-done {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.empty {
    padding-right: 15%;
}

/* Hyperlink Styles */
a {
    color: #00FFFF;
    text-decoration: none;
    position: relative;
    padding: 2px 4px;
    transition: all 0.3s ease;
}

/* Hover state */
a:hover {
    color: #FFFFFF;
    background-color: #0066FF;
    text-shadow: 0 0 5px #00FFFF;
    outline: 1px solid #00FFFF;
    border-radius: 2px;
}

/* Visited state */
a:visited {
    color: #FF00FF;
}

/* Active state (when clicking) */
a:active {
    color: #FFFF00;
    background-color: #000099;
    text-shadow: 0 0 8px #FFFF00;
}

/* Focus state (for accessibility) */
a:focus {
    outline: 2px solid #00FFFF;
    outline-offset: 2px;
    text-decoration: underline;
}
