* {
    transition: all 200ms;
    transition: background-color 1200ms;
}
* ::before,::after {
box-sizing: inherit;
}
html {
    color: #000;
    scrollbar-width: thin;
    scrollbar-color: #aaa #ccc;
}

body {
    padding-top: 100px;
    margin: 0;
    background-color: #9adafe;
}

a {
    color: #000;
}
a.anchor {
    padding-top: 70px;
    margin-top: -70px;
}
hr {
    border-color: #000;
}

header {
    z-index: 100;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 auto;
    height: 5%;
    min-height: 100px;
    background-color: #fff;
    border-bottom: solid 2px #000;
}

header div {
    height: fit-content;
}

#title {
    display: flex;
    align-items: flex-end;
    margin-left: 3%;
}

.logo_pic {
    margin: auto;
    height: fit-content;
    max-height: 10vh;
    min-height: 80px;
}

.st {
    margin-bottom: 0;
}

.mt {
    margin-top: 0;
}

#navigation {
    display: flex;
    margin-right: 3%;
}

#navigation a {
    margin: auto 10px;
    color: #000;
    height: fit-content;
}

#navigation button {
    margin: auto 10px;
    background: none;
    border: none;
}

a:any-link {
    text-decoration: none;
}

.theme_obj {
    color: #000;
}

#theme_button:hover {
    cursor: pointer;
}

footer {
    display: flex;
    margin: 0;
    padding: 0 5%;
    height: 5%;
    min-height: 120px;
    background-color: #fff;
    border-top: solid 2px #000;
}

footer nav { 
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    height: fit-content;
    gap: 48px;
}

footer nav dl {
    width: 160px;
}

dt{
    font-weight: bold;
}

footer nav dt h4 {
    margin-top: 0;
}

footer nav dd {
    margin: 0;
}

.mobile #navigation {
    display: none;
}

.material-icons {
    display: inline-block;
    vertical-align: top;
    
}


/* darkmode setting */
.dark {
    color: #fff;
    scrollbar-color: #666 #222;
}

.dark body {
    background-color: #1e232d;
}

.dark hr {
    border-color: #fff;
}

.dark a {
    color: #fff;
}

.dark header {
    background-color: #000;
    border-color: #fff;
}

.dark .logo_pic {
    filter: invert(100%);
}

.dark #head_link {
    color: #fff;
}

.dark .theme_obj {
    color: #fff;
}

.dark footer {
    background-color: #000;
    border-color: #fff;
}


