
html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
	-webkit-text-size-adjust: none;
}

mark {
	background-color: transparent;
	color: inherit;
}

/* Basic */

    @-ms-viewport {
        width: device-width;
    }

    body {
        -ms-overflow-style: scrollbar;
    }

    @media screen and (max-width: 480px) {

        html, body {
            min-width: 320px;
        }

    }

    html {
        box-sizing: border-box;
    }

    *, *:before, *:after {
        box-sizing: inherit;
    }

    /*
    body {
        background-color: #2e3141;
        background-image: linear-gradient(to top, rgba(46, 49, 65, 0.8), rgba(46, 49, 65, 0.8)), url("img/bg.jpg");
        background-size: auto,  cover;
        background-attachment: fixed, fixed;
        background-position: center, center;
    }
    */
    body {
        background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
    }

    body.is-preload *, body.is-preload *:before, body.is-preload *:after {
        -moz-animation: none !important;
        -webkit-animation: none !important;
        -ms-animation: none !important;
        animation: none !important;
        -moz-transition: none !important;
        -webkit-transition: none !important;
        -ms-transition: none !important;
        transition: none !important;
    }

/* Type */

    body, input, select, textarea {
        color: #ffffff;
        /*
        font-family: "Source Sans Pro", Helvetica, sans-serif;
	    font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "Ubuntu", "Droid Sans", sans-serif, "Meiryo";
        font-family: 'Tahoma', 'Calibri', sans-serif;
        */
        font-family: Trebuchet MS, Tahoma, Verdana, Arial, Helvetica, sans-serif;
        font-size: 16.5pt;
        font-weight: 300;
        line-height: 1.65;
    }

    @media screen and (max-width: 1680px) {

        body, input, select, textarea {
            font-size: 13pt;
        }

    }

    @media screen and (max-width: 1280px) {

        body, input, select, textarea {
            font-size: 12pt;
        }

    }

    @media screen and (max-width: 980px) {

        body, input, select, textarea {
            font-size: 12pt;
        }

    }

    @media screen and (max-width: 736px) {

        body, input, select, textarea {
            font-size: 12pt;
        }

    }

    @media screen and (max-width: 480px) {

        body, input, select, textarea {
            font-size: 12pt;
        }

    }



/* Elements */

    a {
        -moz-transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
        -webkit-transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
        -ms-transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
        transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
        border-bottom: dotted 1px rgba(255, 255, 255, 0.35);
        color: #ffffff;
        text-decoration: none;
    }

    a:hover {
        border-bottom-color: transparent;
        color: #ffffff !important;
    }

    strong, b {
        color: #ffffff;
        font-weight: 600;
    }

    em, i {
        font-style: italic;
    }

    p {
        margin: 0 0 2em 0;
    }

    h1, h2, h3, h4, h5, h6 {
        color: #ffffff;
        font-family: Raleway, Helvetica, sans-serif;
        font-weight: 700;
        letter-spacing: 0.1em;
        margin: 0 0 1em 0;
        text-transform: uppercase;
    }

    h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
        color: inherit;
        text-decoration: none;
        border-bottom: 0;
    }

    h1 span, h2 span, h3 span, h4 span, h5 span, h6 span {
        font-weight: 200;
    }

    h1.major, h2.major, h3.major, h4.major, h5.major, h6.major {
        padding-bottom: 1em;
        border-bottom: solid 2px rgba(255, 255, 255, 0.125);
    }

    h2 {
        font-size: 1.2em;
    }

    h3 {
        font-size: 0.9em;
    }

    h4 {
        font-size: 0.7em;
    }

    h5 {
        font-size: 0.7em;
    }

    h6 {
        font-size: 0.7em;
    }

    @media screen and (max-width: 736px) {

        h2 {
            font-size: 1em;
        }

        h3 {
            font-size: 0.8em;
        }

    }

    sub {
        font-size: 0.8em;
        position: relative;
        top: 0.5em;
    }

    sup {
        font-size: 0.8em;
        position: relative;
        top: -0.5em;
    }

    blockquote {
        border-left: solid 4px rgba(255, 255, 255, 0.125);
        font-style: italic;
        margin: 0 0 2em 0;
        padding: 0.5em 0 0.5em 2em;
    }

    code {
        background: rgba(255, 255, 255, 0.025);
        /* border-radius: 5px; */
        border: solid 2px rgba(255, 255, 255, 0.125);
        font-family: "Courier New", monospace;
        font-size: 0.9em;
        margin: 0 0.25em;
        padding: 0.25em 0.65em;

        white-space: pre;
        word-wrap: break-word;
        border-radius: 0.5rem;
        word-break: normal;
    }

    pre {
        -webkit-overflow-scrolling: touch;
        font-family: "Courier New", monospace;
        font-size: 0.9em;
        margin: 0 0 2em 0;
    }

    pre code {
        display: block;
        line-height: 1.75em;
        padding: 1em 1.5em;
        overflow-x: auto;
    }

    hr {
        border: 0;
        border-bottom: solid 2px rgba(255, 255, 255, 0.125);
        margin: 2.5em 0;
    }

    img {
        max-width: 100%;
        max-height: 100%;
        border-radius: 15px;
        /* display: block; */
    }


/* List */

    ol {
        list-style: decimal;
        margin: 0 0 2em 0;
        padding-left: 1.25em;
    }

        ol li {
            padding-left: 0.25em;
        }

    ul {
        list-style: disc;
        margin: 0 0 2em 0;
        padding-left: 1em;
    }

        ul li {
            padding-left: 0.5em;
        }

    dl {
        margin: 0 0 2em 0;
    }

        dl dt {
            display: block;
            font-weight: 600;
            margin: 0 0 1em 0;
        }

        dl dd {
            margin-left: 2em;
        }


    ol li > :first-child:not(:last-child),
    ul li > :first-child:not(:last-child) {
        margin-bottom: 2em;
    }


