/* 1. Enable smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* 2. Make nav sticky */
main > nav {
  position: sticky;
  top: 2rem;
  align-self: start;
}

/* 3. ScrollSpy active styles (see JS tab for activation) */
.section-nav li.active > a {
  color: #333;
  font-weight: 500;
}

/* Sidebar Navigation */
.section-nav {
  padding-left: 0px;
  padding-top: 150px;
  border-right: 0px solid #efefef;
}

.section-nav a {
  text-decoration: none;
  display: block;
  padding: .250rem 0;
  color: #ccc;
  transition: all 50ms ease-in-out; /* 💡 This small transition makes setting of the active state smooth */
}

.section-nav a:hover,
.section-nav a:focus {
  color: #666;
}


/** page layout **/
main {
  display: grid;
  grid-template-columns: 1fr 70em;
  max-width: 100em;
  width: 100%;
  margin: 0 auto;
}

blockquote {
background-color: #f9f9f9;
color:#666;
border: 0px solid #222;
border-radius: 30px;
float: left;
width:45%;
line-height: 1.5;
margin: 0rem 3.5rem 1rem 0;
padding: 10px 20px 20px 20px;
}

img {
    float: right;
    max-width: 50%;
    margin: 0 0 1rem 1rem;
}


a_img {
  display: block;
  max-width:95%;
  max-height:95%;
  width: auto;
  height: auto;
}

@media(max-width:767px) {

.section-nav {
  padding-left: 10px;
  padding-top: 0px;
  border-right: 0px solid #efefef;
}


main > nav {
  position: relative;
  top: 2rem;
  align-self: start;
}

main {
  display: block;
  grid-template-columns: 1fr 1em;
  max-width: 100em;
  width: 100%;
  margin: 0 auto;
}

}