        html,
        body {
            margin: 0;
            padding: 0;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        body {
            font-family: Arial, sans-serif;
        }

        header {
            background-color: #333;
            padding: 10px;
            text-align: center;
            color: white;
        }

        footer {
            background-color: #333;
            color: white;
            text-align: center;
            padding: 20px 10px;
            margin-top: auto;
        }

        footer a {
            color: white;
            text-decoration: none;
            transition: color 0.3s;
        }

        footer a:hover {
            color: lightgray;
        }

        nav {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            background-color: #555;
            padding: 10px;
        }

        nav a {
            color: white;
            text-decoration: none;
            padding: 10px 20px;
            margin: 5px;
            border: 1px solid #fff;
            border-radius: 5px;
            transition: background-color 0.3s;
        }

        nav a:hover {
            background-color: #777;
        }

        .content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            padding: 20px;
            text-align: center;
            flex-grow: 1;
        }

        .content a {
            text-decoration: none;
            color: #000000;
        }

        @media (min-width: 1024px) {
            .content {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .content h2,
        .content h3,
        .content h4,
        .content h5 {
            font-size: 1.5rem;
            margin-bottom: 10px;
        }

        .content img {
            width: 100%;
            height: 200px;
            border-radius: 10px;
            object-fit: cover;
            display: block;
            margin: 0 auto;
        }

        @media (max-width: 768px) {

            .content h2,
            .content h3,
            .content h4,
            .content h5 {
                font-size: 1.2rem;
            }
        }

        @media (max-width: 480px) {
            nav a {
                padding: 8px 10px;
            }

            .content img {
                height: 150px;
            }
        }