/* TODO: Possibly move this out of here, do speed benchmarking. Also add preconnect
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
*/
@import url('https://fonts.googleapis.com/css2?family=Geist:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:ital,wght@0,100..900;1,100..900&family=Geist:ital,wght@0,100..900;1,100..900&display=swap');
@import url('/css/variables.css');
@import url('/css/nav.css');
@import url('/css/footer.css');

html,
body {
    height: 100vh;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

body {
    font-family: 'Geist', sans-serif;
    font-style: normal;
    background-color: var(--col-back);
    color: var(--col-fore);
    overflow-y: scroll;
}

.no-scroll {
    overflow: hidden;
}

.keyvisual-wrapper.cover .keyvisual {
    height: 100%;
    width: auto;
}

.keyvisual-wrapper.width .keyvisual {
    width: 100%;
}

.keyvisual-wrapper {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.keyvisual-wrapper::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.1);
}

.keyvisual-wrapper.width {
    height: max-content;
}

@media screen and (min-aspect-ratio: 16/9) {
    .keyvisual-wrapper.cover .keyvisual {
        width: 100%;
        height: auto;
    }
}

@media screen and (min-aspect-ratio: 12.8/9) {
    .keyvisual-wrapper.cover.eighty .keyvisual {
        width: 100%;
        height: auto;
    }
}

.indented {
    width: 95%;
    margin-left: 2.5%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 350;
}

h1 {
    margin: 0;
}

.cat-mark {
    font-family: 'Geist Mono', monospace;
    font-weight: 400;
    font-size: var(--font-14);
    line-height: 100%;
    color: var(--col-fore-inverse);
    background-color: var(--col-aqua-teal);
    padding: 0.4rem;
    border-radius: 8px;
    text-transform: uppercase;
}

.empty-button {
    background-color: var(--col-back);
    border-radius: 16px;
    text-decoration: none;
    color: var(--col-fore);
    padding: 15px;
    border: solid 1px var(--col-fore);
    display: block;
    width: max-content;
    font-family: 'Geist Mono', monospace;
    font-size: var(--font-14);
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.5s;
}

.empty-button:hover {
    background-color: var(--col-digital-green);
    color: black;
}
