/* Web 1.0 Retro Styles */

body {
    background-color: #c0c0c0; /* Classic Windows 95 gray or tiled background fallback */
    background-image: linear-gradient(45deg, #000080 25%, transparent 25%, transparent 75%, #000080 75%, #000080), 
                      linear-gradient(45deg, #000080 25%, transparent 25%, transparent 75%, #000080 75%, #000080);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    background-color: #000000; /* Fallback to space theme */
    color: #00FF00; /* Matrix green / Terminal style */
    font-family: "Times New Roman", Times, serif;
    margin: 0;
    padding: 10px;
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' style='font-size:20px'><text y='18'>👆</text></svg>"), auto;
}

/* Layout Containers */
.main-container {
    width: 800px;
    margin: 0 auto;
    background-color: #ffffff; /* White paper look */
    border: 5px ridge #0000FF;
    padding: 15px;
    color: #000000;
}

/* Headers with "Stupid" Fonts */
h1 {
    font-family: "Comic Sans MS", "Chalkboard SE", sans-serif;
    text-align: center;
    color: #FF0000;
    text-shadow: 3px 3px 0px #FFFF00;
    font-size: 3em;
    margin-bottom: 5px;
}

h2 {
    font-family: "Comic Sans MS", "Chalkboard SE", sans-serif;
    color: #0000FF;
    border-bottom: 4px double #FF0000;
    background-color: #FFFF00;
    display: inline-block;
    padding: 5px;
}

h3 {
    font-family: "Courier New", Courier, monospace;
    color: #800080; /* Purple */
}

/* Retro Elements */
hr {
    border: 0;
    height: 3px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(255, 0, 0, 0.75), rgba(0, 0, 0, 0));
    margin: 20px 0;
}

.blink {
    animation: blinker 1s linear infinite;
    color: red;
    font-weight: bold;
}

@keyframes blinker {
    50% { opacity: 0; }
}

.marquee-container {
    background-color: #000080;
    color: #FFFFFF;
    font-family: "Courier New", Courier, monospace;
    padding: 5px;
    border: 2px inset #FFFFFF;
    font-weight: bold;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    border: 5px outset #cccccc;
    margin-bottom: 20px;
    background-color: #e6e6e6;
}

th {
    background-color: #000080;
    color: white;
    font-family: "Arial", sans-serif;
    border: 2px inset #cccccc;
    padding: 5px;
}

td {
    border: 2px inset #cccccc;
    padding: 5px;
    vertical-align: top;
}

/* Lists */
ul {
    list-style-type: square;
}

li {
    margin-bottom: 5px;
}

/* Specific Sections */
.sidebar {
    background-color: #FFFFCC;
    border: 2px dashed red;
    padding: 10px;
    margin-bottom: 15px;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.skill-box {
    border: 3px groove #00FF00;
    padding: 5px;
    background-color: #000000;
    color: #00FF00;
    font-family: "Courier New", monospace;
}

/* "Buttons" */
.retro-button {
    background-color: #c0c0c0;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #000000;
    border-right: 2px solid #000000;
    padding: 5px 15px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    display: inline-block;
    margin: 5px;
    font-family: sans-serif;
}

.retro-button:active {
    border-top: 2px solid #000000;
    border-left: 2px solid #000000;
    border-bottom: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
}

/* Flame gif simulation */
.fire {
    color: red;
    text-shadow: 0 0 5px orange, 0 -5px 10px yellow;
    font-weight: bold;
}

/* Footer */
.footer {
    text-align: center;
    font-size: 0.8em;
    margin-top: 20px;
    border-top: 1px solid #000;
    padding-top: 10px;
}

.counter {
    background: black;
    color: red;
    font-family: "Courier New", monospace;
    padding: 2px 5px;
    border: 2px inset white;
    letter-spacing: 5px;
}
