body {
  margin: 0;
  padding: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
}

/********************FOR THE GREETINGS PAGE***************/

@keyframes growButton {
  0% {
      transform: scale(0);
  }
  100% {
      transform: scale(1);
  }
}

.main-bg-color{
  background-color: #f2f3ee;
}


.container-greeting {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 15% 20% 45% 20%;
  height: 100vh;
  height: 100svh;
}


.circa-logo-space{
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: space-between;
}


.circa-logo-image img{
  height: 100%;
  object-fit: contain;
  padding-left: 2em;
  animation: growButton 3s forwards;
}
.circa-logo-image-greeting img{
  height: 100%;
  object-fit: contain;
  padding-left: 2em;
  animation: none;
}

.tutorial-container{
  height: 100%;
  padding-top: 2em;
  padding-right: 2em;
}

.tutorial-button{
  font-size: 1rem;
  font-weight: bold;
  font-family: "Roboto",sans-serif;
  width: 8rem;
  padding: 0.75em;
  background-color: #3498db;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  text-align: center;
  border-radius: 1.375rem;
  box-shadow: 0px 8px 0px 0px rgba(164, 162, 157, 0.40);
}

.tutorial-button:hover{
  background-color: #2980b9;
}

.popup-video{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
  height: 100%;
  width: 100%;
  display: none;
}

.popup-video video{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 750px;
  border-radius: 5px;
  border: 3px solid #fff;
  object-fit: contain;
}

.popup-video span{
  position: absolute;
  top: 5px;
  right: 20px;
  font-size: 70px;
  color: #fff;
  font-weight: bolder;
  z-index: 100;
  cursor: pointer
}

.bottom-page-message, .bottom-page-message-greeting{
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: end;
  box-sizing: border-box;
  padding-inline: 5em;
}

.bottom-page-message img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: growButton 3s forwards;
}

.bottom-page-message-greeting img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: none;
}

.button-container-greeting, .button-container-ending, .button-container-welcome {
  width: 100%;
  height: 100%;
  display: flex;
  margin: 0 auto; /* Center the container */
  justify-content: center;
}

.greeting-instruction, .end-message, .welcome-message{
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  font-weight: bold;
  font-family: "Roboto",sans-serif;
  animation: growButton 3s forwards;
}

.welcome-message{
  font-size: 1.5rem;
}

.greeting-instruction{
  animation: none;
}


.button-list-greeting {
  display: flex;
  justify-content: space-between;
  gap: 5rem;
  align-items: flex-start;
  padding-top: 2em;
}

.button-list-ending, .button-list-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1em;
}

.new-session-message, .start-session-message{
  font-size: 1.3rem;
  font-family: "Roboto",sans-serif;
  font-weight: bold;
  animation: growButton 3s forwards;
}

.greeting-demo-container {
  display: flex;
  justify-content: center;
  gap: 2rem; /* Adjust the value as needed */
}

.redirect-button, .demo-button {
  font-size: 1.5rem;
  font-weight: bold;
  font-family: "Roboto",sans-serif;
  width: 15rem;
  padding: 1em;
  background-color: #3498db;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  text-align: center;
  animation: growButton 3s forwards;
  border-radius: 1.375rem;
  box-shadow: 0px 8px 0px 0px rgba(164, 162, 157, 0.40);
}

.greeting-redirect-btn{
  animation: none;
}

.button-list-greeting button:hover {
  background-color: #2980b9;
}

.button-list-ending button:hover{
  background-color: #2980b9;
}

.button-list-welcome button:hover{
  background-color: #2980b9;
}

/*************************** index page styles ************************/

#mainpanel {
  flex-basis: 100%;
  overflow: hidden;
  padding-inline: 5em;
  padding-block: 2em;
  position: relative;
}


/* styling the media class on the index.html page */
.media-index, .themeButton-media-index {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* container where the media-title is inside */
.media-body, .themeButton-media-body {
  align-items: center;
  text-align: center;
  max-width: 60rem;
}


#media-title, #themeButton-media-title {
  overflow: hidden;
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  word-break: break-word;
  font-family: "Roboto",sans-serif;
}


/* part of the navbar bottom class */
.menu-disappear {
  display: block;
}

.different-categories img {
  width: 65%;
  height: auto;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  opacity: 100%;
}


/*************** start of the styling of the images ***************/

#mainpanel-image {
  flex-basis: 100%;
  overflow: hidden;
  padding-inline: 7em;
  padding-top: 2.5em;
  padding-bottom: 2em;
}

