/* Windows 95 / Early 2000s Web Design */

* {
    margin: 0;
    padding: 0;
}

/* Windows 95 Fonts */
@font-face {
    font-family: "MS Sans Serif";
    src: url('assets/w95fa.woff2') format('woff2'),
         url('assets/w95fa.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: "MS Sans Serif", "Microsoft Sans Serif", "MS Sans Serif", "Arial", sans-serif;
    font-size: 16px;
    background-color: #008080;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0iIzAwODA4MCIvPjwvc3ZnPg==');
    color: #000000;
    padding: 20px;
}

.desktop {
    min-height: 100vh;
}

/* Windows 95 Window Frame */
.window {
    background-color: #C0C0C0;
    border: 2px outset #C0C0C0;
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.window-titlebar {
    background: linear-gradient(to bottom, #000080, #1084D0);
    color: #FFFFFF;
    padding: 4px 8px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    font-size: 16px;
    font-family: "MS Sans Serif", "Microsoft Sans Serif", "MS Sans Serif", "Arial", sans-serif;
    cursor: default;
}

.window-title {
    flex: 1;
    padding-left: 2px;
}

.window-controls {
    display: flex;
    gap: 2px;
}

.control-btn {
    background-color: #C0C0C0;
    border: 1px outset #C0C0C0;
    color: #000000;
    width: 24px;
    height: 22px;
    font-size: 14px;
    font-family: "MS Sans Serif", "Microsoft Sans Serif", "MS Sans Serif", "Arial", sans-serif;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:active {
    border: 1px inset #C0C0C0;
}

/* Minimize button - horizontal line */
.control-btn.minimize::before {
    content: "";
    width: 12px;
    height: 2px;
    background-color: #000000;
    border-bottom: 2px solid #000000;
}

/* Maximize button - square outline */
.control-btn.maximize::before {
    content: "";
    width: 10px;
    height: 10px;
    border: 2px solid #000000;
    background: transparent;
}

/* Close button - X shape */
.control-btn.close::before,
.control-btn.close::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 2px;
    background-color: #000000;
    top: 50%;
    left: 50%;
}

.control-btn.close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.control-btn.close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.window-content {
    background-color: #FFFFFF;
    padding: 16px;
    min-height: 200px;
}

/* Sidebar */
.sidebar {
    background-color: #C0C0C0;
    padding: 8px;
    border-right: 1px solid #808080;
}

.panel {
    background-color: #C0C0C0;
    border: 1px inset #C0C0C0;
    margin-bottom: 10px;
}

.panel-title {
    background: linear-gradient(to bottom, #000080, #1084D0);
    color: #FFFFFF;
    padding: 4px 8px;
    font-weight: bold;
    font-size: 16px;
    font-family: "MS Sans Serif", "Microsoft Sans Serif", "MS Sans Serif", "Arial", sans-serif;
}

.panel-content {
    padding: 4px;
    background-color: #C0C0C0;
}

/* Navigation Links */
.nav-link {
    color: #0000FF;
    text-decoration: underline;
    font-size: 16px;
}

.nav-link:visited {
    color: #800080;
}

.nav-link:hover {
    color: #FF0000;
}

/* Main Content */
.main-content {
    padding: 20px;
    background-color: #FFFFFF;
}

h1 {
    font-size: 28px;
    font-weight: bold;
    color: #000080;
    margin-bottom: 16px;
    font-family: "MS Sans Serif", "Microsoft Sans Serif", "MS Sans Serif", "Arial", sans-serif;
}

h2 {
    font-size: 22px;
    font-weight: bold;
    color: #000080;
    margin: 16px 0;
    font-family: "MS Sans Serif", "Microsoft Sans Serif", "MS Sans Serif", "Arial", sans-serif;
}

p {
    margin: 12px 0;
    line-height: 1.6;
}

br {
    display: block;
    margin: 7;
}

ul, ol {
    margin: 8px 0 8px 20px;
}

li {
    margin: 4px 0;
}

/* Windows 95 Buttons */
.win95-button {
    background-color: #C0C0C0;
    border: 2px outset #C0C0C0;
    padding: 6px 18px;
    font-family: "MS Sans Serif", "Microsoft Sans Serif", "MS Sans Serif", "Arial", sans-serif;
    font-size: 16px;
    cursor: pointer;
    margin: 4px;
    min-width: 100px;
    height: 32px;
}

.win95-button:hover {
    background-color: #D4D0C8;
}

.win95-button:active {
    border: 2px inset #C0C0C0;
    background-color: #C0C0C0;
}

/* Tables */
table {
    border-collapse: collapse;
    width: 100%;
}

.table-header {
    background-color: #C0C0C0;
    font-weight: bold;
    font-family: "MS Sans Serif", "Microsoft Sans Serif", "MS Sans Serif", "Arial", sans-serif;
}

table tr:nth-child(even) {
    background-color: #F0F0F0;
}

table td {
    padding: 10px;
    border: 1px solid #C0C0C0;
    font-family: "MS Sans Serif", "Microsoft Sans Serif", "MS Sans Serif", "Arial", sans-serif;
    font-size: 16px;
}

/* Links */
a {
    color: #0000FF;
    text-decoration: underline;
}

a:visited {
    color: #800080;
}

a:hover {
    color: #FF0000;
}

/* Input Fields */
input[type="text"],
input[type="email"],
textarea {
    background-color: #FFFFFF;
    border: 2px inset #C0C0C0;
    padding: 6px 8px;
    font-family: "MS Sans Serif", "Microsoft Sans Serif", "MS Sans Serif", "Arial", sans-serif;
    font-size: 16px;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: 1px dotted #000000;
}

/* Footer */
.footer {
    text-align: center;
    color: #FFFFFF;
    padding: 16px;
    font-size: 14px;
    margin-top: 20px;
}

.footer p {
    margin: 4px 0;
}

/* Scrollbar styling (for webkit browsers) */
::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

::-webkit-scrollbar-track {
    background: #C0C0C0;
    border: 1px inset #C0C0C0;
}

::-webkit-scrollbar-thumb {
    background: #C0C0C0;
    border: 2px outset #C0C0C0;
}

::-webkit-scrollbar-thumb:hover {
    background: #D4D0C8;
}

::-webkit-scrollbar-button {
    background: #C0C0C0;
    border: 1px outset #C0C0C0;
    width: 16px;
    height: 16px;
}

::-webkit-scrollbar-button:active {
    border: 1px inset #C0C0C0;
}

/* Blink animation for classic effect */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.blink {
    animation: blink 1s infinite;
}

/* Classic marquee effect */
marquee {
    background-color: #FFFF00;
    padding: 4px;
    border: 1px solid #000000;
}