@view-transition {
    navigation: auto;
    transition: 1s all;
}

.quote {
    font-size: 1em;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% { 
        opacity: 1;
    }
}

body,
html {
    background-color: black;
    margin: 0;
    padding: 0;
    max-width: 100vw;
}
#scrim {
    display:none;
    position:absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.397);
    z-index:1999;
}
.header {
    height: 56px;
    padding-top: 3px;
    padding-bottom: 3px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 100;

}

.header .logo {
    height: 45px;
    position: absolute;
    left: 0.5em;
    padding-top: 6px;
}

.header .menu {
    height: 48px;
    position: absolute;
    right: 0.5em;
    display:none;
}

.banner {
    top:0;
    margin-top: 60px;
    width: 100vw;
    margin-left: auto;
    margin-right: auto;
    position: fixed;
    text-align: center;
    z-index: 10000;
    padding-bottom: 10px;
    height: 150px;

}

.card-container {
    margin-top: 56px;
    width: 100vw;
    overflow-x: hidden;
    padding-top: 48px;
}

#shuffle-container {
    width: auto;
    margin-left: 0;
    margin-top: 190px; 
    margin-left: 0;
    margin-right: 0;
    text-align: center;
    margin-bottom: 100px;
    view-transition-name: shuffle;
    transition: 0.25s all ease-in-out;
}
.card-wrapper {
    padding-left: 10px;
    padding-right: 10px;
}

.card {
    color: white;
    width: 250px;
    background-color: rgb(0, 0, 0);
    margin: 2em;
    padding: 1em;
    position: relative;
    font-family: Roboto, Helvetica, Arial, sans-serif;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    height: 600px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    transition: 0.5s all;
}
.new-card {
    margin-left: 0.5em;
    width: 340px;
    height: 265px;
    max-height: 265px;
    padding: 0.5em;
    padding-bottom: 1em;
    border-radius: 10px;
    box-shadow: 0 0 5px #ffffff42;
    display: inline-block;
    text-align: left;
}

h3, h3 a {
    color: white;
    font-family: Roboto, Helvetica, Arial, sans-serif;
    position: relative;
    text-decoration: none;
}

h3.heading {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-size: 23px;
    font-weight: 600;
    line-height: 24px;
    height: 24px;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 1em;
    margin-top: 50px;
    view-transition-name: heading;
}
.btn-group.sort-options {
    margin-top: 20px;
    view-transition-name: sort;
}

input[type="radio"] {
    display: none;
}

 label, div.btn {
    text-align: center;
    color: white;
    text-transform: uppercase;
    background-color: rgb(41, 41, 41);
    padding: 10px;
    border: 1px solid white;
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-size: 12px;
 }

 label.active, div.btn.active {
    /* background-color: #ffffff; */
    color: white;
    font-weight: 900;
    border: none;
    font-size: 10px !important;
    border: 4px solid #f5c518;
    padding: 9px;
}

.btn-group a {
    width: auto;
    color: white;
    text-decoration: none;
}

.heading:before {

    background: #f5c518;
    border-radius: 4px;
    content: "";
    margin-left: -.75rem;
    position: absolute;
    height: 24px;
    width: 4px;
}

h4 {
    font-size: 16px;
    width: 288px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.7);
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400;
    line-height: 24px;
    padding-top: 8px;
    height: 32px;
    margin-top: 0;
    margin-bottom: 0;
}

.card img {

    width: 100%;
}


.card .summary {
    display: none;
}

.card .notes {
    margin-top: 0.5em;
    opacity: 0.8;
    font-size: 0.65em;
    margin-bottom: 0.5em;
}

.card .date {
    font-size: 0.65em;
    margin-bottom: 1em;
}

.card .rating {
    line-height: 1;
    font-size: 0.75em;
    float: right;
    padding-top: 0.15em;
}

.card .ratings {
    padding: 10px 5px;
}

.card .icon {
    width: 15px;
    float: right;
    margin-right: 0.25em;
    margin-left: 0.45em;
}

.ipc-title-link {
    font-size: .8em;
    margin-left: .5em;
    align-self: center;
    transition: color .15s, opacity .15s, transform .15s;
    flex-shrink: 0;
}

.ipc-icon--inline {
    height: 1em;
    vertical-align: baseline;
    width: 1em;
}

body {
    visibility: visible;
    opacity: 1;
}

.new-notes .content {
    border-radius: 5px;
    color: black;
    font-size: 14px;

    -ms-transform: translateY(-50%);
    line-height: 1;
    background-color: #d1d1d1;
    padding: 0.5em;
    bottom: 0;
    min-height: 20px;
    width: 259px;
    max-height: 58px;
    overflow-y: auto;
    margin-right: 5px;
    margin-bottom: 4px;
    margin-top: 5px;
    text-wrap: pretty;
}

