* {
    box-sizing: border-box;
}

body {
    background-color: #dff6ff;
    color: #173f46;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
}

header {
    background-color: #2e8b76;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

header h1 {
    font-family: Georgia, serif;
    font-size: clamp(32px, 6vw, 52px);
    margin: 0;
    text-shadow: 2px 2px #135548;
}

header p {
    font-size: clamp(16px, 3vw, 21px);
}

main {
    margin: auto;
    max-width: 1100px;
    padding: 30px 20px;
}

.intro,
.responsive-text {
    background-color: white;
    border-left: 8px solid #2e8b76;
    border-radius: 8px;
    margin-bottom: 30px;
    padding: 25px;
}

h2 {
    color: #176b5b;
    font-family: Georgia, serif;
}

.fish-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 40px;
}

.fish-card {
    background-color: white;
    border-top: 8px solid #2e8b76;
    border-radius: 10px;
    box-shadow: 0 4px 10px #8fbfc0;
    padding: 18px;
}

.fish-card img,
.responsive-example img {
    border-radius: 8px;
    display: block;
    height: auto;
    max-width: 100%;
}

.fish-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.responsive-example {
    align-items: center;
    background-color: #bdeeff;
    border-radius: 10px;
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding: 25px;
}

.responsive-example div,
.responsive-example img {
    flex: 1;
    min-width: 0;
}

.responsive-text p {
    font-size: clamp(16px, 2.5vw, 21px);
}

footer {
    background-color: #164f47;
    color: white;
    padding: 22px;
    text-align: center;
}

@media (max-width: 850px) {
    .fish-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .fish-grid {
        grid-template-columns: 1fr;
    }

    .responsive-example {
        flex-direction: column;
    }

    main {
        padding: 20px 12px;
    }

    header {
        padding: 22px 12px;
    }
}