@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@100..900&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Alexandria&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url("flag-icons.bluff.css");

.page {
    background-image: url("background.jpeg");
    background-size: cover;
    background-repeat: no-repeat;
    padding: 10pt 2pt;
    width: 100%;
    display: table;
    height: 100vh; /* Full height of the viewport */
}
body {
    font-family: "Noto+Sans+JP", sans-serif;
    font-size: 1.1em;
    font-weight: normal;
    font-optical-sizing: auto;
    font-style: normal;
    width: 90%;
    margin: auto;
    text-justify: inter-character;
    display: flex; /* Enables flexbox layout */
    flex-direction: column; /* Aligns children in a column */
    overflow-y: auto; /* Allows vertical scrolling only if necessary */
    overflow-x: hidden; /* Prevents horizontal scrolling */
}

table,
table.bumph {
    width: 100%;
    border: 1;
    padding: 0px;
    margin: 0;
}
table.bumph {
    padding: 40px;
    background-color: rgba(200, 200, 200, 0.62);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
    display: flex; /* Enables flexbox layout */
    border-radius: 20px; /* Rounded corners */
    overflow: auto; /* Enables scrolling if content overflows */
    margin: 20px auto; /* Adds spacing and centers the section */
}
.table-container {
    flex-grow: 1; /* Ensures it takes the remaining space */
    overflow: auto;
  }

p {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: 500;
}
table.menu {
    border: 0;
    margin: 0;
    padding: 0;
    margin-top: 1%;
    box-align: center;
}
th,
td,
tr {
    margin: 0;
    padding: 0;
    border: 1;
    padding: none;
    text-align: center;
    border-bottom: none;
}
th {
    width: 90%;
}
ul {
    padding-top: none;
    padding-left: 2em;
    font-family: "Noto+Sans+JP", "Alexandria", Arial, Helvetica, sans-serif;
    font-weight:normal;
    text-align: left;
    li {
        padding-top: none;
        list-style: square;
        list-style-position: inside;
    }
}
h1 {
    font-size: 2em;
    font-family: "Corbel", "Nunito+Sans", Arial, Helvetica, sans-serif;
    text-align: left;
    color: rgb(9, 82, 100);
    margin-top: 0;
    margin-bottom: 0;
    white-space: nowrap;
}

.subheading {
    font-weight: bolder;
    font-family: "Noto+Sans+JP", "Corbel", Arial, Helvetica, sans-serif;
    font-size: 1.1em;
    margin-top: 0;
    margin-bottom: 0;
    white-space: nowrap;
}

h1 span {
    font-weight: bold;
    display: inline-block;
    font-size: 1.5em;
    text-shadow: 2px 2px 4px rgba(9, 73, 88, 0.3);
}
h1 span::first-letter {
    color: rgb(9, 73, 88);
    display: inline-block;
    font-weight: bold;
    font-size: 1.16em;
    text-shadow: 2px 2px 4px rgba(9, 73, 88, 0.3);
}
h2 {
    font-weight: bolder;
    font-family: "Noto+Sans+JP", "Corbel", "Nunito+Sans", Arial, Helvetica, sans-serif;
    font-size: 1.3em;
    text-align: center;
    margin-top: 0;
}
h3 {
    font-family: "Noto+Sans+JP", "Corbel", "Nunito+Sans", Arial, Helvetica, sans-serif;
    font-size: 1.4em;
    text-align: left;
    margin-top: 0;
}
.link {
    font-family: "Noto+Sans+JP", "Corbel", "Nunito+Sans", Arial, Helvetica, sans-serif;
    font-size: 1.1em;
    padding-left: 10px;
    padding-right: 10px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    border-radius: 15px;
    color: black;
    font-weight: bolder;
    box-shadow: 0 4px 8px rgba(20, 20, 20, 0.2); /* Shadow effect */
}
.fi:hover {
    filter: brightness(1.5)
}

.link:hover {
    font-size: 1.1em;
    background-color: rgb(9, 82, 100);
    color: azure;
    padding-left: 10px;
    padding-right: 10px;
    display: inline-block;
    border-radius: 15px;
    text-align: center;
    font-weight: bolder;
}
.email {
    font-size: 1em;
    color: black;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 15px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}
.email:hover {
    font-size: 1em;
    color: azure;
    background-color: rgb(9, 82, 100);
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 15px;
    display: inline-block;
    text-align: center;
}
p {
    text-align: justify;
    text-justify: inter-word;
    font-family: "Noto+Sans+JP", "Alexandria", Arial, Helvetica, sans-serif;
    font-size: 1.0em;
}
footer {
    font-family: "Corbel", "Cabin", Arial, Helvetica, sans-serif;
    font-size: 0.9em;
    color: rgba(250, 250, 250, 0.8);
    text-shadow: 2px 2px 4px #000000;
}
table.footer {
    flex-grow: 0; /* Ensures it doesn't take the remaining space */
    overflow: auto;
    margin-top: auto; /* Pushes footer to the bottom */
    padding-left: 20px; /* Adds space at the bottom */
    padding-top: 10px; /* Adds space at the bottom */
    padding-bottom: 10px; /* Adds space at the bottom */
    padding-right: 20px; /* Adds space at the bottom */
    align-self: start; /* Aligns footer to the start of the flex container */
    border-radius: 15px;
    background-color: rgba(100, 100, 100, 0.6); /* Background color for footer */
    tr, td {
        margin: 0;
        border: 1;
        padding: none;
        border-bottom: none;
        text-align: left;
    }
}
.language-switcher {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
}
