/* general styling for the body */
body {
    font-family: 'arial', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 15px 0;
    text-align: center;
}

nav {
    background-color: #34495e;
    padding: 10px;
    text-align: center;
    /*position: fixed;
    width: 100%;
    top: 0%;*/
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

nav a:hover {
    color: #e74c3c;
}

h1 {
    font-size: 2.5rem;
    margin: 0;
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.6rem;
}

main a {
    text-decoration: none;
}

main a:hover {
    text-decoration: underline;
    color: #e74c3c;
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
}

li {
    font-size: 1.2rem;
    line-height: 1.6;
}

footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 15px;
    /*position: fixed;*/
    /*width: 100%;*/
    bottom: 0;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    background-color: #34495e;
    color: white;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
}

.back-to-top:hover {
    background-color: #e74c3c;
}

/* link styles for going back to the index */

.return-home {
    display: block;
    margin-top: 20px;
    color: #34495e;
    font-weight: bold;
    text-decoration: none;
}

.return-home:hover {
    color: #e74c3c;
}

/* styles for te image next to title */

.lion-image {
    width: 310px;
    height: auto;
    float: right;
    margin-top: 20px;
    margin-right: 15px;
    margin-left: 15px;
    border-radius: 8px;
}

/* styles for the larger image with caption */

.lion-image-container {
    text-align: center;
    margin: 30px 0;
}

.lion-landscape-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

figcaption {
    font-size: 1rem;
    color: #555;
    margin-top: 10px;
}