.media-image {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.image-container {
  display: flex;
  height: 100%;
  width: 100%;
  /* added a width here to test for ipad  */
  align-items: center;
  justify-content: center;
}

/* with this only one image shows up at a time */
.item-image {
  display: none;
}

/* controls whether the images and videos show up or not */
.item-image.active {
  display: flex;
  height: 100%;
  width: 100%; 
  /* added with here */
}

.image-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  gap: 5rem;
  align-items: center;
  justify-content: center;
}

.caption-wrapper{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.caption-wrapper h3{
  font-family: "Roboto",sans-serif;
  font-weight: bold;
  font-size: 2.75rem;
}

.reference-wrapper{
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
  justify-content: center;
}

.reference-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
  height: auto;
  margin-bottom: 1rem;
  overflow: auto;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

/* Modal Content (image) */
.modal-content {
  max-width: 90%;
  max-height: 90%;
  animation-name: zoom;
  animation-duration: 0.6s;
  object-fit: contain;
}

/* Add Animation */
@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: white !important;
  font-size: 80px;
  font-weight: bolder;
  transition: 0.3s;
  z-index: 100; /* Ensure it's above the modal content */
  opacity: 1 !important;
}

.close:hover {
  color: rgb(0, 255, 242) !important;
  text-decoration: none;
  cursor: pointer;
}

/* .reference-wrapper figcaption{
  width: 100%;  
  margin: 0;
  height: 2rem;
  overflow: auto;
  text-align: center;
  font-size: 1rem;
  font-family: Arial;
} */

.bottom-buttons {
  width: 100%;
  display: flex;
  justify-content: center;
}

#prevButton,
#newSessionBtn,
#volumeUpBtn,
#volumeDownBtn,
#endSessionBtn,
#nextButton {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  flex: 1;
  padding: 0.35em;
  /* background-color: darkgray; */
  background-color: #485C5D;
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  font-family: "Roboto",sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
  border-width: 1px;
  border-color: #aeaeaeab;
}

@media (max-width: 1180px) {
  #prevButton,
  #newSessionBtn,
  #volumeUpBtn,
  #volumeDownBtn,
  #endSessionBtn,
  #nextButton {
    font-size: 2.2rem;
  }
}

#prevButton:hover,
#newSessionBtn:hover,
#nextButton:hover,
#volumeUpBtn:hover,
#volumeDownBtn:hover {
  background-color: #c4d2cf;
  /* Change background on hover */
}

/**************** Styling for the volume visualizer button *************/
.volume-visualizer-btn {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-width: 0.1px;
  /* Add any specific styling for the visualizer button here */
}

/* Styling for the volume visualizer bar inside the button */
.visualizer-bar {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 100%;
  background-color: #4CAF50;
  /* Default color for the volume bar */
}

.volume-percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 26px;
  opacity: 1;
  /* Start visible */
}

/********************* FOR THE VIDEO *************************/

#mainpanel-video {
  flex-basis: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.movie-seats {
  bottom: 0;
  left:0;
  right: 0;
  width: 100%;
  height: auto;
}

.movie-seats img {
  width: 100%;
}

.media-video {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1em;
  flex-direction: column;
  /* width: 100%; */
  height: 100%;
  align-items: center;
  overflow: auto;
}

.video-container {
  display: flex;
  justify-content: center;
  height: 100%;
  /* width: 100%; */
  width: fit-content;
  overflow: auto;
}

.item-video {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.video-screen {
  width: 100%;
  height: 100%;
  display: flex;
}

.video-iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  align-items: flex-start;
  margin-left: 4em;
}

.video-controls button {
  width: 12.875rem;
  height: 4.8125rem;
  flex-shrink: 0;
  cursor: pointer;
  font-size: 1.55rem;
  color: white;
  font-weight: 700;
  transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
  border-radius: 2.625rem;
  border: 2px solid #D7C8C0;
  background: #8A6C5B;
  box-shadow:  0px -9px 6px 0px rgba(0, 0, 0, 0.25) inset;

}
.video-controls button:hover {
  transform: translateY(-3px);
  /* Add a slight lift on hover */
}

.play-button i,
.pause-button i,
.back-button i {
  margin-right: 0.5em;
  /* Add space between symbol and word */
}

/****************** AUDIO AND VIDEO LANDING PAGE CSS BELOW ********************/
#mainpanel-audio, #mainpanel-video-landing {
  flex-basis: 100%;
  overflow: hidden;
  padding-inline: 5em;
  padding-block: 2em;
  position: relative;
}

.media-audio, .media-video-landing {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.audio-page-container, .video-landing-container {
  height: 100%;
  display: grid;
  justify-content: center;
  flex-direction: row;
  grid-template-columns: 70% 30%;
  align-content: center;
  /* background-color: blue; */
}

.record-player-container, .video-thumbnail-container {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  overflow: hidden;
  padding-right: 5em;
  align-content: center;
}

.video-thumbnail-wrapper, .audio-thumbnail-wrapper{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

#record-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#record-player-thumbnail {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  overflow: auto;
  border-radius: 50px;
  box-sizing: border-box;
}

#video-thumbnail-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  overflow: auto;
  border-radius: 50px;
  box-sizing: border-box;
}

