* {
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
}

body, p, li {
  font-family: 'Lato', sans-serif;
}

code, pre {
  font-family: 'Fira Code', monospace;
}

html {
    box-sizing: border-box;
    font-size: 16px;
    overflow-y: scroll;
    background: linear-gradient(135deg, #ffffff, #c3c3f3, #0046f6);
    background-size: 400% 400%;
}

header {
    top: 20px;
    background-color: #15256d;
    display: flex;
    justify-content: center;
    border-bottom: silver 5px solid;
}

a {
    text-decoration: none;
}

.nav-bar {
    height: 3rem;
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 1rem;
}

.nav-bar ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-bar li {
    display: inline-flex;
    flex-direction: column;
    padding: 0rem 1rem;
    color: white;
}

.nav-bar a {
    color: white;
    text-decoration: none;
}

.page-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.page-header h1, .page-header h2, .page-header h {
    padding-bottom: 1rem;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 3rem;
}

.project-item-master {
    display: flex;
    justify-content: space-evenly;
}

.project-link-wrapper {
    display: flex;
    max-width: 40rem;
    padding: 2rem;
    width: 100%;
    height: auto;
}

.projects-item {
    width: 100%;
    text-align: center;
    border: slateblue 5px solid;
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 12rem;
    background-color: white;
}

.projects-item img {
    width: 100%;
    margin: 1rem;
    border-radius: 5px;
    border: slateblue 3px solid;
}

.projects-item h1 {
    font-size: 1.2rem;
}

.projects-item h2 {
    font-size: 0.8rem;
    padding-bottom: 0.5rem;
}

.projects-item ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.projects-item li {
    font-size: 0.75rem;
    text-align: left;
    margin: 0.5rem;
    list-style-type: none;
}

.footer {
    display: flex;
    justify-content: center;
    align-content: center;
    height: 4em;
    background-color: #15256d;
    position: relative;
    border-top: silver 5px solid;
}

.copyright {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

.copyright p {
    color: silver;
    font-size: 1.25rem;
}

/* Footer at the bottom: on a short page it sits at the foot of the window, on a long page after the content */
body {
  position: relative;
  box-sizing: border-box;
  min-height: 100vh;
  padding-bottom: calc(4em + 5px); /* room for the footer, which is 4em tall plus its 5px border */
}

footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
