body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: white;
}

header {
    background-image: url('pictures/mike-kenneally-TD4DBagg2wE-unsplash_copy.jpg'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    height: 20vh; /* Full height of the viewport */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    color: white;
    text-align: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

header h1 {
    color: white;
    border-bottom: 1px solid white;
}

main {
    margin: 30px 0;
}

#back {
    color: #310e0e;
    text-decoration: underline #310e0e;
}

#back .fa {
    padding-right: 5px;
}

section {
    width: 95%;
    margin: 0 auto;
    display: block;
}

section .cats {
    column-count: 4;
    column-gap: 20px;
    display: flex;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}

section .cats a {
    text-decoration: none;
}

section .cats .cat {
    display: block;
    width: 100%;
    background-color: #bd9152;
    border-radius: 5px;
    margin: 30px 0;
}

section .cats .cat .image {
    width: 100%;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    filter: brightness(0.7);
    object-fit: cover;
}

section .cats .cat .image:hover {
    transform: scale(0.95);
    transition-duration: 0.4s;
    overflow: auto;
    filter: brightness(1);
}

section .cats .cat .image img {
    width: 100%;
    height: 250px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

section .cats .cat p {
    text-align: center;
    display: block;
    margin: auto;
    padding: 15px 0;
    color: #310e0e;
}

footer {
    background-image: url(pictures/wojciech-paczes-OWmq7S7QEj0-unsplash.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 20vh;
}

@media screen and (max-width: 414px) {
    nav ul li {
        display: block;
        margin: 15px 0;
    }
    section {
        width: 80%;
    }
    section .cats {
        column-count: 1;
        column-gap: unset;
        display: block;
    }
    section .cats .cat .image {
        filter: brightness(1);
    }
    section .cats .cat .image img {
        height: 100%;
    }
}