@font-face {
    font-family: 'office-code-pro';
    src: url('./fonts/office-code-pro/WOFF2/OfficeCodePro-Medium.woff2') format('woff2'),
         url('./fonts/office-code-pro/WOFF/OfficeCodePro-Medium.woff') format('woff');
}

.logo {
    width: 70%;
    position: relative;
}


html, body {
    margin: 0;
    padding: 0;
    background: black;
    overflow: hidden;
    height: 100%;
    width: 100%;
    color: white;
    /*max-width: 1000px;*/
    font-family: 'office-code-pro';
    margin: 0 auto;
    line-height: 1.4;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
}

#hat {
    position: absolute;
    width: 125px;
    height: auto;
    z-index: 100;
}

/* These hat colors are meant to overlay the hat image, making the image white, blue, red, then purple respectively */

.hat-color-1 {
    filter: brightness(0) saturate(100%) invert(28%) sepia(97%) saturate(7471%) hue-rotate(242deg) brightness(99%) contrast(99%); /* blue */
}

.hat-color-2 {
    filter: brightness(0) saturate(100%) invert(17%) sepia(100%) saturate(7462%) hue-rotate(0deg) brightness(97%) contrast(118%); /* red */
}

.hat-color-3 {
    filter: brightness(0) saturate(100%) invert(15%) sepia(100%) saturate(7500%) hue-rotate(280deg) brightness(60%) contrast(160%); /* purple */
}

.hat-color-4 {
    filter: brightness(0) saturate(100%) invert(100%); /* white */
}

a {
    color: #0366d6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.text-container {
    grid-template-rows: repeat(1, minmax(0, 1fr));
    display: grid;
    text-shadow: 2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000;
}

.size1 {
    font-size: clamp(1.2rem, 1.8rem, 2rem);
    text-shadow: 2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000;
}

.size2 {
    font-size: clamp(1rem, 1.4rem, 1.6rem);
    text-shadow: 2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000;
}

.size3 {
    font-size: clamp(0.8rem, 1rem, 1.2rem);
    text-shadow: 2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    background-image: 
    radial-gradient(white 1px, transparent 0),
    radial-gradient(white 0.8px, transparent 0),
    radial-gradient(white 1.2px, transparent 0),
    radial-gradient(white 0.6px, transparent 0),
    radial-gradient(white 1px, transparent 0),
    radial-gradient(white 0.9px, transparent 0),
    radial-gradient(white 1.1px, transparent 0);
    background-size: 
    280px 320px, 
    450px 380px, 
    620px 520px, 
    180px 240px, 
    750px 680px,
    340px 290px,
    520px 460px;
    background-position:
    0 0, 
    120px 80px, 
    240px 160px, 
    60px 200px, 
    300px 120px,
    180px 300px,
    420px 40px;
    animation: twinkle1 3.2s infinite ease-in-out alternate;
    z-index: 50;
}

body::after {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    background-image: 
    radial-gradient(white 0.7px, transparent 0),
    radial-gradient(white 1.3px, transparent 0),
    radial-gradient(white 0.5px, transparent 0),
    radial-gradient(white 1px, transparent 0),
    radial-gradient(white 0.8px, transparent 0);
    background-size: 
    390px 350px, 
    580px 480px, 
    220px 180px, 
    480px 420px,
    320px 380px;
    background-position:
    80px 120px, 
    200px 280px, 
    320px 60px, 
    140px 340px,
    400px 200px;
    animation: twinkle2 2.7s infinite ease-in-out alternate;
    z-index: 49;
}

@keyframes twinkle1 {
    0% { opacity: 0.1; }
    25% { opacity: 0.6; }
    50% { opacity: 0.3; }
    75% { opacity: 0.9; }
    100% { opacity: 0.4; }
}

@keyframes twinkle2 {
    0% { opacity: 0.3; }
    30% { opacity: 0.8; }
    60% { opacity: 0.2; }
    80% { opacity: 0.7; }
    100% { opacity: 0.5; }
}



/*@media (max-width: 600px) {
    .logo-container {
        max-width: 250px;
    }
}*/


.misc {
    display: grid;
    grid-template-rows: repeat(1, minmax(0, 1fr));
    padding: 10px;
}

