html {
    font-size: 14px;
    --move-in: none;
    --move-out: none;
    --move-time: 0.0s;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

table {
    width: 100%;
}

.logo {
    width: 185px;
    height: 60px;
    margin: 30px auto 70px auto;
    perspective: 1000px;
}

.logo a {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("/content/images/bc_logo_gray.svg");
    background-size: 0, cover;
    transform-style: preserve-3d;
    transition: all 0.5s;
    pointer-events: none;
}

.logo:hover a {
    transform: rotateX(80deg);
    transform-origin: bottom;
}

.logo:hover span {
    color: white;
}

.logo a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 36px;
    background-color: black;
    background-size: cover, cover;
    background-position: bottom;
    transform: rotateX(90deg);
    transform-origin: bottom;
}

.logo a span {
    color: black;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    font: bold 12px/36px "Open Sans";
    text-align: center;
    transform: rotateX(-89.99deg);
    transform-origin: top;
    z-index: 1;
}

.logo a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 100px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.5s;
    opacity: 0.15;
    transform: rotateX(95deg) translateZ(-80px) scale(0.75);
    transform-origin: bottom;
}

.logo:hover a:before {
    opacity: 1;
    box-shadow: 0 0 25px 25px rgba(0, 0, 0, 0.5);
    transform: rotateX(0) translateZ(-60px) scale(0.85);
}

/* Turn cross-document view-transitions on */
/* Note that this at-rule is all that is needed to create the default cross-fade animation  */
/*NB: should be auto disbled because of problems on iPad*/
@view-transition {
    navigation: none;
}

/* Customize the default animation behavior */

::view-transition-group(root) {
    display: none;
}

::view-transition-group(trContent) {
    animation-duration: var(--move-time);
    z-index: 1;
}

::view-transition-group(trTopbar) {
    animation: none;
    z-index: 2;
}

::view-transition-group(trSidebar) {
    animation: none;
    z-index: 2;
}

/* Create a custom animation */

@keyframes fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


@keyframes slide-out {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes slide-in {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0%);
    }
}
/* Apply the custom animation to the old and new page states */

::view-transition-old(trContent) {
    animation: var(--move-out);
}

::view-transition-new(trContent) {
    animation: var(--move-in);
}

