/* COMMON */

.collapse {
    display: none;
}

.collapse.show {
    display: block;
}

@font-face {
    font-family: "Saitamaar";
    src: url("/font/Saitamaar.woff2") format("woff2"),
        url("/font/Saitamaar.woff") format("woff"),
        url("/font/Saitamaar.ttf") format("ttf");
    font-display: swap;
}

:root {
    --cool-fonts:
        "MS UI Gothic",
        "Saitamaar",
        "Verdana",
        "Trebuchet MS",
        sans-serif;
    --regular-fonts:
        "MS Sans Serif",
        sans-serif;
    --border-width: 1px;
    --background-color: #F5F5F5;
    --foreground-color: #248baa;
    --shadow-color: #aaecfe;
    --highlight-color: #F0F8FF;
    --accent-color: #1F4780;

    --round-thing: 7px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    cursor: url('/cursor.png'), default;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: var(--cool-fonts);
    font-size: 12pt;
    color: var(--foreground-color);
    background: url("/backgrounds/clouds2.png");
}

a {
    cursor: url('/pointer.png'), pointer;
}

hr {
    border: 0;
    border-bottom: 1px dashed var(--foreground-color);
}

.page-wrapper {
    height: min-content;
    flex-grow: 1;
    min-width: 0;
    max-width: 802px;
    margin: 8px 0;
    border: solid var(--border-width) var(--foreground-color);
    border-radius: var(--round-thing);
}

.page-wrapper * {
    max-width: 100%;
    overflow-wrap: break-word;
}

:any-link {
    color: var(--accent-color);
}

.underline {
    text-decoration: underline 1px dotted;
}

header {
    display: flex;
    align-items: end;
    height: 200px;
    padding: 10px;
    background: url("/images/mayuri-header.png");
    background-position: right;
}

header {
    display: flex;
    align-items: end;
    height: 200px;
    padding: 10px;
    background: url("/images/mayuri-header.png");
    background-position: right;
}

.header-container {
    position: relative;
    border-top-left-radius: var(--round-thing);
    border-top-right-radius: var(--round-thing)
}

.header-name {
    position: absolute;
    left: 0;
    bottom: 0;
}

.header-name img {
    margin-left: 5px;
    padding-top: 10px;
}

.header-name a {
    text-decoration: none;
}

.site-name {
    margin-bottom: 10px;
    font-style: italic;
    color: #aaecfe;
    -webkit-text-stroke: 1px #228BC4;
    font-size: 2em;
    display: inline-block;
    font-family: sans-serif;
}

@media (max-width: 420px) {
    .site-name {
        font-size: 1.5em;
    }

    .header-name img {
        width: 20px;
    }
}

@media (max-width: 300px) {
    .site-name {
        font-size: 1.3em;
    }
}

.page-content {
    display: grid;
    grid-gap: 8px;
    grid-template-columns: 136px 1fr;
    grid-template-areas:
        "aside main"
        "footer footer";
    padding: 6px;
    background: var(--background-color);
    border-bottom-left-radius: var(--round-thing);
    border-bottom-right-radius: var(--round-thing);
}

aside {
    grid-area: aside;
}

aside iframe {
    margin-top: -1px;
    width: 100%;
}

.site-navigation {
    --foreground-color: #000000;
    
    text-align: center;
    font-family: var(--regular-fonts);
    border: solid var(--foreground-color) var(--border-width);
    color: var(--foreground-color);
    background: var(--foreground-color);
}

.site-navigation a {
    display: block;
    padding: 4px 10px;
    text-decoration: none;
    border-style: solid;
    border-width: var(--border-width);
    border-color: #FFFFFF #808080 #808080 #FFFFFF;
    outline-bottom:
        var(--border-width)
        solid
        var(--foreground-color);
    color: inherit;
    background: var(--highlight-color);
}
.site-navigation a:not(:last-child) {
    margin-bottom: var(--border-width);
}

main {
    grid-area: main;
}

.block {
    border: solid var(--foreground-color) var(--border-width);
    border-radius: var(--round-thing);
}

.block > h2 {
    background-image: url(/images/header2.png);
}

.block > h2, .block > h3 {
    padding: 2px;
    margin: 0;
    text-align: center;
    font-size: 1em;
    border-bottom: solid var(--foreground-color) var(--border-width);
}

.block > h3 {
    font-size: 1.17em;
    margin-top: 16px;
    padding-bottom: 16px;
}

.block > .content {
    padding: 4px;
    /* border: solid var(--foreground-color) var(--border-width);
    border-radius: var(--round-thing);
    margin-top: 4px; */
}

/* .block > .content > *:first-child {
    margin-top: 0;
}
.block > .content > *:last-child {
    margin-bottom: 0;
} */

footer {
    grid-area: footer;
    padding: 2px;
    text-align: center;
    border: solid var(--foreground-color) var(--border-width);
    border-radius: var(--round-thing);
}

.index-updates {
    overflow-y: auto;
    max-height: 400px;
    padding-left: 20px;
}

.index-updates li {
    margin-bottom: 5px;
}

.navi-iframe {
    overflow-x: hidden;
    overflow-y: hidden;
    height: 250px;
}

.thoughts-iframe {
    overflow-x: hidden;
    overflow-y: hidden;
    height: 682px;
}