.new-notes {

    position: relative;
    margin-left: 50px;
    height: 75px;
    padding: 10px;
    top: 0;
    z-index: 2;
}

.details {
    padding-top: 10px;
    color: #ffffffa3;
    font-size: 10px;
    padding-bottom: 1em;
    text-transform: uppercase;
    float: left;
    padding-left: 5px;
}

.external {
    display: block;
    position: absolute;
    margin-left: -5px;
    top: 140px;
}

.btn-group .btn {
    width:75px;
    font-size: 10px;
    display:inline-block;
}

.pulse {
    
    box-shadow: 0 0 100vw 100vh rgba(0, 0, 0, 0.493); 
}

.pulse {
    transform: scale(1.07);
    transition: 0.5s all;
    z-index: 2000;
    opacity: 1 !important;
    position: fixed;
    /* margin-left: auto; */
    /* margin-right: auto; */
    top: calc(50vh - 130px);
    left: calc(50vw - 191px);
}


@media (max-width: 600px) {
    .card {
        width: 86vw!important;
        left:0;
        margin-top: 0 !important;
    }
    #shuffle-container {
        margin-left: 0.5vw;
        margin-right: 0.5vw;
    }
    .header {
        background-color: #f5c518;
    }

    .header .logo {
        height: 45px;
        position: absolute;
        left: 4px;
        padding-top: 0px;
        border: 2px solid black;
        border-radius: 15px;
        margin-top: 5px;
        box-shadow: 0 0 5px black;
    }
    .new-notes {
        padding-right:0;
    }

    .new-notes .content {
        font-size: 16px;
        font-weight: 500;
        color: black;
        width: auto;
        max-height: 61px;
    }
    h3.balance-text {
        font-size: 27px!important;
    }

    .details {
        font-size: 14px;
        padding-left: 0;
        opacity: 0.9;
        padding-top:2px;
    }

    .card .icon {
        width: 20px;
        margin-left: 0.6em;
        padding-right: 2px;
    }

    .card .external .rating {
        font-size: 15px!important;
    }

    .external {
        margin-left: -10px;
        top: 134px;
    }

    .btn-group .btn {
        width: 65px;
    }

    .pulse {
        left: 5px;
    }

}


.searchBox {
    right: 6px;
    height: 36px;
    position: absolute;
    top: 0.5em;
    border-radius: 5px;
    width: 8em;
    padding-left: 0.25em;
    padding-left: 1em;
    padding-right: 1em;
    text-align: left;
    overflow: hidden;
    font-size: 16px;
}


@keyframes border-pulsate {
    0%   { border-color: rgba(245, 197, 24, 1); }
    50% { border-color: rgba(245, 197, 24, 0); }
    100%   { border-color: rgba(245, 197, 24, 1); }
}



.card.new-card.pulse::after, .card.new-card.i666.pulse::after {
    content: 'X';
    width: 2em;
    height: 2em;
    background-color: rgba(245, 197, 24, 1);
    border-radius: 50%;
    position: absolute;
    right: -0.25em;
    top: -0.25em;
    color: black;
    font-weight: 900;
    padding-left: -5px;
    text-align: center;
    font-size: 18px;
    line-height: 2;
    box-shadow:0 0 10px black;
}

.new-card {
    width: 340px;
    height: 265px;
    max-height: 265px;
    padding: 0.5em;
    padding-bottom: 1em;
    border-radius: 10px;
    margin-right: .75em;
    margin-left: 0.75em;
}

.new-card .poster {
    max-height: 160px;
}

img.poster-image:hover {
    transform: scale(2);
    z-index: 1000;
    position: relative;
    margin-left: -50px;
    margin-top: 50px;
} 

img.poster-image {
    transition: all 0.5s ease-in-out;
}

.new-card h3 {
    margin: 0;
}

.right {
    width: 220px;
    position: relative;
    height: 200px;
    overflow: hidden;
}

.lefty {
    float: right;
    width: 100px;
    padding: 0;
    margin-top: 0;

    margin-bottom: 2em;
}

.owen {
    margin-top: 0.5em;
    margin-bottom: 1em;
    padding-bottom: 1em;
}

.owen .rating {

    font-size: 24px;
    font-weight: bold;
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 10;
}

.owen .icon {
    bottom: 44px;
    width: 3em;
    height: 3em;
    position: absolute;
    left: 0;
    z-index: 10;
}







