html,
body {
  height: 100%;
  font-family: "Inter", sans-serif;
}

a,
.link-primary {
  color: #6750f9 !important;
  text-decoration: none;
}

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

*:focus-visible {
  outline: none;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content {
  flex: 1;
}

.text-primary {
  color: #6750f9 !important;
}

.form-check-input:checked {
  background-color: #6750f9 !important;
  border-color: #6750f9 !important;
}

.form-check-input:focus {
  box-shadow: none !important;
}

.form-check-input {
  border-color: rgb(103, 80, 249, 0.3) !important;
}

.form-floating > .form-control:focus ~ label::after {
  box-shadow: 0 -2px 5px -3px rgb(103, 80, 249, 0.3) !important;
}

.form-floating label {
  font-size: 15px;
  line-height: 1.8 !important;
}

@media screen and (max-width: 480px) {
  .form-floating input,
  .form-floating label {
    font-size: 14px;
    line-height: 1.8 !important;
  }
}

.form-select:focus {
  box-shadow: none !important;
  border-color: rgb(103, 80, 249, 0.2) !important;
}

.border-primary {
  border-color: rgb(103, 80, 249, 0.3) !important;
}

.btn {
  min-width: 160px;
}

button:focus:not(:focus-visible) {
  box-shadow: none;
}

.btn.delete-btn {
  color: #bb2d3b !important;
  background-color: transparent;
  border-color: #bb2d3b !important;
}
.btn.delete-btn:hover,
.btn.delete-btn:focus,
.btn.delete-btn:active {
  color: #fff !important;
  background-color: #b02a37 !important;
  border-color: #b02a37 !important;
}

.btn:hover,
.btn:focus,
.btn:active {
  color: #fff !important;
  background-color: rgb(103, 80, 249, 0.9) !important;
  border-color: rgb(103, 80, 249, 0.9) !important;
}

.btn:focus-visible {
  box-shadow: none;
}

.btn-check:checked + .btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check) + .btn:active {
  background-color: #6750f9 !important;
  color: #fff !important;
}

.btn-primary {
  background-color: #6750f9 !important;
  border-color: #6750f9 !important;
}

.btn-outline-primary {
  color: #6750f9 !important;
  border: 1px solid #6750f9 !important;
}

.btn-outline-primary:focus {
  background-color: transparent !important;
  color: #6750f9 !important;
}

.btn-close {
  font-size: 12px;
  position: relative;
  top: -8px;
  right: -2px;
}

.border-primary-subtle {
  border-color: rgb(103, 80, 249, 0.3) !important;
}

.btn-group .btn-outline-primary.active {
  background-color: #6750f9 !important;
  border-color: #6750f9 !important;
  color: #fff !important;
}

.link-primary:focus,
.link-primary:hover,
.link-primary:active {
  color: rgb(103, 80, 249, 0.8) !important;
}

.border-top {
  border-top-color: rgb(103, 80, 249, 0.3) !important;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: transparent;
}

@media screen and (max-width: 480px) {
  .dropdown-menu-end[data-bs-popper] {
    transform: translateX(28%);
  }
}

.bg-primary {
  background-color: #6750f9 !important;
}

/* Nav */
.nav-link:focus-visible {
  box-shadow: none;
}

header .nav-link {
  text-decoration: none;
  color: #6750f9;
  position: relative;
}

header .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #6750f9;
  bottom: 0;
  left: 50%;
  transition: width 0.3s, left 0.3s;
  transform: translateX(0%);
}

header .nav-link:hover::after,
header .nav-link:focus::after {
  width: 100%;
  left: 0;
}

.logo-wrapp {
  font-size: 16px;
  opacity: 0.9;
}

.logo {
  width: 132px;
}

@media screen and (max-width: 580px) {
  .nav-right-button {
    margin: auto;
  }
}

main.content {
  /* margin-top: 80px; */
  transition: margin-top 0.3s ease-in-out;
}

