@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;700&family=Lobster&display=swap');

body {
    font-family: "Ubuntu", sans-serif;
    background-color: #fdf8e1;
    color: #333;
    margin: 0;
    padding: 0;
}

h1 {
    font-family: "Lobster", cursive;
    color: #ffffff;
    text-align: center;
    background-color: #e63946;
    padding: 20px;
    border-bottom: 5px solid #a62c2b;
    font-size: 2em;
    font-weight: bold;
}

h2 {
    font-family: "Ubuntu", sans-serif;
    color: #264653;
    border-left: 7px solid #2a9d8f;
    padding-left: 12px;
    background-color: #e9c46a;
    padding: 8px;
    border-radius: 4px;
    font-style: italic;
}

p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #4a4a4a;
    font-weight: 400;
}

p span {
    font-weight: bold;
    color: #d62828;
    font-style: italic;
}

a {
    color: #1d3557;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

a:hover {
    color: #e63946;
    text-decoration: underline;
}

figure {
    text-align: center;
    margin: 20px auto;
    background-color: #ffdd57;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #e76f51;
}

figcaption {
    font-size: 0.95em;
    font-style: italic;
    color: #555;
    font-family: "Ubuntu", sans-serif;
}

img {
    max-width: 100%;
    height: auto;
    border: 5px solid #f4a261;
    border-radius: 12px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}

.video-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    border: 4px solid #2a9d8f;
    border-radius: 10px;
}

.highlight {
    background-color: #ffdd57;
    padding: 7px;
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
    color: #264653;
}

#important {
    font-size: 1.3em;
    color: #b21807;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.container p {
    margin-bottom: 18px;
    text-align: justify;
}

.container > h2 {
    text-decoration: underline;
    text-align: left;
}

.box {
    background-color: #ffb703;
    padding: 20px;
    margin: 12px 0;
    border: 3px solid #e76f51;
    border-radius: 12px;
    text-align: center;
    font-size: 1.2em;
    font-family: "Lobster", cursive;
    color: #264653;
}

article p span {
    font-size: 1.1em;
    font-weight: bold;
    color: #e63946;
    text-decoration: underline;
}

h2 {
    text-align: left;
    padding-left: 15px;
}

.behavior-info {
    padding: 20px;
    border-left: 5px solid #e76f51;
    font-family: "Ubuntu", sans-serif;
    margin-bottom: 20px;
}

.behavior-graphic {
    text-align: center;
    background-color: #f4a261;
    padding: 20px;
    border-radius: 10px;
    font-family: "Ubuntu", sans-serif;
    position: relative;
}

.elephant-graphic {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.elephant {
    width: 150px;
    height: 90px;
    background-color: #264653;
    border-radius: 50px;
    position: relative;
    margin: 50px auto;
}

.elephant::before {
    content: "";
    width: 50px;
    height: 50px;
    background-color: #264653;
    border-radius: 50%;
    position: absolute;
    top: 20px;
    left: -40px;
}

.elephant::after {
    content: "";
    width: 45px;
    height: 45px;
    background-color: #2a9d8f;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: -45px;
    z-index: -1;
}

.trunk {
    width: 12px;
    height: 70px;
    background-color: #264653;
    position: absolute;
    top: 30px;
    left: -50px;
    border-radius: 20px;
    transform: rotate(35deg);
}

.eye {
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 25px;
    left: -20px;
}

.leg {
    width: 20px;
    height: 30px;
    background-color: #264653;
    position: absolute;
    bottom: -10px;
    border-radius: 5px;
}

.leg1 { left: 25px; }
.leg2 { left: 55px; }
.leg3 { left: 85px; }
.leg4 { left: 115px; }

.caption {
    font-style: italic;
    color: #fff;
    font-size: 1.1em;
    text-align: center;
    width: 80%;
    background: rgba(50, 30, 10, 0.85);
    padding: 8px;
    border-radius: 6px;
}