
:root {
    --theme-color-swan: #f1efef;
    --theme-color-canary: #E0D25D;
    --theme-color-raven:  #2D2C2E;
    --theme-color-crow:  #2a2829;
    --theme-color-waxbill:#847367;
    --theme-color-skylark:#cec8c8;
}

body {
    font-family: 'Bitter', serif;
    color:var(--theme-color-raven);
    background-color: var(--theme-color-swan);

    /* background-color: ; */
}
code mark {
    color: inherit;
}
p a,
blockquote a,
figcaption a,
cite a,
ul a,
ol a,
dl a,
table a,
nav a {
    color: var(--theme-color-waxbill);
    text-decoration: none;
    border-bottom: dotted 1px var(--theme-color-waxbill);
}
p a:hover,
blockquote a:hover,
figcaption a:hover,
cite a:hover,
ul a:hover,
ol a:hover,
dl a:hover,
table a:hover,
nav a:hover,
p a:focus,
blockquote a:focus,
figcaption a:focus,
cite a:focus,
ul a:focus,
ol a:focus,
dl a:focus,
table a:focus,
nav a:focus {
    color: var(--theme-color-waxbill);
    border-bottom: solid 1px var(--theme-color-waxbill);
}
.fw-200 {
    font-weight: 200;
}
.fw-400 {
    font-weight: 400;
}
strong,
.fw-600 {
    font-weight: 600;
}
.fw-800 {
    font-weight: 800;
}

a.link-color-invertit {
    color:white;
    border-bottom: dotted 1px white;
}
a.link-color-invertit:hover,
a.link-color-invertit:focus  {
    color:white;
    border-bottom: solid 1px white;
}

body.homepage .top-header {
    margin-bottom: 50px;
}
body.lesson .top-header {
    margin-bottom: 25px;
}
body.homepage .main-title {
    font-weight: 600;
    margin-bottom: 0.9rem;
}
body.homepage .main-title .title-detail { 
    display: block;
    font-size: 80%;
    font-weight: 400;
}

body.lesson .main-title {
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 0.9rem;
}
body.lesson .main-title .title-detail { 
    font-weight: 400;
    font-size: 0.88rem;
}

.content-header .breadcrumb-item{
    font-size: 0.88rem;
}

.contents-title {
    font-size: 1.5rem;
    font-weight: 600;
    width: 100%;
    margin-bottom: 24px;
}
.contents-title.contents-lesson-title { 
    margin-bottom: 36px;
}
.contents-subtitle {
    font-size: 1.2rem;
    font-weight: 200;
    width: 100%;
    margin-bottom: 20px;
    text-transform: uppercase;
}


.contents-title .title-detail {
    float: right;
    font-size: 1.2rem;
    font-weight: 200;
}

.content-header{
    margin-bottom: 40px;
}
body.lesson .content-header{
    margin-bottom: 70px;
}

.discord-link{
    text-decoration: none;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color:var(--theme-color-raven);
    display: flex;
    width: 38px;
    height: 38px;
    color: var(--theme-color-swan);
    cursor: pointer;
    padding: 7px;
}
 
.discord-link:hover {
    color:var(--theme-color-canary);
}
.main-logo {
    width:180px; height: 50px;position: relative;overflow: hidden;
}
body.homepage .main-logo {
    width:240px; height: 60px;;
}
.main-logo img {
    width: 100%;
}
.stamp {
    font-weight: 200;
    display: flex;
    flex-direction: row;    
    word-wrap: break-word;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: stretch;
    background-color:var(--theme-color-crow);
    min-height: 120px;
    text-decoration: none;
    color: var(--theme-color-swan);
    text-align: center;
    font-size: 1.18rem;
    line-height: 1.52rem;
    margin-bottom: 1.2rem;
    box-sizing: border-box;
    padding: 1rem;
    mix-blend-mode: hard-light;
}
.stamp:hover {
    color:var(--theme-color-canary);
    background-color:var(--theme-color-raven);
    mix-blend-mode:normal;
}

.stamp.waiting,
.stamp.waiting:hover{
    opacity: 0.7;
    background-color:var(--theme-color-skylark);
    mix-blend-mode: multiply; 
}


.contents-catalog {
    margin-bottom: 2.5rem;
}
/* .contents-title {
    border-bottom: solid 1px #FFF;
} */
/* .contents-title img.bookmark-bullet {
    display: inline;
    vertical-align: top;
    width: 22px;
} */


