@import url("./reset.css");

#container {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 8px 30px;

  border-bottom: 2px solid rgb(161, 200, 194);
  background-color: #fff;
}

#fixed-header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* h1 に余白をつけて container との間を調整 */
#fixed-header-wrapper h1 {
  margin: 0;
  
  font-size: 40px;
  text-align: center;
}


/* ロゴとヘッダーを並べる */
.logo-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ヘッダー単体のスタイル */
.header {
  font-weight: bold;
  color: rgb(232, 6, 89);
  font-size: 25px;
  font-family: 'arial black', Lucida;
}

/* メニュー */
.menu {
  display: flex;
  gap: 16px;
  color: rgb(116, 9, 58);
  font-size: 15px;
  font-family: 'arial black', Lucida;
}

.campus{
  text-decoration: underline;
}
  
h1{
    color: rgb(44, 164, 146);
    text-align: center;
    background-color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 40px;
    font-family:  'arial black',Lucida; 
}

h2 {
  position: fixed;
  top: 110px;
  z-index: 2000;
  margin: 20px; /* 左上に配置、寄りすぎ防止 */
  font-size: 1.0rem;
  color: white;
  background: linear-gradient(45deg, rgb(44, 164, 146), rgba(176, 255, 107, 0.343));
  background-color:rgb(44, 164, 146);   
  padding: 2px 6px;            
  border-radius: 6px;          
  display: inline-block;  
}

.select {
  color:rgb(171, 210, 204);
}

#map-container {
  width: 100%;
  height: 400px;
  position: relative;
  z-index: 0;
  background-color: #ccc; /* Three.js canvasの背景 */
  margin-top: 110px;
}

.button-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}



#main-button {
  background: linear-gradient(rgb(44, 164, 146), rgb(30, 120, 110));
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#digest-play-button{
  background: linear-gradient(rgb(87, 223, 202), rgb(48, 173, 155));
  color: white;
  border: none;
  border-radius: 9999px;
  padding: 12px 24px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}


#buttonlist  {
  background-color: rgb(44, 164, 146);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 1.0em;
  cursor: pointer;
  transition: 0.3s;
}

.hidden {
  display: none;
}

.change{
  background: linear-gradient(rgb(44, 164, 146), rgb(30, 120, 110));
  color: white;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1.0em;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.button-row {
  display: flex;
  align-items: stretch; /* 高さを揃える */
  gap: 24px;
}



#buttonlist button {
  cursor: pointer;
}


.button-row .change {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%; /* 高さ自動拡張 */
  white-space: nowrap;
}

.key {
  background-color: rgb(12, 113, 62); 
  padding: 2px 4px;              
  border-radius: 4px;  
  border: none;         
}


/* スマホなどの画面幅600px以下を想定 */
@media (max-width: 600px) {
  #camera-info {
    display: none;
  }

  #fixed-header-wrapper h1 {
    font-size: 26px;         
    padding: 0px 4px;         
    margin: 0;
    font-family:  'arial black',Lucida; 
  }

  #container {
    flex-direction: column;
    align-items: center;
    padding: 4px 8px;        
  }

  


  .logo-header {
    gap: 6px;
    padding: 4px 0;
  }

  .header {
    font-size: 16px;          
  }

  .menu {
    font-size: 12px;
    gap: 12px;
    padding: 4px 0;
  }

  #map-container {
    height: 200px;
    margin-top: 80px;         
  }

  .button-container {
    flex-direction: column;
    position: fixed;
    bottom: 10px;
    left: 10px;
    width: auto;
    gap: 8px;
  }
  
  #main-button {
    
    padding: 7px;
    font-size: 16px;
  }

  #digest-play-button{
    padding: 7px;
    font-size: 16px;
  }

  .hidden {
  display: none;
  } 
}


