body {
    font-family: "Manrope", Arial, sans-serif !important;
    background: #e8f1f5;
    color: #233746;
}

.container-fluid {
    padding: 0 1rem 2rem;
}

.container-fluid > [class*="col-"] {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 12px 35px rgba(20, 45, 63, 0.1);
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.carousel {
    -webkit-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
}

.jumbotron,
.carousel-item {
    height: 200px;
    border-radius: 0;
}

.jumbotron {
    background-color: #e0e8ef;
    padding: 0px 5px 0px 5px;
    margin: 0px 0px 5px 0px;
}

.jumbotron p {
    font-size: 1.1em;
}

.jumbotron h6 {
    font-size: 1.1em;
}

.jumbotron h5 {
    font-size: 1.5em;
}


div.tweets {
    height: 420px;
    overflow: scroll;
    text-size: 1em;
}

.alert,
.card,
.jumbotron,
.nav,
.carousel {
    box-shadow: 0 5px 16px rgba(20, 45, 63, 0.1);
}

.carousel-caption {
    bottom: 10rem;
    opacity: 0.9;
    height: 3rem;
}

.carousel-caption p span {
    text-align: left;
    font-size: 3.75rem;
    text-shadow: 2px 2px 5px #000;
   /* background-color: rgba(0, 0, 0, 0.5); black with opacity */
}

.carousel-caption h4 {
    text-align: left;
    font-size: 2.75rem;
    text-shadow: 2px 2px 5px #000;
   /* background-color: rgba(0, 0, 0, 0.5); black with opacity */
}

.carousel-caption h6 {
    text-align: left;
    font-size: 1.75rem;
    text-shadow: 2px 2px 5px #000;
   /* background-color: rgba(0, 0, 0, 0.5); black with opacity */
}

.card {
    margin-top: 0.25rem;
    margin-bottom: 1.0rem;
    border: 1px solid #dfe8ee;
    border-radius: 0.75rem;
    overflow: hidden;
}

.shadowedbutton {
    box-shadow: 0 5px 14px rgba(20, 45, 63, 0.14);
    border-radius: 0.5rem;
}

.card-block,
.conference-text {
    font-size: 90%;
}

.card-block {
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 3px;
    padding-right: 3px;
    background-color: #f7f9fb;
}

.committee {
    padding: 3px;
    border-top: 0.05rem solid #e5e5e5;
}

.committee p {
    margin-left: 10px;
}

.card-header {
    padding-top: 4px;
    padding-bottom: 4px;
    background: #123b55 !important;
    border-bottom: 0;
    letter-spacing: 0.02em;
}

.card-block p {
    margin-bottom: 1px;
    margin-top: 1px;
}

.card-block a {
    color: inherit;
}

.nav {
    border-radius: 0.9rem 0.9rem 0 0;
    background: linear-gradient(110deg, #123b55, #1d5e7b) !important;
}

.mynav {
    padding: 1rem 0 0;
}

.list-group-item {
    font-size: 95%;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
    overflow: hidden;
}

.sponsor {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

.sponsor img {
    max-height: 3rem;
}

.sponsor h5 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}


.card-header {
    font-size: 90%;
}

.nav {
    font-size: 85%;
}

.navbar-dark .navbar-nav>li>a:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 0.4rem;
}

.navbar-dark .navbar-nav>.active {
    color: #fff !important;
}


.carousel-container {
  position: relative;
  width: 600px; /* Set a fixed width */
  height: 400px; /* Set a fixed height */
  overflow: hidden; /* This hides images that are outside the container */
}

.image-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out; /* Creates a smooth sliding animation */
  height: 100%;
}

.carousel-image {
  width: 100%;
  height: 100%;
  flex-shrink: 0; /* Prevents images from shrinking */
}

.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

.site-header > .row {
  margin-left: 0;
  margin-right: 0;
}

.site-header {
  position: relative;
  padding-top: 0.5rem;
}

