body{
  background: black;
  color: white;
  padding-bottom: 10%
}

.general-image{
  width: 700px;
  height:  300px;
}
a:visited{
  color:white;
}
a{
  color:white;
}
      .grid-container {
           max-width: 1400px;
           width: 100%;
           display: grid;
           grid-template-columns: repeat(4, 1fr);
           grid-template-rows: repeat(2, 1fr);
           gap: 20px;
           perspective: 1000px;
           margin-left: auto;
           margin-right: auto;
       }

        .section {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            cursor: pointer;
            background: white;
        }

        .section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(0,0,0,0.1));
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 1;
            pointer-events: none;
        }

        .section:hover {
            transform: scale(1.05) translateY(-10px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
            z-index: 10;
        }

        .section:hover::before {
            opacity: 1;
        }

        .section img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.4s ease;
        }

        .section:hover img {
            transform: scale(1.03);
        }

        .section-label {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 10px;
            text-align: center;
            font-size: 0.85rem;
            letter-spacing: 1px;
            transform: translateY(100%);
            transition: transform 0.3s ease;
            z-index: 2;
        }

        .section:hover .section-label {
            transform: translateY(0);
        }
  @media (max-width: 1024px) {
            .grid-container {
                gap: 15px;
            }

            h1 {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 768px) {
            .grid-container {
                grid-template-columns: repeat(2, 1fr);
                grid-template-rows: repeat(4, 1fr);
                gap: 12px;
            }

            h1 {
                font-size: 2rem;
                margin-bottom: 30px;
            }
        }

      @media (max-width: 480px) {
            .grid-container {
                grid-template-columns: 1fr;
                grid-template-rows: repeat(8, 1fr);
                gap: 10px;
            }

            h1 {
                font-size: 1.5rem;
                letter-spacing: 3px;
            }

            body {
                padding: 20px 10px;
            }
        }