
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    display: flex;
    flex-flow: column;
    min-height: 100vh;
    /* max-width: 100vw; */
  }
a {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

header {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    /*  overflow-x: hidden; */
    /* background: #333; */
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

header div {
    display: flex;
    align-items: center;
    justify-content: center;
}

header div img {
    width: clamp(40px, 5vw, 140px);
    height: clamp(40px, 5vw, 140px);
}

header div h1 {
    color: #222;
    font-size: clamp(1rem, 5vw, 3rem);
    margin: 1rem;
}

header nav {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: #333; */
    width: 100%;
}

header nav ul {
    display: flex;
    justify-content: center;
    gap: clamp(0.1rem, 2vw, 2rem);
    align-items: center;
    list-style: none;
    font-size: clamp(1rem, 2vw, 1.5rem);
}

.nav-link {
    padding: 0.5rem;
    border-radius: 5px;
}

.nav-link:hover {
    background-color: #d8d0d0c8;
}

.drop-down {
    position: relative;
    display: inline-block;
}

.drop-down .drop-down-content {
    display: none;
    position: absolute;
    background-color: whitesmoke;
    color: black;
    border-radius: 10px;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.drop-down:hover .drop-down-content {
    display: flex;
    flex-flow: column;
    z-index: 99;
}

.drop-down-content ul {
    width: 100%;
    display: flex;
    gap: 0.5rem;
    font-size: medium;
    /* justify-items: left; */
    align-items: self-start;
    flex-flow: column;
    padding: 1rem;
}

.drop-down-content ul li {
    border-bottom: 1px solid #333;
    padding: 0.3rem;
}

.drop-down-content ul li:hover {
    background: #333;
    color: whitesmoke;
    border-radius: 5px;
    padding: 0.3rem;
}

/* .list-content {
    display: flex;
    flex-flow: column;
  } */

/* mobile navbar */

.nav-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: white;
    color: #222;
}

.mobile-nav {
    display: none;
    width: 100%;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.mobile-nav-container {
    display: flex;
    flex-direction: column;
}

.mobile-nav-container a {
    border-bottom: 1px solid #ccc;
}

.accordion {
    width: 100%;
    display: flex;
    flex-direction: column;

    gap: 1px;
    background-color: white;
    /* border: 1px solid #ccc; */
}

.mobile-nav h1 {
    font-size: 3rem;
}

/* .accordion button {
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    transition: background-color 0.4s ease;
  } */
.accordion-button {
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    transition: background-color 0.4s ease;
}

/* .accordion-button:hover {
    background-color: #ccc;
  } */

.accordion-content {
    display: none;
    flex-direction: column;

    padding: 10px;
    /*  background-color: white; */
    /* border-top: 1px solid #ccc; */
}

.container-faculty {
    width: 100dvw;
    max-height: auto;
}

main {
    flex-grow: 1;
    /*  background: #222; */
  }

  .imgContainerF {
    width: 100dvw;
    height: 50dvh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.imgContainerF img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imgfaculty {
    width: 100%;
    height: auto;
    max-height: 30dvh !important;
}

.title-faculty {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: clamp(1rem, 3vw, 2rem);
}

.FacultyTitle {
    width: 100%;
    height: 60px;
    text-align: left;
    /* background-color: rgba(188, 187, 186, 0.093); */
    display: flex;
    align-items: center;
    padding-left: 10px;
    font-size: clamp(1.1rem, 3vw, 1.2rem);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    color: rgb(104, 138, 250);
    justify-content: center;
    text-transform: uppercase;
    padding: 10px 0px;
    text-align: center;
    /* text-decoration: underline; */
}

.Department {
    width: 100%;
    height: auto;
    background-color: #f0fefe;
    padding: 65px 5px 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cardfaculty{
    width: 100%;
    height: auto;
    display: grid;
    place-content: center;
    place-items: center;
    row-gap: 80px;
    grid-template-rows: auto !important;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)) !important;
}
.containerSideSliderLeft, .containerSideSliderRight{
    width: 2.4rem;
    height: 2.4rem;
    background-color: rgba(193, 237, 250, 0.536);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 4px 0.1px black;
    position: absolute;
    z-index: 998 !important;
    cursor: pointer;
}
.containerSideSliderLeft{
    left: 0;
    margin: 0 10px;
}
.containerSideSliderRight{
    right: 0;
    margin: 0 10px;
}
.card1 {
    width: auto;
    height: 350px;
    border-radius: 15px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    position: relative;
    display: flex;
    justify-content: center;
    align-content: space-evenly center;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
    margin: 0 5px;
}
@media screen and (max-width:360px) {
    .card1{
        width:  340px;
    }    
}
.fprofilepic {
    display: flex;
    justify-content: center;
}

.fprofilepic img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: -56px;
}

.semicircle {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 150px 150px 150px 150px;
    background-color: #f0fefe;
    top: -62px;
}

.fname {
    padding-top: 100px;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    text-align: center;
}

.fdesc {
    padding: 18px;
    text-align: justify;
    text-justify: inter-character !important;
}

.worklable {
    display: flex;
    column-gap: 50px;
    padding-bottom: 20px;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

/* Footer */
.footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
}

.footer p {
    font-size: 1rem;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .navbar {
        display: none;
    }

    .container {
        display: inline-block;
    }
}