:root
{
    --nav-height: 56px;
    --footnote-height: 18px;
    --shadow-base: rgba(0,0,0,0.2);
}

#ytplayer
{
    z-index: -1;
    position: relative;
}
main
{
    margin-bottom: 20px;
}
.veil
{
    width: 100%;
    background: rgba(0,0,0,0.5);
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.35) 25%, rgba(0,0,0,0.35) 90%, rgba(0,0,0,1) 100%);
    position: absolute;
    top: var(--nav-height);

    max-height: calc(100vh - var(--nav-height) - var(--footnote-height));

    overflow: hidden;
}



#videoTopContaier
{
    width: 100%;
    position: relative;
}
.mainText
{
    color: var(--bs-light);
    text-shadow: 2px 2px 4px #000;
    max-width: 900px;
    z-index: 2;
    margin-top: var(--nav-height);
    background: rgba(0,0,0,0.4);
    box-shadow: 0px 0px 20px var(--shadow-base), 0px 0px 10px var(--shadow-base), 0px 0px 5px rgba(0,0,0,0.4);
    padding: 2rem;
}
body
{
    background: black;
    min-height: 100vh;
}
nav
{
    color: var(--bs-light);
    background: black;
    padding: 0 50px;
}
.navbar
{
    --bs-navbar-padding-x: 1rem;
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.65%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-nav
{
    margin-left: 2.5rem;
    align-items: end;
}
footer
{
    color: #FFF;
    z-index: 2;
}
.btn-huge
{
    --bs-btn-padding-y: 0.75rem;
    --bs-btn-padding-x: 2.5rem;
    --bs-btn-font-size: 1.5rem;
    --bs-btn-border-radius: 0.5rem;
}
.btn
{
    --bs-btn-border-radius: 0px;
}
.btn-danger
{
    background-color: red;
}
.qcde a
{
    color: #D00;
}

.qcde a:hover
{
    color: #F00;
}

/*.qcde a:visited
{
    color: #C00;
}*/

.carousel-item.active > img
{
    transition:  transform 13s ease-in;
    transform: scale(1.25, 1.25);
    opacity: 1
}

.carousel-item > img
{
    transform: none;
}

.carousel-fade .carousel-item > img
{
    transition:  transform 13s ease-in;
}
.carousel-fade .carousel-item.carousel-item-start > img
{
    transform: scale(1.25, 1.25);
}


@media screen and (max-width: 1280px)
{
    .carousel-inner
    {
        min-width: 1280px;
        left: calc(50% - 640px);
    }
    .veil
    {
        top: calc(40vh - 360px);
    }


}
@media screen and (max-width: 480px)
{
    body {font-size: 0.85rem;}
}


.carousel-item
{
     transition-duration: 5s !important;
}