.bubble-arrow {
    position: absolute;
    transform: rotate(45deg);
    width: 15px;
    height: 11px;
    margin-left: -6px;
    top: 30px;
    background-color: #d1d1d1;
    z-index: 0;
}

.card .date {
    font-size: 10px;
    padding-bottom: 5px;
    padding-top: 6px;
    text-transform: uppercase;
    color: #d1d1d1;
    position: absolute;
    top: 0;
    right: 5px;
}

.new-card h3 {
    margin: 0;
    font-size: 1.8em;
    line-height: 0.95;
    letter-spacing: 0.5px;
}

.card .external.icon {
    width: 10px;
    float: right;
    margin-right: 0.25em;
    margin-left: 0.35em;
    padding-top: 2px;
}

.card .external .rating {
    line-height: 1;
    font-size: 13px;
    float: right;
    padding-top: 0.15em;
}



.owen-stuff {
    margin-top: 130px;
    background-color: #0000005e;
    padding: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.banner {
    margin-top: 0;
    width: 100vw;
    margin-left: auto;
    margin-right: auto;
    position: fixed;
    text-align: center;
    background-image: linear-gradient(180deg, black 55%, transparent);
    z-index: 600;
    padding-bottom: 0px;
    height: 150px;
    padding-top: 35px;
    view-transition-name: bannerbanner;
}

.header {
    height: 56px;
    padding-top: 0;
    padding-bottom: 3px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1000;
    view-transition-name: headertop;
}



.N\/A, .r {
display: none!important;
}


@media (min-width: 700px) {
    .card {
        margin-bottom: 0 !important;
    }
    
}

@media (min-width: 820px) {
    .banner, .header {
        zoom: 80% !important;
        width: 100%;
    }
    .card {
        margin-bottom: 0 !important;
    }

    h3.heading {
        font-size: 34px;
        height: 36px;
        margin-top: 7px
    }

    .ipc-icon--inline {
        height: 28px;
        vertical-align: top;
        width: 1em;
    }

    .heading:before {
        height: 30px;
        width: 6px;
        margin-left: -20px;
        margin-top: -4px;
    }

    #shuffle-container {
        margin-top: 122px;
    }
    .pulse {
        transform: scale(1.2);
        transition: 0.5s all;
        z-index: 2000;
        opacity: 1!important;
        position: fixed;
        /* margin-left: auto; */
        /* margin-right: auto; */
        top: 25vh;
        left: calc(50vw - 200px);
    }
}
@media (min-width: 1200px) {
    .banner, .header {
        zoom: 80% !important;
        width: 100%;
    }
    .card {
        margin-bottom: 0 !important;
    }

    h3.heading {
        font-size: 34px;
        height: 36px;
        margin-top: 7px
    }

    .ipc-icon--inline {
        height: 28px;
        vertical-align: top;
        width: 1em;
    }

    .heading:before {
        height: 30px;
        width: 6px;
        margin-left: -20px;
        margin-top: -4px;
    }

    #shuffle-container {
        margin-top: 122px;
    }
    .pulse {
        transform: scale(1.2);
        transition: 0.5s all;
        z-index: 2000;
        opacity: 1;
        position: fixed;
        /* margin-left: auto; */
        /* margin-right: auto; */
        top: 25vh;
        left: calc(50vw - 200px);
    }
}

@media (min-width: 1800px) {
    #shuffle-container {
        margin-right: 5vw;
        margin-left: 5vw;
    }
    .pulse {
        transform: scale(1.5);
        transition: 0.5s all;
        z-index: 2000;
        opacity: 1;
        position: fixed;
        /* margin-left: auto; */
        /* margin-right: auto; */
        top: 25vh;
        left: calc(50vw - 200px);
    }
}

.balance-text {
text-wrap: balance;  /* Apply (proposed) CSS style */
}

.btn a {
    color: white;
    text-decoration:none;
}

.btn.active a {
    color: white;
    font-weight: bold;
}

.btn.active {
    view-transition-name: active;
    transition: 0.5s all;
}

::view-transition-old(shuffle){
    filter:blur(5px) saturate(0.5);
    
}

::view-transition-new(shuffle){
  
    filter:blur(none) saturate(1);
}


::view-transition-old(active),
::view-transition-new(active) {
  object-position: left;
  /* Break aspect ratio at an element level */
  height: 100%;
  /* But maintain it within the image itself */
  object-fit: none;
  /* And hide parts of the image that go out of bounds */
  overflow: clip;
}

.btn-group.sort-options2 {
    margin-top: -35px;
}

