/* Replicating asahilinux.org styles */

/*! destyle.css v2.0.2 | MIT License | https://github.com/nicolas-cusan/destyle.css */
*,::before,::after{box-sizing:border-box;border-style:solid;border-width:0}html{line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}body{margin:0}main{display:block}p,table,blockquote,address,pre,iframe,form,figure,dl{margin:0}h1,h2,h3,h4,h5,h6{font-size:inherit;line-height:inherit;font-weight:inherit;margin:0}ul,ol{margin:0;padding:0;list-style:none}dt{font-weight:bold}dd{margin-left:0}hr{box-sizing:content-box;height:0;overflow:visible;border-top-width:1px;margin:0;clear:both;color:inherit}pre{font-family:monospace,monospace;font-size:inherit}address{font-style:inherit}a{background-color:transparent;text-decoration:none;color:inherit}abbr[title]{text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:inherit}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img,embed,object,iframe{vertical-align:bottom}button,input,optgroup,select,textarea{-webkit-appearance:none;appearance:none;vertical-align:middle;color:inherit;font:inherit;background:transparent;padding:0;margin:0;outline:0;border-radius:0;text-align:inherit}[type="checkbox"]{-webkit-appearance:checkbox;appearance:checkbox}[type="radio"]{-webkit-appearance:radio;appearance:radio}button,input{overflow:visible}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{cursor:pointer;-webkit-appearance:none;appearance:none}button[disabled],[type="button"][disabled],[type="reset"][disabled],[type="submit"][disabled]{cursor:default}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}select::-ms-expand{display:none}option{padding:0}fieldset{margin:0;padding:0;min-width:0}legend{color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}label[for]{cursor:pointer}details{display:block}summary{display:list-item}[contenteditable]{outline:none}table{border-collapse:collapse;border-spacing:0}caption{text-align:left}td,th{vertical-align:top;padding:0}th{text-align:left;font-weight:bold}template{display:none}[hidden]{display:none}

/* Asahi Styles Start */

body {
    font-family: 'Noto Sans JP', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #2C2C2C;
    background-color: #FFF;
}

h1 { font-size: 200%; }
h2 { font-size: 150%; }

p, i {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    line-height: 1.4em;
}

b, strong { font-weight: 500; }
.white-text { color: white; }

a { transition: opacity 0.5s; }
a:hover { opacity: 0.5; transition: opacity 0.5s; }

body.landing h1 {
    font-size: 200%;
    margin-bottom: 5px;
    font-weight: 700;
}

body.landing h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 125%;
    margin-bottom: 4px;
}

body.landing section p {
    font-size: 120%;
}

.header-logo {
    text-align: center;
}

.header-logo img.logo {
    height: 130px;
    display: inline-block;
    margin: 11px auto 0px auto;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: 2px;
    color: #2C2C2C;
}

.header-tag-nav {
    width: 90%;
    max-width: 62em;
    margin: 0 auto;
}

.tag-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
    padding: 20px 0px;
    border-top: solid 1px #2C2C2C;
}

.tag-container li {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin: 5px 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tag-container li a {
    color: #6e5494;
}

.tag-container li a:hover {
    color: #4d8fac;
}

header {
    border-bottom: solid 1px #B8E1FF;
}

#eye-catch {
    background-color: #EFEFEF;
}

#eye-catch > div {
    display: flex;
    align-items: center;
    padding: 10vh 0px;
    margin: 0px auto;
    width: 90%;
    max-width: 62em;
}

#eye-catch > div > div {
    flex-basis: 50%;
    display: block;
}

#eye-catch > div > div:nth-of-type(1) {
    padding-right: 60px;
    animation-name: fadein;
    animation-duration: 2.5s;
}

@keyframes fadein {
    from { opacity: 0; }
    to { opacity: 1; }
}

#eye-catch > div > div:nth-of-type(2) {
    padding: 50px 0px 50px 60px;
    border-left: solid 1px #6D6D6D;
}

#eye-catch h2 {
    margin-top: 3em;
    text-align: center;
    font-family: inherit;
}

