
body {
    margin: 0;
    padding: 0;
    background-color: #A7C7E7;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

/* reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* header + nav */
header {
    background-color: #236AB9; /* your strong blue */
    color: white;
    padding: 10px 20px;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

header h1 {
    margin-bottom: 10px;
}

nav {
    text-align: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    justify-content: center; 
    align-items: center;    
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* main content */
main {
    padding: 20px;
    flex: 1;             /* pushes footer down */
}

section {
    max-width: 800px;
    margin: 0 auto;
}

section img {
    max-width: 50%;
    height: auto;
    margin-top: 15px;
}

/* Image hover zoom + shadow */
section img,
.content-block img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section img:hover,
.content-block img:hover {
    transform: scale(1.03); /* small subtle zoom */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


/* footer */
footer {
    background: #f0f0f0;
    margin-top: 40px;
    font-size: 0.9rem;
    color: Black;
    text-align: center;
    padding: 10px;

}

html, body {
    height: 100%;        /* makes the body stretch full height */
    margin: 0;
    padding-top: 70px;
}

.content-block {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.content-block img {
    width: 300px;
    height: auto;
    border-radius: 8px;
}

img {
    border-radius: 8px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;      /* smooth corners */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);     /* subtle lift */
}

section img, 
.content-block img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section img:hover,
.content-block img:hover {
    transform: scale(1.03);      /* small zoom */
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.content-block {
    transition: background-color 0.3s ease, transform 0.3s ease;
    padding: 10px;
    border-radius: 10px;
}

.content-block:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

footer p {
    transition: color 0.3s ease;
}

footer p:hover {
    color: #236AB9;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

