/* ==========================
   SpiderWebDevs Global Styles
   ========================== */

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: #0b0f14;
    color: #e6edf3;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    transition: 0.2s;
}

a:hover {
    text-decoration: underline;
}

/* --------------------------
   Header
   -------------------------- */
header {
    background: #0b0f14;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgb(0, 212, 255);
}

header div {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgb(0, 212, 255);
}

header nav a {
    color: #e6edf3;
    margin-left: 1rem;
}

header nav a.github-link {
    color: rgb(0, 212, 255);
}

header nav a:hover {
    color: rgb(0, 212, 255);
}
header img {
  height: 40px;
  width: auto;
  display: block;
}

/* --------------------------
   Main container
   -------------------------- */
.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    text-align: center;
}

/* Headings */
h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: rgb(0, 212, 255);
}

h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: rgb(0, 212, 255);
}

/* Paragraphs */
p {
    margin-bottom: 1.2rem;
    color: #9da5b4;
}

/* Lists */
ul {
    margin: 1rem 0 1.5rem 2rem;
    color: #e6edf3;
}

li {
    margin-bottom: 0.5rem;
}

/* Hyperlinks */
a,
a:visited {
    color: #ffffff;
}

a:hover,
a:focus {
    color: rgb(0, 212, 255);
    text-decoration: underline;
}

/* Buttons / Links styled as buttons */
.button-link {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.7rem 1.2rem;
    border: 1px solid rgb(0, 212, 255);
    border-radius: 6px;
    color: rgb(0, 212, 255);
    background: transparent;
    cursor: pointer;
    transition: 0.2s;
}

.button-link:hover {
    background: rgb(0, 212, 255);
    color: #0b0f14;
}

/* --------------------------
   Footer
   -------------------------- */
footer {
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: 0.8rem;
    color: #6b7280;
    border-top: 1px solid rgb(0, 212, 255);
}

/* --------------------------
   Responsive adjustments
   -------------------------- */
@media (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    header nav {
        margin-top: 0.5rem;
    }

    header nav a {
        display: block;
        margin-left: 0;
        margin-bottom: 0.5rem;
    }
}