@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap");
@tailwind base;
@tailwind components;
@tailwind utilities;

html {
  height: 100%;
  height: -webkit-fill-available;
}

.container-fluid {
  height: 100%;
}

#app {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "DM Sans", sans-serif;
  margin: 0;
}

body.admin-bar {
  min-height: calc(100vh - 32px);
}

.sidebar-with-farmacloud {
  margin-top: 20px;
}

.fixed-header-with-farmacloud {
  margin-top: 20px;
}

.sidebar-with-farmacloud-and-wpadminbar {
  margin-top: 46px;
}

.fixed-header-with-farmacloud-and-wpadminbar {
  margin-top: 46px;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.main {
  display: flex;
  flex: 1;
}

main.main-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

footer {
  padding: 20px;
  background-color: var(--bs-light);
}

footer p {
  color: var(--bs-dark);
  font-weight: 700;
  font-size: 13px;
  margin: 0;
}

::after,
::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

h1 {
  font-weight: 600;
  font-size: 1.5rem;
}

/* Course Page */
.course-page .course-image,
.course-page .course-image img {
  border-radius: var(--bs-border-radius);
}

.course-page .course-image img {
  max-height: 480px;
  object-fit: cover;
}

.course-page .course-image i {
  font-size: 72px;
}

.course-page .course-details {
  padding: 15px 30px;
  border-radius: var(--bs-border-radius);
  background-color: var(--bs-light);
}

.course-page .course-details .detail {
  margin: 0 15px;
}

.course-page .course-details .detail p {
  font-size: 13px;
  font-weight: 700;
  color: #3d3f49;
}

@keyframes fade-in-out {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

.fade-in-out {
  animation: fade-in-out 2s infinite;
}

@media screen and (max-width: 600px) {
  #wpadminbar {
    position: fixed !important;
  }
}