/*
Theme Name: David's Theme
Author: Eddie Friedman
Description: David Site Theme
Version: 0.0.1
Tags: David
*/

body {
  font-family: 'Chivo', sans-serif;
  color: black;
}

a {
  /* transition: border-color 0.2s ease;
  border-bottom: 2px solid transparent; */
}

a:hover, a:focus {
  border-color: black;
}

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

a.no-underline:hover, a.no-underline:focus {
  border-color: transparent;
}

.head-row {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.block {
  width: 6vw;
  height: 6vw;
  background-color: black;
  margin-right: 3vw;
}

.block, .title {
  transition: all 1.5s ease;
}

.block:hover, .block:hover + .title {
  background-color: white;
  color: white;
}

.title {
  color: black;
  font-size: 6vw;
  margin-bottom: 20px;
  margin-top: 20px;
}

.header-border {
  display: block;
  height: 0.5vw;
  width: 75vw;
  margin-left: 9.5vw;
  background-color: black;
}

.menu {
  padding-top: 15px;
  padding-left: 0;
}

.menu-item {
  font-size: 5vw;
  margin-bottom: 2vw;
}

.menu li {
  list-style-type: none;
}

.menu-item a {
  transition: border-color 0.2s ease;
  border-bottom: 2px solid transparent;
}

.menu-item:hover a,
.menu-item:focus a {
  border-color: black;
}

.menu:hover .menu-item.current-menu-item:not(:hover) a {
  border-color: transparent;
}

.current-menu-item a {
  border-bottom: 2px solid black;
}

@media only screen and (min-width: 768px) {
  .menu {
    padding-top: 30px;
    padding-left: 40px;
  }

  .menu-item {
    font-size: 2vw;
    margin-bottom: 1vw;
  }
}

.nav {
  padding-left: 2vw;
  padding-right: 2vw;
  display: flex;
  flex-direction: column;
  float: left;
}

.home-image {
  width: 45vw;
  max-width: 60vh;
}

.page {

}

.page-row {
  display: flex;
}

/* @media only screen and (min-width: 768px) {
  .page {
    display: flex;
    flex-direction: row;
  }
} */

.content {
  border-left: 0.5vw black solid;
  padding: 3vw;
}

@media only screen and (min-width: 768px) {
  .content {
    width: 62.3vw;
  }
}

.writing-content,
.project-research-content {
  border-left: 0.5vw black solid;
  padding: 3vw;
}

.featured-section {
  width: 62.3vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 0.3vw solid rgba(0, 0, 0, 1);
  padding-bottom: 3vw;
}

.featured-article {
  width: 100%;
  display: block;
  transition: opacity ease 0.3s;
  opacity: 1;
  margin-bottom: 3vw;
}

.featured-article:hover {
  opacity: 0.5;
}

.featured-article-image {
  width: 100%;
  margin-bottom: 1.5vw;
}

.featured-article-title {
  font-size: 6vw;
  margin-bottom: 0.5vw;
}

.featured-article-sub {
  font-size: 4vw;
  font-style: italic;
  font-weight: bold;
  opacity: 0.4;
}

@media only screen and (min-width: 768px) {
  .featured-section {
    width: 62.3vw;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 0.3vw solid rgba(0, 0, 0, 1);
    padding-bottom: 3vw;
  }

  .featured-article {
    width: 30%;
    display: block;
    transition: opacity ease 0.3s;
    opacity: 1;
    margin-bottom: 0;
  }

  .featured-article:hover {
    opacity: 0.5;
  }

  .featured-article-image {
    height: 11vw;
    width: auto;
    margin-bottom: 1.5vw;
  }

  .featured-article-title {
    font-size: 1.5vw;
    margin-bottom: 0.5vw;
  }

  .featured-article-sub {
    font-size: 1vw;
    font-style: italic;
    font-weight: bold;
    opacity: 0.4;
  }
}

.main-section {
  width: 62.3vw;
}

.year-links {
  display: none;
}

.year {
  padding-top: 3vw;
  font-size: 8vw;
  margin-bottom: 1vw;
}

.coming-soon-title {
  padding-top: 3vw;
  font-size: 9vw;
  margin-bottom: 4vw;
  font-style: italic;
}

.article {
  width: 100%;
  display: block;
  margin-bottom: 5vw;
}

.article-image {
  width: 100%;
  margin-right: 2vw;
  margin-bottom: 1.5vw;
}

.article-title {
  font-size: 6vw;
  margin-bottom: 0.5vw;
}

.article-pub {
  font-size: 4vw;
  font-style: italic;
}

.article-date {
  font-size: 4vw;
}


.article-sub {
  font-size: 4vw;
  font-weight: bold;
  opacity: 0.4;
}

@media only screen and (min-width: 768px) {
  .year-links {
    display: block;
    padding: 1vw;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 1;
  }

  .year-link {
    font-size: 1.2vw;
    margin-right: 1vw;
  }

  .year {
    padding-top: 3vw;
    font-size: 2vw;
    margin-bottom: 1vw;
  }

  .coming-soon-title {
    font-size: 3vw;
    margin-bottom: 2.5vw;
  }

  .article {
    display: flex;
    transition: opacity ease 0.3s;
    opacity: 1;
    width: 90%;
    margin-bottom: 3vw;
  }

  .article:hover {
    opacity: 0.5;
  }

  .article-image-container {
    width: 15vw;
    min-width: 15vw;
    margin-right: 2vw;
  }

  .article-image {
    width: 100%;
  }

  .article-text.article-text--pad-left {
    margin-left: 15vw;
  }

  .article-title {
    font-size: 1.5vw;
    margin-bottom: 0.5vw;
  }

  .article-pub {
    font-style: italic;
    font-size: 1.5vw;
  }

  .article-date {
    font-size: 1.5vw;
  }

  .article-sub {
    font-size: 1vw;
    font-weight: bold;
    opacity: 0.4;
  }
}
