/*https://github.com/quarto-dev/quarto-web/blob/main/index.css*/
/*#447099*/

.btn-action-primary {
    color: white;
    background-color: #1D3A83 !important;
}

.btn-action-primary:hover {
    color: white;
}

.btn-action {
    min-width: 165px;
    border-radius: 30px;
    border: none;
}

.dropdown:hover>.dropdown-menu {
    display: block;
}

.dropdown>.dropdown-toggle:active {
    /*Without this, clicking will make it sticky*/
    pointer-events: none;
}

/*ChatGPT*/
span.__dimensions_badge_embed__,
div.altmetric-embed {
    display: inline-block;
}

/*https://stackoverflow.com/questions/35814653/automatic-height-when-embedding-a-youtube-video*/

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*https://www.w3schools.com/howto/howto_css_responsive_iframes.asp*/

.container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 75%;
    /* 56.25% if 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

/* css styles */


.reveal h1 {
    font-size: 64px;
}

/* source: https://github.com/hakimel/reveal.js/issues/1897 */
.reveal h2 {
    text-align: center;
}

.reveal .centeralign {
    text-align: center;
}

.reveal .slide div.aside {
    font-size: 12px;
}

.reveal .scrollable {
    height: 700px;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}


/* Make navbar items equal width */
.navbar-nav {
  width: 100%;
  display: flex;
}

/* .navbar-nav .nav-item {
  flex: 1 1 0;
  text-align: center;
} */

/* Make links fill the space */
.navbar-nav .nav-link {
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar-nav .nav-link {
  font-size: clamp(0.95rem, 1vw, 1rem);
}

