@font-face {
    font-family: Times;
    src: url("./fonts/tnr.ttf") format("truetype");
}

:root {
    --main-color: black;
    --dark-color: #191f1d;
    --mid-dark: #555a57;
    --light-color: #ece0c8;
    --mid-light: #949993;
    --shadow: #0005;
    --linear-rainbow: linear-gradient(
        to right,
        #ede6bf,
        #ecc947,
        #cb5a31,
        #6f5d79,
        #4e779a
    );
    --circle-rainbow: radial-gradient(
        circle at left top,
        #ede6bf,
        #ecc947,
        #cb5a31,
        #6f5d79,
        #4e779a
    );
    --noise-texture: url(https://i.gyazo.com/a26366e538851a5c569ff648e99b7fd4.png);
    --gif-texture: url(https://64.media.tumblr.com/da60c13b478dda09ab90c27e880983b8/tumblr_nd4pwdPKdc1tun3l0o1_1280.gifv);
}

html {
    background: black;
    min-height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100vw;
    color: white !important;
}

nav > a {
    color: white;
}

body {
    margin: 0;
    min-height: 100vh;
    min-width: 100vw;
    color: var(--main-color);
    font-family: Times;
    font-size: 1rem;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0.03em;
    text-align: left;
    background-image: url("b1.png"), white;
    background-repeat: no-repeat;
    background-position: right 557px top;
    background-size: contain;
    overflow-y: scroll;
}

main {
    padding-left: 18px;
    padding-right: 18px;
}

section {
    max-width: 753px;
}

p {
    line-height: 16px;
}

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

.project-list {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.project {
    width: 300px;
    position: relative;
}

.backdrop {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: transparent;
    background-image: linear-gradient(360deg, #0c0c0cc9 0%, #ffffff00 30%);
}

.project > img {
    width: 100%;
}

.project > .scotch-container > img {
    width: 300px;
}

.project > .title {
    position: absolute;
    bottom: 5px;
    left: 5px;
    padding: 2px 5px;
}

.project > .artist {
    position: absolute;
    top: 5px;
    left: 5px;
    writing-mode: vertical-lr;
    padding: 5px 2px;
}
