/* ------------------- */
/* Reset               */
/* ------------------- */

/* Box sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Reset margins */
body,
h1,
h2,
h3,
h4,
h5,
p,
figure,
picture {
    margin: 0; 
}

/* set up the body */
body {
    line-height: 1.5;
    min-height: 100vh;
}

/* make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* make form elements easier to work with */
input,
button,
textarea,
select {
    font: inherit;
}

/* remove animations for people who've turned them off */
@media (prefers-reduced-motion: reduce) {  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------- */
/* Styles              */
/* ------------------- */

body {

    background-color: black;
    color: white;

    font-family: monospace;
    font-size: 1.2rem;
}

main {
    max-width: 800px;
    margin-inline: auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-block: 5rem;
}

a {
    color: white;
}

.projects-container {
    margin-top: 2rem;
}

a.project {
    text-decoration: none;
}

section {
    margin-block: 3rem;
}

ul {
    padding: 0;
    padding-inline-start: 1rem;
}

.projects-container li {
    max-width: max-content;
    transition: border 100ms ease-in-out;
    padding-inline: .5rem;
    border: 2px solid transparent;
}

.projects-container li:hover {
    border: 2px solid white;
}

.section-description p {
    font-size: 1.3rem;
}