/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3rem;

  /*========== Colors ==========*/
  --hue: 174;
  --sat: 63%;
  --first-color: hsl(var(--hue), var(--sat), 40%);
  --first-color-alt: hsl(var(--hue), var(--sat), 36%);
  --title-color: hsl(var(--hue), 12%, 15%);
  --text-color: hsl(var(--hue), 8%, 35%);
  --body-color: hsl(var(--hue), 100%, 99%);
  --container-color: #FFF;

  /*========== Font and typography ==========*/
  --body-font: 'Open Sans', sans-serif;
  --h1-font-size: 1.5rem;
  --normal-font-size: .938rem;
  --tiny-font-size: .625rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 968px) {
  :root {
    --h1-font-size: 2.25rem;
    --normal-font-size: 1rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: #F5F7FF;
  color: #000;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.section {
  padding-top: 3rem;
}

.section__title {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  margin-bottom: 1.5rem;
}

.section__height {
  height: 100vh;
}

/*=============== LAYOUT ===============*/
.container {
  max-width: 1440px;
  /* margin-left: 1rem; */
  margin-right: 1rem;
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--container-color);
  z-index: var(--z-fixed);
  transition: .4s;
  transition: background 0.25s ease;
  -webkit-transition: background 0.25s ease;
  -moz-transition: background 0.25s ease;
  -ms-transition: background 0.25s ease;
  -webkit-box-shadow: 0px 5px 21px -5px #CDD1E1;
  -moz-box-shadow: 0px 5px 21px -5px #CDD1E1;
  box-shadow: 0px 5px 21px -5px #CDD1E1;
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__img {
  width: 32px;
  border-radius: 50%;
}

.nav__logo {
  color: var(--title-color);
  font-weight: 600;
  margin-left: 5px;
  font-size: 1.4rem;
}

.separator__content {
  padding-top: 5rem;
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: var(--container-color);
    box-shadow: 0 -1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
    width: 100%;
    height: 4em;
    padding: 0 1rem;
    display: grid;
    align-content: center;
    border-radius: 1.25rem 1.25rem 0 0;
    transition: .4s;
    z-index: 2;
  }
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  h3 {
    font-size: 1.2rem;
  }
  h4 {
    font-size: 1.1rem;
  }
  h6 {
    font-size: 1rem;
  }
  .separator__content{
    padding-top:0;
  }
  .footer {
    margin-bottom: 3rem;
  }
}

.nav__list, 
.nav__link {
  display: flex;
}

.nav__link {
  flex-direction: column;
  align-items: center;
  row-gap: 4px;
  color: var(--title-color);
  font-weight: 600;
}

.nav__list {
  justify-content: space-around;
}

.nav__name {
  font-size: var(--tiny-font-size);
  /* display: none;*/ /* Minimalist design, hidden labels */
}

.nav__icon {
  font-size: 1.5rem;
}

/*Active link*/
.active-link {
  position: relative;
  color: var(--first-color);
  transition: .3s;
}

/* Minimalist design, active link */
/* .active-link::before{
  content: '';
  position: absolute;
  bottom: -.5rem;
  width: 4px;
  height: 4px;
  background-color: var(--first-color);
  border-radius: 50%;
} */

/* Change background header */
.scroll-header {
  box-shadow: 0 1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
}

/*=============== MEDIA QUERIES ===============*/
/* For small devices */
/* Remove if you choose, the minimalist design */
@media screen and (max-width: 320px) {
  .nav__name {
    display: none;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .nav__list {
    justify-content: center;
    column-gap: 3rem;
  }
}

@media screen and (min-width: 767px) {
  body {
    margin: 0;
  }
  .section {
    padding: 7rem 0 2rem;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem); /* 4.5rem */
  }
  .nav__img {
    display: none;
  }
  .nav__icon {
    display: none;
  }
  .nav__name {
    font-size: 1.4rem;
    /* display: block; */ /* Minimalist design, visible labels */
  }
  .nav__link:hover {
    color: var(--first-color);
  }

  /* First design, remove if you choose the minimalist design */
  .active-link::before {
    content: '';
    position: absolute;
    bottom: -.75rem;
    width: 4px;
    height: 4px;
    background-color: var(--first-color);
    border-radius: 50%;
  }

  /* Minimalist design */
  /* .active-link::before{
      bottom: -.75rem;
  } */
}

/* For large devices */
@media screen and (min-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 0px solid #e3e3e3;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.09) 0px 3px 12px;
  margin-bottom: 0.8rem;
}

.img-hover-zoom {
  overflow: hidden;
}

.img-hover-zoom img {
  transition: transform .5s ease;
}

.img-hover-zoom:hover img {
  transform: scale(1.2);
}

a:link {
  text-decoration: none;
  color: black;
}

