*{
    margin: 0;
    padding: 0;
}
body{
    width: 99.5vw;
    height: 100vh;
    margin: auto;
}

/* college descreption */

#col-desc{
    width: 100%;
    height: 10%;
    display: flex;
    flex-direction: row;
}
#logo{
    height: 100%;
}
#logo img{
    height: 100%;
    background-color: rgba(0,0,0,0.1);
}
#red{
    width: 60%;
    height: 100%;
    background-color: #cf2c31;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 0 8px;
}
#blue{
    width: 20%;
    height: 100%;
    background-color: #071b8b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}
.col-details{
    width: 80%;
}
.col-contacts{
    width: 20%;
}
.col-details p{
    font-size: 1vw;
}
#mail,#phone{
    color: white;
    text-decoration: none;
    line-height: 20px;
    font-size: 1vw;
}
#blue p{
    line-height: 25px;
    font-size: 1vw;
}
#mail:hover,#phone:hover{
    color: black;
    text-decoration: none;
}

/* header */
#menu-img{
    width: 99.5vw;
}
.overlay{
    width: 99.5vw;
    height: 10%;
    position: absolute;
    top: 10%;
    background-color: rgba(255,255,255,0.5);
}
header{
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav{
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    top: 10%;
    height: 10%;
}
.nav ul{
    display: flex;
    margin: auto;
}

.nav ul li{
    margin: 10px;
}
.nav li{
    list-style-type: none;
    position: relative;
}
.nav li a{
    text-decoration: none;
    color: black;
    font-size: 1.2vw;
    padding: 5px;
    position: relative;
}
.nav li ul{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    margin-top: 1vh;
    border-radius: 5%;
    display: none;
    opacity: 0;
    z-index: 1;
}
.nav li ul li{
    line-height: 2vh;
    width: max-content;
    margin: 20px;
    position: relative;
    text-align: left;
    font-weight: 500;
}
.nav li ul li a:hover{
    color: #071b8b;
}
.nav li:hover .hover-color{
    border-bottom: solid 5px #cf2c31;
}
.nav li:hover > ul{
    display: block;
    opacity: 1;
}
.nav li ul li ul{
    position: absolute;
    left: 100%;
    transform: translateY(-20%);
}
#down-caret{
    position: relative;
    float: right;
    margin-left: 0;
    width: 1.2vw;
    height: 3vh;
}
#right-caret{
    float: right;
    width: 2vw;
    height: 3vh;
    margin-left: 0;
}
h1{
    color: white;
    position: absolute;
    top: 30%;
    left: 10%;
    font-size: 1.5vw;
}
h1 a{
    color: white;
}
h1 a:hover{
    color: #cf2c31;
}
#nav-span{
    font-size: 2vw;
}

/* Links and Details */
.links-and-details{
    display: flex;
    margin: 3% 0;
}
#link-section-seperator{
    background-color: #071b8b;
    height: 0.1vh;
    margin: 5px;
}
.links-details{
    display: flex;
    flex-direction: column;
    margin-left: 5%;
    width: 30%;
}
.links-details h2{
    margin-bottom: 0;
    color: #071b8b;
    font-size: 2vw;
}
.links-details p{
    font-size: 1.3vw;
    color: #555555;
}
.links-details p a{
    text-decoration: none;
}
.links-container{
    /* width: 99.5vw; */
    display: flex;
    width: 90vw;
}
.useful-links{
    /* flex: 1; */
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    margin: 20px 20px 20px 0;
}
.useful-links a{
    color: black;
    text-decoration: none;
    font-size: 1.4vw;
    line-height: 5vh;
}
.useful-links p a:hover{
    color: #071b8b;
}
#tick-emoji{
    color: #cf2c31;
}
.get-in-touch{
    width: 30%;
}
.get-in-touch p{
    line-height: 5vh;
    font-size: large;
}
.get-in-touch h2{
    color: #071b8b;
    margin-bottom: 20px;
}
.get-in-touch a{
    color: black;
    text-decoration: none;
}
/* footer */
footer{
    width: 99.5vw;
    background-color: #071b8b;
    height: 8vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.foot-conts{
    width: 95%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
}
.foot-conts p{
    color: white;
}
.foot-conts a{
    text-decoration: none;
}
#top{
    font-size: 3vw;
    display: flex;
    align-items: center;
}
#top-nav{
    visibility: hidden;
    font-size: 2vw;
    align-items: center;
}
#top:hover > #top-nav{
    visibility: visible;
}

/* IQAC Description */
#depdetails{
    width: 90%;
    border: solid 2px #cf2c31;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.department-list{
    margin: 3%;
    width: 100%;
    height: 10%;
}

.department-list ul{
    width: 80%;
    height: 8vh;
    display: flex;
    align-items: center;
    justify-content: center;
    list-style-type: none;
    gap: 3%;
    margin: auto;
    background-color: #cf2c31;
    border-radius: 10px;
}

