/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #E3F2FD, #81C784); /* Sky blue to earthy green */
    color: #2E3B4E;
}

/* Header refinement */
header {
    background: linear-gradient(to right, #1B5E20, #004D40); /* Dark green fade */
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

/* Spinning Earth Animation */
.earth-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.earth {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #009688 30%, #006064 70%); /* Earth-like gradient */
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    animation: spin 10s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Navigation styling */
nav {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    background-color: rgba(27, 94, 32, 0.9);
    padding: 15px;
    border-radius: 8px;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

nav ul li a:hover {
    color: #E3F2FD; /* Light blue */
}

/* Section styling */
section {
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    margin: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

section:hover {
    transform: scale(1.02); /* Slight zoom effect */
}

/* Image container */
.image-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.image-container img {
    width: 40%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Lindsay’s photo—enlarged */
.image-container img:nth-child(2) {
    width: 50%; /* Makes her image larger */
    max-width: 300px; /* Ensures it scales correctly */
    height: auto;
}

/* Footer */
footer {
    text-align: center;
    padding: 10px;
    background: linear-gradient(to right, #004D40, #1B5E20);
    color: white;
    position: fixed;
    width: 100%;
    bottom: 0;
}
