@font-face {
    font-family: 'Source Code Pro';
    src: url('../fonts/SourceCodePro-VariableFont_wght.ttf') format('truetype');
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    position: fixed;
    width: 100%;
}

html {
    background-color: #0f0f0f;
    font-family: 'Source Code Pro', monospace;
    color: #000;
}

h1, h2 {
    max-width: 20rem;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0.5rem;
}


h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0.125rem;
}
.container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 5rem;
    margin: 1rem;
    justify-content: center;
    align-items: center;
    max-width: 30ch;

    -webkit-animation: fadein .25s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein .25s; /* Firefox < 16 */
    -ms-animation: fadein .25s; /* Internet Explorer */
    -o-animation: fadein .25s; /* Opera < 12.1 */
    animation: fadein .25s;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.logos {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    height: 2rem;
    margin: 0 0.5rem;
    transition: all .2s ease-in-out;
    color: #222;
}

.logo:hover {
    transform: translateY(-5px);
}

#particle-canvas {
    margin: 0;
    padding: 0;
    z-index: -2;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#lgcanvas {
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
}

#backdrop {
    position:fixed;
    z-index: -1;
    width: 100%;
    height: 100dvh;
    object-fit: cover;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.25rem;
    }
    .logo {
        height: 1.8rem;
    }
    .content {
        margin: 0.5rem;
        padding: 1.5rem;
    }
}