/* encompasses the song name buttons and the more songs and play/pause button divs */
.audio-container, .video-list-container {
  width: 100%;
  /* height: 100%; */
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 2em;
  justify-content: center;
}

.video-link{
  color: black;
  text-decoration: none;
}

.song-name-button, .video-name-button {
  width: 100%;
  border-radius: 22px;
  background-color: #f8f6f3;
  box-shadow: 0px 6px 20px 0px rgba(76, 73, 65, 0.00), 0px 8px 0px 0px rgba(76, 73, 65, 0.40);
  padding: 1em;
  text-align: center;
  white-space: normal;
  font-size: 2.4vmin;
  font-weight: bold;
  line-height: 1.5;
  border: none;
}

@media (max-width: 1180px) {

  .record-player-container {
    max-width: 100%;
  }
  .video-list-container {
    overflow: visible;
    margin-top: 0em;

  }
  
  .song-name-button, .video-name-button {
    width: 100%;
    font-size: 2vmin;
  }

  .audio-page-container, .video-landing-container{
    align-content: center;
  }

}


/* Remove default button styles */
.song-name-button:hover {
  background-color: #cddfbd;
}

.video-name-button:hover {
  color: black;
  background-color: #cddfbd;
}

.song-name-button:focus {
  background-color: #5B7545;
  color: white;
}

.play-pause-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2em;
  margin-top: 1em;
}

.play-pause-button,
.more-songs-button,
.more-videos-button {
  width: 10em;
  height: 100%;
  flex: 1;
  font-size: 2.1vmin;
  font-weight: bold;
  padding: 1em;
  border: none;
  cursor: pointer;
  display: flex;
  white-space: normal;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background-color: #f8f6f3;
  box-shadow: 0px 6px 20px 0px rgba(76, 73, 65, 0.00), 0px 8px 0px 0px rgba(76, 73, 65, 0.40);
  color: #333;
}

.play-pause-button:hover,
.more-songs-button:hover,
.more-videos-button:hover {
  background-color: #cddfbd;
}

.play-pause-button i,
.more-songs-button i,
.more-videos-button i {
  margin-bottom: 5px;
  /* Add some space between the icon and text */
}

/******************* navbar buttons ****************/

/* for the text that says photographs, video, music */
.media-formats{
  font-size: 2.3rem;
  color: white !important;
  font-family: "Roboto",sans-serif;
  font-weight: bold;
}

/* for the subthemes ex leading actors  */
.media-format-subthemes{
  font-size: 2.3rem !important;
  color: white !important;
  font-family: "Roboto",sans-serif;
}

.btn-danger, .btn-warning, .btn-info{
  color: #fff;
  border-radius: 0;
  font-family: "Roboto",sans-serif;
  font-size: 2.6rem;
  font-weight: bold;
}

@media (max-width: 1180px) {
  .btn-danger, .btn-warning, .btn-info {
    font-size: 2.2rem;
  }
  /* For other elements, set the font size to 1.7rem */
  .media-formats, .media-format-subthemes {
    font-size: 1.9rem !important;
  }
}

.btn-danger {
  background-color: #444271 !important;
  border-color: #444271 !important;
}

.btn-danger:hover, .btn-danger.active:hover, .btn-danger.active.focus {
  color: #fff ; 
  background-color: #25234A !important;
  border-color: #25234A !important;
}

.btn-info {
  background-color: #cd4412 !important;
  border-color: #cd4412 !important;
}

.btn-info:hover, .btn-info.active:hover, .btn-info.active.focus {
  color: #fff ; 
  background-color: #932902 !important;
  border-color: #932902 !important;
}

.btn-warning {
  background-color: #07899F !important;
  border-color: #07899F !important;
}

.btn-warning:hover, .btn-warning.active:hover, .btn-warning.active.focus {
  color: #fff ; 
  background-color: #004C5B !important;
  border-color: #004C5B !important;
}

/* if the text overflows it adds the ... at end */
.btn-lg.btn {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* fixes a small bug where one of the subthemes appears slightly to the left */
.btn-group .btn+.btn{
  margin-left: 0;
}

.circa-class.themeA.dropdown-menu {
  background-color: #444271;
  /* Set the background color to red */
  border: none;
}

.circa-class.themeB.dropdown-menu {
  background-color: #cd4412;
  /* Set the background color to red */
  border: none;
}

.circa-class.themeC.dropdown-menu {
  background-color: #07899F;
  /* Set the background color to red */
  border: none;
}