* {
    margin: 0; padding: 0; box-sizing: border-box;
}

body {
    background: linear-gradient( blue, green, red);
}

/* body {
    background: linear-gradient(to right, #ff0000, #0000ff); Red to blue, left to right, I copied this code to test from a google search to test, annd while it worked, a freehand typing of the same didn't. Wanted to ask why and what's causing that.
} */

h1 {
    margin-top: 40px;
    text-align: center;
    font-family: 'arial black', verdana, sans-serif;
    font-size: 14svw;
    line-height: 10svw;
    text-transform: uppercase;
    font-family: "Keania One", sans-serif;
    background-image: url(../images/three_cats.jpg);
    background-size: cover;
    background-position: 50% 23%; /*Left&Right / Up&Down*/
    background-clip: text;
    color: transparent;
}

section.three_cats {
    border: 4px solid transparent;
    margin: 150px auto;
    display: flex;
    justify-content: space-evenly;
}

.three_cats div {
    border: 8px solid transparent;
    flex: 0 0 20%;
    /* flex-grow: 2;
    flex-shrink: 1;
    flex-basis: 200px; */
    aspect-ratio: 1;
    margin: 20px auto;
    border-radius: 0%;
    transform: rotate(-45deg);
    position: relative;
    overflow: hidden;
    box-shadow: 5px 5px 10px forestgreen;
}

section.three_cats div figure {
    background-image: url(../images/three_cats.jpg);
    background-size: 400%;
    width: 145%;
    aspect-ratio: 1;
    transform: rotate(45deg);
    position: absolute;
    top: -23%; left: -23%;
}

section.three_cats div:nth-child(1) figure {
    background-position: 22% 35%;
    filter: opacity(75%);
}

section.three_cats div:nth-child(2) figure {
    background-position: 47% 25%;
    filter: invert();
}

section.three_cats div:nth-child(3) figure {
    background-position: 83% 25%;
    filter: brightness(50%);
}

nav {
    text-align: center;
}

nav a {
    text-decoration: none;
}

footer {
    text-align: center;
}
