/* styles.css */

/* 全体スタイル */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #000;
  display: flex;
  justify-content: center;
  /* align-items: center; */
  height: 100vh;
  color: #fff;
}

.video-container {
  width: 100%;
  max-width: 480px;
  /* position: relative; */
  position: absolute;
  background-color: #000;
  /* margin-top: -48px; */
}

video, img {
  width: 100%;
  height: auto;
  display: block;
}

.hidden {
  /*display: none;*/
  display: block;
}

/* 画像のサイズ調整 */
.image-container img {
  width: 100%;
  height: auto;
}

/* カスタムコントロール */
.controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.6);
}

/* ボタン全体のスタイル */
button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* アイコンと線を中央寄せ */
  width: auto;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgb(255,255,255);
}

/* スピーカーアイコン */
.volume {
  font-size: 25px;
  position: relative;
  width: 0.4em;
  height: 0.4em;
  background-color: #FFF;
  margin-right: 18px; /* アイコンと横線の間に余白を追加 */
}

/* 本体右 */
.volume::before {
  content: "";
  position: absolute;
  top: -0.3em;
  left: 0;
  width: 0;
  height: 0;
  border-top: 0.5em solid transparent;
  border-bottom: 0.5em solid transparent;
  border-right: 0.8em solid #FFF;
}

/* 音量2 */
.volume2 {
  position: absolute;
  top: 0;
  left: 0.4em;
  width: 0.4em;
  height: 0.2em;
  border-top: 0.1em solid transparent;
  border-left: 0.1em solid transparent;
  border-right: 0.1em solid #FFF;
  border-bottom: 0.1em solid transparent;
  border-radius: 100%;
}

.volume2::before {
  content: "";
  position: absolute;
  top: -0.3em;
  left: 0.1em;
  width: 0.4em;
  height: 0.6em;
  border-top: 0.1em solid transparent;
  border-left: 0.1em solid transparent;
  border-right: 0.1em solid #FFF;
  border-bottom: 0.1em solid transparent;
  border-radius: 100%;
}

/*
button::before,
button::after {
  content: '';
  position: absolute;
  background-color: #fff;
  transition: all 0.3s ease;
}
*/

/* ミュート時（横線1本） */
/*
button.muted::before {
  width: 24px;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  margin-left: 0.4em; /* アイコンと横線の間に余白を追加 
}
*/
/*
button.muted::after {
  display: none;
}
*/

/* ミュート解除時（縦線2本） */
/*
button:not(.muted)::before {
  width: 4px;
  height: 20px;
  top: 2px;
  left: 6px;
}

button:not(.muted)::after {
  width: 4px;
  height: 20px;
  top: 2px;
  right: 6px;
}
*/