.site-header > .row:first-child {
  position: absolute;
  top: 0.5rem;
  right: 0;
  left: 0;
  z-index: 10;
}

.site-header > .row:first-child > .mynav,
.site-header > .row:last-child > div {
  padding-left: 0;
  padding-right: 0;
}

.site-header > .row:first-child > .mynav {
  padding-top: 0;
}

.site-header .nav {
  border-radius: 0.9rem;
  background: rgba(18, 59, 85, 0.72) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.site-header .carousel {
  overflow: hidden;
  border-radius: 0.9rem;
}

.site-header .carousel-item {
  height: 200px;
  border-radius: 0;
}

.site-header .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.site-header .carousel-caption {
  right: 7%;
  left: 7%;
  bottom: 1.5rem;
  height: auto;
  padding: 1rem 1.25rem;
  border-radius: 0.6rem;
  background: transparent;
}

.site-header .carousel-caption h4 {
  margin-bottom: 0.25rem;
  font-size: clamp(1.7rem, 3vw, 2.75rem);
}

.site-header .carousel-caption h6 {
  margin-bottom: 0;
  font-size: clamp(0.9rem, 1.5vw, 1.25rem);
}

footer {
  border-color: #dfe8ee !important;
}

@media (max-width: 576px) {
  .container-fluid {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .container-fluid > [class*="col-"] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .site-header .carousel-caption {
    right: 5%;
    left: 5%;
    bottom: 0.75rem;
    padding: 0.65rem 0.8rem;
  }

  .site-header .carousel-item {
    height: 180px;
  }
}

.navbar-nav .nav-link {
  padding: 0.45rem 0.7rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar-dark .navbar-nav .nav-link:focus {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

.card-header {
  padding: 0.65rem 0.85rem;
}

.card-block {
  padding: 0.75rem;
}

.card,
.shadowedbutton,
.btn {
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: 0 8px 20px rgba(20, 45, 63, 0.14);
}

.shadowedbutton:hover,
.btn:hover {
  transform: translateY(-1px);
}

.btn,
.shadowedbutton {
  border-radius: 0.5rem;
}

a:not(.nav-link):not(.dropdown-item) {
  color: #287ca8;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:not(.nav-link):not(.dropdown-item):hover {
  color: #123b55;
  text-decoration: underline;
}

.conference-text {
  padding-top: 0.5rem;
}

footer {
  padding-top: 0.75rem !important;
}

.important-dates-card {
    border-color: #c9dce6;
}

.important-dates-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: linear-gradient(110deg, #123b55, #287ca8) !important;
}

.important-dates-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.important-dates-title i {
    color: #a9e3ed;
    font-size: 1.1rem;
}

.important-dates-timezone {
    color: #d7edf3;
    font-size: 0.8rem;
    white-space: nowrap;
}

.important-dates-timezone i + i {
    margin-left: 0.35rem;
}

.important-dates-list {
    gap: 0.5rem;
}

.important-date-item {
    border: 0;
    border-left: 3px solid #65b8c5;
    border-radius: 0.35rem;
    padding: 0.65rem 0.75rem;
    background: #fff !important;
}

.important-date-item + .important-date-item {
    margin-top: 0.15rem;
}

.important-date-content {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.important-date-value {
    flex: 0 0 38%;
    color: #123b55;
    font-size: 0.82rem;
    font-weight: 700;
}

.important-date-label {
    color: #536875;
    line-height: 1.35;
}

.important-date-item-past {
    border-left-color: #a8b7bf;
    opacity: 0.7;
}

.important-date-item-past .important-date-value {
    color: #536875;
}

@media (max-width: 576px) {
  .important-dates-card .card-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .important-dates-timezone {
    padding-left: 1.75rem;
  }

  .important-date-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .important-date-value {
    flex-basis: auto;
  }

  .navbar-nav .nav-link {
    padding: 0.6rem 0.75rem;
  }

  .conference-text {
    padding-top: 0.25rem;
  }
}
