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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}


/* Header row for title and hamburger */
.header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

header h1 {
    flex: 1 1 auto;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2rem;
    z-index: 2;
}

.hamburger {
    z-index: 3;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
    margin-right: 1rem;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 25px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #555;
}

main {
    margin: 2rem 0;
    padding: 0;
}

section {
    background: #fff;
    margin: 2rem 0;
    padding: 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

section h2 {
    color: #333;
    margin-bottom: 1rem;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

button {
    background-color: #007bff;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 1rem auto;
}

@media (max-width: 768px) {
    .header-row {
        justify-content: center;
        padding: 0 1rem;
    }
    .hamburger {
        display: flex;
        position: absolute;
        left: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }
    header h1 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        text-align: center;
        flex: 1 1 auto;
    }
    nav ul {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #333;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: left 0.3s ease;
        z-index: 1000;
    }
    nav ul.active {
        left: 0;
    }
    nav ul li a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }
    main {
        margin: 1rem 0;
        padding: 0;
    }
    section {
        padding: 1rem;
    }
}

.social-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #ccc;
  text-align: center;
}
.social-footer h3 {
  margin-bottom: 0.5rem;
}
.social-list {
  list-style: none;
  padding: 0;
  display: inline-flex;
  gap: 1rem;
}
.social-list li {
  font-size: 0.9rem;
}
.social-list a {
  color: #0077cc;
  text-decoration: none;
}
.social-list a:hover {
  text-decoration: underline;
}