* {
    box-sizing: border-box;
}

:root {
    --text-primary-color: whitesmoke;
    --text-secondary-color: gray;
    color: var(--text-primary-color);

    --background-color: #181818;
    --primary-color: blue;
    --secondary-color: #2a2a2a;
}

html {
    scroll-behavior: auto;
    scroll-padding-top: 2rem;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    background-color: var(--background-color);
    font-family: "Inconsolata", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
}

li {
    list-style-type: none;
}

ol {
    padding: 0;
}

ol > li {
    list-style: decimal;
}

ul { 
    padding-left: 0;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1rem;
}

h5 {
    font-size: 0.75rem;
}

h6 {
    font-size: 0.5rem;
}

nav {
    position: sticky;
    z-index: 2;
    width: 100%;
    height: 4rem;
    background: #181818;
    display: flex;
    align-items: center;
}

.light-shadow {
    box-shadow: 0 0 16px 0 rgba(255, 255, 255, 0.2);
}

.underline-dots {
    text-decoration: underline dotted;
}

.light-text {
    font-family: "Libre Baskerville", serif;
    font-weight: 200;
    font-style: normal;
}

.skill-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 0.25rem;
    border-radius: 0.5rem;
}

.hoverable-text {
    color: var(--text-primary-color);
    transition: color 0.25s ease;
}

.hoverable-text:hover {
    color: var(--text-secondary-color);
}

table {
    border-collapse: collapse;
    border: 2px solid rgb(140 140 140);
}

th,
td {
    border: 1px solid rgb(160 160 160);
    padding: 8px 10px;
}

tbody > tr:nth-of-type(even) {
    background-color: rgb(24, 24, 24);
}

.dot {
    list-style-type: circle;
    list-style-position: inside;
}

.checkbox-list-item {
    list-style-type: none;
    margin-left: 1.5rem;
}

input[type=checkbox] {
    width: 1rem;
    height: 1rem;
}

@media (max-width: 768px) {
    :root {
        font-size: 18px;
    }
    
    nav {
        height: 3rem;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    :root {
        font-size: 18px;
    }
}

/* Computer */
@media (min-width: 1024px) and (max-width: 3840px) {
    :root {
        font-size: 24px;
    }
}

/* Ultrawide monitor */
@media (min-width: 3840px) {
    :root {
        font-size: 26px;
    }
}