body {
    background-position: center;
    background-size: cover
}

.flip-container {
    width: 100vw;
    height: 100vh;
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
    perspective: 1000px
}

.flip-container.flip-it .flipper {
    transform: rotateY(180deg);

}

.flip-container .flipper {
    position: relative;
    width: 100%;
    height: 100%;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    /*transition: all 0.7s ease*/
    transition: all 0s ease
}

.flip-container .front, .flip-container .back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden
}

.flip-container .front {
    transform: rotateY(0deg)
}

.flip-container .back {
    transform: rotateY(180deg)
}

.dream-max-width {
    max-width: 100vw;
    margin-left: 50px;
    margin-right: 50px;
}

.inverted a {
    color: #eee !important
}

.inverted a:hover {
    color: #fff !important
}

.dream-404-container {
    position: fixed;
    top: calc(50% - 54px);
    left: 50%;
    width: 100%;
    transform: translate3d(-50%, -50%, 0)
}

.dream-404-container .ui.header {
    margin-bottom: 2rem
}

.dream-404-container .ui.header .sub.header {
    margin-top: .5rem
}

.dream-nav {
    transition: background .5s ease
}

.ui.menu.dream-menu {
    margin-left: 0;
    margin-right: 0
}

.ui.menu.dream-menu.dream-socials {
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

.ui.menu.dream-menu .sociallink {
    margin-bottom: 5px;
    margin-left: 10px;
}

.ui.menu.dream-menu .sociallinktaiko:hover{
    background-color: #e0e0e0
}

.dream-header {
    display: flex;
    justify-content: center
}

.dream-header > .content {
    width: 1000px;
    max-width: 1000px;
    margin-left: 2rem
}

.dream-header .ui.horizontal.list {
    line-height: 1rem
}

.dream-header .tags-with-dropdown .title {
    display: flex
}

.dream-header .tags-with-dropdown .title, .dream-header .tags-with-dropdown .content {
    padding: 0 !important
}

.dream-header .tags-with-dropdown .ui.list {
    margin-top: 1rem;
    margin-right: .375rem
}

.dream-header .tags-with-dropdown .dropdown-icon {
    position: relative;
    top: 2px;
    right: 1px;
    padding: 0 !important;
    text-decoration: none !important;
    transform-origin: center;
    transition: transform .5s ease !important
}

.dream-header .dream-tags .ui.label {
    margin-top: 0;
}

@media screen and (max-width: 768px) {
    .dream-header {
        flex-direction: column;
        align-items: center
    }

    .dream-header > .content {
        width: 100%;
        max-width: 100%;
        margin-top: 2rem;
        margin-left: unset;
        text-align: center
    }

    .dream-header .tags-with-dropdown .title {
        justify-content: center
    }
}

.dream-grid {
    margin-left: 0 !important;
    margin-right: 0 !important
}

.ui.card.dream-card > .image {
    border-top-left-radius: inherit !important;
    border-top-right-radius: inherit !important
}

.ui.card.dream-card.inverted .content .header > a {
    color: rgba(255, 255, 255, .87) !important
}

.ui.card.dream-card.inverted .content .meta {
    color: rgba(255, 255, 255, .6)
}

.ui.card.dream-card.inverted .content .description {
    color: rgba(255, 255, 255, .87)
}

.ui.card.dream-card.inverted .extra {
    color: rgba(255, 255, 255, .6)
}

.ui.card.dream-card .content .header {
    margin-bottom: 0
}

.ui.card.dream-card .content .header a {
    color: rgba(0, 0, 0, .87) !important
}

.ui.card.dream-card .content .description {
    margin-top: 1rem;
    color: rgba(0, 0, 0, .87);
    overflow-wrap: break-word
}

.ui.card.dream-card .content .description img {
    max-width: 100%
}

.ui.card.dream-card .content .description iframe[id^=twitter-widget-] {
    width: 100% !important
}

.ui.card.dream-card .extra {
    position: relative;
    display: flex;
    align-items: center;
    border-top: none !important
}

.ui.card.dream-card .extra .author {
    display: flex;
    align-items: center
}

.ui.card.dream-card .extra .reading-time {
    position: absolute;
    right: 1em
}

.dream-single h1.ui.large.header {
    margin-top: .5rem;
    margin-bottom: 1.5rem;
    font-size: 1.4rem !important
}

.dream-single h1.ui.large.header .sub.header {
    display: flex;
    justify-content: space-between
}

@media screen and (max-width: 1024px) {
    .dream-single h1.ui.large.header .sub.header {
        flex-direction: column;
        justify-content: unset
    }
}

.dream-single .cover {
    margin-bottom: 1.5rem
}

.dream-single .ui.inverted.segment blockquote {
    color: rgba(255, 255, 255, .6)
}

.dream-share a {
    text-decoration: none !important
}

@media screen and (max-width: 1024px) {
    .dream-share {
        margin-top: .5rem
    }
}

.dream-single-aside {
    position: sticky !important;
    top: 0;
    height: 100%;
    transition: top .5s ease
}

@supports (-moz-appearance: none) {
    .dream-single-aside {
        position: relative !important
    }
}

@media screen and (max-width: 768px) {
    .dream-single-aside {
        display: none !important
    }
}

.toc ul {
    padding-left: 2rem
}

.toc li {
    margin: .5rem 0
}

.dream-scroll-to-top {
    position: fixed;
    bottom: 0.7rem;
    right: 0.7rem;
    color: rgba(0,0,0,.7);
}

.back-button {
    position: fixed;
    bottom: 0.7rem;
    left: 0.7rem;
    color: rgba(0,0,0,.7);
}

.utterances-comments .utterances {
    max-width: unset
}

#dream-search {
    position: fixed;
    top: 5%;
    left: 50%;
    width: 30%;
    display: none;
    transform: translateX(-50%)
}

@media screen and (max-width: 768px) {
    #dream-search {
        width: 90%
    }
}

#dream-search .ui.input {
    width: calc(100% - 2rem)
}

#dream-search.inverted {
    border: 1px solid #555
}

#dream-search.inverted input {
    color: rgba(255, 255, 255, .87)
}

#dream-search.inverted .results {
    background: #1b1c1d;
    border: none
}

#dream-search.inverted .results .result:hover {
    background: #202020
}

#dream-search.inverted .results .title {
    color: rgba(255, 255, 255, .87) !important
}

#dream-search.inverted .results .description {
    color: rgba(255, 255, 255, .6) !important
}