.card .date.view {
    left: 7px;
    font-weight: bold;
    right: unset;
}

  
 .i666 {
    animation: fire 0.65s ease-out infinite alternate;
    z-index:100;
  }

  .i666.pulse {
    animation: fire-pulse 0.65s ease-out infinite alternate;
    z-index:100;
  }
  
  
  .i666::before, .i666.pulse::before {
    animation: flicker .08s ease-in-out infinite alternate, fire2 2.2s ease-in infinite alternate, scale 2s ease-in infinite alternate;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    filter: blur(10px) hue-rotate(90deg);
    opacity:0.8;
  }

.i666 .date.view span {
    color: black;
    animation: text-burn .25s ease-in infinite alternate;
    font-size: 25px;
    position: absolute;
    left: 60px;
    margin-top: -10px;
}

.i666 .date.view span::before {
    animation: text-burn 2s ease-out infinite alternate;
}
  
  @keyframes fire
  {
  0% {
    box-shadow: 0 0 20px #fefcc9,
                5px -5px 15px #feec85,
                -10px -10px 20px #ffae34,
                10px -20px 25px #ec760c,
                -10px -30px 30px #cd4606,
                0 -40px 17px #973716,
                5px -45px 35px #451b0e;
}
  100% {
    box-shadow: 0 0 20px #fefcc9,
                5px -5px 15px #fefcc9,
                -10px -10px 20px #feec85,
                11px -22px 30px #ffae34,
                -11px -38px 25px #ec760c,
                0 -32px 30px #cd4606,
                5px -30px 30px  #973716;}
  }

  @keyframes fire-pulse
  {
  0% {box-shadow: 0 0 100vw 100vh rgba(0, 0, 0, 0.493), 
    0 0 20px #fefcc9,
    10px -10px 15px #feec85,
    -20px -20px 20px #ffae34,
    20px -40px 25px #ec760c,
    -20px -60px 30px #cd4606,
    0 -80px 35px #973716,
    10px -90px 40px #451b0e;}
  100% {box-shadow: 0 0 100vw 100vh rgba(0, 0, 0, 0.493),
    0 0 20px #fefcc9,
    10px -10px 30px #fefcc9,
    -20px -20px 40px #feec85,
    22px -42px 60px #ffae34,
    -22px -58px 50px #ec760c,
    0 -82px 80px #cd4606,
    10px -90px 80px  #973716;}
  }

  @keyframes fire2
  {
  0% {box-shadow: 0 0 20px #fefcc900,
    10px -5px 10px #feec8500,
    -20px -10px 20px #ffae348c,
    20px -20px 30px #ec760c8c,
    -20px -30px 40px #cd46068c,
    0 -40px 30px #9737168c,
    10px -30px 40px #fefcc98c;
        
}
  100% {box-shadow: 0 0 20px #fefcc900,
    10px -10px 15px #fefcc9,
    -20px -20px 15px #feec85,
    22px -22px 20px #ffae34,
    -22px -28px 20px #ec760c,
    0 -42px 25px #cd4606,
    10px -38px 30px  #838383;}
  }

  @keyframes flicker {
    0% {
        transform: rotate(1deg);
        border-radius: 5px;
        
    }

    100% {
        transform: rotate(1deg);
        border-radius: 10px;
        
    }
  }

  @keyframes scale {
    0% {
        transform: scale(1) skewX(6deg) translateX(10px);
        filter: blur(20px) hue-rotate(12deg);
    }
    
    100% {
        transform: scale(0.99) skewX(-6deg) translateX(10px);
        filter: blur(20px) hue-rotate(-12deg);
    }
  }

  @keyframes text-burn
{
0% {text-shadow: 0 0 2px #fefcc9,
  1px -1px 3px #feec85,
  -2px -2px 4px #ffae34,
  2px -4px 5px #ec760c,
  -2px -6px 6px #cd4606,
  0 -8px 7px #973716,
  1px -9px 8px #451b0e;}
100% {text-shadow: 0 0 2px #fefcc9,
  1px -1px 3px #fefcc9,
  -2px -2px 4px #feec85,
  2px -4px 6px #ffae34,
  -2px -6px 5px #ec760c,
  0 -8px 8px #cd4606,
  1px -9px 8px  #973716;}
}

.i666 .owen img.icon {
    background: url(https://res.cloudinary.com/dqkkcflml/image/fetch/f_auto,w_48/https://omdb.ouijabored.com/images/owen-evil.png);
    display: block;
    box-sizing: border-box;
    padding-left: 48px;
}

.i666.pulse .owen img.icon {
    background: url(https://res.cloudinary.com/dqkkcflml/image/fetch/f_auto,w_48/https://omdb.ouijabored.com/images/owen-evil.png);
    display: block;
    box-sizing: border-box;
    padding-left: 48px;
    padding-top: 48px;

}

  
  