/* Typography */
@import url("https://fonts.googleapis.com/css2?family=Lora&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lora&family=Ubuntu:wght@300;400;700&display=swap");

body {
  margin: 0;
  /* font-family: "Ubuntu", sans-serif;
  font-size: 1.125rem;
  font-weight: 300;
  color: gray; */
  overflow-x: hidden;
}

h1,
h3 {
  font-family: "Lora", serif;
  font-weight: 400;
  color: #057eb8;
  margin-top: 0;
  /* text-align: center; */
  padding-bottom: 1rem;
}

h2 {
  color: #057eb8;
  text-align: center;
}

h1 {
  font-size: 2rem;
  margin: 0;
}

a {
  color: #1792d2;
}

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

strong {
  font-weight: 700;
}

.subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0;
  color: #1792d2;
  letter-spacing: 0.05em;
  font-family: "Ubuntu Bold", sans-serif;
}

.article-image {
  margin-bottom: 1rem;
}

.article-title {
  text-align: center;
  font-size: 1.5rem;
  padding-bottom: 0.75rem;
}

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

.article-read-more {
  color: #1792d2;
  text-decoration: none;
  font-weight: 700;
}

.article-read-more:hover,
.article-read-more:focus {
  color: #143774;
  text-decoration: underline;
}

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

.container-flex {
  max-width: 95vw;
  margin: 0 auto;
  display: flex;
  /* align-items: center; */
  justify-content: center;
  margin-bottom: 1em;
}



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

main {
  max-width: 75%;
}

.article-body {
  width: 100%;
  text-align: justify;
}

.sidebar {
  padding: 0 2rem;
  max-width: 23%;
}


@media (max-width: 1050px) {
  .container-flex {
    flex-direction: column;
  }


  main {
    max-width: 100%;
  }

  .sidebar {
    max-width: 100%;
  }
}

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

.article-recent {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  /* justify-content: center; */
  /* width: 80%; */
  margin-bottom: 2.5em;
}

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

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

@media (min-width: 675px) {
  .article-recent {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

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

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

footer {
  background-color: #057eb8;
  color: #e3dddb;
}

footer a {
  color: #fe4102;
}

.bg {
  /* The image used */
  background-image: url("banner.jpg");

  /*blur effect*/
  filter: blur(0px);
  -webkit-filter: blur(0px);

  /* Full height */
  width: 100vw;
  height: 40vh;

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  margin-bottom: 30px;
  /* 
  display: flex;
  justify-content: center;
  align-items: center; */

}

@media screen and (max-width: 600px) {
  .bg {
    background-image: url("bannerM.jpg");
  }
}

.bg-text {
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/opacity/see-through */
  color: white;
  font-weight: bold;
  border: 3px solid #f1f1f1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 80%;
  padding: 20px;
  text-align: center;
  margin-top: 1rem;
}


.aside-link {
  text-decoration: none;
  color: black;
  font-weight: 600;
}

tr:hover {
  background-color: #fe4102;
  color: white;
  cursor: pointer;
}

main {
  background-color: #fdf5f3;
  border-radius: 20px;
  padding: 3rem;
}


/* orange: #fe4102  */
/* blue: #057eb8  */