@font-face {
  font-family: 'Realm Light';
  src: url('Realm-light.otf') format('opentype');
}

body {
	background: #121122;
	color: #fedbe6;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }

h1{
  font-family: 'Realm Light';
  letter-spacing: 0.225em;
  line-height: 2em;
  font-size: 5em;
  font-weight: normal;
}

#title {
  position: absolute;
  top: 50%;  /* 中央に配置 */
  left: 0; /* 左端に配置 */
  transform: translateY(-50%); /* 縦方向の中央揃えの調整 */
  z-index: 2;  /* スライドショーの上に表示 */
  color: white; /* 文字色を白に（背景に合わせて変更可能） */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); /* テキストの影を追加（視認性向上） */
  padding-left: 0.75em; /* 左側に少し余白を持たせる */
}

a {
  color: #feb2c9;
}


.footer  {
    font-family: serif;
    color: #fedbe6;
    margin-top: 8em;
	font-size: 0.8em;
    position: absolute;
    bottom: 0;
}

#slideshow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
   transition: opacity 0.02s ease-in-out; 
}

.slide.current {
  opacity: 0.40;
}
