:root {
    --border-color: rgba(0, 50, 255, 1);
    --item-background: rgba(100, 150, 255, 0.075)
}

body {
    font-family: Futura, Arial, sans-serif;
    overflow-x: hidden;
    /* background: rgb(0, 0, 0); */
    background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 20, 50, 1));
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    /*background-image: conic-gradient(rgb(200,200,220), rgb(225,225,225), rgb(200,200,220));*/
}

@font-face {
    font-family: 'Futura';
    src: url('FuturaBook.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


header {
    border-radius: 15px;
    /*background-color: #333333dd;*/
    /* background-color: rgba(51, 51, 51, 0.87); */
    color: white;
    padding: 10px 0;
    text-align: center;
    /* outline: 2px solid #0084ff80; */
    outline: 2px solid rgb(0, 50, 255);
    background-color: var(--item-background);
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav a {
    /* Modify to: */
    display: block;
    padding: 8px 13px; /* This creates the clickable area size */
    width: auto; /* Remove width: fill */
    height: auto; /* Remove height: fill */
}

nav ul li {
    margin-right: 15px;
    margin-left: 15px;
    position: relative;

    flex: 0.05;
    display: inline;
    /* display: block; */
}

nav ul li a::after {
    content: '';
    position: absolute;
    top: -4px;
    /* Adjust these values to move the outline */
    left: -4px;
    /* Adjust these values to move the outline */
    right: -4px;
    /* Adjust these values to move the outline */
    bottom: -4px;
    /* Adjust these values to move the outline */
    /* border: 2px solid #0084ff80; /* Your desired outline color */
    border: 2px solid rgb(0, 50, 255);
    border-radius: inherit;
    /* If you want to keep the border-radius of the parent */
    pointer-events: none;
    /* Ensures clicks go through to the element below */
    border-radius: 25px;
    /* background-color: var(--item-background); */
}

nav ul li a:hover::after {
    /* border: 2px solid #0084ffc2; */
    /* border: 2px solid rgba(0, 132, 255, 0.76); */
    border: 3px solid rgb(0, 50, 255);

}


nav ul li a {
    color: white;
    text-decoration: none;
    transition: text-shadow 0.5s;
    text-shadow: none;
}

nav ul li a:hover {
    text-shadow:
        0 0 30px var(--border-color),
        0 0 15px var(--border-color),
        0 0 5px var(--border-color);
    transition: text-shadow 0.2s;

}


main {
    margin: 30px;
    /* padding-left: 10%; */
    /* padding-right: 10%; */
}

footer {
    border-radius: 25px;
    /* background-color: #333333dd; */
    /* background-color: var(--item-background); */
    /* outline: 2px solid rgb(0, 50, 255); */
    color: white;
    text-align: center;
    padding: 0px 0;
    position: relative;
    width: 15%;
    height: 5%;
    /* outline: 2px solid #0084ff80; */
}

#thing-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    align-items: stretch;
    gap: 15px;
}

.thing-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(370px, 1fr));
    align-items: stretch;
    gap: 15px;
}

.file-item {
    border-radius: 25px;
    background-color: var(--item-background);
    padding: 15px;
    margin-bottom: 10px;
    /* outline: 2px solid #0084ff80; */
    outline: 2px solid rgb(0, 50, 255);
}

.primary {
    outline: 2px solid rgb(255, 255, 0);
}

.secondary {
    outline: 2px solid rgb(0, 255, 255);
}

.file-item h2 {
    margin-top: 6px;
}

.file-header {
    display: flex;
    /* Use flexbox for alignment */
    justify-content: space-between;
    /* Space between title and button */
    align-items: flex-start;
    /* Center items vertically */
}

a.button {
    display: inline-block;
    padding: 10px 15px;
    /* background-color: #5cb85c; */
    background-color: var(--item-background);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    /* margin-top: 10px; */
    text-shadow: none;
    transition: text-shadow 0.5s;
    outline: 2px solid rgb(0, 50, 255);
    margin: 5px;
}

a.button:hover {
    /* background-color: #4cae4c; */
    /* outline: 2px solid #0084ffc2; */
    outline: 3px solid rgb(0, 50, 255);
    text-shadow:
        0 0 30px var(--border-color),
        0 0 15px var(--border-color),
        0 0 5px var(--border-color);
    transition: text-shadow 0.2s;
}

.lab-item {
    border-radius: 25px;
    background-color: var(--item-background);
    padding: 15px;
    margin-bottom: 10px;
    /* outline: 2px solid #0084ff80; */
    outline: 2px solid rgb(0, 50, 255);
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

p {
    color: white;
    font-size: 1.2em;
}

h2 {
    color: white;
}

h3 {
    color: white;
}

/* make hyperlinks white, but glowing red */
a {
    color: white;
    text-shadow:
        0 0 30px var(--border-color),
        0 0 15px var(--border-color),
        0 0 5px var(--border-color);
    transition: text-shadow 0.5s;
}

a:hover {
    text-shadow:
        0 0 30px var(--border-color),
        0 0 30px var(--border-color),
        0 0 15px var(--border-color),
        0 0 15px var(--border-color),
        0 0 5px var(--border-color),
        0 0 5px var(--border-color);
    transition: text-shadow 0.2s;
}

a.full-link {
    color: white;
    text-shadow: none !important;
    text-decoration: none !important;
    transition: text-shadow 0.5s;
    /* center the content */
    display: block;
    text-align: center;
    margin: auto 0;
}

a.full-link:hover {
    text-shadow:
        0 0 30px var(--border-color),
        0 0 15px var(--border-color),
        0 0 5px var(--border-color) !important;
    transition: none;
}

th {
    color: white;
}

td {
    color: white;
}