/* Navbar */
@media screen and (max-width: 990px) {
  .nav-mobile {
    width: 100%;
  }
}

.navbar {
  transition: box-shadow 0.3s ease-in-out;
}

.navbar .container {
  padding: 0 15px;
}

.navbar.fixed-top {
  background: #fff;
}

.navbar-toggler {
  position: relative;
  width: 36px;
  height: 34px;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  border-color: rgb(103, 80, 249, 0.3) !important;
}

.navbar-toggler span {
  width: 18px;
  height: 2px;
  background-color: rgb(103, 80, 249, 0.9) !important;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.navbar-toggler[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-collapse {
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}

.navbar-collapse.show {
  box-shadow: rgba(103, 80, 249, 0.25) 0 0 4px 1px;
  border-radius: 4px;
  padding: 8px;
}

.navbar.scrolled {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.btn-header-desktop,
.btn-header-mobile {
  background-color: #2684f9 !important;
  border: 1px solid #2684f9 !important;
}

.btn-header-desktop:hover,
.btn-header-mobile:hover,
.btn-header-desktop:focus,
.btn-header-mobile:focus,
.btn-header-desktop:active,
.btn-header-mobile:active,
:not(.btn-check) + .btn-header-mobile.btn:active,
:not(.btn-check) + .btn-header-desktop.btn:active {
  background-color: #0c6de5 !important;
  border: 1px solid #0c6de5 !important;
}

.btn-header-desktop {
  display: none;
}

@media screen and (min-width: 992px) {
  .btn-header-desktop {
    display: block;
  }
}

.btn-header-mobile {
  display: block;
}

@media screen and (min-width: 992px) {
  .btn-header-mobile {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .btn-header-mobile {
    min-width: auto;
    width: 36px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .btn-header-mobile span {
    display: none;
  }

  .logo {
    width: 125px;
  }
}

/* End Nav */

/* Footer */
footer .nav-item {
  border-right: 1px solid rgb(103, 80, 249, 0.3);
  padding-right: 10px;
}

footer .nav-item:last-child {
  border-right: none;
}

footer a:hover,
footer a:focus {
  color: rgb(103, 80, 249, 1) !important;
}
/* End Footer */

/* Form */
.toggle-password {
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  opacity: 0.5;
  pointer-events: none;
}

.form-control {
  border: 1px solid rgb(103, 80, 249, 0.2);
}

.form-control:focus {
  border-color: rgb(103, 80, 249, 0.25);
  box-shadow: 1px 1px 1px 1px rgb(103, 80, 249, 0.25);
}

input:-webkit-autofill {
  background-color: #fff !important;
  transition: background-color 5000s ease-in-out 0s;
}

input:-moz-autofill {
  background-color: #fff !important;
  transition: background-color 5000s ease-in-out 0s;
}

.or-container {
  display: flex;
  align-items: center;
  text-align: center;
}

.or-container hr {
  flex: 1;
  border: none;
  height: 1px;
  background-color: rgb(103, 80, 249, 0.5);
}

.or-text {
  padding: 0 10px;
}
/* End Form */

/* Search bar */
.search-container {
  padding: 12px;
  background: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 0px 4px rgba(0, 0, 0, 0.1);
}

@media screen and (min-width: 480px) {
  .search-container {
    padding: 20px;
  }
}

.input-group .form-control {
  border-right: none;
}

.input-group .btn {
  border-left: none;
}

.search-btn-input {
  min-width: 48px;
  border-radius: 0 8px 8px 0;
}

.form-control:focus {
  box-shadow: none;
  border-color: rgb(103, 80, 249, 0.3);
}

/* VIDEO */
.video_wrapper {
  position: relative;
  margin: 0 auto;
  width: 100%;
  padding-top: 56.25%;
  background-color: #000;
  overflow: hidden;
  border-radius: 8px;
}

@media screen and (min-width: 991px) {
  .video_wrapper_full {
    padding-top: 380px;
  }
}

.videoIframe {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  pointer-events: none;
}

.videoPoster {
  background-image: url("https://img.youtube.com/vi/G4cJ4wviwS8/maxresdefault.jpg");
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: none;

  filter: brightness(85%);
  transition: filter 0.3s ease, background-color 0.3s ease;
}

.videoPoster:hover,
.videoPoster:focus {
  cursor: pointer;
  filter: brightness(95%);
  background-color: rgba(255, 255, 255, 0.1);
}

.videoPoster:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-58%, -50%);
  width: 56px;
  height: 56px;
  border: 3px solid rgb(255, 255, 255, 0.85);
  border-radius: 100%;
  transition: border-color 300ms;
}

.videoPoster:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 0;
  border-left: 20px solid rgb(255, 255, 255, 0.85);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  transition: border-color 300ms;
}

@media screen and (min-width: 768px) {
  .videoPoster:before {
    width: 68px;
    height: 68px;
  }

  .videoPoster:after {
    border-left: 32px solid rgb(255, 255, 255, 0.85);
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
  }
}

.videoPoster:hover:before,
.videoPoster:focus:before {
  border-color: rgb(255, 255, 255, 1);
}

.videoPoster:hover:after,
.videoPoster:focus:after {
  border-left-color: rgb(255, 255, 255, 1);
}

.videoWrapperActive .videoPoster {
  opacity: 0;
  height: 0;
  transition-delay: 0s, 800ms;
}
.videoWrapperActive .videoPoster {
  display: none;
}

/* SECTION PROFILE + DROPDOWN HEADER */

.notifications {
  position: relative;
  cursor: pointer;
  z-index: 2;
}

.notifications .count {
  position: absolute;
  z-index: 4;
  top: -10px;
  right: -5px;
  height: 17px;
  width: 17px;
  overflow: hidden;
  background: #6750f9;
  color: #fff;
  text-align: center;
  border-radius: 100%;
  font-size: 9px;
  font-weight: bold;
  line-height: 17px;
}

.notifications .fa {
  color: #6750f9;
  font-size: 24px;
}

.fa-bell-o {
  transition: transform 0.3s ease-in-out;
}

@keyframes bellRing {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(10deg);
  }
  50% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

a:hover .fa-bell-o {
  animation: bellRing 0.6s ease-in-out;
}

.read:hover,
.unread:hover,
.read:focus,
.unread:focus,
.read:active,
.unread:active,
.btn-notif {
  cursor: pointer;
}

.read {
  background-color: #fff;
}

.dropdown-notif {
  background-color: #fff;
  width: 290px;
}

.dropdown-box-text {
  width: 240px;
  font-size: 15px;
}

@media screen and (min-width: 768px) {
  .dropdown-notif {
    width: 330px;
  }

  .dropdown-box-text {
    width: 280px;
  }
}

li:first-of-type .dropdown-item:hover {
  border-radius: 5px 5px 0 0;
}

.dropdown-notif .btn {
  border-radius: 0 0 5px 5px;
  border-color: rgb(103, 80, 249, 0.3) !important;
  background-color: #ece7f3;
}

.dropdown-notif .badge {
  width: 10px;
  height: 10px;
  padding: 0;
}

#forgotPassword {
  font-size: 15px;
}

@media screen and (max-width: 480px) {
  .section-profile .form-floating {
    min-width: 68%;
  }
}

/* Toast */
.toast {
  background: #fff;
  box-shadow: 0 5px 6px 0 rgba(0, 0, 0, 0.1);
  border-left-color: #329f5d;
  border-left-width: 4px;
  border-top-color: #ade7c4;
  border-right-color: #ade7c4;
  border-bottom-color: #ade7c4;
}

.toast .btn-close {
  top: 8px;
  right: 8px;
  font-size: 9px;
}

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1055;
}