.seasonal-container, .chime-container {
    overflow: hidden;
    position: fixed;
    top: 0;
}

.chime-container {
    left: 0;
}

.chime-iframe {
    height: 106px;
    width: 89px;
}

.seasonal-iframe {
    height: 217px;
    width: 121px;
}

.seasonal-container {
    right: 0;
}

@media (max-width: 600px) {
    .page-content {
        display: block;
    }
    
    .page-content > *:not(:last-child) {
        margin-bottom: 8px;
    }
}

.index-updates {
    padding-left: 20px;
}

.index-updates li {
    margin-bottom: 5px;
}

/* ABOUT ME */

.profile-table {
    border-collapse: collapse;
}

.profile-table td {
    border: 1px dotted #00ceff;
}

/* PHOTO */

.polaroid-album-wrapper {
    /* display: flex; */
}

.polaroid-card {
    box-sizing: initial;
    border: 1px dotted #228BC4;
    display: inline-block;
    width: 185px;
    height: 230px;
    background-color: white;
    box-shadow: 0 0 16px -9px #000000;
    padding: 10px;
    margin: 5px 0;
}

.polaroid-card-image {
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 200px;
}

.polaroid-card-description {
    font-family: 'Caveat', cursive;
    margin: 10px 0;
}

.polaroid-album-wrapper a {
    text-decoration: none;
}

/* GALLERY */

.gallery {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}


/* Create four equal columns that sits next to each other */

.gallery-column {
    box-sizing: border-box;
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.gallery-column-3 {
    box-sizing: border-box;
    flex: 33%;
    max-width: 33%;
    padding: 0 4px;
}

.gallery-column img, .gallery-column-3 img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
}


/* Responsive layout - makes a two column-layout instead of four columns */

@media screen and (max-width: 800px) {
    .gallery-column {
        flex: 50%;
        max-width: 50%;
    }
}


/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */

@media screen and (max-width: 600px) {
    .gallery-column {
        flex: 100%;
        max-width: 100%;
    }
}

.buttons-table td {
    width: 89px;
    overflow-wrap: anywhere;
}

/* GUESTBOOK */
#HCB_comment_box textarea {
    /* add any custom CSS for the comment box here. */
    
  }
  
  /* the entire html comment box container. applies to everything */
  #HCB_comment_box {
    font-family: 'ms ui gothic', verdana, 'trebuchet ms', sans-serif !important;
    color: #888;
  }

  #hcb_form_name, #hcb_form_content {
    font-family: 'ms ui gothic', verdana, 'trebuchet ms', sans-serif !important;
  }
  
  #HCB_comment_box p.error {
    border: 1px solid red;
    background-color: #fee;
  }
  
  .hcb-mod b {
      color:#DD3344;
  }
  
  #HCB_comment_box textarea, #HCB_comment_box input.text {
    padding: 3px 4px;
    box-shadow: inset -1px -1px #fff, inset 1px 1px grey, inset -2px -2px #dfdfdf, inset 2px 2px #0a0a0a;
    background-color: #fff;
    box-sizing: border-box;
  }

    #hcb_form_name, #hcb_form_content {
        padding: 3px 4px !important;
    box-shadow: inset -1px -1px #fff, inset 1px 1px grey, inset -2px -2px #dfdfdf, inset 2px 2px #0a0a0a !important;
    background-color: #fff !important;
    box-sizing: border-box !important;
    border: none !important;
    border-radius: 0 !important;
    }
  
  #HCB_comment_box .hcb-wrapper-half {
      display:block;
      width:50%;
      float:left;
  }
  #HCB_comment_box .hcb-wrapper {
      clear:both;
  }
  #HCB_comment_box input.text {
      display:block;
      width:97%;
  }
  /* the submit button */
  #HCB_comment_box input.submit, #HCB_comment_box #HCB_comment_form_box .btn {
    cursor: url('/pointer.png'), pointer;
    color: #000000 !important; 
    text-decoration: none !important;
    /* font-family: "MS Sans Serif"; */
    font-size: 14px !important;
    outline: 1px solid #000000 !important;
    background: aliceblue !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: #FFFFFF #808080 #808080 #FFFFFF !important;
    padding: 4px 10px !important;
    display: inline-block !important;
    position: relative !important;
    bottom: 0px !important;
    font-family: 'ms ui gothic', verdana, 'trebuchet ms', sans-serif !important;
    border-radius: 0 !important;
  }

  #HCB_comment_box #HCB_comment_form_box .btn{
    font-family: 'ms ui gothic', verdana, 'trebuchet ms', sans-serif !important;
  }
  
  #HCB_comment_box span.home-desc {
    font-size:10px;
    opacity:0.4;
  }
  
  /* the individual comment display containers */
  #HCB_comment_box div.comment {
    border-bottom:1px dotted #eee;
    margin-bottom:5px;
  }
  
  /* the moderator message */
  .hcb-mod  i{
    color:darkblue;
  }

  .thoughts {
      padding: 5px;
  }

  .collapse-block p {
    margin: 4px 0;
}

.collapse-header {
    margin: 4px 0;
    display: inline-block;
    /* text-decoration: underline 1px dotted; */
    border-bottom: 1px dashed;
    cursor: url('/pointer.png'), pointer;
}

.collapse-content {
    display: none;
}