﻿@font-face {
    font-family: 'CatSong';
    src: url('assets/fonts/catsong.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Pacifico';
    src: url('assets/fonts/Pacifico-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
    font-family: 'CatSong';
    color: rgb(228, 228, 228);
}

html, body {
    margin: 0;
    padding: 0;
}

::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* background credit: https://wallpapers.com/background/bulletin-board-background-2000-x-1333-f8ue67uwxyr57ggt.html */
/* filtered to be more saturated + heavier vignette */

html {
    background-image: url('assets/backgrounds/backgroundbulletinboard.png');
    background-color: rgba(76, 20, 2, 0.25);
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.mainheader {
    background-image: linear-gradient(rgba(25, 11, 0, 0.9), rgba(0, 0, 0, 0));
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.emptyspace {
    height: 10rem;
    width: auto;
}

.mainheader div {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav {
    filter: drop-shadow(0px 5px 7px rgb(73, 26, 0));
}

.logo {
    width: 15rem;
    margin: 2rem;
    filter: drop-shadow(0px 1px 14px rgba(25, 11, 0, 0.9));
    transition-duration: 0.05s;
}
.logo:hover {
    scale: 105%;
    filter: drop-shadow(0px 1px 9px rgba(25, 11, 0, 0.7));
}
.logo:active {
    scale: 100%;
    filter: drop-shadow(0px 1px 17px rgba(25, 11, 0, 1));
}

.mainheader ul {
    list-style: none;
    display: flex;
    margin: 2rem;
    gap: 2rem;
}

.mainheader a {
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: bold;
}

.header-buttons a{
    transition-duration: .05s;
}
.header-buttons a:hover {
    rotate: -3deg;
    scale: 105%;
}
.header-buttons a:active{
    scale: 95%;
    rotate: 1deg;
}

.header-buttons a {
    background-image: url('assets/paper.png');
    padding: 1rem;
    clip-path: polygon(2% 3%, 72% 0, 99% 2%, 100% 65%, 98% 98%, 29% 100%, 2% 98%, 0 30%);
}
.header-buttons li {
    color: #2a1f14;
}

/* start of section */

.landing {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    filter: drop-shadow(0 5px 2px rgb(73 26 0)) saturate(115%);
    background-image: url('assets/bpwebpage/webbg.png');
    mask-image: linear-gradient(rgba(25, 11, 0, 1) 85%, rgba(73, 22, 22, 0) 100%);
    background-size: cover;
}

.landing h1 {
    color: rgb(255 242 232);
    margin: 0;
    font-family: 'Pacifico';
    font-size: 4rem;
    font-style: italic;
    animation: fade .3s linear;
    text-shadow: 0 5px 2px rgb(73 26 0);
    filter: drop-shadow(0px 1px 20px rgba(73, 26, 0, 0.7));

}
@keyframes fade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.title-container {
    width: 80%;
}

.title {
    display: flex;
    justify-content: center;
}

.block {
    height: 8rem;
    width: 8rem;
    margin: -.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 5px 2px rgb(73 26 0)) drop-shadow(0px 1px 20px rgba(73, 26, 0, 0.7));
}

.playBlockAnim {
    animation: blockAnim .35s cubic-bezier(1, 0, 1, 1);
}
@keyframes blockAnim {
    0% {
        opacity: 0;
        scale: 110%;
    }
    30% {
        opacity: 1;
        scale: 95%;
    }
    100% {
        scale: 100%;
    }
}

.blank {
    background-color: rgba(0, 0, 0, 0);
}

.paper-header, .info, .ytlink {
    filter: drop-shadow(0px 5px 7px rgb(73, 26, 0));
    margin-bottom: 2rem;
    text-align: left;
}

.video-embed {
    filter: drop-shadow(0 5px 2px rgb(69 61 56));
}

iframe {
    width: 80%;
    aspect-ratio: 16 / 9;
    clip-path: polygon(1% 99%, 0 71%, 1% 18%, 1% 1%, 31% 2%, 65% 0, 99% 1%, 99% 28%, 100% 65%, 99% 98%, 69% 100%, 32% 98%);
    display: block;
    margin: 0 auto;
}

.thumbtack {
    width: 2.5rem;
    filter: drop-shadow(2px 10px 5px rgb(131 126 114));
    margin-left: 45%;
    margin-top: -2.5%;
}

.paper {
    position: relative;
    margin: auto;
    width: 90%;
    padding: 1.5rem;
    background-image: url('assets/paper.png');
    clip-path: polygon(13% 1%, 30% 1%, 49% 0%, 60% 2%, 78% 0%, 99% 2%, 100% 9%, 99% 30%, 100% 44%, 99% 61%, 100% 80%, 99% 98%, 93% 100%, 77% 98%, 58% 100%, 37% 98%, 36% 98%, 19% 100%, 3% 99%, 3% 99%, 0 95%, 1% 80%, 0% 65%, 1% 40%, 0 20%, 2% 2%);
}

.paper h2 {
    font-family: 'catsong';
    font-size: 3rem;
    font-weight: normal;
    color: #2a1f14;
    margin: 0;
}

.paper p, .paper a {
    color: #232323;
    font-size: clamp(.5rem, 2vw, 1.5rem);
}

.paper-left {
    rotate: -1deg;
}

.paper-right {
    rotate: 1deg;
}

.section {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.questions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    filter: drop-shadow(0px 5px 7px rgb(73, 26, 0));
}

.postit {
    position: relative;
    background-color: #eaa0ef;
    background-image: url('assets/postit.png');
    background-blend-mode: multiply;
    width: clamp(10rem, 25vw, 20rem);
    height: clamp(10rem, 25vw, 20rem);
    margin: 2rem;
    padding: 1.25rem;
    clip-path: polygon(2% 0, 98% 0, 98% 23%, 98% 71%, 100% 88%, 88% 100%, 0 100%, 2% 71%, 2% 23%);
    --fold-bg: #a361b8;
}

.postit::before {
    content: "";
    position: absolute;
    background-color: var(--fold-bg);
    background-image: url('assets/postit.png');
    background-blend-mode: multiply;
    width: 12%;
    aspect-ratio: 1/1;
    bottom: 0;
    right: 0;
    box-shadow: 0 0 7px rgba(50, 17, 0, .5);
}

.postit b, .postit p, .postit a{
    color: #232323;
    font-size: clamp(.5rem, 2vw, 1.5rem);
    text-align: center;
}

.postit p {
    position: absolute;
    width: 100%;
    margin: 0;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    padding: 1rem;
}

.postit p:last-of-type {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.postit p:first-of-type {
    transition: opacity 0.3s ease;
}

.postit:hover p:first-of-type {
    opacity: 0;
}

.postit:hover p:last-of-type {
    opacity: 1;
}

.server-plug {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 1rem;
}

.server-icon {
    filter: drop-shadow(0 5px 2px rgb(69 61 56));
}

.server-plug img {
    width: 6rem;
    height: 6rem;
    clip-path: polygon(4% 4%, 53% 0, 96% 3%, 99% 62%, 95% 97%, 50% 99%, 4% 98%, 1% 36%);}

.server-link {
    filter: drop-shadow(0 5px 2px rgb(69 61 56));
    transition-duration: .1s;
    flex: 1;
}

.server-link a {
    background-color: #5f5fb5;
    background-image: url("assets/paper.png");
    background-blend-mode: multiply;
    padding: 2rem;
    clip-path: polygon(99% 1%, 100% 31%, 98% 98%, 49% 100%, 1% 98%, 0 71%, 1% 2%, 49% 0);

    color: rgb(255 242 232);
    display: block;
    text-align: center;
    font-size: 2rem;
    text-decoration: none;
}
.server-link:hover {
    scale: 103%;
    filter: drop-shadow(0 5px 7px rgb(69 61 56));
}
.server-link:active {
    scale: 99%;
    filter: drop-shadow(0 2px 2px rgb(69 61 56));
}

.frank-graphic {
    position: relative;
    width: clamp(5rem, 40vw, 80rem);
    aspect-ratio: 1;
    filter: drop-shadow(0 5px 2px rgb(73 26 0));
    margin: auto;
    margin-top: 5%;
}

.frank-left, .frank-left-nostroke, .frank-right, .frank-right-nostroke {
    position: absolute;
    width: 80%;
}

.frank-left, .frank-left-nostroke {
    bottom: 0;
    left: 10%;
    rotate: -3deg;
}

.frank-right, .frank-right-nostroke {
    rotate: 3deg;
}

.frank-left, .frank-right {
    stroke: #fffcf3;
    stroke-width: 67px;
}

.moveup {
    margin-top: -4rem;

}

.bp-footer {
    width: 100%;
    z-index: 0;
    filter: drop-shadow(0 0 4px rgb(73 26 0));
    margin-bottom: -.5rem;
    -webkit-user-drag: none;
}