/* Mobile Hide and Show */
.mobileShow { display: none; }
@media screen and (max-width: 900px) {
  .mobileShow { display: block; }
}

.mobileHide { display: flex; justify-content: center; }
@media screen and (max-width: 900px) {
  .mobileHide { display: none; }
}

/* ADA */
.screenreader-text {
  position: absolute;
  left: -999px;
  width: 1px;
  height: 1px;
  top: auto;
}

.screenreader-text:focus {
  color: black;
  display: inline-block;
  height: auto;
  width: auto;
  position: static;
  margin: auto;
}

* {
  box-sizing: border-box;
}

:root {
  --quad-gap: clamp(0.3rem, 1.1vw, 0.9rem);
  --quad-pad: clamp(0.3rem, 1.3vw, 0.9rem);
}

html,
body {
  height: 100dvh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  font-family: Open Sans, sans-serif;
  background-color: #2d2d2d;
  color: #fff;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

img {
  border-radius: 10px;
  border: 1px solid transparent;
  vertical-align: middle;
}

.page-container {
  width: min(98vw, 1900px);
  height: 100dvh;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: var(--quad-gap);
  margin: 0 auto;
  padding: var(--quad-pad);
}

.flex-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  min-height: 0;
  width: 100%;
  height: 100%;
  gap: var(--quad-gap);
  margin: 0;
  padding: 0;
}

.flex-item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

.flex-item-50 {
  width: 100%;
  max-width: 100%;
}

.slideshow-container {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  position: relative;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #161616;
  border-radius: 10px;
  overflow: hidden;
}

.mySlides,
.mySlidesAltV2,
.mySlidesAltV3,
.mySlidesAltV4 {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
}

.mySlides img,
.mySlidesAltV2 img,
.mySlidesAltV3 img,
.mySlidesAltV4 img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.flex-item h1 {
  padding: 0;
  margin: 0;
}

.text-container {
  display: flex;
  justify-content: center;
}

.text,
.textAltV3,
.textAltV2,
.textAltV4 {
  color: #f2f2f2;
  font-size: clamp(10px, 1.1vw, 15px);
  padding: 6px 10px;
  position: absolute;
  width: fit-content;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.9);
  box-shadow: #fff 0 0 3px 1px;
}

.text,
.textAltV3 {
  top: 4px;
}

.textAltV2,
.textAltV4 {
  bottom: 4px;
}

.numbertext,
.numbertextAltV2,
.numbertextAltV3,
.numbertextAltV4 {
  color: #f2f2f2;
  font-size: clamp(9px, 0.9vw, 12px);
  padding: 6px 10px;
  position: absolute;
  left: 1%;
  background-color: #336699;
  border: 1px solid transparent;
}

.numbertext,
.numbertextAltV3 {
  top: 4px;
}

.numbertextAltV2,
.numbertextAltV4 {
  bottom: 4px;
}

.active {
  opacity: 1;
  box-shadow: #b9dcd2 0 0 4px 4px;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

@media screen and (max-width: 900px) {
  .page-container {
    width: 100vw;
    gap: clamp(0.2rem, 0.8vw, 0.5rem);
    padding: clamp(0.2rem, 0.8vw, 0.5rem);
  }

  .flex-container {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 300px) {
  .text,
  .textAltV2,
  .textAltV3,
  .textAltV4 {
    font-size: 11px;
  }
}
