body{
    display: flex;
    justify-content: left;
    align-items: left;
    flex-direction: column;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0px;
    margin: 0px;
    background-image: url(Images/background/pexels-ann-h-45017-1878399.jpg);
    background-size: cover;
}
.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;     
}

a{
    text-decoration: none;
}

.head{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 100px;
}
.para{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 900px;
    font-style: italic;
    font-size: 18px;
}
.box{
    display: flex;
    justify-content: right;
    align-items: right;
    flex-direction: row;
    gap: 20px;
    height: 90px;
    margin-right: 70px;

}
.b1{
    height: 40px;
    width: 250px;
    border-radius: 10px;
    border: 1px solid black;
    background: transparent;
    animation: 5s move infinite;
}
.b1:hover{
    background-color: rgba(240, 248, 255, 0.775);
}
.b2{
    height: 40px;
    width: 530px;
    border-radius: 10px;
    border: 1px solid black;
    background: transparent;
}
.b2:hover{
    background-color: rgba(240, 248, 255, 0.775);
}
.b3{
    height: 80px;
    width: 530px;
    border-radius: 10px;
    border: 1px solid black;
    background: transparent;
}
.b3:hover{
    background-color: rgba(240, 248, 255, 0.775);
}
.mail{
    display: flex;
    justify-content: right;
    align-items: right;
    flex-direction: row;
    height: 100px;
    margin-right: 70px;
    
}


/* Tablet screens (<= 1024px) */
@media (max-width: 1024px) {
    .mommy {
        gap: 20px;
        font-size: 85%;
        justify-content: center;
    }

    .para {
        width: 700px;
        font-size: 16px;
        text-align: center;
    }

    .box, .mail {
        margin-right: 20px;
        flex-wrap: wrap;
    }

    .b1, .b2, .b3 {
        width: 100%;
        max-width: 500px;
    }
}

/* Mobile landscape & large phones (<= 768px) */
@media (max-width: 768px) {
    .mommy {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        gap: 10px;
        padding: 10px 0;
        position: static; /* prevents overlap */
        background-color: rgba(255, 255, 255, 0.85); /* optional */
    }

    .w1 {
        font-size: 22px;
        text-align: center;
        margin: 0;
    }

    .mommy h2 {
        font-size: 16px;
    }

    .head {
        margin-top: 70px;
        padding: 0 20px;
        text-align: center;
    }

    .para {
        width: 100%;
        margin: 0 auto;
        font-size: 15px;
        padding: 10px;
    }

    .box, .mail {
        flex-direction: column;
        align-items: center;
        margin: 10px auto;
        width: 100%;
    }

    .b1, .b2, .b3 {
        width: 90%;
    }
}

/* Small phones (<= 480px) */
@media (max-width: 480px) {
    .w1 {
        font-size: 18px;
    }

    .mommy h2 {
        font-size: 14px;
    }

    .para {
        font-size: 14px;
        padding: 5px;
    }

    .b1, .b2, .b3 {
        width: 100%;
        font-size: 14px;
    }

    button.b1 {
        width: 100%;
        font-size: 15px;
    }
}
