/* layout */

nav#control {
  justify-content: space-between;
  font-size: 0;
}

nav#headerControl {
  padding-top: 30px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: end;
}

nav#footerControl {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: end;
}

@media only screen and (max-width: 480px) {
  nav#headerControl {
    padding-top: 0px;
  }
}

@media only screen and (max-height: 480px) {
  nav#headerControl {
    padding-top: 5px;
  }
}


/* backtosession */
#buttonBackToSession>a {
  display: flex;
  align-items: center;
}

#buttonBackToSession>a>span {
  font-size: 32px;
}

#buttonBackToSession {
  display: block;
  width: 15%;
  height: 50px;
  margin-left: 0%;
  cursor: pointer;
}

#buttonBackToSession:hover {
  transform: scale(1.05);
}

#buttonBackToSession:active {
  background-color: #f80;
  transform: scale(0.98);
}

@media only screen and (max-width: 480px) {
  #buttonBackToSession>a>span {
    font-size: 24px;
    padding-top: 0px;
  }
}

@media only screen and (max-height: 480px) {
  #buttonBackToSession>a>span {
    font-size: 24px;
    padding-top: 0px;
  }
}

#buttonProfileSettings a,
#buttonBackToSession a {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 60px;
  color: #fff;
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.9);
  line-height: 70px;
}

#buttonProfileSettings {
  display: block;
  width: 15%;
  height: 50px;
}

#buttonProfileSettings>a>span {
  font-size: 32px;
}

@media only screen and (max-width: 480px) {
  #buttonProfileSettings>a>span {
    font-size: 24px;
    padding-top: 0px;
  }
}

@media only screen and (max-height: 480px) {
  #buttonProfileSettings>a>span {
    font-size: 24px;
    padding-top: 0px;
  }
}

/* yourPhoto */

#buttonYourPhotos {
  position: relative;
  width: 100px;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;

  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
  background-color: #bbb;
  margin-left: 6%;
  margin-bottom: 15px;
  cursor: pointer;
  text-align: center;

  border: 2px solid rgba(255, 255, 255);
  border-radius: 10px;
  transition: all 0.1s ease;

  position: fixed;
  left: 2%;
  bottom: 10px;
}

@media only screen and (max-height: 480px) {
  #buttonYourPhotos {
    left: 5%;
    height: 70px;
  }
}

@media only screen and (max-height: 480px) {
  #buttonYourPhotos.horizontal {
    left: auto;
    width: 70px;
    right: 20px;
    bottom: 5px;
  }
}

#buttonYourPhotos.modeForcedRotate.horizontal {
  left: auto;
  width: 70px;
  right: 25px;
  bottom: 55px;
}

#buttonYourPhotos.vertical {
  width: auto;
  height: 100px;
  aspect-ratio: 9 / 16;
}


@media only screen and (max-height: 480px) {
  #buttonYourPhotos {
    height: auto;
    width: 70px;
  }

  #buttonYourPhotos.vertical {
    width: auto;
    height: 70px;
    margin-right: 20px;
  }
}

#buttonYourPhotos a {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-sizing: border-box;
}

#buttonYourPhotos a img {
  position: absolute;
  top: 0;
  left: 0;
}

#buttonYourPhotosCurrentPhoto {
  width: 100%;
  height: 100%;
  transition: all 0.1s ease;
  transform: scale(1.00);
}

#buttonYourPhotosCurrentPhoto:hover {
  transform: scale(1.05);
}

#buttonYourPhotosCurrentPhoto:active {
  background-color: #f80;
  transform: scale(0.98);
}


#buttonYourPhotosCurrentPhoto.vertical {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


#Spacer {
  display: block;
  width: 100px;
  height: 0px;
  background-color: #fff;
  margin-right: 50px;
}

@media only screen and (max-width: 480px) {
  #buttonYourPhotos {
    margin-left: 0;
  }
}

@media only screen and (max-height: 480px) {
  #buttonYourPhotos {
    margin-left: 0;
  }
}

#buttonYourPhotos a {
  width: 100%;
  position: relative;
}

#buttonYourPhotos a #imagemark {
  width: 100%;
  display: block;
  color: #fff;
  padding: 0;
  margin: 0;
}

/* timecode */

#timecode {
  flex: 1;
  color: #000;
  font-size: 24px;
  text-align: center;
  color: #fff;

  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.9);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 2px;
  font-family: "Chakra Petch", sans-serif;
  user-select: none;
}

@media only screen and (max-width: 480px) {
  #timecode {
    font-size: 18px;
    padding-top: 0px;
  }
}

@media only screen and (max-height: 480px) {
  #timecode {
    font-size: 18px;
    padding-top: 0px;
  }
}


#timecode .monospace {
  display: inline-block;
  width: 0.7em;
  text-align: center;
}

#timecode.thin {
  font-size: 17px;
}

/* buttonCapture */

#buttonCapture {
  user-select: none;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  width: 70px;
  height: 70px;
  overflow: hidden;
  border-radius: 100px;
  margin-bottom: 15px;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
  transition: all 0.1s ease;
  background-color: #fff;
  background-image: url(../images/sharter_icon.svg);
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: center 6px;

  position: fixed;
  left: calc(50% - 35px);
  top: calc(100% - 95px);
}

#buttonCapture:hover {
  transform: scale(1.05);
}

#buttonCapture:active {
  background-color: #f80;
  transform: scale(0.98);
}


@media only screen and (max-height: 480px) {
  #buttonCapture.horizontal {
    left: calc(100% - 95px);
    top: calc(50% - 40px);
  }
}

/* userid */


#display_userid {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 30%;
  height: auto;
  aspect-ratio: 16 / 9;

  font-size: 22px;
  font-weight: normal;
  letter-spacing: 4px;
  margin: 0;

  color: #fff;
  position: relative;
}

#display_userid.vertical {
  width: auto;
  height: 30%;
  aspect-ratio: 9 / 16;
}

/* user id*/


.mark {
  position: absolute;
  display: block;
  width: 20%;
  height: 20%;
}

.mark.t {
  top: 0;
  border-top: 1.5px solid #fff;
}

.mark.b {
  bottom: 0;
  border-bottom: 1.5px solid #fff;
}

.mark.l {
  left: 0;
  border-left: 1.5px solid #fff;
}

.mark.r {
  right: 0;
  border-right: 1.5px solid #fff;
}

@media only screen and (max-width: 480px) {
  #display_userid {
    font-size: 16px;
  }
}

@media only screen and (min-width: 480px) {
  .directlink_capturedby {
    display: none;
  }
}

/* tap to start */

#taptostart {
  color: #fff;
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
  display: flex;
  font-size: 40px;
  letter-spacing: 4px;
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#taptostart:hover {
  color: rgba(255, 255, 255, 0.95);
}


#bg_nocopy {
  position: absolute;
  top: -150vh;
  left: -50vw;
  width: 300vw;
  height: 300vh;
  transform: rotate(-15deg);
}

@media only screen and (max-width: 480px) {
  #buttonYourPhotos.vertical {
    width: auto !important;
    height: 80px !important;
    aspect-ratio: 9 / 16 !important;
  }
}