* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    text-align: center;
    background-color: #f4f4f9;
}

.header-container {
    background-color: #00796b;
    color: white;
    padding: 1rem;
    text-align: center;
}

header p {
    font-size: 0.9rem;
}

header h1 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

nav a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.5rem;
    display: inline-block;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #004d40;
    border-radius: 5px;
}

main {
    padding: 2rem;
}

h2 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.8rem;
}

.content {
    margin-bottom: 2rem;
}

.triangle-container {
    position: relative;
    display: inline-block;
    margin: 1rem auto;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 100px solid #00796b;
    margin-bottom: -80px;
    position: relative;
    z-index: -1;
}

.dynamic-image {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    position: relative;
}

.dynamic-image:hover {
    transform: scale(1.1);
}

.explanatory-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.card {
    background-color: #e0f2f1;
    padding: 1.5rem;
    width: 30%;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    border-radius: 5px;
}

.card:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    background-color: #80cbc4;
}

footer {
    background-color: #00796b;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

footer p {
    margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .explanatory-cards {
        flex-direction: column;
    }

    .card {
        width: 100%;
        margin-bottom: 1rem;
    }
}
