/* Googlefont Poppins CDN Link */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

:root {
  --primary: #1e90ff;
  --secondary: #ffffff;
  --accent: #ffffff;
  --highlight: #ffffff;
  --highlight2: #295531;
  --highlight3: #5c8c7a;
  --background: rgb(253, 253, 253);
  --background2: rgb(247, 247, 247);
  --text-dark: #1e1e1e;
  --border-gray: gray;
  --hover-primary: rgb(236, 236, 236);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  background: var(--background2);
}
.sidebar {
  position: fixed;
  display: block;
  height: 100%;
  width: 300px;
  background: var(--background);
  transition: all 0.5s ease;
  border-right: 1px solid rgb(230, 230, 230);
}

.sidebar .logo-details {
  height: 80px;
  display: flex;
  align-items: center;
}
.sidebar .logo-details i {
  font-size: 28px;
  font-weight: 500;
  color: var(--text-dark);
  min-width: 60px;
  text-align: center;
}
.sidebar .logo-details .logo_name {
  color: var(--text-dark);
  font-size: 24px;
  font-weight: 500;
}
.sidebar .nav-links {
  margin-top: 10px;
  padding: 0px 10px;
  max-height: 80vh;
  overflow-y: scroll;
  padding-bottom: 10vh;
}
.sidebar .nav-links li {
  position: relative;
  list-style: none;
  display: block;
  margin-bottom: 6px;
  border-radius: 10px;
}
.sidebar .nav-links li a {
  height: 50px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.4s ease;
  border-radius: 10px;
}
.sidebar .nav-links li a span {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.4s ease;
}
.sidebar .nav-links li a.active {
  background: var(--highlight2);
}
.sidebar .nav-links li a.active .links_name {
  color: white;
}
.sidebar .nav-links li a.active .links_name i {
  color: white;
}

.subnav .sidebar-navlinks.active i{
  color: white !important;
}
.subnav .sidebar-navlinks.active:hover i{
  color: black !important;
}
.sidebar .nav-links li a:hover {
  background: var(--hover-primary);
  color: var(--text-dark);
}
.sidebar .nav-links li a:hover .links_name {
  color: var(--text-dark);
}
.sidebar .nav-links li a:hover .links_name i {
  color: var(--text-dark);
}
.sidebar .nav-links li i {
  min-width: 60px;
  text-align: center;
  font-size: 18px;
  color: var(--text-dark);
}
.sidebar .nav-links li a .links_name {
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
}

.sidebar .log_out{
  position: absolute;
  margin-right: 2px;
  bottom: 0;
  width: 100%;
  height: 50px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.4s ease;
  background: var(--background);
  box-shadow: 0px -1px 5px rgba(0, 0, 0, 0.03), 0px -1px 5px rgba(0,0,0,0.01);
}
.sidebar .log_out a{
  border-radius: 10px;
  margin: 0 10px;
}
.sidebar .log_out a:hover {
  background: var(--hover-primary);
  color: var(--text-dark);
}
.home-section {
  position: relative;
  background: var(--background2);
  min-height: 100vh;
  width: calc(100% - 300px);
  left: 300px;
  transition: all 0.5s ease;
}
.sidebar.active ~ .home-section {
  width: 100%;
  left: 0px;
}

.home-section nav {
  display: flex;
  justify-content: space-between;
  min-height: 8vh;
  background: var(--background);
  display: flex;
  align-items: center;
  position: fixed;
  width: calc(100% - 300px);
  left: 300px;
  z-index: 100;
  padding: 15px 20px;
  box-shadow: rgba(17, 17, 26, 0.05) 4px 1px 0px,
    rgba(17, 17, 26, 0.1) 4px 1px 8px;
  transition: all 0.5s ease;
}
.sidebar.active ~ .home-section nav {
  left: 0px;
  width: 100%;
}
.home-section nav .sidebar-button {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 500;
}
nav .sidebar-button i {
  font-size: 35px;
  margin-right: 10px;
}
.sidebar-button2{
  display: none;
}

.subnav {
  display: none;
}

.home-content {
  position: relative;
  padding-top: 70px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
}

.home-section .wholepage-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background-color: #0505052a;
  z-index: 150;
}

/* --------------------------------NAv profile menu start------------------------------ */
.action {
  position: relative;
}

.action .profile {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
}

.action .profile img {
  position: absolute;
  left: 0; 
  right: 0; 
  top: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.action .profile-menu {
  position: absolute;
  top: 100px;
  right: 0px;
  padding: 10px 20px;
  background: #fff;
  width: 250px;
  box-sizing: 0 5px 25px rgba(0, 0, 0, 0.1);
  box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px,
    rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
  border-radius: 5px;
  transition: 0.5s;
  visibility: hidden;
  opacity: 0;
}

.action .profile-menu.active {
  top: 60px;
  visibility: visible;
  opacity: 1;
}

.action .profile-menu::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 16px;
  width: 20px;
  height: 20px;
  background: #fff;
  transform: rotate(45deg);
}

.action .profile-menu h3 {
  width: 100%;
  text-align: center;
  font-size: 18px;
  padding: 20px 0;
  font-weight: 500;
  color: #555;
  line-height: 1.5em;
}

.action .profile-menu h3 span {
  font-size: 14px;
  color: #cecece;
  font-weight: 300;
}

.action .profile-menu ul li {
  list-style: none;
  padding: 16px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.action .profile-menu ul li img {
  max-width: 20px;
  margin-right: 10px;
  opacity: 0.5;
  transition: 0.5s;
}

.action .profile-menu ul li:hover img {
  opacity: 1;
}

.action .profile-menu ul li a {
  display: inline-block;
  text-decoration: none;
  color: #555;
  font-weight: 500;
  transition: 0.5s;
}

.action .profile-menu ul li:hover a {
  color: black;
}
/* --------------------------------NAv profile menu end------------------------------ */
.aw-submit-btn {
  background-color: var(--highlight2);
  color: white;
  border-radius: 6px;
  margin-bottom: 15px;
  margin-top: 15px;
  transition: 0.2s ease-in-out;
}
.aw-submit-btn:hover {
  background-color: var(--highlight3);
}

.card-display {
  box-shadow: rgba(149, 149, 149, 0.24) 0px 3px 8px;
  border-radius: 0.375rem;
}

/* TAb content */
.activeTab{
  border-bottom: 1px solid rgb(165, 165, 165);
  padding-bottom: 5px;
  color: green;
}
.tabcontent {
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
}
.tablink{
  margin-right: 10px;
  font-size: 1.1em;
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* Responsive Media Query */
@media (max-width: 1240px) {
}
@media (max-width: 1150px) {
}
@media (max-width: 1000px) {
}
@media (max-width: 700px) {
  .sidebar {
    left: -300px;
    z-index: 1000;
  }
  .sidebar.active {
    left: 0px;
  }
  .home-section {
    width: 100%;
    left: 0px;
  }
  /* .sidebar.active ~ .home-section {
    width: calc(100% - 300px);
    left: 300px;
  } */

  .home-section nav {
    width: 100%;
    left: 0px;
  }
  .sidebar-button2{
    display: block;
  }
  
}
@media (max-width: 550px) {
}
