@import "/css/dropdown.css";
@import "/css/filmgrid.css";
@import "/fonts/hack/hack-subset.css";

@font-face {
    font-family: "garamond";
    src: url('/fonts/eb-garamond/EBGaramond-Regular.ttf') format('truetype');
}

:root {
    --text-color: #dcdccc;
    --dark-grey: #3f3f3f;
    --grey: #4f4f4f;
    --light-grey:#646464;
    --very-light-grey: #8e8e8e;
}

html {
    background-image: url("/files/images/background.svg");
    background-size: 100%;
    background-color: #29354c;
    background-repeat: no-repeat;
}

body {
    margin: 0 auto;
    max-width: 1000px;
    background-color: transparent;
}

body, button {
    font-family: Hack;
    font-size: 16px;
    color: var(--text-color);
}

h1 {
    color: #dfaf8f;
}

h2 {
    color: #bfebbf;
}

h3 {
    color: #7cb8bb;
}

a {
    color: var(--text-color);
}

header {
    background: black;
    height: 60px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: -1;
}

header img {
    width: 10%;
    position: absolute;
}

header video {
    width: 100%;
    height: 150px;
}

blockquote {
    font-family: "garamond";
    font-size: 18px;
}

pre {
    background-color: var(--grey);
    border: 3px solid var(--light-grey);
    padding: 20px;
}

.logo {
    max-height: 150px;
    max-width: 100%;
    width: auto;
    animation-duration: 1.0s;
    animation-name: flickering;
    animation-iteration-count: infinite;
    animation-delay: 0s;
    animation-timing-function: linear;
    animation-direction: alternate;
    z-index: -1;
}

@keyframes flickering {
    0% 4% 6% 24% 26% 42% 44% 57% 59% 65% 67% 69% 71% 84% 86% 90% 92% 97% 99% 100% {
        filter: brightness(1);
    }
    5% { filter: brightness(1.1); }
    25% { filter: brightness(1.2); }
    43% { filter: brightness(1.1); }
    58% { filter: brightness(1.2); }
    66% { filter: brightness(1.1); }
    70% { filter: brightness(1.2); }
    85% { filter: brightness(1.1); }
    91% { filter: brightness(1.2); }
    98% { filter: brightness(1.1); }
}

main {
    overflow: auto;
    border-left: var(--grey) solid 5px;
    border-right: var(--grey) solid 5px;
    border-bottom: var(--grey) solid 5px;
    padding: 0px 10px 10px 10px;
    background-color: var(--dark-grey);
}

footer {
    padding: 5px;
    border-left: var(--grey) solid 5px;
    border-right: var(--grey) solid 5px;
    border-bottom: var(--grey) solid 5px;
    font-size: 12px;
    background-color: var(--dark-grey);
}

footer span {
    float: right;
}

.author {
    text-indent: 80px;
}

.note {
    font-size: 12px;
}

.flex-item {
    border: 3px solid var(--light-grey);
    padding: 10px;
    background-color: var(--grey);
}

.flex-item h3 {
    margin: 0;
    margin-bottom: 10px;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.website-container {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto;
}

.website-item {
    width: 100%;
    border: gray solid 2px;
    padding: 5px;
}

.website-cell {
    float: left;
    width: 50%;
}

@media all and (max-width: 580px) {
    .website-cell {
        float: left;
        width: 100%;
        margin-bottom: 5px;
    }
    blockquote {
        margin-left: 0;
        margin-right: 0;
    }
}
