/* persistent themes */
html {
  font-family: Arial;
  max-width:1500px;
  min-width: 600px;
  margin: auto;
  overflow-y: scroll;
  color: black;
}

body {
  margin: auto;
  background-color: #FFFFFF;
  width: 100%;
}

h1 {
  text-align: center;
  font-size: 5rem;
}

h2 {
  text-align: center;
  font-size: 2rem;
}

.wrapper, .wrapper_home {
  display: flex;
  flex-direction: row;
}

nav {
  display: flex;
  flex-direction: row;
  width: 100%;
  letter-spacing: normal;
  background: white;
  position: relative;
  height: 4rem;
  align-items: center;
  margin-bottom: 3rem;
  border-bottom: 5px solid rgba(250,128,114, 0.5);
}

.links {
  word-spacing: normal;
  letter-spacing: normal;
  align-items: center;
}

.links a {
  padding: 1.5rem 2rem;
  text-decoration: none;
}

.links a:hover, .links a.active {
  background: rgba(250,128,114, 0.5);
  color: black;
}

.contact {
	margin-left: auto;
}

.contact a {
  padding: 2.5rem 1rem 0.5rem;
  text-decoration: none;
}

.contact a:hover {
  background: rgba(250,128,114, 0.5);
  color: black;
}
.image_nav {
  height: 3rem;
	width: auto;
	margin: auto;
}

a, a:visited { 
  text-decoration: none; 
  color: black; 
}

/* home page */
#h2_home {
  text-decoration: underline;
  text-decoration-color: rgba(250,128,114, 0.5);
}

#home_article {
  width: 33.4%;
  text-align: left;
  margin-right: 3%;
  margin-left: 33.3%;
}

article {
  hyphens: auto;
  text-align: justify;
}

#home_image_container {
  width: 30.3%;
}

#home_image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin-left: 0px;
  margin-right: auto;
}

/* work page */
.side {
  display: flex;
  flex-direction: column;
  width: 10%;
  text-align: center;
  margin-left: 1%;
}

.image_side {
	width: 80%;
  height: auto;
  /* padding: 10px; */
}
  
.side a {
  color: black;
  text-decoration: none;
  padding: 1rem 0rem;
}
  
.side a:hover, .side a.active {
  outline: 3px solid rgba(250,128,114, 0.5);
  color: black;
}

.middle {
  display: flex;
  flex-direction: column;
  width: 78%;
  margin: auto;
  margin-right: 11%;
}

#outer_container {
	display: flex;
	flex-direction: row;
  background-color: rgba(250,128,114, 0.5);
  padding: 25px;
  width: 80%;
  margin: auto;
  margin-bottom: 25px;
  height: 9.375rem;
}

.column {
	display: flex;
  flex-direction: column;
  width: 50%;
  text-align: left;
  overflow: hidden;
  margin-right: 0.5%;
  margin-left: 0.5%;
}

.article_summary {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; 
}

.image {
	width: 80%;
  height: auto;
	margin: auto;
}

/* resume page */
.resume {
  width: 75%;
  margin: auto;
  padding-bottom: 100px;
}

.resume .name {
  margin: auto;
  text-transform: uppercase;
}

.resume .section {
  border-bottom: 5px solid rgba(250,128,114, 0.5);
  margin: auto;
  text-transform: uppercase;
  height: 1.5rem;
}

.resume .section_content {
  margin: auto;
  padding-top: 1rem;
}

.resume .section_header {
  padding-top: 1rem;
  display: flex;
}

.resume .section_header .left_side {
  width: 80%;
}

.left_side .organization {
  font-weight: bold;
}

.left_side .position {
  font-style: italic;
}

.right_side .location {
  font-weight: bold;
}

.resume .section_header .right_side {
  width: 20%;
}
.column a{
  text-decoration: none;
}

@media screen and (max-device-width: 767px) {
  html {
      font-size: 1.75rem;
  }

  .wrapper_home { display: flex; flex-flow: column; }
  #home_image_container {order: 1; margin: auto; width: 300px; height: 300px;}
  #home_image {width: 300px; height: 300px;}
  #home_article { order: 2; margin: auto; width: 80%;}

  .side {width: 20%; margin-left: 0.5%;}
  .middle {margin: auto; margin-right: 0%;}
}