/* Fix ValidMind logo size and alignment */
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter/static/Inter-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* This breaks Font Awesome and all the icons we use — DO NOT UNCOMMENT */
/* Now set via mainfont: Inter in _quarto.yml */
/* body, * {
  font-family: 'Inter', sans-serif !important;
  -webkit-font-smoothing: auto;
}*/

html {
  scroll-padding-top: 150px;
  scroll-behavior: smooth;
}

body {
  color: #1A202C;
}

a {
  color: #DE257E;
  text-decoration: none;
}

a:hover {
  text-decoration: underline 2px solid #083E44;
  /* text-underline-offset: 6px; */
}

a.footnote-ref:hover, a.anchorjs-link:hover {
  /* color: black; */
  text-decoration: none;
}

a.nav-link:hover, a.sidebar-link:hover {
  text-decoration: none;
  color: #DE257E;
}

a.dropdown-item:hover {
  text-decoration: none;
  color: #196972;
  background-color: #EAF8FA;
}

/* NEW NAVBAR LINKS */
a.nav-link, a.dropdown-item {
  position: relative;
}

a.nav-link:not(nav#TOC a.nav-link, .nav-footer a:hover, #nav-menu-log-in:hover):before, 
a.dropdown-item:before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #083E44;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

a.nav-link:not(nav#TOC a.nav-link):hover::before, 
a.dropdown-item:not(nav#TOC a.dropdown-item):hover::before {
  transform: scaleX(1);
}

.dropdown-item:active {
  background-color: white;
}

code {
  color: #083E44;
}

.navbar-brand img {
  height: 100%;
  max-height: 25px;
  margin-top: -10px;
}

.navbar {
  border-bottom: 1px solid #dee2e6;
  padding: 15px;
}

.navbar-nav .dropdown-menu {
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); 
  border-radius: 5px; 
  border: 1px solid #222425;
}

.navbar .dropdown-item {
  padding: .2rem .7rem;
}

.sidebar-navigation .sidebar-divider {
  margin-top: 1rem;
}

.sidebar-item {
  color: #747678;
  padding-top: .3rem;
  line-height: 1.3;
}  

.sidebar-item-container .active {
  position: relative;
}

.sidebar-item-container .active::before {
  content: "";
  position: absolute;
  left: 0;
  top: -0.5rem;
  bottom: -0.5rem;
  width: 3px;
  background-color: #de257e;
  margin-left: -0.7rem;
}

div.callout.callout {
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); 
  border: 1px solid #083E44;
  border-left-width: 5px;
  background: #FAFBFB;
}

.callout-title-container {
  color: #083E44;
  margin-bottom: 10px;
}

.card {
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); 
  border-radius: 5px; 
  border: 1px solid #DE257E;
}

.card-title {
  padding-bottom: 0.2rem;
  font-size: 100%;
  font-weight: bold;
  color: #DE257E;
}

.card:hover {
  border: 1px solid #083E44;
  background-color: #B5B5B510;
}

.quarto-grid-item .card-text {
  font-size: .8em;
}

.video-js {
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid #083E44;
}

pre, pre.python, pre.bash, pre.yaml, pre.markdown {
  background-color: #083E4420;
  padding: 15px;
  border-radius: 5px;
}

.hero {
  position: relative;
  margin-top: -50px;
  padding: 100px;
  color: white;
  min-height: 400px;
  z-index: 1; 
  background-color: #083E44 !important;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0; 
  background: url('assets/img/about-us-esphere.svg') no-repeat;
  background-position: center top; 
  background-size: 1000px;
  z-index: -1;
}

.get-started {
  background-color: #F9F9F9;
  background-image: url('assets/img/ecosystem-checks.svg'), url('assets/img/ecosystem-checks.svg');
  background-repeat: no-repeat, no-repeat;
  background-position: left 20px top 40px, right 20px bottom 40px;
  background-size: 500px; /* Or specify the size if needed */
  padding-top: 50px;
  padding-right: 50px;
  padding-left: 50px;
  margin-bottom: 20px;
}

.training {
  margin-top: 25px;
  padding: 50px;
  padding-bottom: 25px;
  padding-top: 25px;
}

.overview {
  padding-top: 25px;
  padding-right: 50px;
  padding-left: 50px;
  margin-top: 15px;
  margin-bottom: 40px;
}

.releases {
  position: relative;
  margin-top: -35px;
  padding: 75px;
  margin-bottom: -80px;
  padding-bottom: 25px;
  color: white; 
  background-color: #083E44 !important;
  background: url('assets/img/hero-dots.png') no-repeat;
  background-position: left 0px top 0px; 
}

.nav-item {
  padding-right: 15px;
}

.navbar-logo {
  padding-right: 20px;
}

.nav-footer {
  padding-top: 25px;
}

.nav-footer a:hover {
  color: #1A202C;
  text-decoration: none;
}

