* {
  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;
}

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

.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;
}

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

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

.page-header h1 {
    margin: 0.5rem;
}

.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;
}

.resume-embed-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100% - 4rem);
  margin: 0 2rem 2rem;
  padding: 2rem;
  background-color: white;
  border: #0046f6 5px solid;
  border-radius: 0.5rem;
  box-sizing: border-box;
}

.resume-embed-container h3 {
  margin-bottom: 1.5rem;
  text-align: center;
  color: #15256d;
}

.iframe-wrapper {
  width: 100%;
  max-width: 900px;
  height: 80vh;
  min-height: 600px;
  border: 2px solid silver;
  border-radius: 0.25rem;
  overflow: hidden;
}

.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 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;
}
