@media only screen and (min-width: 1920px) {
    .gredientts-background .adivasi {
        position: absolute;
        /* bottom: -2%; */
        width: 80%;
        top: 26%;
        left: 43%;
    }

    .dept-box {
        /* border: 1px solid red; */
        width: 220px;
        height: 100px;
        position: relative;
        display: flex;
        text-align: center;
        justify-content: center;
        align-items: flex-end;
        align-content: flex-end;
        transition: .3s ease-in;
    }

    .single-f {

        width: 200px;

    }

}






@media only screen and (max-width: 767px) {
    .dropdown-submenu:hover>.dropdown-menu {
    position: relative;
    /* background: red; */
    left: 16px;
    display: block !important;
}
.dropdown-submenu:hover>.dropdown-menu li {

     background: #fef2f3; 
}
    .last-icons {
        display: none;
    }
    .headings {
        display: flex;
        font-size: 1.3rem;
        font-weight: bold;
        position: relative;
        color: var(--main-color);
        font-family: var(--heading-font);
        width: fit-content;
        padding: 0px 25px 4px;
        z-index: 1;
        background: url(../icons/single.png);
        background-size: 20px;
        background-repeat: no-repeat;
        flex-direction: row;
        align-content: center;
        align-items: center;
    }
    .main-header {
        width: 100%;
        display: flex;
        /* border: 1px solid red; */
        flex-wrap: nowrap;
        align-content: center;
        justify-content: space-between;
        align-items: center;
        position: relative;
        /* background: url(../image/back.png); */
        /* height: 6.2rem; */
        flex-direction: column;
    }

    .middle-text {
        width: 100%;
        padding-right: 0rem;
        /* border: 1px solid; */
    }

    .middle-text h2 {
        font-family: var(--heading-font);
        color: var(--main-color);
        font-size: 1.2rem;
        margin: 0;
        font-weight: bold;
    }

    .middle-text h1 {
        font-family: var(--heading-font);
        color: var(--main-color);
        font-size: 1.1rem;
        /* margin: 0%; */
        /* font-weight: bold; */
        margin: 0;
    }

    .middle-text {
        width: 100%;
        padding-right: 0rem;
        /* border: 1px solid; */
        text-align: center;
    }

    .gredientts-background .adivasi {
        position: absolute;
        /* bottom: -2%; */
        width: 80%;
        top: 35%;
        left: 50%;
        opacity: 60%;
        display: none;
    }

    .left-logo {
        width: 10%;
        margin-bottom: 5px;
        /* border: 1px solid; */
    }

    .navbar {
        background: #034D97;
        background-size: auto 25px;
        height: 25px;
        background-repeat: repeat-x;
        padding: 0 !important;
        border-bottom: 1px solid #720f11;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    }

    .left-news-box {
        width: 45%;
        font-size: .7rem;
        padding: 5px 5px;
        text-align: center;
        background-color: var(--active-color);
        position: relative;
        font-weight: bold;
    }

    .main-links {
        /* DISPLAY: flex; */
        width: 100%;
        display: flex;
        justify-content: space-evenly;
        padding: 5px;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .main-f-flex {
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .f-left {
        width: 100% !important;
        /* text-align: center; */
        display: flex;
        height: max-content;
        flex-direction: column;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
        gap: 0px;
    }

    .single-f-content {
        width: 50%;
    }

    .real-footer {
        display: flex;
        justify-content: space-around;
        font-weight: bold;
        text-align: center;
        font-size: .5rem;
        color: var(--main-color);
        flex-direction: column;
        align-items: center;
        align-content: center;
    }

    .main-link-box {
        background: url(../icons/btn.png);
        background-size: 100%;
        background-position: center;
        width: 170px;
        font-weight: bold;
        color: var(--main-color);
        height: 65px;
        /* border: 1px solid #e7e7e7; */
        /* padding: 15px; */
        display: flex;
        /* border-radius: 20px; */
        margin-top: 10px;
        /* box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px; */
        justify-content: center;
        align-items: center;
        transition: .3s ease-in-out;
        /* font-family: var(--heading-font); */
        align-content: center;
        position: relative;
    }

    .main-link-box p {
        background: #ffc840;
        width: 135px;
        text-align: center;
        padding: 5px 5px;
        position: absolute;
        top: calc(50% - 17px);
        height: 34px;
        font-size: .75rem;
        display: flex;
        border-radius: 100PX;
        justify-content: center;
        align-items: center;
        color: var(--main-color);
        transition: .3s ease-in-out;
    }

    .nav-tabs .nav-link {
        font-size: .7rem;
    }

    .timeline a {
        width: 90%;
        /* border: 1px solid; */
        display: flex;
        color: #000000;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
        flex-direction: row;
        font-size: .75rem;
    }

    .navbar-toggler {
        /* float: right; */
        position: absolute;
        background: #ffc840 !important;
        padding: 2px 8px !important;
        color: #252525;
        right: 2%;
        font-weight: bold;
        padding: 10px 5px;
        top: 1px;
        font-size: 1rem !important;
        line-height: 1;
        /* background-color: transparent; */
        border: 1px solid transparent;
        border-radius: 3px;
    }

    .navbar-toggler::after {
        content: "\f0c9";
        font-size: .8rem;
        font-weight: bold;
        font-family: 'Font Awesome 6 Free';
    }

    .navbar-toggler::before {
        content: "MENU";
        font-size: .8rem;
        font-weight: bold;
    }

    .navbar-toggler-icon {
        display: none !important;
    }

    .single-cards p {
        font-size: .8rem;
        color: var(--main-color);
        font-weight: BOLD;
        opacity: .9;
    }

    .single-cards h2 {
        font-size: 1.3rem;
        margin: 5px;
        color: var(--main-color);
        font-family: var(--heading-font);
    }

    .single-cards a {
        text-decoration: none;
        border: 2px solid var(--main-color);
        color: var(--main-color);
        background: white;
        padding: 2px 20px;
        font-weight: bold;
        font-size: .7rem;
        position: absolute;
        bottom: -17%;
        border-radius: 500px;
    }

    .likeCount {
        width: 90%;
        padding: 0 10px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        color: var(--main-color);
        font-weight: 600;
        font-size: .8rem;
        position: relative;
        background-color: #fef3f2;
    }

    .splide__slide {
        margin-right: 65px !important;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }

    .dept-box {
        /* border: 1px solid red; */
        width: 120px;
        height: 100px;
        /* margin-right: 379px; */
        position: relative;
        display: flex;
        text-align: center;
        justify-content: center;
        align-items: flex-end;
        align-content: flex-end;
        transition: .3s ease-in;
    }

    .icon-box {
        position: absolute;
        width: 40px;
        height: 40px;
        background: #fef3f2;
        border-top: 1px solid var(--main-color);
        padding: 5px;
        border-radius: 50%;
        top: calc(30% - 15px);
        left: calc(50% - 20px);
        transition: .3s ease-in;
    }

    .dept-box p {
        position: absolute;
        width: 100%;
        height: 65px;
        bottom: -15%;
        padding: 24px 5px 0 5px;
        border: 1px solid;
        /* margin-top: 25px; */
        z-index: -1;
        font-size: .7rem;
        text-align: center;
        transition: .3s ease-in;
        border-radius: 5px;
        font-weight: bold;
        line-height: .8rem;
        color: var(--main-color);
        background: #fef3f2;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    }

    .events .single-f p {
        width: 100%;
        color: var(--main-color);
        margin: 0;
        height: 100%;
        display: flex;
        font-size: .7rem;
        padding: 0 10px 0 0px;
        justify-content: space-between;
        align-items: flex-start;
        align-content: space-around;
        transition: .3s;
        flex-direction: row;
    }

    .events .single-f h6 {
        font-weight: bold;
        font-size: .8rem;
        color: var(--main-color);
    }

    .single-f {
        /* border-top: 2px solid var(--main-color); */
        /* border-left: 2px solid var(--main-color); */
        border: 2px solid var(--main-color);
        width: 145px;
        height: 110px;
        padding: 3px 3px 0 3px;
        display: flex;
        background: #fef3f2;
        flex-direction: column;
        justify-content: space-between;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    }

    .single-f p {
        width: 100%;
        /* background-color: var(--main-color); */
        color: var(--main-color);
        margin: 0;
        height: 25%;
        display: flex;
        font-weight: bold;
        font-size: .6rem;
        padding: 0 10px 0 0px;
        justify-content: space-between;
        align-items: center;
        align-content: center;
        transition: .3s;
    }

    .f-left h1 {
        font-size: 1rem;
        font-weight: bold;
        text-align: center;
        color: var(--main-color);
    }

    .f-left h2 {
        font-size: 1rem;
        font-weight: bold;
        color: var(--main-color);
    }

    .usefull-links {
        width: 100% !important;
    }

    .nav-item:hover .dropdown-menu {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        min-width: 17rem;
        width: max-content;
        height: fit-content;
    }

    .navbar-nav {
        display: -ms-flexbox;
        display: flex;
        margin-left: 20px;
        -ms-flex-direction: column;
        flex-direction: column;
        padding-left: 0;
        margin-bottom: 0;
        list-style: none;
        align-items: flex-start;
    }

    .alumni {
        width: 100%;
        height: 400px;
        position: relative;
    }

    .carousel-caption {
        position: absolute;
        right: 15%;
        bottom: -46% !important;
        left: 15%;
        z-index: 10;
        padding-top: 20px;
        padding-bottom: 20px;
        color: #fff;
        text-align: center;
    }

    .sambalpuri-back {
        position: absolute;
        background-color: #fef3f2;
        background-image: url(../icons/4.png);
        background-size: 10%;
        width: 100%;
        z-index: -1;
        top: 37%;
        height: 327px;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        border-radius: 5px;
        /* margin-bottom: 28px; */
    }

    .f-left p {
        margin: auto;
        width: 60%;
        text-align: center;
        font-size: .8rem;
        font-weight: bold;
        color: #282828;
    }

    .top-3-background {
        background-image: url(../image/lower_border.jpg);
        display: none;
        background-size: auto 25px;
        height: 25px;
        background-repeat: repeat-x;
    }

    .navbar-collapse {
        background: #fff3f3;
        border-top: 1px solid var(--main-color);
        -ms-flex-positive: 1;
        background-color: #fef3f2 !important;
        padding: 0 !important;
        -ms-flex-align: center;
        align-items: center;
        overflow: hidden;
        background-size: 60%;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 0 !important;
        border-style: solid !important;
        border-width: 0 !important;
        border-bottom-width: 2px !important;
        border-image-slice: 26 !important;
    }

    .navbar.sticky {
        background: #fef3f2;
        background-image: url(../image/lower_border.jpg);
        background-size: auto 25px;
        height: 25px;
        background-repeat: repeat-x;
    }

    .dropdown-menu {
        background-color: #ffffff !important;
        background-image: none;
    }

    .page {
        flex-direction: column-reverse;
    }
    .inner-page .Btn {
        width: 45%;
    }
    .news-contents a {
        text-decoration: none;
        font-size: .85rem;
        margin-right: 5rem;
        color: #000000 !important;
    }
    .paragraph {
        text-align: justify;
        text-indent: 60px;
        font-size: .85rem;
    }
    .dept-grid {
        margin: auto;
        width: 90%;
        padding-top: 30px;
        padding-bottom: 30px;
        display: grid;
        justify-content: space-evenly;
        grid-template-columns: repeat(2, 49%);
        gap: 10px;
    }
    .dept-grid .dept-grid-box .dept-grid-box-h2 h2 {
        font-size: .8rem;
        color: var(--main-color);
        margin-left: 15px;
        font-weight: bold;
    }
    .header h1 {
        font-size: .9rem;
        font-family: var(--heading-font);
    }
    .dept-alumni {
        /* border: 1px solid blue; */
        width: 100%;
        display: flex;
        background-color: #fbf0f0;
        background-image: url(../../asset/image/background.html);
        background-repeat: no-repeat;
        background-size: 1600px 630px;
        justify-content: space-between;
        height: fit-content;
        flex-direction: column;
    }
    .image-back {
        width: 95%;
        margin: 10px auto;
        height: 100%;
    }
    .infosec {
        /* border: 1px solid black; */
        padding: 0px 10px 0px 10px;
        display: flex;
        flex-direction: column;
        overflow-y: hidden;
        justify-content: space-between;
        width: 100%;
    }
    .infosec .btns div {
        border: 2px solid var(--main-color);
        padding: 10px 10px;
        cursor: pointer;
        border-radius: 5px;
        margin: 10px;
    }
    .faculty-grid-box {
        width: 100%;
        height: fit-content;
        padding: .8rem;
        margin: 0 auto 20px;
        border: 1px solid #b9b9b9;
        display: flex;
        border-radius: 5px;
        background: url(../image/99.jpg);
        background-size: 100%;
        box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
        position: relative;
    }
    .image-dept {
        /* padding: 1rem; */
        width: 20%;
        height: 95px;
        border-radius: 5px;
        border: 1px solid var(--main-color);
        overflow: hidden;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    }
    .right-dept {
        width: 70%;
        /* border: 1px solid red; */
        margin-left: 0rem;
        padding: 0 0 0 .5rem;
    }
    .right-dept h3 {
        font-size: .9rem;
        font-family: "Castoro", serif;
        font-weight: bold;
        color: var(--main-color);
    }
    .right-dept h4 {
        font-size: .8rem;
        font-family: "Castoro", serif;
        /* font-weight: bold; */
        color: #121212d1;
        font-style: italic;
    }
    .right-dept p {
        font-size: .7rem;
        font-weight: normal;
        color: var(--main-color);
        margin: 5px 0;
        font-weight: bold;
    }
    .right-dept a {
        font-size: .7rem;
    }
    .button-dept {
        /* margin-top: 6%; */
        position: absolute;
        right: 2%;
        top: 37%;
        transition: all 0.3s ease-in-out;
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
        padding-block: 0.25rem;
        padding-inline: 0.25rem;
        background-color: var(--main-color);
        border-radius: 9999px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffff;
        gap: 5px;
        font-weight: bold;
        border: 1px solid #ffffff4d;
        outline: none;
        overflow: hidden;
        width: 120px;
        font-size: 15px;
    }
    .icon-dept {
        width: 18px;
        height: 18px;
        transition: all 0.3s ease-in-out;
    }
    .galleryo {
        /* border: 1px solid red; */
        display: flex;
        padding: 0px;
        flex-wrap: wrap;
        justify-content: space-evenly;
        align-items: center;
        gap: 10px;
    }
    .galleryo img {
        width: 170px;
        height: 120px;
        object-fit: cover;
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
        border-radius: 5px;
        margin: 0;
        border: 1px solid lightgray;
        cursor: pointer;
    }
    .inc-chart .alumni-flex-box {
        width: 170px;
        padding: 5px;
        border-radius: 5px;
        border: 1px solid #c7c7c7;
        box-shadow: rgba(99, 99, 99, .2) 0 2px 8px 0;
        background-color: #fef3f2;
        background-image: url(../icons/4.png);
        background-size: 25%;
    }
    .inc-chart .alumni-flex-box img {
        width: 100%;
        object-fit: cover;
        height: 180px;
    }
    .inc-chart .alumni-flex-box h4 {
        font-size: .74rem;
        font-weight: bold;
        text-align: center;
        color: #2e2e2e;
    }
    .inc-chart .alumni-flex-box h3 {
        font-size: .9rem !important;
        margin-top: 5px !important;
        text-align: center !important;
        font-weight: bold !important;
        font-family: var(--heading-font);
        color: var(--main-color) !important;
    }
    .new-blink {
        width: 15%;
    }
    .tab-content > .tab-pane {
        background: var(--light-background);
        border: 3px solid var(--main-color);
        /* padding: 1.1rem; */
        height: fit-content;
        overflow-y: scroll;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
        display: none;
    }
    .tabber-link {
        position: absolute;
        color: rgb(143, 2, 2);
        bottom: 0%;
        font-weight: bold;
        font-size: .8rem;
        right: 7%;
    }
    .icons-homepage ul {
        list-style: none;
        width: 96%;
        background: #fef3f2;
        font-size: .8rem;
        border-bottom: 1px solid var(--main-color);
        border-left: 1px solid var(--main-color);
        border-right: 1px solid var(--main-color);
        margin-top: -5px;
        margin-bottom: 0;
        padding: 5px;
    }
}