/* General styles */
html, body {
    background-color: rgb(9, 11, 16);
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    color: rgb(158, 161, 165);
    -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
    max-width: 672px;
    margin: 80px auto 0 auto;
    padding: 0 16px; /* desktop/ipad has breathing room */
}

/* Headings */
h1 {
    font-family: 'Roboto', sans-serif;
    color: rgb(222, 225, 228);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 2em; /* 2 times H1 font size */
}

h1 .jp {
    font-family: 'Noto Sans JP', sans-serif; /* only applied to the Japanese part */
    /* font-weight: normal; */
  }

/* Paragraphs */
p {
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    margin: 20px 0;
}

.link {
  color: rgb(242, 246, 249);
  font-weight: 600;
  text-decoration: none; /* Remove default underline */
  border-bottom: 1px solid rgb(0, 106, 212); /* Simulate underline */
  padding-bottom: 2px; /* Optional: adds space for the border */
  /* transition: border-bottom-width 0.2s ease; */
}

.link:hover {
  border-bottom-width: 2px; /* Thicker underline on hover */
}


/* Contact box */
.contact-box {
    margin-top: 40px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}


/* Responsive: small phones */
@media (max-width: 768px) {
    .container {
        margin-top: 0;       /* remove vertical spacing */
        padding: 0 10px;     /* minimal padding on sides */
        max-width: 100%;     /* fill width */
    }
}
