import { applyGrain } from @prodbyeagle/grainient from https://cdn.jsdelivr.net/npm/@prodbyeagle/grainient@3.2.0/+esm

@font-face {
    font-family: 'Tilda Sans';
    src: url('fonts/TildaSans-Regular/TildaSans-Regular.woff2') format('woff2'),
         url('fonts/TildaSans-Regular/TildaSans-Regular.woff') format('woff'),
         url('fonts/TildaSans-Regular/TildaSans-Regular.css') format('css'),
         url('fonts/TildaSans-Regular/TildaSans-Regular.eot') format('eot');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Tilda Sans';
    src: url('fonts/TildaSans-Bold/TildaSans-Bold.woff2') format('woff2'),
         url('fonts/TildaSans-Bold/TildaSans-Bold.woff') format('woff'),
         url('fonts/TildaSans-Bold/TildaSans-Bold.css') format('css'),
         url('fonts/TildaSans-Bold/TildaSans-Bold.eot') format('eot');
    font-weight: bold;
    font-style: normal;
}

/* Reset default margins and paddings */
body, html {
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevent scrollbars */
    height: 100%;
    width: 100%;
    font-family: 'Tilda Sans', Arial, sans-serif;
    background: #000; /* Set a background color */

    display: flex;
    justify-content: center;
    align-items: center;
}

a {
    color: #fff;
    text-decoration: none;
}

/* Background canvas styling */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#backgroundCanvas {
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Container for contact information */
.container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;

    z-index: 1;
    padding: 20px;
    color: #fff;

    scroll-behavior: smooth;
    max-height: 80vh;
    overflow: auto;
}

.img-block > img {
    width: 20vw;
    height: 20vw;

    max-width: 150px;
    max-height: 150px;

    border-radius: 8px;
}

.contact-block {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.contact-fields {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    margin-top: 20px;
}

/* Styling for each contact field */
.field {
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent background */
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    border-radius: 5px;

    width: 20vw;
}

.field > i {
    margin-right: 4px;
}

.field:hover {
    background: rgba(255, 255, 255, 0.3);
}

#grain {
    position: absolute !important; 
    width: 100vw; 
    height: 100vh;

    z-index: 1;
}

::-webkit-scrollbar {
    display: none;
}


@media only screen and (max-width: 768px) {
  .img-block > img {
        width: 40vw;
        height: 40vw;

        border-radius: 16px;
    }

    .field {
        width: 35vw;
    }
}

