@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;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* ロゴとヘッダーを並べる */
.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;
  
}

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

h2{
    color: rgb(36, 114, 102);
    font-weight: bold;
    background-color: rgb(255, 255, 255);
    font-size: 28px;
    font-family:  'arial black',Lucida; 
    margin-top: 40px;
    margin-bottom: 2px;
}

    
.as{
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

p{
  color: rgb(70, 84, 84);
    text-align: left;
    background-color: rgb(255, 255, 255);
    font-size: 18px;
    
}

.bottom{
  display: flex;
  align-items: center;
  width: 100%;
  padding: 8px 16px;
  /*border-top: 2px solid rgb(161, 200, 194);*/
  background-color:  rgb(67, 132, 121);
  
}

.github{
  color: rgb(229, 239, 237);
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  
}
.name{
  
  font-size: 18px;
  font-weight: 550;
}
/*スライド*/

.slider-container {
  position: relative;
  width: 600px;
  margin: 40px auto;
  text-align: center;
}

/* 表示窓 */
.slider-window {
  overflow: hidden;
  width: 100%;
}


.slider-track {
  display: flex;
  transition: transform 0.4s ease;
}


.slide {
  flex: 0 0 90%;    
  padding: 0 10px;      
  background: white;
  height: 300px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 矢印ボタン（画像に重ねる） */
.arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgb(63, 170, 154);
  color: white;
  font-size: 22px;
  cursor: pointer;
}

.arrow-btn.left {
  left: -10px;
}

.arrow-btn.right {
  right: -10px;
}

/* キャプション */
.caption {
  margin-top: 16px;
}

#title {
  font-weight: bold;
  font-size: 18px;
  color: #01120e;
}

#date {
  font-size: 14px;
  color: #666;
}




/* スマホなどの画面幅600px以下を想定 */
@media (max-width: 600px) {

  #fixed-header-wrapper h1 {
    font-size: 20px;         
    padding: 4px 8px;         
    margin: 0;
  }

  

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

  h1 {
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 71px;
    font-size: 26px;
    font-family:  'arial black',Lucida; 
  }

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

  .header {
    font-size: 16px;          
  }

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

  h2{
    font-size: 22px;
  }
  p{
    font-size: 15px;
  }
  .name{
    font-size: 16px;
  }
  .github{
    font-size: 15px;
  }

}
