:root {
  --light-white: #f6efe6;
  --choco: #51463e;
  --footer-bg: #51463e;
  --mint-green: #8d9b81;
  --content-bg: #f7ecde;
  --white: white;
  --blurb-bg: #fcf8f0;
  --nav-hover: #e7ce9c;
  --nav-click: #9d7627;
}

.darkmode {
  --light-white: #3b3936;
  --choco: #fff9f6;
  --footer-bg: #796a5f;
  --mint-green: #45533a;
  --content-bg: #51463e;
  --white: white;
  --blurb-bg: #645850;
  --nav-hover: #e7ce9c;
  --nav-click: #9d7627;
}

html {
  margin: 0;
}

.icon {
  max-height: 2rem;
}

.icon img {
  max-height: 2rem;
}

body {
  display: flex;
  flex-direction: column;
  width: 100vw;
  min-height: 100vh;
  background-color: var(--content-bg);
  margin: 0;
}

main {
  flex-grow: 1;
  padding: 1rem;
  color: var(--choco);
  font-family: Arial, Helvetica, sans-serif;
}

header {
  background-color: var(--mint-green);
  display: flex;
  flex-direction: row;
  align-items: center;
}

nav {
  padding: 1rem;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.nav-button-box a {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--white);
  margin: 0 1rem;
}

.nav-button-box a:hover {
  color: var(--nav-hover);
}

.nav-button-box a:active {
  color: var(--nav-click);
}

.logo {
  height: 5rem;
  width: 5rem;
  border-radius: 3rem;
}

footer {
  min-height: 5rem;
  background-color: var(--footer-bg);
  padding: 1rem;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
}

.blurb {
  margin: 1rem;
  padding: 1rem;
  background-color: var(--blurb-bg);
  flex-grow: 1;
}

.contact-box {
  background-color: var(--blurb-bg);
}

.contact-box section {
  padding: 1rem 2rem;
}

.about-me {
  margin-bottom: 2rem;
  background-color: var(--blurb-bg);
  padding: 2rem;
  flex-grow: 1;
}

.image-text-pair {
  padding: 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.image-text-pair img {
  max-height: 30rem;
}

.pic-pair {
  padding: 5rem 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10rem;
}

.pic-pair img {
  max-height: 50rem;
  border-radius: 100%;
  border: var(--mint-green) 1rem solid;
}

iframe {
  border: var(--mint-green) 1rem solid;
}

@media (max-width: 1024px) {
  .pic-pair {
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10rem;
  }

  iframe {
    max-width: 80%;
  }

}

@media (max-width: 390px) {

  .nav-button-box a {
    font-size: 1rem;
  }

  .pic-pair {
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10rem;
  }

  .pic-pair img {
    max-height: 30rem;
  }

  .image-text-pair {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .image-text-pair img {
    max-height: 30rem;
  }
}