/* public style */

h1 {
    font-family: noto SansSerif, sans-serif;
    text-align: center;
}

h2 {
    font-family: noto SansSerif, sans-serif;
    margin-top: 20px;
}

td {
    font-family: noto SansSerif, sans-serif;
}

p {
    font-family: noto SansSerif, sans-serif;
}

table {
}

img {
    border: 3px solid navajowhite;
    border-radius: 10px;
}

a:link {
    text-decoration: none;
}

a:visited {
    color: blue;
    text-decoration: none;
}

body {
    background-color: navajowhite;
}

.menu {
    font-family: noto SansSerif, sans-serif;
    background-color: white;
    border: 3px solid white;
    border-radius: 10px;
}

.menu nav {
    width: 100%;
    height: 50px;
    padding-top: 2px;
    box-sizing: border-box;
}

.menu ul {
    display: flex;
}

.menu li {
    list-style: none;
}

.menu a {
    display: block;
    text-decoration: none;
    margin-right: 35px;
}

/* end of public style */
/* home style*/

.contact {
    margin-top: 20px;
}

.contact p {
    color: gray;
}

.contact table {
}

.contact table td {
    padding: 3px 10px;
}

.education {
    margin-top: 20px;
}

.education table {
}

.education table th {
    padding: 5px 10px;
    font-family: noto SansSerif, sans-serif;
    border-right: 3px solid blue;
}

.education table td {
    padding: 5px 10px;
    font-family: noto SansSerif, sans-serif;
    background-color: white;
    border: 3px solid white;
    border-radius: 10px;
}

.skills {
    margin-top: 20px;
}

.skills table {
    margin-bottom: 10px;
}

.skills table th {
    padding: 5px 10px;
    text-align: left;
    font-family: noto SansSerif, sans-serif;
    border-bottom: 3px solid blue;
    border-left: 3px solid blue;
}

.skills table td {
    padding: 5px 10px;
    font-family: noto SansSerif, sans-serif;
    background-color: white;
}

.language {
    margin-top: 20px;
}

.language table td, .language table th {
    padding: 5px 10px;
    font-family: noto SansSerif, sans-serif;
}

.language table th {
    border-right: 3px solid blue;
}

/* end of home style */
/* travel style */

.title {
    font-family: noto SansSerif, sans-serif;
    background-image: url("tokyo_akiba.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 70px;
    width: 100%;
    overflow: hidden;
    text-align: center;
    border-radius: 10px;
}

.title h1 {
    color: white;
}

.triplist {
    margin: 20px auto 50px;
}

.triplist img {
    border: 5px solid navajowhite;
    border-radius: 5%;
}

.triplist h2 {
    text-align: center;
}

.triplist table {
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}

.triplist table td {
    text-align: center;
    color: gray;
}

.triplist table th {
    font-weight: bold;
    font-family: noto SansSerif, sans-serif;
}

.triplist a {
    color: blue;
}

/*end of travel*/
/*style for each page of travel report*/

.travelreport {
}

.travelreport h1 {
    text-align: center;
}

.travelreport h2 {
    text-align: center;
}

.travelreport table {
    padding: 5px 10px;
    margin-left: auto;
    margin-right: auto;
}

.travelreport table tr {
    padding: 5px;
}

.travelreport th {
    padding: 5px 10px;
    font-family: noto SansSerif, sans-serif;
    text-align: center;
    background-color: #f8f0e2;
    border-right: 5px solid blue;
    border-bottom: 5px solid blue;
    border-radius: 10px;
}

.travelreport td {
    padding: 5px 10px;
    text-align: left;
}

.travelreport img {
    border: 3px solid black;
    border-radius: 10px;
}

.travelreport p {
    width:60%;
    margin:5px auto;
    background-color: #f8f0e2;
    border-radius: 10px;
}

.travelreport figure {
    font-family: noto SansSerif, sans-serif;
    text-align: center;
    margin: auto;
    margin-top: 10px;
}

.travelreport figure img {
    aspect-ratio: 4 / 3;
    border: 5px solid navajowhite;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    height: auto;
    object-fit: cover;
    margin-top: 20px;
}

@media screen and (max-width: 576px) {
    .travelreport figure img {
        aspect-ratio: 4 / 3;
        width: 90%;
        height: auto;
        object-fit: cover;
        margin-top: 20px;
    }

    .travelreport p {
        min-width: 90%;
        background-color: #f8f0e2;
        border-radius: 10px;
    }

    .triplist table img {
        width: 90%;
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }
}

.travelreport figcaption {
    color: dimgray;
    margin-left: auto;
    margin-right: auto;
}

.travelreport h2 {
    padding-top: 60px;
}

.travelreport p {
    padding: 10px 10px 20px;
}

.travelreport a {
    color: blue;
    text-decoration-color: blue;
}

.travelreport a:link {
}

.travelmenu nav {
    width: 30%;
    height: 50px;
    padding-top: 2px;
    box-sizing: border-box;
    background-color: white;

}

.travelmenu {
    font-family: noto SansSerif, sans-serif;
}

.travelmenu ul {
    display: flex;
}

.travelmenu li {
    list-style: none;
}

/*end of travel*/
/*math and cs */
.mathtitle {
    font-family: noto SansSerif, sans-serif;
    background-image: url("japan_header.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 70px;
    width: 100%;
    max-lines: 1;
    overflow: hidden;
    text-align: center;
    border-radius: 10px;
}

.mathtitle h1 {
    color: white;
}




