/* Default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: black;
}
ul {
  list-style-type: none;
}

body {
  background-color: white;
}
/* shared styles */
.flex {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.formContainer {
  border: 1px solid gainsboro;
  padding: 20px;
  border-radius: 5px;
  width: 35%;
  margin-top: 50px;
}
.formElement {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
  width: 100%;
}
.formElement label {
  font-weight: bold;
}
.formElement input,
textarea {
  border: 1px solid gainsboro;
  border-radius: 5px;
  outline: none;
  font-size: 16px;
  padding: 8px 10px;
  width: 100%;
}
.formElement textarea {
  height: 150px;
  resize: none;
}
.formElement button {
  font-size: 16px;
  padding: 8px 10px;
  cursor: pointer;
  margin-top: 20px;
  border: none;
  background-color: green;
  color: white;
  border-radius: 5px;
}
.inputFlex {
  display: flex;
  gap: 10px;
}
/* main styles */
main {
  width: 100%;
  display: flex;
  gap: 20px;
  min-height: 100vh;
}
#sidebar {
  width: 250px;
  padding: 20px;
  min-height: 100vh;
  background-color: rgba(220, 220, 220, 0.2);
}
#mainSection {
  flex: 1;
  padding: 20px;
}

/* sidebar styles */
#sidebar ul li {
  margin-bottom: 10px;
  padding: 8px 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-weight: 500;
}
#sidebar ul li:hover {
  transition: all 0.3s;
  background-color: #a4d84f;
}
.active {
  background-color: #a4d84f;
}

/* main sections styles */
/* banner */
/* student details table */
.studentDetailsTable {
  width: 100%;
  margin-top: 20px;
}
.studentDetailsTable table {
  width: 100%;
  border-collapse: collapse;
}
.studentDetailsTable table thead {
  background-color: green;
  color: white;
}
.studentDetailsTable table td,
th {
  border: 1px solid gainsboro;
  padding: 8px;
  text-align: center;
  font-size: 15px;
}
.studentDetailsTable button {
  padding: 5px 8px;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 5px;
  color: white;
  font-weight: 600;
}
/* dashboard style */
#dashboard {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}
.dashboardAboutUs {
  margin-top: 20px;
}
.dashboardAboutUs p {
  margin-top: 10px;
  text-align: justify;
}
.statististicsDetails {
  margin-top: 20px;
}
.statististicsDetails {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.statististicsDetails div {
  border: 1px solid gainsboro;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100px;
  border-radius: 5px;
  gap: 10px;
  box-shadow: 0px 0px 5px #a4d84f;
}
.statististicsDetails h4 {
  font-size: 24px;
}
/* bestStudentTeacher section */
#bestStudentTeacher {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 20px;
}
.bestStudent {
  border: 1px solid gainsboro;
  min-height: 170px;
  width: 50%;
  background-color: #f5f5f5;
}
.bestStudent h4 {
  text-align: center;
  background-color: #a4d84f;
  padding: 5px;
}
.bs-container {
  margin-top: 10px;
  display: flex;
  gap: 15px;
  padding: 10px;
}
.bsc-description p {
  font-size: 14px;
  margin-bottom: 2px;
}
.bsc-image {
  width: 100px;
  height: 110px;
  object-fit: cover;
}
.bsc-image img {
  width: 100%;
  height: 100%;
}
/* speech */
.dashboardSpeech {
  display: flex;
  gap: 20px;
}
.principleSpeech {
  margin-top: 20px;
  border: 1px solid gainsboro;
  border-radius: 5px;
  flex: 1;
  padding: 10px;
  max-height: 350px;
  overflow-y: auto;
}
.speechInfo p {
  font-size: 14px;
  margin-bottom: 5px;
}
.speech {
  margin-top: 10px;
  text-align: justify;
  width: 100%;
  font-size: 14px;
}
.principleSpeechContainer img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}
.psc-top {
  display: flex;
  gap: 10px;
}
.principleSpeech h4 {
  margin-bottom: 10px;
}
/* responsive part */
@media screen and (max-width: 1300px) {
  .formContainer {
    width: 50%;
  }
}
