html {
  font-size: 16px;
}

body {
  /*--border-info: black solid;*/
  display: grid;
  margin: 1.5rem;
  padding: 3rem 5rem 1.5rem;
  /*padding: 3rem 7rem 1.5rem;*/
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  font-family: "Montserrat", sans-serif;
  color: black;
  background-color: white;
  grid-template-areas:
    "header nav nav"
    "main_left main main"
    "project_1 project_2 project_3"
    "footer footer footer";
}

header {
  border: var(--border-info);
  font-weight: 400;
  justify-items: start;
  align-content: start;
}

header h1 {
  font-size: 2rem;
}

.material-symbols-outlined {
  font-size: small;
}

#on_this_page {
  font-weight: 800;
}

#on_this_page:hover {
  font-weight: 800;
  position: static;
  opacity: 1;
}

nav {
  display: flex;
  flex-wrap: wrap;
  border: var(--border-info);
  align-items: center;
  justify-content: end;
}

nav a {
  padding: 0 1rem;
  margin: 0;
  color: #0855a7;
  font-weight: 600;
}

a {
  color: #0855a7;
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  color: black;
  position: static;
  top: 2px;
  left: 0;
  right: 0;
  bottom: 0;
  transition: top 2s;
  opacity: 1;
  text-decoration: underline;
}

.main {
  display: flex;
  flex-direction: column;
  border: var(--border-info);
  align-items: center;
  justify-content: center;
  font-size: larger;
  padding: 1rem;
}

.main_left {
  display: flex;
  border: var(--border-info);
  flex-direction: column;
  align-items: center;
  justify-items: center;
  padding: 0.75rem;
}

.main_left img {
  border: 1px black solid;
}

figure img {
  width: 100%;
  height: auto;
}

#make_button a {
  background-color: #0855a7;
  color: white;
  padding: 0.875rem 1.56rem;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border-radius: 8px;
}

#make_button a:hover {
  position: static;
  opacity: 1;
  background-color: black;
  padding: 0.875rem 1.56rem;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border-radius: 8px;
}

.project_heading {
  margin-bottom: 0;
  color: #2a70e0;
}

h3 {
  margin: 0;
}

#spot {
  margin-top: 0;
}

#spot a {
  color: black;
  text-decoration: none;
  transition: 0.3s;
  font-weight: bold;
}

#spot a:hover {
  color: #ffffff;
  position: static;
  opacity: 1;
  background-color: #1ed760;
}

#project_1 {
  border-top: #2a70e0 solid;
  justify-items: start;
  padding: 1rem;
}

#project_2 {
  border-top: #2a70e0 solid;
  justify-items: start;
  padding: 1rem;
}
#project_3 {
  border-top: #2a70e0 solid;
  justify-items: start;
  padding: 1rem;
}

.portrait {
  width: 350px;
  height: 300px;
}

#footer {
  display: flex;
  border-top: #2a70e0 solid;
  justify-content: end;
  font-size: smaller;
  margin-top: 2rem;
  font-weight: bold;
}

.footer_blurb {
  padding-left: 1rem;
  padding-right: 1rem;
  border-right: #2a70e0 solid;
}

.footer_links {
  display: flex;
  padding-left: 1rem;
  padding-right: 1rem;
}

.footer_info {
  padding-left: 1rem;
  padding-right: 1rem;
  border-right: #2a70e0 solid;
}

@media only screen and (max-width: 850px) {
  html {
    font-size: 12px;
    width: 100%;
  }

  body {
    padding: 3rem 1rem 1rem;
    justify-items: center;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "header header header"
      "nav nav nav"
      "main_left main_left main_left"
      "main main main"
      "project_1 project_1 project_1"
      "project_2 project_2 project_2"
      "project_3 project_3 project_3"
      "footer footer footer";
  }

  nav {
    padding: 1rem;
    flex-wrap: nowrap;
  }

  .main_left {
    justify-items: center;
  }

  .main_left p {
    margin-bottom: 0;
  }

  figure {
    height: 12.5rem;
    align-content: center;
  }

  figure img {
    height: 10.8rem;
    width: 10rem;
    justify-items: center;
  }

  #footer {
    width: 100%;
  }
}

@media only screen and (max-width: 500px) {
  html {
    font-size: 10px;
  }
}
