@font-face {
    font-family: 'Google Sans Code';
    src: url('assets/GoogleSansCode-VariableFont_wght.ttf');
    font-display: swap;
    }

* {
    margin: 0;
    padding: 0;
    font-family: "Google Sans Code";
    color: hsl(0, 0%, 91%);
    accent-color: hsl(157, 80%, 40%);
}

body {
    background-color: hsl(0, 0%, 11%);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40"><rect fill="%231a1a1a" width="40" height="40"/><circle cx="20" cy="20" r="1.5" fill="%23333333" opacity="0.9"/></svg>');
    background-repeat: repeat;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

header {
    padding: 40px 80px;
}

main {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
    margin: 0 80px;
}

h2 {
    color: hsl(0, 0%, 40%);
    font-size: 20px;
}

footer {
    background-color: hsl(0, 5%, 5%);
    height: 40px;
    width: 100%;
    position: fixed;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    flex-direction: row;
    }

table {
    font-size: 13px;
    border-spacing: 4px 4px;
    margin-bottom: 30px;
    display: block;
    max-height: 65vh;
    max-width: 80%;
    overflow-y: auto;
    padding-bottom: 50px;
    mask-image: linear-gradient(to bottom, black 85%, transparent);
}

#toolbar {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
#toolbar label {
    display: flex;
    align-items: center;
    gap: 8px;
}

#themeSelector {
    display: flex;
    gap: 15px;
    margin-left: auto;
}

#themeSelector label {
    display: flex;
    align-items: center;
    gap: 5px;
}

input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

select {
    font-size: 15px;
    background-color: hsl(0, 5%, 21%);
    border: none;
    border-radius: 10px;
    padding: 10px;
}

option {
    background-color: hsl(0, 5%, 21%);
}

option:hover {
    background-color: blue;
}

button {
    background-color: hsl(157, 20%, 40%);
    border: none;
    border-radius: 7px;
    padding: 7px;   
}

button:hover {
    cursor: pointer;
    filter: brightness(1.2);
}

td {
    padding: 10px;
    transition: ease-in 0.05s ;
    a {text-decoration: none;}
}

td:first-child {
    border-radius: 10px 0 0 10px;
}

td:last-child {
    border-radius: 0 10px 10px 0;
}

tr td:last-of-type {
    filter: saturate(1.2) brightness(1.3);
}

tr td:last-of-type:hover {
    scale: 1.1;
}

tr {
    transition: ease 0.1s
}

tr:hover {
    filter: brightness(1.1);
}

td.dt-affected {
    filter: brightness(1.3) saturate(1.5);
}

/* row coloring by slot type - default theme */
body.theme-classic tr.nm td{ background-color: hsl(0, 0%, 31%);}
body.theme-classic tr.hd td{ background-color: hsl(50, 15%, 31%);}
body.theme-classic tr.hr td{ background-color: hsl(0, 15%, 31%);}
body.theme-classic tr.dt td{ background-color: hsl(270, 15%, 31%);}
body.theme-classic tr.fm td{ background-color: hsl(113, 15%, 31%);}
body.theme-classic tr.tb td{ background-color: hsl(295, 15%, 31%);}
body.theme-classic tr.ex td{ background-color: hsl(192, 15%, 31%);}
body.theme-classic tr.ht td{ background-color: hsl(35, 15%, 31%);}

/* Vibrant Theme */
body.theme-vibrant tr.nm td{ background-color: hsl(0, 0%, 41%);}
body.theme-vibrant tr.hd td{ background-color: hsl(50, 35%, 31%);}
body.theme-vibrant tr.hr td{ background-color: hsl(0, 35%, 31%);}
body.theme-vibrant tr.dt td{ background-color: hsl(270, 35%, 31%);}
body.theme-vibrant tr.fm td{ background-color: hsl(113, 35%, 31%);}
body.theme-vibrant tr.tb td{ background-color: hsl(295, 35%, 31%);}
body.theme-vibrant tr.ex td{ background-color: hsl(192, 35%, 31%);}
body.theme-vibrant tr.ht td{ background-color: hsl(35, 35%, 31%);}