@font-face {
  font-family: 'CourierPrime'; /* Choose a name for your font */
  src: url('Courier_Prime/CourierPrime-Regular.ttf') format('truetype');
  /* You may also specify other font formats like woff, woff2, etc. for better cross-browser compatibility */
}

/* Header and Menu */
.left-aligned { 
  margin-left: auto; 
}

.bg-dark { 
  background-color: #dc3545 !important; 
}

.bg-hero { 
    width: 100%;
    height: 400px;
    background-color: #FFFDD0;
}

.logoManual {
  float: right;
}

@media (max-width: 800px) {
  .logoManual {
    display: none;
  }
}

@media (min-width: 800px) {
  .hide-alerts {
    display: none;
  }
}

/* CALLOUT */
.bd-callout { 
  padding:1.25rem; margin-top:1.25rem; margin-bottom:1.25rem; border:1px solid #d9534f; border-left-width:.25rem; border-radius:.25rem 
}

.bd-callout h4 { 
  margin-bottom:.25rem 
}

.bd-callout p:last-child { 
  margin-bottom:0 
}

.bd-callout code { 
  border-radius:.25rem 
}

.bd-callout+.bd-callout { 
  margin-top:-.25rem 
}

.bd-callout-info { 
  border-left-color:#d9534f 
}

.bd-callout-warning { 
  border-left-color:#4fbdd9 
}

.bd-callout-danger { 
  border-left-color:#b4d94f 
}

/* Footer */
footer a { 
  color: white; font-weight: bold; text-decoration: none; 
}

footer a:hover { 
  color: white; text-decoration: underline; 
}

/* Image overlay for team members */
.image {
  position: relative;
  width: 220px;
}

.image__img {
  display: block;
  width: 100%;
}

.image__overlay {
  position: absolute;
  top: 0;
  left: 0px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  padding: 5%;
  font-size: 11px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}

.image__overlay--blur {
  backdrop-filter: blur(5px);
}

.image__overlay>* {
  transform: translateY(20px);
  transition: transform 0.25s;
}

.image__overlay:hover {
  opacity: 1;
}

.image__overlay:hover>* {
  transform: translateY(0);
}

.image__title {
  font-size: 2em;
  font-weight: bold;
}

.image__description {
  font-size: 1.25em;
  margin-top: 0.25em;
}

.abc {
  text-align: center;
}

.row {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  padding: 5px;
}

.column {
  margin-right: 30px;
  padding: 5px;
  width: 220px;
  text-align: left; /* Align text to the left within each column */
}

/* Home Page */
body {
background-color: rgb(255, 255, 255);
color: rgb(0, 0, 0);
padding: 0;
margin: 0;
font-family:'CourierPrime'; font-size: 18px;
}

section {
display: grid;
place-items: center;
align-content: center;
min-height: 40vh;
padding-bottom: 10vh;
text-align: center;
}

hr.one-hr {
  border: 0;
  width: 96%;               
  background:#dc3545;
  height: 5px;
  border-radius: 10px;
}

.hidden {
opacity: 0;
filter: blur(5px);
transition: all 2s;
}

.show {
opacity: 1;
filter: blur(0);
}

/* Carousel*/
.carousel {
  width: 800px;
  height: 450px;
  position: relative;
}

@media (max-width: 800px) {
  .carousel {
    width: 400px;
    height: 250px;
    position: relative;
  }
}

.carousel > ul {
  width: 800px;
  height: 450px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 800px) {
  .carousel > ul {
    width: 400px;
    height: 225px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: 200ms opacity ease-in-out;
  transition-delay: 200ms;
}

.slide > img {
  display: block;
  width: 800px;
  height: 450px;
  object-fit: cover;
  margin-left: auto; 
  margin-right: auto;
  object-position: center;
}

@media (max-width: 800px) {
  .slide > img {
    display: block;
    width: 400px;
    height: 225px;
    object-fit: cover;
    margin-left: auto; 
    margin-right: auto;
    object-position: center;
  }
}

.slide[data-active] {
  opacity: 1;
  z-index: 1;
  transition-delay: 0ms;
}

.carousel-button {
  position: absolute;
  height: 80px;
  z-index: 2;
  background: none;
  border: none;
  font-size: 4rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border-radius: .25rem;
  padding: 0 .5rem;
  background-color: rgba(0, 0, 0, .1);
}
@media (max-width: 800px) {
  .carousel-button {
    position: absolute;
    height: 40px;
    z-index: 2;
    background: none;
    border: none;
    font-size: 4rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    border-radius: .25rem;
    padding: 0 .5rem;
    background-color: rgba(0, 0, 0, .1);
  }
}

.carousel-button:hover,
.carousel-button:focus {
  color: white;
  background-color: rgba(0, 0, 0, .2);
}

.carousel-button:focus {
  outline: 1px solid black;
}

.carousel-button.prev {
  left: 1rem;
}

.carousel-button.next {
  right: 1rem;
}

/* Image overlay for gallery */
.image_g {
  position: relative;
  width: 800px;
  height: 450px;
}

@media (max-width: 800px) {
  .image_g {
    position: relative;
    width: 400px;
    height: 225px;
  }
}

.image__img_g {
  display: block;
  width: 100%;
  height: 100%;
}

.image__overlay_g {
  position: absolute;
  top: 0;
  left: 0px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  padding: 5%;
  font-size: 12px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}

@media (max-width: 800px) {
  .image__overlay_g {
    position: absolute;
    top: 0;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    padding: 5%;
    font-size: 8px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
  }
}

.image__overlay--blur_g {
  backdrop-filter: blur(5px);
}

.image__overlay_g>* {
  transform: translateY(20px);
  transition: transform 0.25s;
}

.image__overlay_g:hover {
  opacity: 1;
}

.image__overlay_g:hover>* {
  transform: translateY(0);
}

.image__title_g {
  font-size: 2em;
  font-weight: bold;
}

.image__description_g {
  font-size: 1.25em;
  margin-top: 0.25em;
}

/* notebook */
.timeline {
  margin: 0 auto;
  max-width: 750px;
  padding: 25px;
  display: grid;
  grid-template-columns: 1fr 3px 1fr;
  color: #000000;
}

@media (max-width: 800px) {
  .timeline {
    margin: 0 auto;
    max-width: 375px;
    padding: 25px;
    display: grid;
    grid-template-columns: 1fr 3px 1fr;
    color: #000000;
  }
}

.timeline__component {
  margin: 0 20px 20px 20px;
}

.timeline__component--bg {
  padding: 1.5em;
  background: #FFFDD0;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

/* LEAVE TILL LAST */
.timeline__component--bottom {
  margin-bottom: 0;
}

.timeline__middle {
  position: relative;
  background: #dc3545;
}

.timeline__point {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: 15px;
  background: #dc3545;
  border-radius: 50%;
}

/* LEAVE TILL LAST */
.timeline__point--bottom {
  top: initial;
  bottom: 0;
}

.timeline__date--right {
  text-align: right;
}

.timeline__title {
  margin: 0;
  font-size: 1.15em;
  font-weight: bold;
}

.timeline__paragraph {
  line-height: 1.5;
}

.bodypopup {
  margin: 0;
  padding: 0;
  height: 100%;
}

.bodypopup.popup-active {
  overflow: hidden;
}


#popup-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  text-align: center;
  z-index: 999;
  opacity: 0;
  transition: opacity 2s ease;
}

#popup-container.show {
  opacity: 1;
}

#popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}
