body{
    display: flex;
    justify-content: left;
    align-items: left;
    flex-direction: column;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0px;
    margin: 0px;
}
.w1{
    display: flex;
    justify-content: space-between;
    align-items: left;
    flex-direction: column;
    width: 750px;
    font-size: 27px;
    transition: 0.45s; 
    color: grey;
    margin-top: 10px;
}
.w1:hover{
    color: black;
    transition: 0.45s; 
}
.background{
    position: fixed;
    z-index: -1;
    height: 110%;
    width: 100%;   
}

.mommy{
    display: flex;
    justify-content:right;
    align-items:right;
    flex-direction:row;
    padding-right: 0px;
    gap: 30px;
    font-size: 70%;
    width: 100%;
    height: 60px;
    transition: 1s;
    position: fixed;
    margin-right: 20px;
}

h2{
    color: grey;
    transition: 0.45s;  
    margin-right: 10px;  
}

h2:hover{
    color: black;
    transition: 0.45s;     
}
.moments{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 150px;
}
.para{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 500px;
    margin-left: 280px;
    margin-right: 280px;
    font-size: 130%;
    font-style: italic;
    margin-top: -190px;
}
.p2{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: -90px;
}
.grid{
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
    max-width: 1400px;
    width: 100%;
    padding: 40px 60px;
    box-sizing: border-box;
    justify-items: center;
    margin: 0 auto;
}
.grid img{
    width: 100%;
    max-width: 100%;
    height: 350px;
    object-fit: cover;
    
}

.box{
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid black;
    border-radius: 2px;
    margin-top: -90px;
    width: 400px;
    height: 60px;
    background-color: rgba(245, 245, 67, 0.933);
    transition: 1s;
}
.box:hover{
    background-color:  rgba(195, 195, 4, 0.962);
    width: 440px;
    height: 80px;
    transition: 1s;
}

.moments1{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: -20px;
}
.end{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: rgba(245, 245, 67, 0.933);
    height: 450px;
    margin-top: 200px;
}
.logo2{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 25px;
    height: 100px;
}
.h22{
    margin-top:-90px;
}
a{
    text-decoration: none;
}

@media (max-width: 768px) {
    .mommy {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .w1 {
        font-size: 1.5rem;
        text-align: center;
    }

    .para {
        width: 90%;
        font-size: 1rem;
        margin: 20px auto;
    }

    .grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .grid img {
        height: 250px;
    }

    .box {
        width: 90%;
        margin: 20px auto;
    }

    .moments1 {
        margin: 20px auto;
    }

    .end {
        padding: 20px;
    }
}

