* {
    text-decoration: none;
    transition: all ease-in-out 0.4;
}

nav {
    box-shadow: 4px 5px #88888875;
    height: 4rem;
    margin-bottom: 3px;
}

.mainback {
    background: url(mainbg.jpg);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 40rem;
}
.dark-mode {
    background-color: #222;
    color: #fff;
}

/* mapindexfile */

.mview .media {
    margin: 2rem;
}

.media-body {
    margin: 0 3rem;
}

/* aboutmain */

.aboutmain {
    background: url(img/steam-rises-as-coffee.jpg);
    background-image: cover;
    background-position: bottom;
    background-size: 80%;
    height: 65vh;
    backface-visibility: 4rem;
    backdrop-filter: blur(9px);
}

.aboutmain h1 {
    text-align: left;
    font-size: 3rem;
    font-weight: bolder;
    margin-top: 9rem;
    color: #fff;
}

.aboutmain span {
    text-align: left;
    font-size: 1.2rem;
    font-weight: bolder;
    color: #ffee00;
    width: 1.2rem;
}

/*part-1 photo add */
.pic1 {
    background: url('img/pic1.jpg');
    background-size: cover;
    height: 9.5rem;
    border-radius: 0.475rem;
    text-align: center;
    margin-top: 1rem;
}

.pic2 {
    background: url('img/pic2.jpg');
    background-size: cover;
    height: 9.5rem;
    border-radius: 0.475rem;
    text-align: center;
    margin-top: 1rem;
}

.pic3 {
    background: url('img/pic3.jpg');
    background-size: cover;
    height: 9.5rem;
    border-radius: 0.475rem;
    text-align: center;
    margin-top: 1rem;
}

.pic4 {
    background: url('img/pic4.jpg');
    background-size: cover;
    height: 9.5rem;
    text-align: center;
    border-radius: 0.475rem;
    margin-top: 1rem;
}

.pic5 {
    background: url('img/pic5.jpg');
    background-size: cover;
    height: 9.5rem;
    border-radius: 0.475rem;
    text-align: center;
    margin-top: 1rem;
}

.pic6 {
    background: url('img/pic6.jpg');
    background-size: cover;
    height: 9.5rem;
    border-radius: 0.475rem;
    text-align: center;
    margin-top: 1rem;
}

/*part-1 video add */
.vid1 {
    background: url('img/videothumb1.jpg');
    background-position: center;
    background-size: cover;
    height: 7.5rem;
}

.vid1 span {
    display: flex;
    justify-content: center;
    align-items: center;
}

.vid2 {
    background: url('img/videothumb2.jpg');
    background-position: center;
    background-size: cover;
    height: 7.5rem;
}

.vid2 span {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*about part-2 bio desgin*/
.photo {
    height: 6rem;
    width: 100%;
}

.photo img {
    border-radius: 50%;
    width: 6rem;
}

.agent-contact li {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.social-icon li {
    padding: 0.5rem;
    background-color: #E00445;
    color: #fff;
    border-radius: 20%;
}

.agent-view-profile {
    border-radius: 5px;
    width: 100%;
    background-color: #E00445;
}

/* search-add-business */

.search-bg {
    background: url(img/search-bg.png);
    position: relative;
    background-size: cover;
    height: 100vh;
}
.mview2{margin:5rem 0rem 0rem 9rem;}


/* contact us */
.contact-box .card{
    height: 14rem;
    margin: 2rem;
    text-align: center;
}
.dropdown-btn {
    border: none;
    outline: none;
    cursor: pointer;
}

.dropdown-content ul:hover {
    transition: all ease-in-out 1s;
}

/* Style for the dropdown content */
.dropdown-content {
    display: none;
    margin-top: 3rem;
    margin-left: 3rem;
    width: 9rem;
    position: fixed;
    top:0;
    z-index: 2rem   ;
    background-color: #fff;
}

/* Style for the links in the dropdown */
.dropdown-content ul li a:hover{
    padding: 4px;
    text-decoration: none;
    display: block;
color: #000;}

/* Change color on hover */
.dropdown-content ul li:hover {
    opacity: 0.4;
    font-weight: 700;
    background-color: rgba(183, 182, 182, 0.374);
    font-size: 1.2rem;
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
}

.dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
}

.dropdown-menu>li:hover>.dropdown-submenu {
    display: block;
}

.dropdown-hover:hover>.dropdown-menu {
    display: inline-block;
}

.dropdown-hover>.dropdown-toggle:active {
    /*Without this, clicking will make it sticky*/
    pointer-events: none;
}
.contact-box .card span{
    font-size: 3rem;
}
@media (max-width:845px) {



    html,
    body {
        margin: 0;
        width: 100%;
    }

    nav {
        width: 100%;
        margin: 1rem 0rem;
        height: 19rem;
        text-align: center;
        padding: 0;
    }

    nav .container {
        width: 100%;
        height: 5rem;
    }

    .container {
        width: 100%;
    }

    .tabs {
        margin-top: 4rem;
    }

    /* mapwork mview */
    .contain2 {
        width: 100%;
    }

    .contain2 iframe {
        width: 100%;
        height: 60vh;
    }


    .image img {
        width: 100%;
        border-radius: 0.30rem;
    }

    .tabs .border-5 {
        border: none;
    }

    .tabs .w-64 {
        width: 100%;
        height: 3rem;
    }

    /* category */
    .tabs .col-sm-2 {
        width: 100%;
    }

    .tabs .tabs1 img {
        width: 100%;
        height: 6rem;
    }

    .mview {
        display: flex;
        flex-direction: column;
        margin-top: 2rem;
        width: 100%;
    }

    .mview,
    .media-body,
    .media-left,
    .media-left img {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .search-bg{ display: block;
        width: 100%;
        margin-left: -7rem;
    }
    .mview2{display: block; margin:0;padding: 0;}
}

@media (max-width:350px) {

    /* mapwork mview */
    .mview,
    .media-body,
    .media-left,
    .media-left img {
        width: 100%;
    }

    .tabs {
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 0;

    }


    .container {
        width: 100%;
    }

    .image {

        width: 100%;
        border-radius: 0.30rem;
    }

    image .img {
        width: 100%;
    }

}