.department-list ul li{
    width:8%;
    height: 50%;
    color: #fff;
    font-size: 1.2vw;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.department-list ul li a{
    text-decoration: none;
    color: #fff;
}

.department-list ul li.active a{
    color: #cf2c31;
}

.active{
    background-color: white;
    color: #cf2c31 !important;
}

.bed,.cse,.civil,.ece,.eee,.it,.mech,.dms,.dca{
    width: 100%;
    height: 30%;
}

.bed ul,
.cse ul,
.civil ul,
.ece ul,
.eee ul,
.it ul,
.mech ul,
.dms ul,
.dca ul {
    width: 80%;
    height: 8vh;
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5%;
    margin: 0 auto;
}

.bed ul li,
.cse ul li,
.civil ul li,
.ece ul li,
.eee ul li,
.it ul li,
.mech ul li,
.dms ul li,
.dca ul li{
    border-radius: 50px;
    color: black;
    width: 15%;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2vw;
}
.bed h2,
.cse h2,
.civil h2,
.ece h2,
.eee h2,
.it h2,
.mech h2,
.dms h2,
.dca h2{
    text-align: center;
    color: #071b8b;
    font-size: 2.4vw;
    margin: 2%;
    font-weight: 600;
}
.bed p,
.cse p,
.civil p,
.ece p,
.eee p,
.it p,
.mech p,
.dms p,
.dca p{
    color: grey;
    width: 80%;
    margin: auto;
    font-size: 1.3vw;
    line-height: 4vh;
}

.bed h3,
.cse h3,
.civil h3,
.ece h3,
.eee h3,
.it h3,
.mech h3,
.dms h3,
.dca h3{
    color: #cf2c31;
    display: inline-block;
    margin: auto;
    font-size: 1.4vw;
    width: 80%;
    display: flex;
    margin-top: 2%;
    margin-bottom: 2%;
}

.dep-active{
    background-color: #071b8b;
    color: white !important;
}

#about,#vsnmsn,#labs,
#about1,#vsnmsn1,#labs1,#club1,
#about2,#vsnmsn2,#labs2,#club2,
#about3,#vsnmsn3,#labs3,#club3,
#about4,#vsnmsn4,#labs4,#club4,
#about5,#vsnmsn5,#labs5,
#about6,#vsnmsn6,#labs6,#club6,
#about7,#club7,
#BED,#CSE,#ECE,#EEE,#DMS,#DCA,#MECH,#IT,#CIVIL{
    cursor: pointer;
}

#about-dep,#vision-mission,#laboratories{
    display: none;
}

#about-dep1,#vision-mission1,#laboratories1,#clubs1{
    display: none;
}

#about-dep2,#vision-mission2,#laboratories2,#clubs2{
    display: none;
}

#about-dep3,#vision-mission3,#laboratories3,#clubs3{
    display: none;
}

#about-dep4,#vision-mission4,#laboratories4,#clubs4{
    display: none;
}

#about-dep5,#vision-mission5,#laboratories5{
    display: none;
}

#about-dep6,#vision-mission6,#laboratories6,#clubs6{
    display: none;
}

#about-dep7,#clubs7{
    display: none;
}

.active-sub{
    display: block !important;
}
#bed,#cse,#civil,#dca,#ece,#eee,#it,#mech,#dms{
    display: none;
}

.bold-head{
    font-weight: 800;
}
.line-height{
    line-height: 5vh;
}
#mimic-logo{
    margin-left: 25vw;
    margin-bottom: 3%;
}

.dep-isactive{
    display: block !important;
}

table {
    border-collapse: collapse;
    width: 60%;
    margin: auto;
    border: 1px solid #ccc; /* Add light grey border to the table */
}

th, td {
    text-align: center;
    padding: 8px;
    border-bottom: 1px solid #ccc; /* Add light grey border to table rows */
    border-right: 1px solid #ccc; 
    font-size: 1.2vw;
}

tr:nth-child(even) {
    background-color: #f2f2f2; /* Add a light grey background to even rows */
}

.lab-images{
    width: 60%;
    display: flex;
    margin: 2% auto;
    justify-content: center;
}

.lab-images img{
    width: 33%;
    margin: 2% auto;
}

#seamic-grp,#aicte-grp,#espice-grp,#micame-grp{
    width: 80%;
    margin: auto;
    display: flex;
}

#seamic-p,#aicte-p,#espice-p,#micame-p{
    width: 70%;
    margin: auto;
    float: left;
}

#espice-img,#micame-img{
    width: 25%;
}

#espice-img{
    height: 95%;
}

#seamic-img,#aicte-img,#espice-img{
    margin-left: 5%;
}

/* media queris for responsive design */


