/* @import url("../css/initialize.css"); */

.sessionv {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 60%;
  background-color: rgb(19, 43, 37);
  color: white;
  padding: 3px;
  border: 2px solid rgb(227, 210, 210);
  border-radius: 10px;
  z-index: 10000;
}

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

#photoGallery {
  position: relative;
  width: 100vw;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

#photoContainer {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

img.fullscreen-img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  animation: fade 1s; /* Fade in etc*/
  border: none;
}

#photoCaption {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border-radius: 4px;
  text-align: center;
  font-size: 1.2rem;
  font-family: sans-serif;
  animation: fade 1s; /* Fade in etc*/
}

@keyframes fade {
  0% {
    opacity: 0;
    scale: 0.9;
  }
  100% {
    opacity: 1;
    scale: 1;
  }
}

#cornerVideo {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 200px;
  height: auto;
  z-index: 1000;
  border: 2px solid white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

#cornerVideo.fullscreen {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  border: none;
  border-radius: 0;
  z-index: 1000;
}

#closeVideoBtn,
#showVideoBtn {
  position: absolute;
  top: 10px;
  z-index: 1001;
  background: none;
  color: white;
  border: none;
  padding: 0;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  line-height: 0.8;
}

#closeVideoBtn {
  right: 220px;
}

#showVideoBtn {
  right: 10px;
  display: none;
}

#volumeToggleBtn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 1002;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 6px 10px;
  font-size: 18px;
  border-radius: 4px;
  cursor: pointer;
  display: none; /* Hidden unless fullscreen */
}

#logo {
  width: 200px;
  height: auto;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.5);
  top: 10px;
  left: 10px;
  cursor: pointer;
  z-index: 1000;
  border-radius: 4px;
}

@media screen and (max-width: 768px) {
  #logo {
    width: 30%;
  }
  #cornerVideo {
    width: 30%;
  }
  #closeVideoBtn {
    right: 33%;
  }
}
