body {
    font-family: 'Crimson Text', serif;
}

.banner-title {
    font-size: 10rem;
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    display: block;
    transition: filter 1s ease-in-out;
}

.project-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFFFFF57;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    transform: translate3d(0px, 0px, 0px);
}

.project-image:hover .overlay {
    opacity: 1;
}

/* Medium screens (md) and below */
@media (max-width: 1024px) {
    .banner-title {
        font-size: 5rem;
    }
}

/* Small screens (sm) and below */
@media (max-width: 768px) {
    .banner-title {
        font-size: 5rem;
    }
}

/* Extra small screens (xs) */
@media (max-width: 480px) {
    .banner-title {
        font-size: 4rem;
        margin-bottom: 3rem;
    }
}

@media screen and (max-width:420px) {
    .banner-title {
        font-size: 4rem;
        margin-bottom: 20rem;
    }
}

@media screen and (max-width:320) {
    .banner-title {
        font-size: 4rem;
        margin-bottom: 10rem;
    }
}

@media (max-width: 768px) {
    .navigation {
        font-size: 10px !important; 
        flex-wrap: nowrap; 
        gap: 5px; 
    }
    .navigation li a {
        padding: 3px 15px; /* Adjust padding for better spacing */
    }
    .logo h4 {
        font-size: 16px; /* Reduce logo text size */
    }
}