:root {
  --content-width: 65rem;
  --primary-color: rgb(0, 182, 255);
  --secondary-color: rgb(240,82,85);
  --background-color:rgb(255,248,239);

  /* --primary-color: rgb(100,100,100);
  --secondary-color: rgb(100,100,100);
  --background-color:rgb(255,255,255); */
}

*,
*:after,
*:before{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";;
}

li {
  list-style: none;
}

a {
  color: currentColor;
  text-decoration: none;
}

strong, b {
  font-weight: 500;
}

img {
  width: 100%;
}

.page {
  padding: 5vh 5vw 10vh;
}
.page > * {
  max-width: var(--content-width);
  margin: 0 auto;
}

.header {
  margin-bottom: 1.5rem;
}

.header a {
  position: relative;
  text-transform: uppercase;
  font-size: .875rem;
  letter-spacing: .05em;
  padding: .5rem 0;
  font-weight: 700;
}

.header .logo {
  display: block;
  margin-bottom: 1.5rem;
  padding: .5rem 0;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu a {
  margin: 0 .75rem;
}

.menu a[aria-current] {
  border-bottom: 2px solid #000;
}

@media screen and (min-width: 40rem) {
  .header .logo {
    margin-bottom: 0;
  }
  .header {
    flex-direction: row;
    justify-content: space-between;
  }
  .menu {
    margin-right: -.75rem;
  }
}


main {
  min-height: calc(100vh - 10rem);
}

.intro {
  padding: 10vh 0;
  text-align: center;
}

.intro h1 {
  position: relative;
  margin-bottom: 1rem;
  font-weight: 900;
  font-size: calc(1vw + 2rem);
  z-index: 1;
}

.tags {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  font-size: .75rem;
  font-weight: 600;
}

.text {
  line-height: 1.5em;
}
.text p,
.text figure,
.text ul,
.text ol {
  margin-bottom: 1.5em;
}
.text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.text > *:first-child {
  margin-top: 0;
}
.text a {
  position: relative;
  white-space: nowrap;
  font-weight: 500;
  z-index: 1;
  display: inline-block;
  /* border-bottom: 2px solid #000; */
}
.text figure {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.text img {
  width: 100%;
}

.footer {
  padding: 1.5rem 5vw 10vh;
  text-align: center;
  max-width: var(--content-width);
  margin: 0 auto;
  line-height: 1.5em;
}
.footer a {
  display: inline-block;
  font-size: .875rem;
}
.footer > a {
  margin-bottom: 1.5rem;
  border-top: 2px solid #000;
  width: 16.5rem;
  padding-top: .5rem;
}

.social a {
  margin: 0 .75rem;
  padding: .5rem 1rem;
  border: 2px solid #000;
  width: 7.5rem;
}


/*AJB customizations*/

body {
  background:var(--background-color);
  font-family: Helvetica, Arial, sans-serif;
  /* font-family: 'Lato', sans-serif; */
}

header, h1, h2, nav{
  font-family: Helvetica, Arial, sans-serif;
  /* font-family: 'Montserrat', sans-serif; */
}

.logo{
  font-family: 'Montserrat', sans-serif;
  /* font-style: italic; */

  /* font-family: 'Montserrat Alternates', sans-serif; */
  /* font-family: Helvetica, Arial, sans-serif; */
}

/*override main column width*/
:root {
  --content-width: 1200px;
}

.page{
  padding-bottom: 60px;
}

.menu a, nav.social a{
  color: var(--primary-color);
  font-size: 25px;
  text-transform: none;
}

a:hover, .menu a:hover, nav.social a:hover{
  /*color: #777;*/
  background: none;
}

nav.social a{
  border:none;
  width: auto;
}

nav.social a span.label{
  font-weight: bold;
}


.menu a.current{
  color:var(--secondary-color);
}

.header .logo{
  /* color:var(--secondary-color); */
  color: var(--primary-color);
  font-weight: bold;
  font-size: 32px;
  text-transform: none;
}

.intro h1, h2{
  color:var(--secondary-color);
  font-weight: bold;
  text-transform: none;
}

.intro h1{
  font-size: 40px;
}

p{
  color:#777;
  font-size: 16px;
  line-height: 22px;
}

.project{
  background: white;
/*  border-width: 10px;
  border-color: white;*/
  margin-bottom: 40px;
}

header.header{
  border-bottom: 1px solid gray;
  padding-bottom: 20px;
}

footer.footer{
  border-top: 1px solid gray;
  padding-top: 20px;
  padding-bottom: 0px;
}

.menu a.current{
  border-bottom: none;
}

.intro{
  padding: 40px;
}

.project{
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.project-image, .project-text{

}

.project-image{
  width:60%;
  background: white;
  margin: 15px;
  box-shadow: 1px 0px 6px rgba(0,0,0,.15);
  line-height: 0px;
  height: 0%;
}

.project-text{
  width:40%;
}

.text-box{
  padding: 30px 40px;
  background: white;
}

.text-box h2{
  margin-bottom: 20px;
}

.text-box h2{
  font-size: 25px;
}

.text-box p{
  margin-bottom: 20px;
}


.center-wrapper{
  text-align: center;
}

.about-avatar-wrapper {
    display: inline-block;
    margin: auto;
    width: 150px;
    height: 150px;
    position: relative;
    overflow: hidden;
    border-radius: 50%;

    margin-bottom: 20px;
}

img.about-avatar{
    display: inline;
    margin: 0 auto;
    height: 100%;
    width: auto;
}

a.view-more, div.tag{
  padding: 6px 14px;
  font-size:20px;
  color:white;
  display: inline-block;
  margin-bottom: 8px;
}

a.view-more{
  background: rgb(131,214,255);
}

div.tags-container{
  /*letter-spacing: 0px;*/
}

div.tag{
  background: rgb(187, 187, 187);
  margin-right: 5px; 
  font-size: 16px;
  padding: 6px 10px;
}

p a{
  /*color:#111;*/
  text-decoration: underline;
}

p strong{
  font-weight: bold;
  /* color:var(--primary-color); */
}

/*responsive styles*/
@media only screen and (max-width: 1150px){
  .project{
    /*display: block;*/
    flex-wrap: wrap;
  }
  .project-image, .project-text.text-box{
    width:100%;

  }



  header.header{
    /*align-items: flex-start;*/
    margin-bottom: 35px;
  }

  header a{
    display: block;
  }

  header .menu{
    text-align: center;
  }


  header .menu a{
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .header .logo{
    margin-bottom: 16px;
    text-align: center;
    display: block;
  }


  main header{
    display: none;
  }
  .intro h1 {
    font-size: 30px;
    display: none;
  }

  header.header{
    display: block;
  }


  .intro {
    padding: 20px;
  }


  aside.text-box{
    text-align: center;
  }

  .layout aside section{
    margin-bottom: 30px !important;
  }

  .layout aside section:last-child{
    margin-bottom: 0px !important; 
  }


  p{
    font-size: 14px;
  }


  .footer nav{
    text-align: center;
  }

  .footer span, .footer a{
    display: block;
  }

  .footer  a{
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
  }

  .footer span{
    margin-bottom: 10px;
  }
}


@media only screen and (max-width: 1150px){
  header a{
    display: inline-block;
  }
}