@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  --mainColor1: rgb(6, 6, 70);
  --mainColor2: rgb(27, 27, 109);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.main-section {
  width: 100%;
  height: auto;
}

body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  /* font-weight: 600; */
  font-style: normal;
}


.main-content {
  width: 80%;
  margin: 5px auto;
}

/* Staff Profile */
.profile {
  width: 95%;
  margin: 5px auto;
  padding: 5px;
  display: flex;
}

.short-profile {
  width: 30%;
  margin-right: 10px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.short-profile img {
  width: 60%;
  margin-bottom: 10px;
  border-radius: 50%;
  box-shadow: 3px 3px 5px purple;
}

.short-profile span {
  font-size: 18px;
  margin-top: 5px;
}

.long-profile {
  width: 65%;
  padding: 2px;
}

.biodata {
  width: 95%;
  margin: 0dvb auto;
  padding: 2px;
}

.biodata h5,
.personal-contacts h5,
.office-contacts h5,
.about h5 {
  font-size: 18px;
  border-bottom: 2px solid purple;
  margin-bottom: 5px;
  width: fit-content;
}

.bio-tb {
  width: 98%;
  margin: 10px auto;
  border-collapse: collapse;
  font-size: 16px;
  box-shadow: 1px 1px 3px purple;
  border-radius: 5px;
}

.bio-tb th {
  padding: 10px;
  border: 1px solid white;
}

.bio-tb tr {
  padding: 5px;
  width: 100%;
}

.bio-tb tbody tr td {
  padding: 10px;
}

.bio-tb tbody tr:nth-child(odd) {
  background-color: rgb(218, 215, 215);
}

.personal-contacts,
.office-contacts {
  display: flex;
  flex-direction: column;
}

.p-contact {
  display: flex;
  align-items: center;
  font-size: 16px;
  margin: 5px 0;
}

.p-contact i {
  margin-right: 10px;
}

.other-contacts {
  display: flex;
  justify-content: space-between;
  width: 95%;
  margin: 10px 0;
}

.personal-contacts,
.office-contacts {
  width: 45%;
}

.about-box {
  width: 95%;
  margin: 10px auto;
  padding: 5px;
}

.about {
  width: 100%;
  margin: 5px;
}

.about p {
  font-weight: normal;
  margin: 20px 5px;
  text-align: justify;
}

.q-category button {
  width: max-content;
}

.q-table th {
  background-color: white;
  color: black;
  border-bottom: 1px solid black;
}

.prof-qual-table {
  display: none;
}

.nav-toggle i {
  font-size: 20px;
  color: white;
  float: right;
  margin: 10px;
  cursor: pointer;
}

.nav-toggle {
  display: none;
}

.tables {
    width: 100%;
    overflow-x: auto;
}

p {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    /* font-size: 16px;
    color: rgb(107, 107, 107); */
}

/* Responsiveness */
@media screen and (max-width: 580px) {
  .profile {
    flex-direction: column;
    align-items: center;
  }

  .short-profile {
    width: 80%;
    /* flex-direction: row; */
    margin-bottom: 10px;
  }

  .short-profile img {
    width: 30%;
    margin-right: 20px;
  }

  .long-profile {
    width: 98%;
  }
}

@media screen and (max-width: 480px) {

  .bio-tb,
  .biodata {
    width: 100%;
  }

  .other-contacts {
    flex-direction: column;
  }

  .personal-contacts,
  .office-contacts {
    width: 80%;
    margin: 15px 5px;
  }
}
