.modal-container {
  display: flex;
  flex-direction: column; /* Stack header, content, and footer vertically */
  justify-content: flex-start;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1040;
  background-color: rgba(0, 0, 0, 1);
  backdrop-filter: blur(3px);
}
/* Two classes (0,2,0) beats .modal-container (0,1,0), so order doesn't matter */
.modal-container.hidden {
  display: none;
}
.modal-fullscreen-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  min-height: 0;
}
.modal-fullscreen-content:fullscreen {
  width: 100%;
  height: 100%;
  background-color: #000;
}
.modal-header-img {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}
.image-counter {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  padding-left: 1rem;
}
.image-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.image-loader {
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  transition: opacity 0.15s;
}
.image-loader.is-loading {
  opacity: 1;
}

.my-modal {
  /*border: blue solid 1px;*/
  flex: 1;
  min-height: 0;
  box-sizing: border-box;
  padding: 0 1rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-container {
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.modal-btn {
  color: rgba(255, 255, 255, 0.65);
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 15%;
  transition: color 0.15s, background-color 0.15s, transform 0.1s;
}
.modal-btn:hover {
  color: #fff;
}
/* Animation Control for button click */
.modal-btn:active {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(0.85);
}
/* To remove the focus outline that appears on button click */
.modal-btn:focus,
.modal-btn:focus-visible {
  outline: none;
}
/* Fade the buttons out in full screen on inactivity. */
.modal-fullscreen-content .modal-header-img {
  transition: opacity 0.25s ease;
}
.modal-fullscreen-content.controls-hidden .modal-header-img {
  opacity: 0;
  pointer-events: none;
}
#full-image {
  /*border: red solid 5px;*/
  width: auto;
  /* To allow the image to resize on smaller screen without destroying aspect ratio */
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
}
.modal-footer-img {
  display: none;
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
  padding: 0.5rem 1rem;
}
@media (max-width: 576px) {
  .my-modal {
    padding-right: 0;
    padding-left: 0;
  }

  .fullscreen-btn {
    display: none;
  }

  .modal-header-img .nav-prev-btn,
  .modal-header-img .nav-next-btn {
    display: none;
  }

  .modal-footer-img {
    display: flex;
  }

  .modal-footer-img .modal-btn {
    min-width: 5rem;
    min-height: 3rem;
  }
}

.jumbotron {
  margin-top: 2rem;
  color: black;
}

.navbar-dark .navbar-brand {
  color: red;
}

.my-img {
  padding-top: 10px;
  padding-bottom: 14px;
  transition: 0.3s;
}

.my-img:hover {
  opacity: 0.7;
}

.iframe-container {
  padding-top: 10px;
  padding-bottom: 14px;
  margin: auto;
  width: 100%;
}

.iframe-container iframe {
  top: 0;
  left: 0;
  width: 100%;
}