.alert, .alert-primary {
  background-color: #DE257E;
}

.quarto-announcement-content, .quarto-announcement-action:before {
  color: white !important;
  padding: 5px;
}

.quarto-announcement-content a {
  color: white !important;
}

.quarto-announcement-content a:hover {
  text-decoration: underline 10px solid;
  text-underline-offset: 10px;
}

.smallcaps {
  font-weight: bold;
  font-size: larger;
}

input[type="checkbox"] {
  width: 1em;
  height: 1rem;
}

input[type="checkbox"][disabled][checked] {
  filter: invert(100%) hue-rotate(18deg) brightness(5);
}

input[type="checkbox"][checked] {
  accent-color: #083E44;
}

.attn {
  margin-top: 20px;
  margin-bottom: 40px;
  border: 2px solid #083E44;
  border-left-width: 0px;
  border-right-width: 0px;
  padding-top: 40px;
  padding-bottom: 20px;
  padding-left: 10px;
  padding-right: 40px;
}

.attn h2 {
  color: #083E44;
}

.highlights {
  margin-top: 20px;
  margin-bottom: 40px;
  border: 5px double #3E6C69;
  /* background-color: #EAF8FA; */
  border-left-width: 0px;
  border-right-width: 0px;
  padding-top: 40px;
  padding-bottom: 20px;
  padding-left: 10px;
  padding-right: 40px;
}

.highlights h2 {
  color: #042426;
}

.screenshot {
  border: 1px solid #083E44;
  border-radius: 8px;
  border-right-width: 2px;
  border-bottom-width: 3px;
}

.grow { 
  transition: all .2s ease-in-out; 
}

.grow:hover { 
  transform: scale(1.05); 
}


.image-container {
  position: relative;
  z-index: -1;
}

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  animation: fadeUp 25s infinite;
}

.image-container img:nth-child(1) {
animation-delay: 0s;
}
.image-container img:nth-child(2) {
animation-delay: 5s;
}
.image-container img:nth-child(3) {
  animation-delay: 10s;
}
.image-container img:nth-child(4) {
  animation-delay: 15s;
}
.image-container img:nth-child(5) {
  animation-delay: 20s;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
    }
  10% {
    opacity: 1;
    transform: translateY(0);
    }
  20% {
    opacity: 1;
    transform: translateY(0);
    }
  30% {
    opacity: 0;
    transform: translateY(-20px);
    }
  100% {
    opacity: 0;
          }
      }

figcaption {
  text-align: center;
}

.button {
  color: #DE257E;
  background-color: white;
  text-decoration: none;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  border-radius: 2px;
  border: 1px solid #DE257E;
  font-size: 16px;
  transition: color 0.15s ease-in, background-color 0.15s ease-in;
  font-weight: bold;
  text-align: center;
}

.button:hover {
  color: #083E44;
  text-decoration: none;
  border: 1px solid #083E44;
  background-color: #B5B5B510;
}

.button-pink {
  margin-top: 40px;
  color: white;
  background-color: #DE257E;
  border: 1px solid #DE257E;
  margin-right: 20px;
}

.button-white {
  margin-top: 40px;
  color: #083E44;
  background-color: #EAF8FA;
  border: 1px solid #BBF1F8;
}

.button-green {
  margin-top: 10px;
  color: white;
  background-color: #083E44;
  border: 1px solid #083E44;
}

.cta {
  text-decoration: none;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  border-radius: 2px;
  transition: color 0.15s ease-in, background-color 0.15s ease-in;
  font-weight: bold;
  text-align: center;
  font-variant: small-caps;
  font-size: 20px;
}

.cta:hover {
  text-decoration: none;
  filter: brightness(125%);
}

#nav-menu-log-in {
  background-color: white;
  border: 1px solid #de257e;
  color: #de257e;
  padding: 0.375rem 0.75rem;
  border-radius: 2px;
  text-decoration: none;
  font-weight: bolder;
}

@media (max-width: 768px) {
  #nav-menu-log-in {
    margin-top: 0.5rem; 
  }
}

#nav-menu-log-in:hover {
  text-decoration: none;
  color: white;
  background-color: #de257e;
  border: 1px solid #de257e;
}

.dropdown-menu.dropdown-menu-end.show {
  padding-top: 0.5rem; /* Adjust the value as needed */
}

.video, iframe[src*="youtube.com"] {
  box-shadow: 5px 5px 5px #ccc; 
  border-radius: 5px;
  border: 1px solid #196972;
}

#listing-validmind-academy .thumbnail-image.card-img {
  object-fit: cover;      
  object-position: top;    
  height: 100%;            
  width: 100%;             
}

#listing-validmind-academy .no-anchor.listing-title {
  text-align: center;
}

#listing-validmind-academy .listing-subtitle {
  font-size: smaller;
  text-align: center;
}

.green-bg {
  background-color: #bbe1afff;
  padding: 5px;
  border-radius: 3px;
  color: #0f3b02ff;
  font-size: smaller;
}

