@font-face {
    font-family: 'Silkscreen';
    src: url('/assets/Silkscreen-Regular.ttf') format('truetype-variations');
    font-weight: 1 500;
}
@font-face {
    font-family: 'Silkscreen';
    src: url('/assets/Silkscreen-Bold.ttf') format('truetype-variations');
    font-weight: 501 999;
}

* {
    cursor: url("/assets/cursor-large.png"), auto;
}

body {
    background: #040404;
    color: #fff;
    padding-top: calc(40vh + 7.5px);
    font-family: 'Silkscreen', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

header {
    background: linear-gradient(180deg, #063fbc, #040404);
    text-align: center;
    align-items: center;
    align-content: center;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 40vh;
    width: 100%;
    overflow: hidden;
    /*margin-top: 75px;*/
}

h1 {
    color: #1166ee;
    background-image: linear-gradient(to right, #0048ff, #00b7ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    /* Ensures compatibility */
    font-size: 72px;
    font-weight: bold;
}

header h1 {
    font-size: 8vw;
}

.highlight {
    background-image: linear-gradient(to right, #0048ff, #00b7ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    /* Ensures compatibility */
    font-size: 72px;
    font-weight: bold;
}

button,
input,
textarea {
    padding: 5px 10px;
    border-radius: 0px;
    background: #222;
    color: white;
    border: #555 solid 1px;
    font-family: 'Silkscreen', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

textarea {
    resize: vertical;
}

.util-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    padding: 20px;
    /*max-width: 1200px;*/
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: #1166ee;
}

.util-grid a {
    display: inline-block;
}

.card {
    width: 350px;
    border-radius: 0px;
    background-color: #111;
    color: #fff;
    padding: 10px;
    padding-top: 0;
    text-decoration: none;
    display: block; /* add this */
}

.thumb {
    width: calc(100% + 20px);
    height: 200px; /* fixed height instead of 50% */
    object-fit: cover; /* keeps aspect ratio */
    position: relative;
    top: 0px;
    left: -10px;
    border: none;
    border-top-left-radius: 1px;
    border-top-right-radius: 1px;
}

.card h2 {
    translate: 0px 2px;
    text-decoration: none;
    color: #fff;
}

.card p {
   color: #999;
   translate: 4px 0px; 
   text-decoration: none;
}

#status {
    position: fixed;
    top: 25px;
    left: 25px;
    animation: fadeIn 0.5s cubic-bezier(0, 1, 0, 1);
    padding: 10px;
    border-radius: 5px;
    margin: 0 !important;

}

@keyframes fadeIn {
    0% { opacity: 0; }
}

@keyframes fadeOut {
    100% { opacity: 0; }
}

.nav {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 75px;
    border: none;
    z-index: 9999;
    box-shadow: #0f4a 0 0 10px 0px;
    backdrop-filter: blur(4px);
}
@keyframes notifIn {
    0% {transform: translate(-100%, 0%); left: -5px; opacity: 0;}
}
@keyframes notifOut {
    100% {opacity: 0.01;}
}
notif,
pnotif {
    background-color: #222c;
    backdrop-filter: blur(2px);
    color: #fff;
    position: fixed;
    top: 10px;
    left: 10px;
    padding: 8px 10px;
    border-radius: 0px;
    font-family: 'Silkscreen', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 10px;
    z-index: 9999;
    transition: all 0.5s ease;
    max-width: 250px;
    max-height: 200px;
    overflow: hidden;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: #eef9 #0000;
    animation: notifIn 0.5s cubic-bezier(0, 1, 0, 1) 0s 1 forwards;
}
notif:hover,
pnotif:hover {
    opacity: 0.9;
}
notif.closing,
pnotif.closing {
    /*transform: translate(-100%, 0%);
    left: -5px;*/
    animation: notifOut 0.5s ease 0s 1 alternate;
    pointer-events: none;
    touch-action: none;
}
notif h1,
pnotif h1 {
    font-family: 'Silkscreen', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 900;
    font-size: 12px;
    background-image: none;
    background-color: #fff;
    margin-bottom: 2px;
    padding-bottom: 2px;
    margin-top: 0px;
    padding-top: 0px;
}







/* NEW DESIGN */
body.new {
    padding-left: 25px;
    padding-right: 30vw;
    padding-bottom: 100px;
    background-color: #667;
    color: #fff;
    background-image: url('/assets/snow-dark.png');
    background-repeat: repeat;
    background-size: 64px auto; /* width: 50px, height: auto (proportional) */
    /*backdrop-filter: brightness(0.75) contrast(0.75) blur(1px);*/
    image-rendering: pixelated;
}

body.new header {
    background: linear-gradient(180deg, #063fbc, #04040400);
}

body.new a:not(:hover) {
    text-decoration: none;
}

body.new a:hover {
    text-decoration: underline;
}

body.new button,
body.new input,
body.new textarea {
    padding: 5px 10px;
    border-radius: 0px;
    background: #222;
    color: white;
    border: #555 solid 1px;
    font-family: 'Silkscreen', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body.new button:hover {
    background: #272727;
}

body.new button:active {
    background: #151515;
}

body.new footer {
    position: fixed;
    left: 0px;
    bottom: 0px;
    background-color: #2224;
    backdrop-filter: blur(3px);
    padding: 10px 10px;
    height: fit-content;
    width: 100vw;
}

body.new img.snow-hill-overlay {
    position: fixed;
    bottom: 0px;
    right: 0px;
    background-color: transparent;
    pointer-events: none;
    touch-action: none;
    width: 30vw;
    image-rendering: pixelated;
    max-width: 512px;
}