html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    style="margin-top: 0; 
    margin-bottom: 0; 
    background-image: url('../img/hinamizawamura.jpg'); 
    background-attachment: fixed; 
    background-position: center top; 
    background-repeat : repeat;
    font-family: 'Noto Serif JP', serif, Georgia, "游明朝", "Yu Mincho", "游明朝体", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho ProN", "MS P明朝", "MS PMincho", HGS明朝E, "MS Mincho", serif;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.logo {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px black;
    text-align: center;
    margin-bottom: 1rem;
    font-family: 'Noto Serif JP', serif, Georgia, "游明朝", "Yu Mincho", "游明朝体", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho ProN", "MS P明朝", "MS PMincho", HGS明朝E, "MS Mincho", serif;
}

.textbox {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem;
    font-size: 1rem;
    max-width: 90%;
    width: 900px;
    margin: 0 auto;
    font-family: 'Noto Serif JP', serif, Georgia, "游明朝", "Yu Mincho", "游明朝体", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho ProN", "MS P明朝", "MS PMincho", HGS明朝E, "MS Mincho", serif;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0rem;
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Noto Serif JP', serif, Georgia, "游明朝", "Yu Mincho", "游明朝体", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho ProN", "MS P明朝", "MS PMincho", HGS明朝E, "MS Mincho", serif;
    text-align: center;
}

a {
    color: white; 
    /* text-decoration: none;  */
}

a:hover {
color: white;
}

.center {
  display: flex;
  justify-content: center;
}

.right-align {
  text-align: right;
}

.img {
    text-align: center;
}

.element {
    max-width: 750px; 
    min-width: 250px; 
  }
  
  @media (max-width: 800px) {
    .element {
      width: 80%; 
    }
  }
  
  @media (max-width: 250px) {
    .element {
      width: 200px; 
    }
  }