@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins',sans-serif;
}
.banner{
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.762),rgba(0, 0, 0, 0.312)),url('images/mechanicalbgimg4.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position:center
}
.navbar{
    width: 100%;
    height: 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo{
    width: 4%;
    cursor: pointer;
    margin-left: 45px;
}
.collegelogo{
    max-width: 850px;
    display: block;
    margin: auto;
}
.meqnzo{
    width: 50%;
    padding-top: 0;
    margin-top: 0;
}
.center{
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    width: 15%;
}
.navbar ul{
    display: flex;
    list-style: none;
    margin-right: 15px;
}
.navbar ul li{
    padding: 0px 20px 0px 20px;
    list-style: none;
    display: inline-block;
    margin: 5px;
}
.navbar ul li a{
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    padding: 10px 30px 10px  30px;
    background-color: rgba(139, 137, 137, 0.75);
    border-radius: 20px;
}
.navbar ul li a:hover{
    background-color: rgba(237,27,36,255);
}
.mechheading{
    font-weight:bold;
    margin: 5px;
}
.content{
    text-align: center;
    color: white;
    font-size: 25px;

}
#about{
    text-align: center;
    margin: 10px 10px 0px 10px;
    font-size: 20px;
    display: inline-block;
    background-image: linear-gradient(rgba(245, 244, 244, 0.329),rgba(250, 249, 249, 0.75)),url('images/about.png');
}
#about p{
    text-align: justify;
    margin: 20px 0;
}
#contactus{
    display: block;
    text-align: center;
    margin: 30px;
    background-color: aliceblue;
}
#contactus a{
    text-decoration: none;
    color: black;
}
.insta{
    display: block;
}
.phone p{
    display: inline-block;
}
.abtimg{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 250px;;
}
.abthr{
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.762),rgba(0, 0, 0, 0.312)),url('images/mechanicalbgimg4.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}
@media (max-width: 952px){
    .banner{
        width: 100%;
        height: 100vh;
    }
    .logo{
        width: 50px;
        margin-left: 10px;
    }
    .content{
        font-size: 19px;
        margin: 30px 0;
    }
    .collegelogo{
        width: 350px;
        height: 60px;
        display: block;
        margin: auto;
    }
    .meqnzo{
        width: 350px;
    }
    nav ul li a{
        font-size: 16px;
        width: 100%;
        padding: 15px 0;
    }
    .menu-icon {
        display: block;
        font-size: 30px;
        margin-right: 10px;
        cursor: pointer;
        color: white;
        z-index: 1000; 
    }
    .navbar ul{
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 500px;
        background-color: rgba(0,0,0,0.85);
    }
    .navbar ul li{
        display: block;
        margin: 10px 0;
        text-align: center;
        
    }
    .navbar ul.active {
        display:flex;
        margin-top: 350px;
        position:fixed;
    }
    .navbar ul li {
        margin: 10px 0;
        text-align: center;
        margin: 20px;
    }
    .center{
        width: 100px;
    }
}