@import url("../dist/css/bootstrap.min.css");
@import url("../dist/css/all.css");

@font-face {
  font-family: Nunito;
  src: url("../fonts/Nunito-Regular.ttf");
}

:root {
  --header-height: 3rem;
  --nav-width: 68px;
  --first-color: #1a1d22;
  --first-color-light: #ffa903;
  --white-color: #f7f6fb;
  --body-font: "Nunito", sans-serif;
  --normal-font-size: 1rem;
  --z-fixed: 100;
  --font-family: "Roboto", "Poppins", sans-serif;

  --text-primary: #121418;
  --text-secondary: #3d3e42;
  --bg: #c0c0c0;
  --bg-primary: #ffffff;
  --bg-secondary: #f0f0f0;
  --bg-third: #e2e2e2;
  --bg-trasparent: rgba(255, 255, 255, 0.78);
  --transparent: rgba(0, 0, 0, 0.2);

  /* DON't Change! */
  --shadow: 0px 7px 29px 0px rgba(100, 100, 111, 0.2);

  --tran-02: all 0.2s ease;
  --tran-03: all 0.3s ease;
  --tran-04: all 0.4s ease;
  --tran-05: all 0.5s ease;

  --white: #fff;

  --blue-200: #26a8fe;
  --blue-500: #5274f9;
  --blue-600: #0202f5;
  --blue-hover: #323048;
  --blueviolet-500: blueviolet;

  --green-300: #45cdbf;
  --green-500: #2da30f;

  --yellow: #efc076;
  --yellow-300: #efc076;
  --yellow-400: #f0bb00;
  --yellow-500: #ffff00;

  --orange-500: #ff9100;

  --red-50: #f5eaea;
  --red-500: #eb6666;
  --red-600: #ef6081;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

*,
::before,
::after {
  box-sizing: border-box;
}

body {
  position: relative;
  margin: var(--header-height) 0 0 0;
  padding: 0 1rem;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  transition: 0.5s;
}

a {
  text-decoration: none;
}

.card img {
  text-align: center;
}

img {
  max-width: 280px;
  max-height: 180px;
  object-fit: cover;
}

.header {
  width: 100%;
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  background-color: var(--white-color);
  z-index: var(--z-fixed);
  transition: 0.5s;
}

.logo-nav {
  max-width: 22px;
}

.header_toggle {
  color: var(--first-color);
  font-size: 1.5rem;
  cursor: pointer;
}

.header_img {
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
}

.header_img img {
  width: 40px;
  object-fit: cover;
}

.nav_list {
  padding: 0;
  list-style: none;
  max-height: 70vh;
  overflow: hidden;
  overflow-y: auto;
}

.l-navbar {
  position: fixed;
  top: 0;
  left: -30%;
  width: var(--nav-width);
  height: 100vh;
  background-color: var(--first-color);
  padding: 0.5rem 1rem 0 0;
  transition: 0.5s;
  z-index: var(--z-fixed);
}

.nav {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.nav_logo,
.nav_link {
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: center;
  column-gap: 1rem;
  padding: 0.5rem 0 0.5rem 1.5rem;
}

.nav_logo {
  margin-bottom: 2rem;
}

.nav_logo-icon {
  font-size: 1.25rem;
  color: var(--white-color);
}

.nav_logo-name {
  color: var(--white-color);
  font-weight: 700;
}

.nav_link {
  position: relative;
  color: var(--first-color-light);
  margin-bottom: 1.5rem;
  transition: 0.3s;
}

.nav_link:hover {
  color: var(--white-color);
}

.nav_icon {
  font-size: 1.25rem;
}

.show {
  left: 0;
}

.body-pd {
  padding-left: calc(var(--nav-width) + 1rem);
}

.active {
  color: var(--white-color);
}

.active::before {
  content: "";
  position: absolute;
  left: 0;
  width: 2px;
  height: 32px;
  background-color: var(--white-color);
}

.height-100 {
  height: 100vh;
}

main.height-100.bg-light {
  background: #fff !important;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  background-color: var(--bg-trasparent);
  z-index: 99;
}

.modal-overlay.open {
  display: flex;
}

.modal-overlay .modal-close {
  height: 2.375rem;
  width: 2.375rem;
  padding: 0.6rem;
  margin: 2rem auto;
  border-radius: 100px;
  box-shadow: var(--shadow);
  background: transparent;
  font-size: 1.25rem;
  text-align: center;
  cursor: pointer;
}

.modal-overlay .modal-content {
  max-width: 100%;
  max-width: 640px;
  width: max-content;
  height: max-content;
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid var(--gray-100);
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  background: var(--bg-primary);
  transition: var(--tran-05);
  overflow: hidden;
}


@media screen and (min-width: 768px) {
  body {
    margin: calc(var(--header-height) + 1rem) 0 0 0;
    padding-left: calc(var(--nav-width) + 2rem);
  }

  .header {
    height: calc(var(--header-height) + 1rem);
    padding: 0 2rem 0 calc(var(--nav-width) + 2rem);
  }

  .header_img {
    width: 40px;
    height: 40px;
    border-radius: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white-color);
    background-color: var(--first-color);
  }

  .header_img img {
    width: 45px;
  }

  .l-navbar {
    left: 0;
    padding: 1rem 1rem 0 0;
  }

  .show {
    width: calc(var(--nav-width) + 156px);
  }

  .body-pd {
    padding-left: calc(var(--nav-width) + 188px);
  }
}