/*
    <link rel="preconnect" href="https://fonts.gstatic.com">
    <link href="https://fonts.googleapis.com/css2?family=Montserrat&family=Nunito+Sans:wght@600;800&display=swap" rel="stylesheet"> 
    <link href="https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic" rel="stylesheet"> 
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@600;800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
    font-size: 1.00em;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.20em;
    background-color: #fdfcfa;
    color: #2e3440;
}

.contents {
    line-height: 1.5em;
}

.footer {
    line-height: 1.5em;
    font-size: 0.8em;
}

.header-anchor {
    visibility: hidden;
    margin-left: -17px;
}

h1:hover .header-anchor,
h2:hover .header-anchor,
h3:hover .header-anchor {
    visibility: visible;
}

pre {
    background-color: #f4f4f3;
    display: block;
    overflow-x: auto;
    color: #000000;
    padding: 0.5em;
}

code {
    font-family: 'Ubuntu Mono', monospace;
    background-color: #f4f4f3;
}

h1 {
    font-family: 'Nunito Sans', serif;
    color: #bf616a;
    line-height: 1em;
}


h2, h3, h4 {
    font-family: 'Nunito Sans', serif;
    color: #81363c;
    line-height: 1em;
}

a {
    font-weight: bold;
    color: #434c5e;
}

a:hover {
    background-color: #ebcb8b;
}

.nostyle {
    color: black;
    text-decoration: none; /* no underline */
}

a.nostyle:hover {
    background-color: transparent;
}

.writings-table td {
    border-bottom: 1px solid #ccc;
    padding-right: 1em;
}
.writings-time {
    white-space: nowrap;
}

img.foodImage {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
}

@media (max-width: 800px)  {
    .contents, .footer {
        max-width: 1600px;
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 50px;
    }

    #logoBox {
        display: inline-block;
    }
}

@media (min-width: 800px) {
    .contents, .footer {
        max-width: 1600px;
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 50px;
    }

    #logoBox {
        margin: 0 auto;
    }
}

.sidebar h1 {
    font-size: 1.2em;
}

#course-plan {
    border-collapse: collapse;
    width: 100%;
}

#course-plan td, #course-plan th {
    border: 1px solid rgb(233, 224, 218);
    padding: 8px;
}

#course-plan tr:nth-child(even){background-color: #f2f2f2;}

#course-plan tr:hover {background-color: rgb(235, 214, 208);}

#course-plan th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #995c4d;
    color: white;
}