/* For alpine */
[x-cloak] { 
  display: none !important; 
}
  
.clouds-fallback-bg {
  background: url('/img/clouds.jpg') no-repeat center center;
  background-size: cover;
}

.dc-blur-bg {
  background: radial-gradient(circle, rgba(0, 0, 0, 0.7) 10%, transparent 70%), url('/img/dc-blur.jpg') no-repeat center center;
  background-size: cover;
  filter: grayscale(80%);
}

.torola-scrolling-blur {
  background-image: url('/img/torola-ai-grid-faded.png');
  animation: bg-scroll-horizontal 80s linear infinite;
  background-repeat: repeat-x;
}

.fade-to-white-left {
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.0) 0%, rgba(255, 255, 255, 0.0) 10%, rgba(255, 255, 255, 1.0) 100%), no-repeat center center;
}
.fade-to-white-right {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.0) 0%, rgba(255, 255, 255, 0.0) 10%, rgba(255, 255, 255, 1.0) 100%), no-repeat center center;
}
.fade-to-white-top {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.0) 0%, rgba(255, 255, 255, 1.0) 100%), no-repeat center center;
}
.fade-to-white-bottom {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.0) 0%, rgba(255, 255, 255, 1.0) 100%), no-repeat center center;
}

@keyframes bg-scroll-horizontal {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 1000px 0%;
  }
}

.logos-scrolling {
  animation: logos-scroll-horizontal 10s linear infinite;
}

@keyframes logos-scroll-horizontal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-2150px);
  }
}

.submenu {
  border: 3px solid black; /* Sets the border to 3px solid black */
}

.swiper-pagination{
  color: #a0aec0;
}

:root {
  --swiper-theme-color: #75777a !important;
}

.swiper-button-next:after, .swiper-button-prev:after {
  color: #7f7f7f;
}

.swiper-slide {
  text-align: center;
  position: relative; /* Updated to position relative */
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  width: 100%;
  height: 480px !important;
  object-fit: cover;
}

.swiper-slide div.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white; /* Semi-transparent white */
  color:black; /* Text color */
  padding-bottom: 35px ; /* Padding for text */
  padding-top: 14px;
  font-size: 16px; /* Font size for text */
  text-align: center;
}

.jsgif {
  position: absolute; /* Positions the canvas absolutely within the div */
  left: 50%; /* Moves the left of the canvas to the middle of the div */
  transform: translateX(-50%); /* Offsets the canvas so its center aligns with the div's center */
}

div.content-page {
  min-height: 60vh;
  margin: 0px 50px;
}

div#content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Markdown styling */
div.markdown-outer {
  padding: 0px 25px;
  max-width: 1280px;
  width: calc(100% - 50px);
  margin: auto;
}

div.markdown-outer img[src*='#left'] {
  float: left;
  margin-right: 40px;
}
div.markdown-outer img[src*='#right'] {
  float: right;
  margin-left: 20px;
}
div.markdown-outer img[src*='#center'] {
  display: block;
  margin: auto;
}
div.markdown-outer img[src*='#half'] {
  width: 40%;
}
div.markdown-outer img[src*='#third'] {
  width: 30%;
}
div.markdown-outer img[src*='#quarter'] {
  width: 25%;
}

div.markdown-outer img[src*='#fifth'] {
  width: 20%;
}

div.markdown-outer img[src*='#gray'] {
  filter: grayscale(100%);
  transition-property: filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms; 
}

div.markdown-outer img[src*='#gray']:hover {
  filter: grayscale(0%);
  transition-property: filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms; 
}

div.markdown-outer img {
  border-width: 1px;
  border-color: #777777;
  border-style: solid;
  margin-bottom: 20px;
  margin-top: 10px;
}

.markdown-img-caption {
  padding-top: 10px;
  font-size: smaller;
}

.courier-prime-regular {
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-style: normal;
}