a:visited {
  text-decoration: none;
  color: black;
}

a:hover {
  text-decoration: none;
  color: green;
}

a:active {
  text-decoration: none;
}

.data-img-thumnail {
  height: 200px;
}

.card-widget {
  background-color: #F5F7FF;
  padding: 1rem;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 18px 50px -10px;
}

.card-body {
  padding: .7rem;
}

.badge-tag {
  color: #24990b;
  background-color: #d7f4de;
  font-weight: bold;
}

/* .active {
  background-color: #5dd925 !important;
} */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: #000;
  margin: 0px 0 15px;
  line-height: normal;
}

.footer {
  padding: 1.3rem;
  background-color: #2d323e;
  color: white;
  margin-top: 2rem;
}

.button-menu {
  background-color: #fff;
  background-clip: border-box;
  border: 0px solid #e3e3e3;
  border-radius: 10px;
  color: black;
  padding: .7rem;
  margin-bottom: .5rem;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

.button-menu:hover {
  /* background-color: #dbf0e3; */
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  font-weight: bold;
}

.bg-success {
  color: white;
  background-color: #4cce12 !important;
}

.bg-primary {
  color: white;
  background-color: #6666f0 !important;
}

.bg-info {
  color: white;
  background-color: deepskyblue !important;
}

.bg-warning {
  color: white;
  background-color: #ee8e3a !important;
}

.bg-danger {
  color: white;
  background-color: #ee4c4c !important;
}

.button-menu-category {
  padding: 1rem !important;
  text-align: center;
  /* font-weight: bold; */
  font-size: 1.6rem;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.button-menu-title {
  padding: 1rem !important;
  text-align: center;
  /* font-weight: bold; */
  font-size: 1.6rem;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.button-menu-title:hover {
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  font-weight: bold;
}

.section__title {
  display: inline-block;
  padding: .2em .5em;
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}

.section__menu {
  display: inline-block;
  padding: .2em .8em;
  transform: rotate(359deg);
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
}

.navbar-brand {
  padding-left: 5rem;
}

.nav-link {
  color: black !important;
}

.logo-second {
  margin-left: 10px;
}

.list-border li {
  border-bottom: 1.5px dashed #b7b5a9;
}

.col-6 {
  padding-right: 0;
}

.related-link {
  cursor: pointer;
  margin-bottom: .5rem;
  margin-top: .5rem;
}

.related-link > a {
  color: white;
}

.main-content {
  margin-top: 4rem;
}

.carousel-caption > h3, .carousel-caption > p {
display: inline;
background-color: #33333b;
color: white;
}

.bg-random {
  background: linear-gradient(124deg, LightBlue, LightCyan, LightGreen, LightSkyBlue, LightSlateGrey, MediumPurple, MidnightBlue, Pink, Thistle, YellowGreen, Aquamarine, AliceBlue, Lavender, MidnightBlue);
  background-size: auto;
  background-size: 1600% 1600%;
  -webkit-animation: AnimationName 20s ease infinite;
  -moz-animation: AnimationName 20s ease infinite;
  animation: AnimationName 20s ease infinite;
}

.accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  overflow-anchor: none;
  cursor: pointer;
  background-color: transparent;
  text-wrap: wrap;
}

@-webkit-keyframes AnimationName {
  0% {
      background-position: 0% 52%
  }

  50% {
      background-position: 100% 49%
  }

  100% {
      background-position: 0% 52%
  }
}

@-moz-keyframes AnimationName {
  0% {
      background-position: 0% 52%
  }

  50% {
      background-position: 100% 49%
  }

  100% {
      background-position: 0% 52%
  }
}

@keyframes AnimationName {
  0% {
      background-position: 0% 52%
  }

  50% {
      background-position: 100% 49%
  }

  100% {
      background-position: 0% 52%
  }
}

/* navbar becomes mobile sidebar under lg breakpoint */
@media (max-width: 992px) {

  .navbar-collapse.collapsing .navbar-nav {
      display: block;
      position: fixed;
      top: 0;
      bottom: 0;
      left: -70%;
      transition: all 0.2s ease;
  }

  .navbar-collapse.show .navbar-nav {
      position: fixed;
      top: 0;
      bottom: 0;
      left: 0;
      flex-direction: column;
      height: auto;
      width: 70%;
      transition: left 0.35s ease;
      box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
      padding-left: .5rem;
  }

  .navbar-brand {
      padding-left: 0rem;
      font-size: .9rem;
  }

  .nav__logo {
      font-size: .9rem;
  }

  .logo-second {
      right: 10px;
      position: absolute;
      margin-left: 0;
  }

  .main-content {
  margin-top: 7rem;
  }

  .card-text:last-child {
  font-size: .8rem;
  }
}