html, body {
    overflow-x: hidden;
    height: 100%;
    --fMod: 100;
    --fAMod: 100;
}

#main {
    width: 100vw;
    height: 300px;
    position: static;
    /* z-index: -1; */
    margin: 0px 0px;
    user-select: none;
    object-fit: cover;
    object-position: bottom;
}

.playful {
    font-family: Lobster, Arial;
    font-size: 35px;
    margin-right: 5px;
}

.header {
    font-size: 31px;
    word-spacing: 10px;
    color: var(--sketch);
    font-weight: normal;
    font-family: Itim;
}

#portrait {
    width: 84px;
    border-radius: 150px;
    float: left;
    /* top: 10%;
  left: 40%; */
    shape-outside: circle(80% at 50% 23px) border-box;
    justify-content: center;
    margin-right: 15px;
    margin-bottom: 18px;
    /* display: none; */
    user-select: none;
    /* filter: grayscale(1); */
}

#intro {
    column-gap: 18px;
    align-items: flex-start;
}

@media screen and (max-width: 400px) {
    #portrait {
        display: none;
    }
    footer {
        /* grid-template-columns: 1fr 1fr 1fr; */
        /* grid-template-rows: 1fr 1fr; */
        /* justify-items: center; */
    }
}

footer {
    display: none !important;
}

#intro span.header {
    width: 100%;
    text-align: center;
}

#prompt {
    display: grid;
    gap: calc(22vmin/10);
    font-size: calc(18vmin*var(--fMod)/100);
    --size: calc(4vmin*var(--fAMod)/100);
    font-weight: 800;--weight: normal;
    text-align: center;
    margin: 20vmin 0;
    --margin:
    calc(-88em/100);
    font-family: 'Bebas Neue';
    --font: Rubik;
    letter-spacing: calc(3em/100);
    --spacing:
    calc(0em/100);
    transition: 1s;
    font-weight: 500;
}

#prompt:before {
    position: relative;
    top: 50%;
    right: 0%;
    content: attr(data-before);
    font-size: var(--size);
    font-weight: var(--weight);
    margin: var(--margin);
    font-family: var(--font);
    letter-spacing: var(--spacing);
}

#prompt:after {
    content: attr(data-after);
    font-size: var(--size);
    font-weight: var(--weight);
    margin: var(--margin);
    font-family: var(--font);
    letter-spacing: var(--spacing);
}

#schedule iframe {
    border: none;
    outline: none;
    width: 100%;
    height: 31vmin;
}

#fullscreen {
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    text-align: center;
    display: none;
}

.navbar {
    width: 100%;
    height: 10% !important;
}

#content {
    height: 100%;
    justify-content: center;
}

#text-input {
    visibility: hidden;
    display: none;
}

.container {
    background: #00c3ff;
    background: #00293b;
    display: none;
}

#content:not(.input) #input {
    display: none;
}

#input {
    overflow: scroll;
    outline: none;
    background-color: red;
    min-width: 1em;
    min-height: 1em;
    max-height: 5em;
    max-height: 4em;
}

#text {
    display: none;
    text-align: center;
    cursor: pointer;
    user-select: none;
    transition: all;
    transition-duration: 400ms;
    transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
    font-size: 11pt;
    margin-top: -10pt;
    background: #194362;
    /* height: 80%; */
    background: linear-gradient(rgb(255, 135, 46), rgb(255, 75, 97));
    border-radius: 10pt;
    padding: 4pt;
    /* padding: 10pt; */
}

#text:hover {
    transform: scaleX(1.1);
    filter: drop-shadow(0px 0px 3px var(--background-color));
    /* color: red !important; */
}

.playful {
    font-family: 'Luckiest Guy', Arial;
    font-size: 25pt !important;
}

div#text > span.icon {
    font-family: "Material Symbols Rounded";
    font-variation-settings: 'FILL' 1, 'wght' var(--weight) !important;
    color: red !important;
}

.icecream {
    height: 27pt;
    z-index: -1;
    margin: 0 10pt;
    transform: translate(6pt, 6pt) rotate(0deg);
    filter: drop-shadow(0px 0px 2px var(--font-color)) contrast(140%);
}

div#text > .icecream:nth-child(3) {
    transform: translate(0px, 8pt) rotate(-20deg);
    margin: 0 5pt;
}

.bmc-btn {
    position: absolute;
    position: absolute;
    --offset: 15%;
    transform: translate(var(--offset), calc(var(--offset)*-2.0185185185185186));
    left: 0px;
    bottom: 0px;
    transition: 500ms;
}

.bmc-btn:hover {
    transform: scale(1.1) translate(var(--offset), calc(var(--offset)*-2.0185185185185186));
    transition: 300ms cubic-bezier(0.69, -1.48, 0.14, 2.68);
    filter: drop-shadow(0px 0px 3px var(--color));
}

#video {
    position: absolute;
    height: 100vh;
    width: 100vw;
}

#video {
    position: absolute;
    z-index: 0;
    background: url(mel.jpg) no-repeat;
    background-size: 100% 100%;
    top: 0px;
    left: 0px; /* fixed to left. Replace it by right if you want.*/
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
}

/* Henry's scuffed, emergency css because he doesnt understand why his js is broken... Do not be like this */

[data-class="porsche"] {
    background-image: url('https://www.supercars.net/blog/wp-content/uploads/2017/07/Porsche-911-Turbo-S-Exclusive-Series-4k-Wallpaper.jpg') !important;
    color: white !important;
    background-size: cover !important;
    --navbar: #dead51 !important;
    backdrop-filter: blur(2px) !important;
}

[data-class="porsche"] #prompt {
    font-family: "Fugaz One" !important;
}


[data-class="packers"] {
    background-image: url('https://cdn.wallpapersafari.com/83/74/HvDCN3.jpg') !important;
    color: #ffffff !important;
    background-size: cover !important;
    --navbar: #ffa62e !important;
    backdrop-filter: brightness(80%) blur(4px) !important;
}


[data-class="packers"] #prompt {
    font-family: "Black Ops" !important;
    color: white !important;
}