﻿/*body {
    height: 100vh;
    width: 100vw;
    color: #d3d3d3;
}*/

.mud-main-content {
    min-height: 100vh;
}

.batisseurs-de-nations{

}
    .batisseurs-de-nations #blazor-error-ui {
        background-color: var(--mud-palette-drawer-background);
    }

    .batisseurs-de-nations .text-align-right {
        text-align: right;
    }

    .batisseurs-de-nations .text-align-left {
        text-align: left;
    }

    .batisseurs-de-nations .justify-flex-end {
        justify-content: flex-end;
    }
    .batisseurs-de-nations .journal-entry-content p {
        margin: 1em 0;
    }
        .batisseurs-de-nations .journal-entry-content p:first-child {
            margin-top: 0;
        }
        .batisseurs-de-nations .journal-entry-content p:last-child {
            margin-bottom: 0;
        }
    /*#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
*/
    /*.dark-layout {
    background: #191d21;
}
    .dark-layout .ant-timeline {
        color: #d3d3d3;
    }*/
    .dark-layout .ant-timeline-item-head {
        background-color: transparent;
    }

.ant-page-header.journal-page-header {
    margin-bottom: 1em;
}

.stream-card-space {
    width: 100%;
    justify-content: space-between;
}
.ant-space.stream-card-space {
    align-items: flex-start;
}

/* Source: https://www.benmarshall.me/responsive-iframes/ */
.youtube-iframe-container {
    overflow: hidden;
    /* 16:9 aspect ratio */
    padding-top: 56.25%;
    position: relative;
}

    .youtube-iframe-container iframe,
    .youtube-iframe-container .youtube-empty {
        border: 0;
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
    }

    .youtube-iframe-container .youtube-empty {
        text-align: center;
        padding-top: calc(56.25% - 290px);
        border: 1px solid var(--mud-palette-lines-default);
    }

.channel-card {
    height: calc((100vh - 265px) / 2);
}

.logo {
    background: url(/favicon/favicon-32x32.png) no-repeat left center;
    padding: 2px 15px 0 42px;
}
    .logo strong {
        text-transform: uppercase;
        color: var(--mud-palette-primary-lighten);
        letter-spacing: 2px;
    }

    .logo > span {
        display: block;
        letter-spacing: 5.9px;
        text-transform: uppercase;
    }

    .logo:hover strong {
        color: var(--mud-palette-primary);
    }

    .logo:hover > span {
        color: var(--mud-palette-primary-text);
    }
.live-stream {
    color: var(--mud-palette-error);
    font-weight: bold;
    opacity: 1;
    animation: live-stream-fade 4s infinite;
}


@keyframes live-stream-fade {
    0%, 100% {
        opacity: 0
    }

    30%, 70% {
        opacity: 1
    }
}