/* General Styles */
@font-face {
  font-family: myFont; /* set name */
  src: url(krabby_patty.ttf); /* url of the font */
}

html, body {
    font-family: myFont;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-size: 120%;
    color: #333;
    background-color: #87CEEB; /* Light blue for underwater theme */
    background-image: url('water.jpg'); /* Adds bubbles */
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;

    /* Sticky Footer Setup */
    height: 100%;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1; /* Take up all remaining space between the header and footer */
}

h1, h2, nav {
    text-align: center;
    color: #FFD700; /* SpongeBob Yellow */
    text-shadow: 2px 2px #0096c7; /* Light ocean blue shadow */
}

header {
    background-color: rgba(255, 215, 0, 0.8); /* Semi-transparent yellow */
    border-bottom: 3px solid #0096c7;
    padding: 1em 0;
}

header nav ul {
    list-style: none;
    padding: 0;
}

header nav ul li {
    display: inline;
    margin: 0 15px;
}

header nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    background: white;
    padding: 5px 10px;
    border-radius: 5px;
}

header nav ul li a:hover {
    background: #FFD700;
    color: #0096c7;
}

/* Sections */
section {
    padding: 20px;
    margin: 20px;
    background: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap; /* Wrap images if they don't fit */
    justify-content: center;
    gap: 20px;
}

.gallery img {
    width: 150px;
    height: 150px;
    border-radius: 15px;
    border: 3px solid #FFD700;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.gallery img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
}

/* Footer */
footer {
    background: #0096c7;
    color: white;
    text-align: center;
    padding: 1em 0;
    margin-top: auto; /* Automatically push footer to the end of the page */
}

.e{
    opacity: 0.2;
}