@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Pacifico&display=swap');

/* Apply styles to the entire page */
body {
    font-family: 'Roboto', sans-serif;
    color: #003366; /* Dark blue for text */
    background-color: #F4F4F4; /* Light gray background */
    margin: 0;
    padding: 0;
    background-image: url('Assets/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Style the navigation menu */
nav {
    background-color: #D9E3F0; /* Soft blue background */
    padding: 10px;
    text-align: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin-right: 15px;
}

nav ul li a {
    text-decoration: none;
    color: #003366; /* Dark blue links */
    font-weight: bold;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s;
}

nav ul li a:hover {
    border-bottom: 2px solid #003366; /* Underline effect on hover */
}

nav ul li a[aria-current="page"] {
    text-decoration: underline;
}

/* Add borders and section styling */
h1, h2 {
    font-family: 'Pacifico', cursive;
    color: #4a5568;
    border-bottom: 3px solid #2d3748;
    padding-bottom: 5px;
}

img {
    border: 3px solid #003366;
    max-width: 100%;
    height: auto;
}

/* Style the footer text */
footer {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background-color: #D9E3F0;
}

#email_page_author, #reference {
    font-style: italic;
}

/* New class-based selector */
.highlight {
    background-color: #FFD700; /* Gold highlight */
    padding: 5px;
    border-radius: 5px;
}

/* New ID-based selector */
#intro-text {
    font-size: 18px;
    color: #002244;
    font-weight: bold;
}

/* New descendant selector */
p span {
    color: #FF4500; /* Orange text inside paragraphs */
}

/* Specific styles for the Behavior page */
.behavior-graphic {
    background-color: #718096;
    border: 4px solid #2d3748;
    color: #f7fafc;
    padding: 20px;
    margin-top: 20px;
    font-family: 'Pacifico', cursive;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.animal-nature {
    font-family: 'Pacifico', cursive;
    color: #2d3748;
    background-color: #a0aec0;
    border: 2px solid #4a5568;
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
}

#behavior-note {
    font-family: 'Roboto', sans-serif;
    color: #e2e8f0;
    border-left: 4px solid #2d3748;
    padding-left: 10px;
    margin-top: 10px;
}