/* Table */

    .table-wrapper {
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
    }

    table {
        margin: 0 0 2em 0;
        width: 100%;
    }

        table tbody tr {
            border: solid 1px rgba(255, 255, 255, 0.125);
            border-left: 0;
            border-right: 0;
        }

            table tbody tr:nth-child(2n + 1) {
                background-color: rgba(255, 255, 255, 0.025);
            }

        table td {
            padding: 0.75em 0.75em;
        }

        table th {
            color: #ffffff;
            font-size: 0.9em;
            font-weight: 600;
            padding: 0 0.75em 0.75em 0.75em;
            text-align: left;
        }

        table thead {
            border-bottom: solid 2px rgba(255, 255, 255, 0.125);
        }

        table tfoot {
            border-top: solid 2px rgba(255, 255, 255, 0.125);
        }

    table.table1 {
        border-collapse: separate;
    }

        table.table1 tbody tr td {
            border: solid 1px rgba(255, 255, 255, 0.125);
            border-left-width: 0;
            border-top-width: 0;
        }

            table.table1 tbody tr td:first-child {
                border-left-width: 1px;
            }

        table.table1 tbody tr:first-child td {
            border-top-width: 1px;
        }

        table.table1 thead {
            border-bottom: 0;
        }

        table.table1 tfoot {
            border-top: 0;
        }


/* Align */

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

.align-right {
	text-align: right;
}



/* Header */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0 20px;
    transition: all 0.3s ease;
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

#header nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

#header nav .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

#header nav .logo div {
    margin: -5px;
    position: relative;
    display: flex;
    justify-content: center;
    width: 50px;
    height: 50px;
}
#header nav .logo div img {
    border-radius: 50%;
}

#header nav .logo span {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #0436da, #7FFFD4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

#header nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px;
    margin: 0;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#header nav ul li {
    position: relative;
}

#header nav ul a {
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 25px;
    position: relative;
    display: block;
}

#header nav ul a:hover {
    background: #53639e;
}

#header nav ul a.active {
    color: white;
    background: linear-gradient(135deg, #4c5c96, #829ffe);
    box-shadow: 0 4px 15px rgba(107, 179, 255, 0.4);
}



#header nav #hamb {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

#header nav #hamb:hover {
    background: rgba(255, 107, 107, 0.1);
}

#header nav #hamb span {
    width: 25px;
    height: 3px;
    background: #555;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

#header nav #hamb.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

#header nav #hamb.active span:nth-child(2) {
    opacity: 0;
}

#header nav #hamb.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Content */
#content {
    max-width: 1197px;
    margin-top: 100px;
    min-height: calc(100vh - 71px - 100px);
    overflow: hidden;
    position: relative;
    margin-left: 5%;
    margin-right: 5%;
}

:not(#index) > #content > p,
:not(#index) > #content > h1,
:not(#index) > #content > h2,
:not(#index) > #content > h3 {
    margin-block-start: 30px;
}



/* Footer */
footer {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
    padding: 15px 20px 15px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #90A4AE;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(127, 255, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 171, 145, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

footer .social {
    display: flex;
    gap: 15px;
}

footer .social a {
    width: 40px;
    height: 40px;
    /* background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    */
    border-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B0BEC5;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

footer .social a:hover {
    /* background: linear-gradient(135deg, #0436da, #7FFFD4); */
    color: white;
    transform: translateY(-3px);
}


/* Mobile */
/* @media (max-width: 768px) { */
@media (max-width: 1025px) {
    #header nav .logo span {
        font-size: 24px;
    }

    #header nav ul {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(25px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
        padding: 30px 20px;
        border-radius: 0;
        border: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    #header nav ul li {
        padding: 10px 0;
        width: 100%;
    }

    #header nav ul a {
        width: 100%;
        text-align: center;
        padding: 15px 30px;
        border-radius: 15px;
    }

    #header nav ul.active {
        left: 0;
    }
    
    #header nav #hamb {
        display: flex;
    }

    /* Content */
    #content {
        margin-top: 80px;
        min-height: calc(100vh - 71px - 80px);
    }

    /* Social */
    footer .social {
        display: flex;
        gap: 7px;
    }
    footer .social a {
        width: 25px;
        height: 25px;
    }
}




/* index page */

#index {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

#index a {
    color: #0ea5e9;
    text-decoration: none;
}
#index a:hover {
    color: #0ea5e9;
    text-decoration: underline;
}

#index ul {
    position: relative;
    margin: 2em 0 0 0;
    padding: 0;
    list-style: none;
}

#index .timeline ul:before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #1e3c72, #0ea5e9, #38bdf8);
}

#index ul li {
    position: relative;
    padding-left: 80px;
    margin-bottom: 50px;
}
#index ul li:before {
    content: '';
    position: absolute;
    left: 20px;
    top: 10px;
    width: 21px;
    height: 21px;
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    border-radius: 50%;
    border: 3px solid #0f172a;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
}


#index ul li {
    font-size: 16px;
    color: #94a3b8;
    line-height: 1.6;
    font-weight: normal;
}
#index ul li > :first-child {
    font-size: 14px;
    color: #0ea5e9;
    font-weight: 600;
}
#index ul li > :first-child > code {
    margin-left: 20px;
}
#index ul li > :nth-child(2) {
    font-size: 20px;
    color: white;
    font-weight: 600;
    margin-top: 8px;
    margin-bottom: 10px;
}
