:root {
 --background-white: #ffffff;
 --background-white-80: rgba(255,255,255,0.8);
 --background-black-05: rgba(0,0,0,0.05);
 --background-grey: xxx;   
 --background-orange: #E19E4E;
 --background-orange2: #FE8751;
 --background-orange2-80: rgba(254,135,81,0.8);
 --darkgrey: #292929;

 --font-mono: "DM Mono";
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    font-family: Inter, sans-serif;
}

body {
    display: flex;
    flex-flow: column;
    height: 100vh;
    width: 100%;
    align-items: center;
    background-color: lightgray;
}

h1, h2, h3, h4, h5, .clickcounter--container * {
    font-family: "inpin hongmengti", "Outfit", "Impact", sans-serif;
}

.spacer {
    background-color: red;
    height: 2000px;
    width: 100%;
}

.topbar {
    min-height: 75px;
    width: 100%;
    top: 0;
    position: sticky;
    background-color: var(--background-white-80);
    backdrop-filter: blur(5px);

    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;

    margin-bottom: 75px;
    z-index: 10;
}

.headline {
    margin-bottom: 1rem;
}

section:not(:last-child) {
    margin-bottom: 5rem;
}

.main {
    max-width: 100rem;
    width: 35vw;
    min-width: 800px;
    padding: 3.5rem 5rem 5rem;
    background-color: var(--background-white-80);
    backdrop-filter: blur(5px);
    border-left: 1px solid var(--background-black-05);
    border-right: 1px solid var(--background-black-05);
    border-radius: 0.5rem;
}

.cardcontainer {
    display: flex;
    gap: 1rem;
}

.card {
    aspect-ratio: 16/9;
    width: 100%;
    background-color: lightgrey;
    border-radius: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
    display: block;
}

.image {
    user-select: none;
    pointer-events: none;
    width: 100%;
}

.socialcard {
    aspect-ratio: 16/9;
    width: 100%;
    background-color: var(--darkgrey);
    color: var(--background-white);
    border-radius: 1rem;
    padding: 0.75rem 1.5rem 1rem;

    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

.socialcard--small {
    width: 100%;
    background-color: var(--darkgrey);
    color: var(--background-white);
    border-radius: 1rem;
    padding: 0.75rem 1.5rem 0.75rem;

    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

.socialcard:hover {
}

.socialcard--reddit {
    background-color: #FF4500;
}

.socialcard--discord {
    background-color: #5865F2;
}

.cardlabel {
    font-size: 1.25rem;
    font-weight: 600;
}

.background {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -10;
    top: 0;
    overflow: hidden;
    user-select: none;
    pointer-events: none;
}

.background__image, .background__image--left, .background__image--right {
    height: 125%;
    top: -7.5%;
    position: fixed;
    opacity: 15%;
}

.background__image {
    animation: BG_Animation 90s linear 0s infinite normal forwards;
}

.background__image--left {
    animation: BG_Animation-left 90s linear 0s infinite normal forwards;
}

.background__image--right {
    animation: BG_Animation-right 90s linear 0s infinite normal forwards;
}

@keyframes BG_Animation-left {
	0% {
		transform: rotate(-7.5deg) translateX(-100%);
	}

	100% {
		transform: rotate(-7.5deg) translateX(-200%) ;
	}
}

@keyframes BG_Animation {
	0% {
		transform: rotate(-7.5deg) translateX(0);
	}

	100% {
		transform: rotate(-7.5deg) translateX(-100%) ;
	}
}

@keyframes BG_Animation-right {
	0% {
		transform: rotate(-7.5deg) translateX(100%);
	}

	100% {
		transform: rotate(-7.5deg) translateX(0) ;
	}
}


.clickcounter--container {
    background-color: var(--background-white-80);
    backdrop-filter: blur(5px);
    border-radius: 0.5rem;
    z-index: 1;
    max-width: 100rem;
    width: 35vw;
    min-width: 800px;
    margin-bottom: 2rem;
   /* -webkit-box-shadow: 0px 15px 15px 10px rgba(0,0,0,0.25); 
    box-shadow: 0px 15px 15px 10px rgba(0,0,0,0.25);*/
}

.clickcounter--container--mobile {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--background-white-80);
    backdrop-filter: blur(5px);
    border-radius: 0.5rem;
    z-index: 1;
   /* -webkit-box-shadow: 0px 15px 15px 10px rgba(0,0,0,0.25); 
    box-shadow: 0px 15px 15px 10px rgba(0,0,0,0.25);*/
}

.clickcounter--container:hover {
    cursor: pointer;
}

.clickcounter--headline {
    background-color: var(--background-orange2);
    color: var(--background-white);
    padding: 0.5rem;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.clickcounter {
    font-size: 2rem;
    padding: 0.5rem;
}

.clickcounter--label {
    padding: 0 0.5rem 0.5rem;
    color: grey;
}

.clickcounter--disabled:hover {
    cursor: not-allowed;
}

p {
    font-family: Inter, sans-serif;
    font-weight: 500;
  font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
}
@supports (font-variation-settings: normal) {
  :root { font-family: InterVariable, sans-serif; }
}

a {
    text-decoration: none;
}

footer {
    width: 100%;
    background-color: var(--background-white-80);
    backdrop-filter: blur(5px);

    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;

    margin-top: max(calc(35vw/2.5), 300px);

    padding: 2rem 0 3rem;
}

.footer__imagecontainer {
    max-width: 100rem;
    width: 35vw;
    min-width: 800px;
    position: absolute;
    bottom: 100%;
}

.footer__image {
    width: 100%;
    bottom: 0;
    position: absolute;
    user-select: none;
    pointer-events: none;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
    padding: 2rem; 
}

footer::after {/*
    content: url("/images/TwiggyLayingDown.png");
    max-width: 100rem;
    width: 35vw;
    min-width: 800px;
    position: absolute;
    bottom: 100%;
    border: 1px solid red;*/
  }

.mono {
   /* font-family: var(--font-mono);*/
    font-size: 0.75rem;
    line-height: 1.4;
    letter-spacing: 0.01rem;
}

    


@media screen and (min-width: 1001px) { 
    .gridstart1 {
        grid-column-start: 1;
    }
    
    .gridstart2 {
        grid-column-start: 2;
    }
    
    .gridstart3 {
        grid-column-start: 3;
    }
    
    .gridstart4 {
        grid-column-start: 4;
    }
    
    .gridstart5 {
        grid-column-start: 5;
    }
    
    .gridstart6 {
        grid-column-start: 6;
    }
    
    .gridspan1 {
        grid-column-end: span 1;
    }
    
    .gridspan2 {
        grid-column-end: span 2;
    }
    
    .gridspan3 {
        grid-column-end: span 3;
    }
    
    .gridspan4 {
        grid-column-end: span 4;
    }
    
    .gridspan5 {
        grid-column-end: span 5;
    }
    
    .gridspan6 {
        grid-column-end: span 6;
    }
}


@media screen and (max-width: 1000px) { 

    .main {
        max-width: 100rem;
        width: 90vw;
        min-width: 0;
        padding: 1.75rem 2.5rem 2.5rem;
    }

    .clickcounter--container {
        width: 90vw;
        min-width: 0;
        margin-bottom: 2rem;
    }

    .cardcontainer {
        flex-direction: column;
    }

    .footer__imagecontainer {
        width: 90vw;
        min-width: 0;
    }

    .socialcard {
        aspect-ratio: 16/4;
    }

    .footer__content {
        grid-template-columns: repeat(1, 1fr) !important;
    }

}