.red-bg {
  background-color: #f7bdbaff;
  padding: 5px;
  border-radius: 3px;
  color: #560501ff;
  font-size: smaller;
}

.yellow-bg {
  background-color: #ffe7b7ff;
  padding: 5px;
  border-radius: 3px;
  color: #b67a16ff;
  font-size: smaller;
}

.pink {
  color: #DE257E;
}

.green {
  color: green;
}

.red {
  color: #92130cff;
}

.bubble {
  border: 1px solid #222222;
  padding: 5px;
  border-radius: 15px;
  font-size: smaller;
  line-height: 2.5em;
}

.listing-author {
  margin-top: -25px;
  color: #083E44; 
}

.quarto-listing-default .no-anchor.listing-title a {
  font-size: 18px; 
  color: #DE257E;    
  font-weight: bold;
}

.quarto-listing-default {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #DE257E;
}

.quarto-listing-default .listing-author { 
  margin-top: 0px;
  font-weight: bold;
}

.sidebar-item .menu-text {
  text-transform: uppercase;
  color: #196972;
}

.sidebar-item a .menu-text {
  text-transform: none; 
  color: #585F60;
}

.sidebar-item a:hover .menu-text {
  text-transform: none; 
  color: #DE257E !important; 
}

.sidebar-item-container .sidebar-item-toggle {
  cursor: pointer;
  color: #083E44;
}

hr.sidebar-divider.hi {
  border-top: 1px solid #196972 !important;
}

nav#TOC {
  padding: 13px;
  background-color: white;
  border: 1px solid #bdc1c4;
  /* border-bottom: 2px solid #196972;
  border-right: 2px solid #196972; */
  border-radius: 3px;
  background-color: #FAFBFB;
}

nav#TOC h2#toc-title {
  font-weight: bold;
  color: #196972;
}

nav#TOC ul > li > a.nav-link {
  color: #585F60 !important;
  text-decoration: none;
}

nav#TOC ul > li > a.nav-link:hover, 
nav#TOC ul > li > a.nav-link.active:hover {
  color: #196972 !important; 
  background-color: #EAF8FA;
  text-decoration: none; 
}

nav#TOC ul > li > a.nav-link.active, nav#TOC ul > li > a.nav-link.active:hover {
  color: #DE257E !important;
  text-decoration: none;
}

nav#TOC .toc-actions ul li a.toc-action {
  color: #196972;
  text-decoration: none;
  font-size: 0.9em;
  margin-right: 1em;
}

#quarto-sidebar.sidebar {
  background-color: #FAFBFB;
}

.sidebar-item .sidebar-item-container .sidebar-link.active .menu-text {
  color: #DE257E !important;
}

.feature {
  color: #3E6C69; 
  padding: 15px;
  padding-bottom: 0px;
  background-image: url('validmind.png');
  background-size: 5%;
  background-position: right 5px top 10px; 
  background-repeat: no-repeat;
  border-top: 2px solid #DE257E;
  text-align: justify;
}

.feature strong, .feature b, .feature dt {
  color: #3E6C69; 
  font-weight: bolder;
}

.gclose.gbtn {
  background-color: #083E44;
  border: 3px solid #de257e;
}

.gclose.gbtn:hover {
  background-color: #DE257E;
}

.gclose.gbtn svg path {
  fill: #de257e;
}

.gclose.gbtn:hover svg path {
  fill: white;
}

.glightbox-clean .gdesc-inner {
  background-color: #083E44;
}

.gslide-description .gslide-title {
  background-color: #083E44 !important;
  color: white !important;
}

.gnext.gbtn, .gprev.gbtn {
  background-color: #083E44;
}

.gnext.gbtn:hover, .gprev.gbtn:hover {
  background-color: #3E6C69;
}

.gnext.gbtn svg path, .gprev.gbtn svg path {
  fill: white;
}

h2, .h2 {
  border-bottom: 1px solid #196972;
}

.video-cap {
  padding-bottom: 0.2rem;
  font-size: 100%;
  font-weight: bold;
  color: #196972;
}

#nav-menu-fa-book-open--documentation, #nav-menu-fa-graduation-cap--training, .navbar-nav .nav-item:has(.fa-house) > .nav-link { 
  display: none;
}

button.aa-DetachedSearchButton svg path {
  fill: #de257e !important;
}

button.aa-DetachedSearchButton:hover svg path {
  fill: #AF1A62 !important;
}

/* section#footnotes {
  display: none !important;
}

#quarto-appendix.default {
    border-top: none !important;
} */
 
/* .figure-img
{
  border: 1px solid #222425; 
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); 
  border-radius: 5px;
  padding: 20px;
} */

/* NO MARGIN FOOTNOTES ON MOBILE */
/* @media only screen and (max-width: 767px) {
  .column-margin {
    display: none !important;
  }
} */
