BODY {
    background-image: url('back.jpg');
    font-family: 'cwTeXYen', sans-serif;
    background-color: #E8E7D2;
    color: #333;
    margin: 0;
    padding: 0;
    text-align: center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-attachment: fixed;
    background-position: center;
}

    @font-face {
        font-family: 'cwTeXYen';
        font-style: normal;
        font-weight: 500;
        src: url(//fonts.gstatic.com/ea/cwtexyen/v3/cwTeXYen-zhonly.eot);
        src: url(//fonts.gstatic.com/ea/cwtexyen/v3/cwTeXYen-zhonly.eot?#iefix) format('embedded-opentype'), url(//fonts.gstatic.com/ea/cwtexyen/v3/cwTeXYen-zhonly.woff2) format('woff2'), url(//fonts.gstatic.com/ea/cwtexyen/v3/cwTeXYen-zhonly.woff) format('woff'), url(//fonts.gstatic.com/ea/cwtexyen/v3/cwTeXYen-zhonly.ttf) format('truetype');
    }

    header {
            background-color: #D2D5B8;
            color: white;
            padding: 20px;
        }

nav {
    background-color: #C9BA9B;
    padding: 15px 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    nav ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        gap: 20px;
    }

        nav ul li {
            font-size: 18px;
        }

            nav ul li a {
                color: white;
                text-decoration: none;
                padding: 10px 15px;
                border-radius: 5px;
                transition: background 0.3s, transform 0.2s;
            }

                nav ul li a:hover {
                    background: linear-gradient(to right, white 0%, #f5d289 100%);
                    color: #333;
                    transform: scale(1.1);
                }


p {
    font-size: 20px;
    line-height: 1.8;
    max-width: 800px;
    margin: 20px auto;
    color: #555;
}

button {
    background-color: #C9BA9B;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    button:hover {
        background-color: #ffcc00;
        transform: translateY(-3px);
    }

        .photo-gallery {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            padding: 20px;
            max-width: 1000px;
            margin: auto;
        }

        .photo-item {
            text-align: center; 
        }

            .photo-item img {
                width: 100%; 
                height: auto;
                border-radius: 10px;
                box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.1); 
            }

            .photo-item:hover img.primary {
                opacity: 0;
            }

            .photo-item img.secondary {
                position: absolute;
                top: 0;
                left: 0;
                opacity: 0;
                transition: opacity 0.3s ease;
            }

            .photo-item:hover img.secondary {
                opacity: 1;
            }


            .photo-item p {
                margin-top: 10px;
                font-size: 16px;
                color: #333;
            }

        .photo-wrapper {
            position: relative;
        }


.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #C9BA9B;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, background-color 0.3s;
}

    .back-to-top:hover {
        background-color: #ffcc00;
        transform: scale(1.1);
    }
marquee {
    font-size: 20px;
}
a{
    text-decoration:none;

}
    a:hover {
        color: #ecf0f1;
    }


@media screen and (max-width: 768px) {
    BODY {
        background-size: cover;
    }

    .photo-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .photo-item img {
        border-radius: 5px;
    }
}