#eye-catch pre {
    text-align: center;
    background: none;
    font-size: 130%;
    margin: 0.3em 0.3em;
    padding: 0 1em;
    color: inherit;
}

#eye-catch code {
    display: inline-block;
    width: auto;
    background-color: #43825c;
    color: #fff;
    margin: 0.5em 0.2em;
    padding: 0.5em 1em;
    font-family: monospace;
}

.more {
    font-size: 135%;
    position: relative;
    font-family: 'Noto Sans JP', sans-serif;
    color: #79D5FF;
}

.more i {
    position: relative;
    top: 3px;
    left: 10px;
}

#eye-catch .more {
    color: #A61200;
}

/* Sections */

section {
    background-color: #EFEFEF;
}

.center-title {
    margin: 50px auto;
    text-align: center;
}

.center-title h1 {
    font-weight: 700;
}

/* Colors for specific sections like Asahi */

#projects {
    background-color: #4ecbaa; /* Like download */
}

#blog-preview {
    background-color: #9D2D48; /* Like community */
    color: white;
}

#blog-preview h2, #blog-preview h1 { color: white; }

.white-text { color: white; }

/* Grid / Cards */

.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 62em;
    margin: 0 auto;
}

.card {
    background-color: #057f5f;
    color: white;
    padding: 30px;
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card h3 { margin-bottom: 15px; font-weight: 700; }
.card p { margin-bottom: 20px; }

/* Footer */

footer {
    margin-top: auto;
}

.footer-menu {
    display: flex;
    justify-content: space-between;
    width: 90%;
    max-width: 62em;
    margin: 40px auto;
}

.footer-logo {
    justify-content: flex-start;
}

.footer-logo img.logo {
    height: 75px;
    margin-bottom: 10px;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.footer-services {
    display: flex;
    justify-content: flex-end;
}

ul.footer-services i {
    color: #676767;
    font-size: 150%;
    margin-left: 15px;
}

.footer-menu-container {
    display: flex;
    margin-top: auto;
}

.footer-menu-container li {
    font-family: 'Noto Sans', sans-serif;
    font-size: 80%;
    margin-left: 20px;
}

.license {
    display: block;
    font-size: 60%;
    opacity: 0.8;
}

/* Blog List */

.blog-list {
    max-width: 62em;
    margin: 0 auto;
    padding: 20px 0;
}

.post-list ul li {
    background-color: #e0e0e0;
    list-style: none;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
    color: #2c2c2c;
}

.post-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: #2c2c2c;
    display: block;
    margin-bottom: 5px;
}

.post-title:hover {
    color: #6e5494;
}

.post-list summary {
    margin: 5px 0px;
    font-size: 1rem;
    line-height: 1.5;
    color: #2c2c2c;
}

.post-list .meta {
    font-weight: 400;
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

.feed-content {
    margin-top: 10px;
}

/* Individual Post */

.welcome-message {
    font-family: 'Noto Serif JP', serif;
    font-style: italic;
    font-weight: 200;
    font-size: 1.8rem;
    color: #555;
    margin-bottom: 50px;
    text-align: center;
}

#post-section {
    background-color: #EFEFEF;
    min-height: 70vh;
}

.post-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px auto;
    width: 90%;
    max-width: 62em;
}

.post {
    width: 100%;
}

.blog-header {
    border-bottom: 1px solid #999999;
    text-align: left;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.blog-header h1.entry-title {
    font-size: 250%;
    margin: 25px 0;
    font-weight: 700;
}

@media screen and (max-width: 750px) {
    .header-logo .logo-text { font-size: 1.5rem; }
    div.header-menu { width: 90%; }
    .menu-container { flex-wrap: wrap; }
    .menu-container li { margin: 0px 15px; line-height: 2em; }
    #eye-catch > div { display: block; padding: 50px 0px; }
    #eye-catch > div > div:nth-of-type(1) { padding-right: 0px; }
    #eye-catch > div > div:nth-of-type(2) { padding: 50px 0px 50px 0px; border-left: none; }
    .footer-menu { flex-direction: column; margin: 20px auto; text-align: center; }
    .footer-services { justify-content: center; }
    .footer-logo { order: 2; margin-top: 20px; }
}
