@font-face {
    font-family: 'Planck';
    src: url(#) format('woff2'),
        url(#) format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Typewriter';
    src: url(#) format('woff2'),
        url(#) format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Typewriter';
    src: url(#) format('woff2'),
        url(#) format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'MomsTypewriter';
    src: url(#) format('woff2'),
        url(#) format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ImpactLabel';
    src: url(#) format('woff2'),
        url(#) format('woff'),
        url(#) format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin:0;
    padding:0;
    box-sizing: border-box;
}
:focus { 
    outline: none;
}
img {
    image-rendering: -webkit-optimize-contrast;
}
img.greyed {
    opacity: 0.8;
}
input {
    border: none;
}
input[type="submit" i] {
    cursor: pointer;
}
a {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s;
}
a:not(.clean), input:not(.clean), .submit, .link-styled {
    background-color: hsla(40, 100%, 80%, 0.3); /*wheat*/
    padding: 12px 12px;
    padding-top: 9px;
    border-bottom-left-radius: 5px 3px;
    border-bottom-right-radius: 225px 3px;
    border-bottom: 2px solid black;
}
a:not(.clean):not(.inactive):hover, a:not(.clean):not(.inactive):focus, input.submit:hover, input.submit:focus {
    background-color: white;
}
a:not(.clean):active, input.submit:active {
    background-color: wheat;
}
a.inactive, .link-styled.inactive {
    background-color: #d2c8c1;;
    opacity: 0.8;
    cursor: default;
    border-bottom: 2px solid #777;
}
.list .link-styled {
    border-bottom-right-radius: 0;
}
p {
    margin-bottom: 12px;
}
html, body, main {
    height: 100vh;
}
html {
    background-color: #b6a898;
}
main {
    width:100%;
    background: url(#);
    background-size: cover;
    overflow: hidden;
}
/*font-styling*/
html {
    font-family: 'Courier New', Courier, monospace;
    font-size: 18px;
}
.typewriter {
    font-family: 'Typewriter';
}
.small {
    font-size: small;
}
.center-card .title {
    font-family: 'Planck', 'Courier New', Courier, monospace;
    font-size: 42px;
}
.center-card .subtitle {
    font-family: 'MomsTypewriter';
    font-size: 21px;
}
.center-card img.blumenkreis {
    width: 55vh;
    height: 55vh;
    max-width: 75vw;
    max-height: 75vw;
    border-radius: 55vh;
    transition: transform 0.2s ease-out;
}
a.hoverscale img {
    transition: 0.1s;
}
a.hoverscale:hover img {
    transform: scale(1.02);
}
img.laurels {
    height: 50px;
    margin: 10px;    
}
emph {
	font-size: 80%;
	letter-spacing: 2px;
	display: block;
	transform: skew(-10deg, 0deg);
}
.emph {
    text-transform: uppercase;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 80%;
    letter-spacing: 2px;
    color: black;
    background-color: hsla(40, 100%, 80%, 0.3);
    padding: 4px 15px 5px 5px;
    -webkit-user-select: text;
    -moz-user-select: text;
    user-select: text;
}
.center {
    text-align: center;
    flex-basis: 100%;
}
.center-card, .card-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.center-card {
    top: 40%;
}
.vcenter {
    position: relative;
    top:50%;
    transform: translateY(-50%);
}
.card {
    position: absolute;
    z-index: 4;
    width: 25vw;
    height: 25vh;
    background-color: #d5c8bc;
    box-shadow: 10px 0 20px hsla(0, 0%, 0%, 0.1), inset 0 0 40px hsla(40, 100%, 80%, 0.3);
    letter-spacing: -1px;
    cursor: pointer;
}
.card .title {
    max-width: 100%;
    font-family: 'Typewriter';
    font-weight: bold;
    line-height: 1.2;
    -webkit-user-select: none; /* Safari */
      -moz-user-select: none; /* Firefox */
       -ms-user-select: none; /* Internet Explorer/Edge */
           user-select: none;
}
.card, .card .body {
    transition: 0.2s;
}
.card:hover {
    width: 26vw;
    height: 26vh;
}
.card:focus, .card:focus-within {
    width:72vw;
    height:70vh;
    z-index: 10;
    cursor: auto;
}
.card:focus .card-content,
.card:focus-within .card-content {
    /*-webkit-mask-image: -webkit-linear-gradient(-90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 88%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 88%, rgba(0,0,0,0) 100%);*/
}
.card .body {
    width: 80%;
    max-width: 50em;
    margin: auto;
    margin-top: 1em;
    height: auto;
    max-height: 0px;
    text-align: left;
    overflow-y: auto; /* makes scroll */
    padding-right: 1em;
    scrollbar-color:  rgba(209, 165, 98, 0.452) rgb(221, 199, 166);   /* scroll thumb and track */
    /*-ms-overflow-style: none; 
    scrollbar-width: none; */
}
*::-webkit-scrollbar {
    width: 8px;
  }
body::-webkit-scrollbar-track {
    background: rgba(209, 165, 98, 0.452);        /* color of the tracking area */
}
/*.card .body::-webkit-scrollbar {
    display: none;
}*/
.card:focus .body, .card:focus-within .body {
    max-height: 52vh;
}
.card .body > :last-of-type {
    margin-bottom: 1.5em;
}
.backbutton {
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 24px;
}
.card .backbutton {
    position: absolute;
    z-index: 11;
    top: -8px;
    left: 8px;
}
.card .backbutton.different {
    top: 20px;
    left: 20px;
}
.flex-center-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.list {
    text-align: left;
    margin: 0 10px;
}
.list > * {
    display: block;
    min-height:38px;
}
.social {
    float: left;
    padding-bottom: 10px;
}
.social:nth-of-type(3) {
    clear: left;
}
.social img, .actor img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
}
.actor {
    font-size: 80%;
    text-align: center;
    margin-bottom: 18px;
}
.actor p {
    margin-bottom: 0;
}
.actors p:nth-child(2) {
    font-size: 90%;
    font-weight: bold;
}
.actors {
    width:100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    justify-items: center;
}
.teams {
    clear: both;
}
.center-card, .card {
    text-align: center;
}
.card:nth-of-type(1) {
    top:0;
    left:0;
    background-image: url(#);
    background-position: top left;
    border-bottom-right-radius: 25px 5px;
    border-top-right-radius: 5px 100px;
}
.card:nth-of-type(2) {
    top:0;
    right:0;
    background-image: url(#);
    background-position: top right;
    border-bottom-left-radius: 125px 5px;
}
.card:nth-of-type(3) {
    bottom:0;
    left:0;
    background-image: url(#);
    background-position: bottom left;
    border-top-right-radius: 50px 5px;
    border-top-left-radius: 400px 10px;
}
.card:nth-of-type(4){
    bottom:0;
    right:0;
    background-image: url(#);
    background-position: bottom right;
    border-top-left-radius: 150px 5px;
}
footer {
    position: fixed;
    bottom: 5px;
    width: 100%;    
    text-align: center;
    font-family: 'Typewriter';
    font-weight: bold;
}
footer a:not(.clean) {
    display: inline-block;
    margin: 0.3em;
    padding: 18px !important;
}
footer .double{
    /* display: block; */
    letter-spacing: 5px;
    /* width: 20.3em; */
    margin: 0 auto;
}
.modal {
    display: none;
    opacity: 0;
    transition: 0.5s;
    position: fixed;
    top:0;
    left:0;
    width:100vw;
    height:100%;
    z-index: 7;
}
.modal:target {
    display: block;
    opacity: 1;
}
.modal a.close {
    display: block;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    transform: scale(1, 0.75);
    position: absolute;
    top: -6px;
    right: 0;
    text-align: center;
    padding: 12px 15px;
    border: none;
    color: #444;
    background-color: initial;
    z-index: 100;
    cursor: pointer;
    user-select: none;
}
.modal a.close:hover, .modal a.close:focus {
    background-color: #eee;
}
.separator {
    display: block;
    position: fixed;
    top:0;
    left:0;
    width:100vw;
    height:100%;
    background-color: hsla(0, 0%, 0%, 0.3);
}
.container {
    position: fixed;
    z-index: 10;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    background-color: white;
    box-shadow: 10px 0 20px 10px hsla(0, 0%, 0%, 0.1);
    border-top: 4px solid #333;
    border-top-right-radius: 400px 5px;
    padding: 20px 30px;
    padding-top: 40px;
    max-width: 100vw;
    overflow-y: scroll;
    scroll-behavior: smooth;
    max-height: 95vh;
}
form {
    text-align: center;
}
input#code {
    border: 1px solid lightgray;
    border-bottom: 0px solid black;
    transition: 0.05s;
}
input#code.error {
    background-color: lightcoral;
}
input#code:focus {
    border-bottom: 2px solid black;
    background-color: white;
}
input.submit {
    cursor: pointer;
}
.hline {
    width: 95%;
    margin: 30px auto;
    border-bottom: 2px solid darkgray;
}
.vline {
    margin: 0 10px;
    border-left: 2px solid darkgrey;
}
.icon {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bolder;
    display: inline-block;
    text-align: center;
    width: 1.75em;
    height: 1.75em;
    flex-shrink: 0;
    border-radius: 100px;
    border: 2px solid darkgrey;
    color: darkgrey;
    margin-right: 10px;
    user-select: none;
}
img.code {
    display: block;
    max-width: 26em;
    margin: auto;
    margin-bottom: 0.5em;
}
.tl-button, .pp-button {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    color: white;
    box-shadow: 0 0 10px 15px hsla(0, 0%, 100%, 0.5);
    text-align: center;
    padding: 5px 10px;
    padding-bottom: 8px;
    border-radius: 10px;
    position: absolute;
    top: 76%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12em;
}
.hover-opac {
    opacity: 0.7;
    transition: opacity 0.2s;
}

.hover-opac:hover, a:focus .hover-opac {
    opacity: 1;
}
.tl-button {
    background-color: fuchsia;
}
.pp-button {
    background-color: hsl(210, 60%, 45%);
}
.hidden.hidden {
    display: none;
}
.mobile-show {
    display: none;
}
.smallbooty {
    margin-bottom: 0.75em;
}
.bigbooty {
    margin-bottom: 1.5em;
}
.hugebooty {
    margin-bottom: 3em;
}

/**** S T R E A M *****/
#applause {
    height: 100%;
    text-align: center;
    overflow: hidden;
}
#applause > * {
    z-index: 2;
}
#applause img {
    transition: 1s;
    -webkit-filter: grayscale();
    filter: grayscale();
    animation: fadeOut 7s 3s;
}
#applause a {
    background-color: white;
    color: #333;
    border: none;
    border-radius: 50px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    padding: 12px 22px;
    box-shadow: 0 5px 10px hsla(0, 0%, 0%, 0.3);
    -webkit-user-select: none;
    user-select: none;
    transition: all 0s;
    
}
#applause a:hover {
    color: #000;
    box-shadow: 0 8px 12px hsla(0, 0%, 0%, 0.2);
    border: 1px solid white;
}
#applause a:active {
    color: white;
    background-color: #444;
    border: 3px solid white;
}
@keyframes fadeOut {
    0% {opacity: 1;}
    100% {opacity: 0;} 
} 
@media screen and (max-width: 1500px){
    .center-card .subtitle {
        display: none;
    }
	
}
@media screen and (max-width: 1024px){
    html {
        font-size: 14px;
    }
    .card, .card:hover {
        width: 49vw;
        height: 17vh;
        /* performance */
        box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.05);
    }
    /* make room for footer: larger bottom cards*/
    /*.card:nth-of-type(3), .card:nth-of-type(4),
    .card:nth-of-type(3):hover, .card:nth-of-type(4):hover {
        height: 33vh;
    }
    .card:nth-of-type(3) .title, .card:nth-of-type(4) .title {
        transform: translateY(-2em);
    }
    .card:focus-within .title, .card:focus .title {
        transform: none;
    }*/
    /* then shift center image up*/
    .center-card {
        top:40%;
    }
	.center-card .subtitle {
        display: block;
		font-size: 10px;
    }
    .card .body {
        width: 95%;
    }
    .card:hover {
        width: 48vw;
    }
    .card:focus.card:focus, .card:focus-within.card:focus-within {
        width: 100vw;
        height: 100%;
    }
    .card:focus .card-content, .card:focus-within .card-content {
        width: 95vw;
    }
    .card:focus .body, .card:focus-within .body {
        max-height: 78vh;
    }
	.actor {
		width: 35%;	
	}
    .list {
        margin: 0 3px;
    }
    .container {
        min-width: 90vw;
    }
    input#code {
        margin: 10px;
        max-width: 80vw;
    }
    .tl-button, .pp-button {
        width: 10em;
        max-width: 95%;
        /* claim space and move under image */
        position: relative;
    }
    .mobile-hidden.mobile-hidden, .inactive {
        display: none;
    }
    .mobile-show,
    .card:focus .backbutton,
    .card:focus-within .backbutton {
        display: block;
        display: revert;
    }
    footer {
		top: 69vh;
		bottom: unset;
    }
    footer a {
        margin-bottom: 0;
    }
    footer .double {
        width: 13.4em;
    }
    #applause img {
        max-width: 200px;
        max-height: 200px;
    }
}