:root {
  --transition-time: 1.0s;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  background-color: #000000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#container {
  display: flex;
  flex-direction: column;
  align-items: center;
 /* justify-content: space-between;*/
  height: 100vh; /* Ensure content fits within the viewport height */
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
}

.COMPANYNAME,
.disclaimer-wrapper,
#sliderFrame,
#currency_table {
  width: 80%;
  max-width: 80%; /* Ensure containers take 80% of available width */
  text-align: center;
  font-family: "Museo Sans 500", sans-serif;
  color: #808080;
  box-sizing: border-box;
  margin: 0 auto; /* Center the containers */
}

#slider{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.COMPANYNAME {
  font-size: 1.5vw; /* Adjusted size */
  padding-top: 0.4rem;
  font-weight: bold;
  color: #fff;
  background-color: transparent;
}

.COMPANYNAME img {
  max-width: 100%;
  max-height: 100%;
}

.disclaimer-wrapper .disclaimer {
  padding: 0.4rem;
  font-size: 1vw; /* Adjusted size */
}

@media (orientation: portrait) {
  .disclaimer-wrapper .disclaimer {
    padding: 0.4rem;
    font-size: 2vw; /* Adjusted size */
    font-style: italic;
  }
}


.add-wrapper .pms-block {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  opacity: 0;
  transition: opacity var(--transition-time) ease-in-out;
  background-color: rgba(0, 0, 0, 0.8); /* Add background to hide table */
  display: flex;
  justify-content: center;
  align-items: center;
}

.add-wrapper .pms-block img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Ensures the image is stretched to fit the area */

}

.add-wrapper .pms-block.active {
  opacity: 1;
}

#sliderFrame, #ads {
  padding: 2px;
  width: 100%;
}

.hide-during-ad {
  visibility: hidden;
}

@media (orientation: landscape) {
  .COMPANYNAME img {
    width: auto;
    height: 10vh; /* Adjust height as needed for landscape mode */
    object-fit: contain;
  }

  #slider {
    width: 100%;
    height: auto;
    max-height: 30vh; /* Adjust max-height as needed for landscape mode */
    object-fit: contain;
  }
}
