/*  Fonts
-----
font-family: 'Lora', serif;
font-family: 'Ubuntu', sans-serif;
*/


body {
  margin: 0;
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.125rem;
  font-weight: 300;
}

img {
  max-width: 100%;
  display: block;
}

/* =================
Typography
================= */

h1,
h2,
h3,
p,
a {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  margin-top: 0;
}


h1 {
  font-size: 1.3rem;
  font-family: "Nosifer", sans-serif;
  margin: 0;
}



a:hover,
a:focus {
  color: #143774;
}

strong {
  font-weight: 700;
}

/* h1 subtitle */
.subtitle {
  font-weight: 700;
  font-size: .95rem;
  margin: 0;
}

.article-title {
  font-size: 1.5rem;
}

.article-read-more,
.article-info {
  font-size: .875rem;
}

.article-read-more {
  color: rgb(233, 105, 128);
  text-decoration: none;
  font-weight: 700;
}

.article-read-more:hover,
.article-read-more:focus {
  color: rgb(200, 85, 105);
  text-decoration: underline;
}

.article-info {
  margin: 2em 0;
}

.widget-title,
.widget-recent-post-title {
  font-size: 1rem;
}

.widget-title {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
}


/* =================
Layout
================= */

.container {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}

.container-flex {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

header {
  padding: 2em 0;
  text-align: center;
  margin-bottom: 3em;
}

header,
footer {
  background: #000000;
}

header h1,
header p,
footer {
  color: rgb(233, 105, 128);
}

footer {
  text-align: center;
  padding: 3em;
}

@media (min-width: 675px) {
  header {
    text-align: left;
  }

  .container-flex {
    flex-direction: row;
  }

  main {
    width: 100%;
  }

  aside {
    width: 25%;
    min-width: 200px;
    margin-left: 1em;
  }
}

.about-section h2,
.about-section h3 {
  font-family: "Nosifer", sans-serif;
}

.about-section h2 {
  font-size: 1.5rem;
}

/* navigation */

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

nav li {
  margin-left: 2em;
}

nav a {
  text-decoration: none;
  font-weight: 700;
  color: rgb(233, 105, 128);
}

nav a:hover,
nav a:focus {
  color: rgb(200, 85, 105);
}

.current-page {
  border-bottom: 1px solid rgb(200, 85, 105);
}

@media (max-width: 675px) {
  nav ul {
    flex-direction: column;
    padding: 0;
  }

  nav li {
    margin: .5em 0;
  }

  .article-body {
    margin-top: 1em;
  }

  .about-section h2 {
    font-size: 1.1rem;
  }

  .about-section h3 {
    font-size: 1rem;
  }
}

/* articles */

.article-featured {
  border-bottom: #707070 1px solid;
  padding-bottom: 2em;
  margin-bottom: 2em;
}

.article-recent {
  display: flex;
  flex-direction: column;
  margin-bottom: 2em;
  padding-bottom: 1.5em;
  border-bottom: 2px solid rgb(233, 105, 128);
}

.article-recent:last-child {
  border-bottom: 0px solid;
  margin-bottom: 0em;
  padding-bottom: 1.5em;
}

.article-recent-main {
  order: 2;
}

.article-recent-secondary {
  order: 1;
}

.image-full {
  max-height: 350px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 1em;
}

@media (min-width: 675px) {
  .article-recent {
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 0px solid red;
  }

  .article-recent-main {
    width: 68%;
  }

  .article-recent-secondary {
    width: 30%;
  }

  .article-featured {
    display: flex;
    flex-direction: column;
  }

  .article-image {
    order: -2;
    min-height: 250px;
    object-fit: cover;
    margin-bottom: 1em;
    /* object-position: left; */
  }

  .article-info {
    order: -1;
  }
}

/* widgets */

.sidebar-widget {
  border: 5px solid rgb(233, 105, 128);
  background-color: #000000;
  margin-bottom: 2em;
  padding: 1em;
  color: rgb(233, 105, 128)
}

.widget-title {
  font-family: "Nosifer", sans-serif;
  font-size: 1rem;
  color: rgb(233, 105, 128);
  text-align: center;
}

.widget-recent-post {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #707070;
  margin-bottom: 1em;
}

.widget-recent-post:last-child {
  border: 0;
  margin: 0;
}

.widget-image {
  order: -1;
  margin-bottom: 1em;
}
