@import url("https://fonts.googleapis.com/css2?family=Spartan:wght@100;200;300;400;500;600;700;800;900&dispaly=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Spartan", sans-serif;
}


button.normal {
    font-size: 16px;
    font-weight: 600;
    padding: 15px 30px;
    color: black;
    background-color: white;
    border-radius: 20px;
    cursor: pointer;
    border: 2px solid black;
    outline: none;
    transition: 0.2 ease;
}

button.normal:hover,
button.normal.active {
    background-color: rgb(227, 223, 223);


}


button.white {
    font-size: 16px;
    font-weight: 600;
    padding: 7px 32px;
    color: black;
    background-color: white;
    cursor: pointer;
    outline: none;
    transition: 0.2 ease;
    margin-top: 10px;
    width: 170px;
    border-radius: 16px;
    border: none;

}


html,
body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;



}

/*header part*/


#banner {

    position: sticky;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: rgb(211, 243, 185);
    align-items: center;
}

#banner-list {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

#banner li {
    list-style: none;
    color: darkgreen;
}





#banner-list li img {
    height: 100px;
    width: 120px;

}

#banner-list #imgcol {
    position: relative;
    left: 2%;
}

#banner-list #logoname {
    position: relative;
    right: 16%;
}

#banner-list li i {

    cursor: pointer;
}


#banner-list h3 {
    font-size: 24px;
    text-align: center;
    font-weight: 600;
    margin-top: 20px;

    color: darkgreen;
}

#banner-list #usericon {
    position: relative;
    right: 20px;
}


.container-fluid span {
    height: 10px;
    border: none;
}

#Navbar.active {
    right: 0px;
}

/*sectionNavBARMAIN*/
nav {
    height: 10px;
    width: 100%;
}

.navbar {
    background-color: #dedfda;
    border: none;


}

.container-fluid {
    background-color: white;
    margin: 0px 0px 8px 0px;
}

.container-fluid .navbar-brand {
    position: relative;
    left: 150px;
    font-size: 12px;
    font-weight: 500;
    color: #b88b50;
    border: none;
    cursor: pointer;
}



.container-fluid .navbar-nav {
    position: relative;
    left: 25%;
}

.navbar-nav a {
    font-size: 14px;
    position: relative;
    display: block;
    text-decoration: none;
    width: 200px;
    padding: 10px 50px;
    text-align: center;
    font-weight: 600;
    background-color: white;
    color: green;
    width: 150px;
    margin-right: 15px;

}

.navbar-nav a:hover {
    background-color: rgb(240, 240, 73);
}


/*container*/
#container {
    background: rgb(14, 69, 14);
    align-items: center;
    text-align: center;
    width: 100%;
    margin: 0px 0px 10px;


}

#container h5 {
    font-size: 14px;
    color: #dcb542;
    font-weight: 600;
    font: inter;
    text-align: center;
    width: auto;
    padding: 20px 0px 10px;

}



#imagebanner img {
    width: 100%;
    height: 20%;
    position: relative;
    bottom: 10px;
}

.first {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.first h3 {
    font-size: 30px;
    font-weight: 600;
    margin: 20px;
}

.first img {
    margin: 20px;
}

.homecontainer {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;

}

.homecontainer h1 {
    font-family: Sans-serif;
    font-weight: 600;
    color: black;
    width: 100%;
    background-color: antiquewhite;
    text-align: center;
    padding: 30px;
}

.homecontainer h4 {
    font-family: Sans-serif;
    font-weight: 500;
    background-color: darkgreen;
    border-radius: 6px;
    padding: 10px;
    width: 200px;
    text-align: center;
    color: white;
}

.homecontainer .religion-container,
.community-container,
.language-container,
.profession-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.homecontainer .pro {
    background-color: rgb(235, 253, 233);
    margin: 45px;
    border-radius: 20px;
    cursor: pointer;
}

.homecontainer .pro:hover {
    box-shadow: 7px 7px 6px rgb(218, 218, 218);
}

.homecontainer .pro img {
    width: 200px;
    height: 350px;
    margin: 15px;
    border-radius: 20px;
}

.homecontainer button {
    background-color: green;
    padding: 15px;
    border: none;
    border-radius: 15px;
}

.homecontainer button:hover {
    box-shadow: 7px 7px 6px rgb(218, 218, 218);
}

.homecontainer button a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 500;
}

#bottomthree h5,
#bottomthree h6 {
    text-align: center;
    margin-top: 15px;
    padding: 10px 0px;
    font-weight: 500;
    font-size: 20px;
}


/*media queries*/
@media only screen and (max-width: 600px) {



    #Navbar {


        align-items: center;
        position: relative;
        margin: 0px -20px;



    }

    #Navbar li {
        position: relative;
        left: -85px;
        margin-bottom: 10px;
        display: flex;
        cursor: pointer;
        white-space: nowrap;


    }

    #Navbar li a {
        font-size: 10px;
        align-items: center;
    }



    #Navbar li a:hover,
    #Navbar li a.active {
        background-color: rgb(209, 203, 203);
    }

    /*banner*/

    #banner {
        justify-content: left;

    }

    #banner li {
        padding: 10px;


    }

    #banner li h3 {
        font-size: 12px;
    }

    #logoname {
        position: relative;
        left: 0px;
        right: 0;
    }



    #banner-list li img {
        height: 40px;
        width: 30px;



    }

    #banner-list #usericon {
        position: relative;
        left: 0;
    }



    #banner-list h3 {
        width: 100%;
        margin: 10px 0;
    }



    /*navbarmain*/
    .container-fluid .navbar-nav {
        position: relative;
        left: 40px;
        width: 60%;

    }

    .container-fluid .navbar-nav a {
        font-size: 10px;
        width: 220px;
        position: relative;
        left: 2px;
        padding-bottom: 5px;
        font-weight: 600;
        align-items: left;
        z-index: 999;

    }

    .navbar-nav #nav-right {
        position: relative;
        left: 10px;

    }

    .container-fluid .navbar-brand {
        position: relative;
        left: 120px;
    }

    #container h5 {
        font-size: 8px;
        color: white;
        font-weight: 500;
        width: auto;
        white-space: wrap;
        margin: 10px 0px;
    }

    #imagebanner img {
        height: 40%;
    }

    .first h3,
    .first h5 {
        font-size: 20px;
        text-align: center;
    }

    .first img {
        width: 200px;
    }

}

@media only screen and (max-width: 768px) {
    body {
        font-size: 16px;
    }

    #header {
        padding: 0px 20px;
    }
}