@import url('https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500;700&display=swap');
@keyframes fade-in {
    from {opacity: 0;}
    to {opacity: 1;}
}
* {
    line-height: 3vh;
    box-sizing: border-box;
    user-select: none;
    font-family: 'Fira mono', monospace;
}
:root {
    --bg-light: #e8dbcd;
    --bg-dark: #cd8157;
    --font-light:#247684;
    --font-dark: #0d4954;
    transition: background-color 0.5s linear, color 0.5s linear;
}
:root.dark-mode {
    --bg-light: #2C3639;
    --bg-dark: #cd8157;
    --font-light: #A27B5C; 
    --font-dark: #e8dbcd;
    transition: background-color 0.5s linear, color 0.5s linear;
}
body {
    color: var(--font-dark);
    background-color: var(--bg-light);
}
#color-switch {
    padding: 5px;
    border-radius: 5px;
    background-color: var(--font-dark);
    border: none;
    width: fit-content;
    height: 40px;
    transition: background-color 0.2s linear, color 0.2s linear;
    position: fixed;
    top: 1vw;
    right: 1vw;
}
#main {
    transition: background-color 0.5s linear, color 0.5s linear;
    display: block;
    animation: fade-in .8s;
    padding: 0 3%;
}
#main > div {
    margin-left: 3%;
}
.section-left {
    width: 35%;
    margin-right: 5%;
    float: left;
}
.section-right {
    width: 45%;
    margin-right: 5%;
    float: right;
}
.section-left>ul {
    margin-bottom: 5vh;
}
.section-right>ul:not(:first-of-type) {
    margin-top: 5vh;
}
.line {
    display: block;
    border-top: 3px solid var(--bg-dark);
    width: 75%;
    margin: 1% auto 2% 0;
    padding: 0;
}
#left-section-line {
    display: none;
}
.list-desc {
    width: 80%;
    text-align: justify;
    line-break: loose;
    margin: 0.8em 0;
    color: var(--font-light);
    animation: ease-in .1s;
}
.list-desc::before, .list-desc-link::before {
    display: none;
}
.list-desc-link {
    width: 80%;
    margin: 0.8em 0;
    color: var(--font-light);
}
@media only screen and (max-width: 775px) {
    .line {
        width: 98%;
    }
    .section-left {
        float: none;
        width: 85%;
        margin: 0 auto 0 3%;
    }
    .section-right {
        float: none;
        width: 80%;
        margin: 0 auto 0 3%;
    }
    #left-section-line {
        margin: 20px 0 20px -3%;
        display: block;
    }
    .list-desc, .list-desc-link {
        width: 120%;
        text-align: left;
    }
}
h1, h2, li, a {
    font-weight: bold;
    letter-spacing: 1px;
}
h1 {
    line-height: normal;
    font-size: 4em;
    margin: 5px;
}
h2 {
    font-size: 1.7em;
    margin: 25px 0 5px 0;
}
ul {
    list-style: none;
    margin: 0;
}
li {
    font-size: 1.3em;
    border: 1.3em 0;
    color: var(--font-dark);
}
li:before { 
    content: "";
    border-color: transparent var(--bg-dark);
    border-style: solid;
    border-width: 0.35em 0 0.35em 0.45em;
    display: block;
    left: -1em;
    top: 0.9em;
    width: fit-content;
    position: relative;
}
a {
    text-decoration: none;
    color: var(--font-dark);
    position: relative;
}
a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--bg-dark);
    top: 1.15em;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .3s ease-in-out;
}
a:hover::before {
    transform-origin: left;
    transform: scaleX(1);
}