@media screen and (max-width: 600px) {
    #col-desc{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mobile-nav{
        display: flex;
        display: inline-block;
        position: absolute;
        top: 13.5%;
        right: 5%;
        border: solid 1px black;
        padding: 0 2%;
        background-color: rgba(0,0,0,0.5);
        border-radius: 5%;
    }
    .hamburger{
        position: relative;
        display:block;
        width:35px;
        cursor:pointer;
        appearance:none;
        background:none;
        outline:none;
        border:none;
        float: right;
    }
    .hamburger .bar,.hamburger:after, .hamburger:before{
        content:'';
        display:block;
        width:100%;
        height:5px;
        background-color: #fff;
        margin:6px 0px;
        transition:0.4s;
    }
     .hamburger.is-active:before{
        transform:rotate(-45deg) translate(-8px,6px);
    }
    .hamburger.is-active:after{
        transform:rotate(45deg) translate(-9px,-8px);
    }
    .hamburger.is-active .bar{
        opacity:0;
    }
    .nav{
        flex-direction: column;
        background-color: rgba(255,255,255,0.99);
        border: solid 1px rgba(0,0,0,0.5);
        border-radius: 3%;
        width: 70%;
        height: max-content;
        top: 23%;
        visibility: hidden;
        transform: scaleY(0);
        transform-origin: top center;
        transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
        opacity: 0;
    }
    .nav.visibility {
        transform: scaleY(1);
        opacity: 1;
        visibility: visible;
    }
    .visibility{
        visibility: visible;
        transition: 0.5s;
    }
    .nav li ul{
        border: solid 1px rgba(0,0,0,0.5);
    }
    .nav ul{
        flex-direction: column;
    }
    #down-caret{
        width: 5vw;
        float: initial;
        position: absolute;
        left: 100%;
        transform: translateY(-5%);
    }
    .nav li a{
        font-size: 100%;
        line-height: 3vh;
    }
    .anomaly{
        position: relative;
        background-color: red;
    }
    .anomaly-sub{
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    #obe{
        display: none;
    }
    .overlay{
        display: none;
    }
    #logo{
        width: 100vw;
        display: flex;
        align-items: center;
    }
    #logo img{
        width: 100%;
        background-color: white;
    }
    #blue,#red{
        display: none;
    }
    h1{
        top: 14%;
        font-size: 4.5vw;
    }
    #nav-span{
        font-size: 3.5vw;
    }
   #Description h2{
    width: 90vw;
    font-size: 5.5vw;
   }
   #Description h3{
    font-size: 5.2vw;
   }
   #Description p{
    font-size: 3.9vw;
    line-height: 3vh;
   }
   #Description li{
    font-size: 3.5vw;
   }

   #depdetails{
    width: 95%;
   }

   .department-list ul{
    flex-wrap: wrap;
    width: 90%;
    height: max-content !important;
    gap: 5%;
   }

   .department-list ul li{
    width: 20%;
    margin: 10px;
   }

   .department-list ul li a{
    font-size: 5vw;
   }

   .bed ul,.cse ul,.civil ul,.ece ul,.eee ul,.it ul,.mech ul,.dms ul,.dca ul{
    width: 100%;
    margin: auto;
    flex-wrap: wrap;
    margin-bottom: 25px;
   }

   .bed ul li,.cse ul li,.civil  ul li,.ece ul li,.eee ul li,.it ul li,.mech ul li,.dms ul li,.dca ul li{
    width: 40%;
    font-size: 3vw;
   }

   .bed h2,.cse h2,.civil h2,.ece h2,.eee h2,.it h2,.mech h2,.dms h2,.dca h2{
    font-size: 4.5vw;
   }

   .bed h3,.cse h3,.civil h3,.ece h3,.eee h3,.it h3,.mech h3,.dms h3,.dca h3{
    font-size: 4vw;
    width: 90%;
   }

   .bed p,.cse p,.civil p,.ece p,.eee p,.it p,.mech p,.dms p,.dca p{
    width: 90%;
    font-size: 4vw;
   }

   table {
    width: 80%;
   }

   th,td{
    font-size: 3vw;
   }

   .lab-images{
    flex-direction: column;
    width: 100%;
   }

   .lab-images img{
    width: 80%;
   }

   #seamic-grp,#aicte-grp,#espice-grp,#micame-grp{
    flex-direction: column;
    width: 100%;
   }

   #seamic-p,#aicte-p,#espice-p,#micame-p{
    width: 90%;
   }

   #espice-img{
    width: 90%;
   }

    #mimic-logo{
        margin: auto;
        width: 100%;
    }
   
   footer{
    width: 100vw;
   }
   .links-and-details{
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
   }
   .get-in-touch h2{
    font-size: 5vw;
    width: 200%;
   }
   .links-details h2{
    font-size: 5vw;
   }
   #contact-p-responsive{
    font-size: 4vw;
    margin-top: 0;
    width: 250%;
   }
   .useful-links p a{
    font-size: 4vw;
   }
   .get-in-touch{
    margin: 20px;
   }
   .get-in-touch p{
    line-height: 3vh;
    font-size: 4vw;
    width: 300%;
   }
}
