:root {
  --base-font-size: 16px;
}

body {
  background: hsl(60, 7%, 87%);
  font-size: var(--base-font-size);
}


.responsive-font {
  font-size: var(--base-font-size);
}

/* Small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  :root {
    --base-font-size: 12px;
  }
}

/* Medium devices (tablets, 600px to 768px) */
@media only screen and (min-width: 601px) and (max-width: 768px) {
  :root {
    --base-font-size: 14px;
  }
}

/* Large devices (desktops, 769px and up) */
@media only screen and (min-width: 769px) {
  :root {
    --base-font-size: 16px;
  }
}


.midc-title {
  background-image: linear-gradient(to right, rgb(31, 31, 221), rgb(16, 6, 151), rgba(5, 5, 245, 0.708));
  background-repeat: no-repeat;

}
.midc-navbar {
  background-image: linear-gradient(to right, rgb(31, 31, 221), rgb(16, 6, 151), rgba(5, 5, 245, 0.708));
  background-repeat: no-repeat;
  color:#f1f1f1
  

}

.midc-title h1 {
  font-weight: 500;
}

.midc-title h2 {
  font-weight: 400;

}

.midc-navbar:hover {
  background: green;
  transition: width 2s, height 2s, transform 2s;
  transition-timing-function: linear;
  font-size: larger;
  color: black;

}

.midc-title:hover {
  background: green;
  transition: width 2s, height 2s, transform 2s;
  transition-timing-function: linear;
  font-size: larger;
  color: black;

}

.g7-gradient-main-caption {
  /* background-image: linear-gradient(to right, rgba(255, 0, 0, 0), rgb(45, 145, 52), rgb(144, 213, 88, 0)); */
  /* background-image: linear-gradient(to left, rgb(144, 213, 88), gray) */
  background-image: url('../public/background/abstract-technology-background-19002146.webp');
  background-clip: padding-box;
}

/* 
/* Dropdown Content (Hidden by Default) */
.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

*/

/* Links inside the dropdown */
.dropdown-menu a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.nav-item:hover {
  background-color: #e0e0db;
}

li .dropdown-item:hover {
  background-color: #e0e0db;
  color: #000;
}

.g7-bg-login {
  /* The image used */
  background-image: url("/img_nature_wide.jpg");
  min-height: 200px;

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.g7-login-container {
  position: absolute;
  right: 0;
  margin: 20px;
  max-width: 200px;
  padding: 16px;
  background-color: white;
}



.g7-gradient-contact {
  background-image: linear-gradient(to right, rgb(36, 138, 56), rgb(208, 219, 167));
}

a:hover {
  color: pink;
}

.g7-bt-gradient:hover {
  background-image: -moz-linear-gradient(ltr, rgb(78, 121, 142, 0.0), rgb(56, 167, 69, 0.8));

}

h1 {
  font-size: 40px;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(to right, #f32170,
      #ff6b08, #cf23cf, #eedd44);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: none;
}

.floating-social-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
}

.popup {
  display: none;
  position: absolute;
  bottom: 50px;
  left: 0;
  width: 200px;
  padding: 10px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.popup.open {
  display: flex;
  flex-direction: column;
}

.popup a {
  margin-bottom: 10px;
  text-decoration: none;
  color: #333;
  display: flex;
  align-items: center;
}

.popup a:hover {
  color: #007bff;
}

.popup a svg {
  margin-right: 5px;
}

.position-fixed {
  position: fixed;
}

.bottom-0 {
  bottom: 0;
}

.end-0 {
  right: 0;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-links .btn {
  font-size: 1.5rem;
}

/* Table style */
.table-container th.asc:after {
  content: '\0000a0\0025b2';
  float: right;
}

.table-container th.desc:after {
  content: '\0000a0\0025bc';
  float: right;
}

.table-container table td:nth-child(1) {
  width: 5%;
}

.table-container table td:nth-child(2) {
  width: 20%;
}

.table-container table td:nth-child(3) {
  width: 50%;
}

/* Progress bar */
.progress {
  height: 4px;
  width: 100%;
  border-radius: 2px;
  background-clip: padding-box;
  overflow: hidden;
  position: relative;
}

.progress {
  opacity: 0;
}

.htmx-request .progress {
  opacity: 1;
}

.htmx-request.progress {
  opacity: 1;
}

.progress .indeterminate {
  background-color: blue;
}

.progress .indeterminate:before {
  content: '';
  position: absolute;
  background-color: inherit;
  top: 0;
  left: 0;
  bottom: 0;
  will-change: left, right;
  -webkit-animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
  animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
}

.progress .indeterminate:after {
  content: '';
  position: absolute;
  background-color: inherit;
  top: 0;
  left: 0;
  bottom: 0;
  will-change: left, right;
  -webkit-animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
  animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
  -webkit-animation-delay: 1.15s;
  animation-delay: 1.15s;
}

@keyframes indeterminate {
  0% {
    left: -35%;
    right: 100%;
  }

  60% {
    left: 100%;
    right: -90%;
  }

  100% {
    left: 100%;
    right: -90%;
  }
}

@keyframes indeterminate-short {
  0% {
    left: -200%;
    right: 100%;
  }

  60% {
    left: 107%;
    right: -8%;
  }

  100% {
    left: 107%;
    right: -8%;
  }
}

.truncate-multiline {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

[data-aos="rotate-ac"] {
  transform: rotate(180deg);
  transition-property: transform;
}

[data-aos="rotate-ac"].aos-animate {
  transform: rotate(0deg);
}

[data-aos="rotate-c"] {
  transform: rotate(-180deg);
  transition-property: transform;
}

[data-aos="rotate-c"].aos-animate {
  transform: rotate(0deg);
}

#loading-spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1050;
  display: none;
}