.return-bullet::before {
    content: url(../img/back-arrow.svg);
    display: inline-block;
    vertical-align: text-bottom;
    width: 14px;
    height: 20px;
}

.contents-title.bookmark-bullet::before {
    content: url(../img/bookmark-icon.svg);
    display: inline-block;
    vertical-align: top;
    width: 22px;
    height: 28px;
}
body.lesson .contents-title.bookmark-bullet::before {
    content: url(../img/bookmark-icon.svg);
}

.deco-alice {
    position: relative;
    overflow: visible;
    background-image: url(../img/alice-deco-580w.png);
    background-repeat: no-repeat;
    background-position: 31.5vw 0;
    background-attachment: fixed;
    background-size: 322px;
}
.text-sup {
    font-size: 70%;
    vertical-align: super;
}
.blockquote-small {
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--theme-color-crow);
    opacity: 0.8;
}

.blockquote-small + .blockquote-footer {
    font-size: 0.7rem;
}

.card-code{
    margin-bottom: 1rem;
    width: 100%;
}
.card-code code {
    font-size: 0.905rem;
}
.card-snippet .card-header {
    font-size: 0.75rem;
    padding: 0.4rem 1rem 0.36rem;
}
.card-snippet .blockquote{
    margin-bottom: 2rem;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: var(--theme-color-crow);
    opacity: 0.8;
}
.card-snippet .blockquote p {
    margin-bottom: 0.5rem;
}
.card-snippet .blockquote p:last-child {
    margin-bottom: 0rem;
}
.card-snippet .blockquote,
.card-snippet .blockquote-footer {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}
.card-snippet .blockquote-footer {
    margin-bottom: 0.5rem;
    margin-left: 2.6rem;
}
.card-code .card-body {
margin:0;
padding: 0;
}
:not(pre)>code[class*=language-], 
pre[class*=language-] {
    padding: 0.8rem 0.9rem 0.75rem;
    background-color: transparent;
    margin:0;
}

.toast:not(.showing):not(.show) {
    opacity: 0;
}
[class*="toast-bottom"] {
    bottom: -120px;
    transition: bottom 0.4s ease-out 0s;
}
.toast-bottom-right {
    right: 9px;
}
.toast-bottom-left {
    left: 9px;
}
[class*="toast-bottom"].show {
    bottom: 24px;
}

@media (min-width: 576px) {
    .deco-alice {
        background-size: 390px;
        background-position: 31vw -16px;
    }
    body.homepage .main-title {
        margin-bottom: 1.4rem;
    }
}
@media (min-width: 768px) {
    .deco-alice {
        background-size: 500px;
        background-position: 34vw 0;
    }
    body.homepage .main-title {
        margin-bottom: 2rem;
    }
    body.lesson .deco-alice {
        background-size: 400px;
        background-position: 46vw -46px;
    }
    .toast-bottom-right {
        right: 3%;
    }
    .toast-bottom-left {
        left: 3%;
    }
}
@media (min-width: 992px) {
    .text-lg-justify {
        text-align: justify;
    }
    .deco-alice {
        background-size: 540px;
        background-position: 36vw -5px;
    }
    body.lesson .deco-alice {
        background-size: 434px;
        background-position: 51vw -10px;
    }
    body.homepage .main-title {
        margin-bottom: 2.5rem;
    }

}

@media (min-width: 1200px) { 
    .deco-alice {
        background-position: 40vw -22px;
        background-size: auto;
    }
    body.lesson .deco-alice {
        background-size: 520px;
        background-position: 51vw 22px;
    }
    .toast-bottom-right {
        right: 4%;
    }
    .toast-bottom-left {
        left: 4%;
    }    
}
@media (min-width: 1400px) {
    .deco-alice {
        background-position: 43vw 25px;
    }
    body.lesson .deco-alice {
        background-size: 530px;
        background-position: 54vw -8px;
    }
}



.progress-display {
    width: 100vw;
    height: 10px;
    top:0;
    left: 0;
    right: 0; 
    background-color: #2D2C2E;           
}
.progress-display .progress-line{
    top:0;
    left:0;
    width: 0;
    bottom:0;
    background-color: #E0D25D;
    transition: width 0.1s ease-in-out 0s;
}

.floating-picture {
    position: fixed;
    top:70px;
    left:0;
    filter: saturate(0);
    mix-blend-mode: darken;
    opacity: 0.33;
    pointer-events: none;
}