@import url("https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Georama&display=swap");

/*BASE STYLE*/
:root {
  --font1: "Noto Sans", sans-serif;
  --font2: "Georama", sans-serif;
}
.body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: cover; /*or background-size: 100%;  */
  flex-direction: column;
  background-color: #fff;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
/*BASE STYLE*/

/*HEADER*/
.container {
  height: 28em;
  background-image: url("img/book1.jpg");
  filter: brightness(80%);
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #fff;
  font-family: var(--font1);
}
.container h1 {
  font-family: var(--font2);
  padding: 0.4em;
  font-size: 5em;
  filter: brightness(100%);
  text-align: center;
}
.container p {
  color: #fff;
  font-style: italic;
  font-family: var(--font2);
  text-align: center;
  font-size: 1.8em;
  filter: brightness(100%);
}
/*HEADER*/

/*NAVBAR*/
.navbar {
  margin-top: 0 1em 0 0;
  padding: 0 0 0 0;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  float: top;
  font-size: 1em;
  font-family: "Georama", sans-serif;
  color: #fff;
  background-color: #292929;
  width: 100%;
  height: 3em;
}
ol li {
  list-style: none;
  display: inline;
  margin: 0 3em;
  color: #fff;
  background-color: #292929;
}
ol li a {
  color: #fff;
  text-decoration: none;
  transition: 0.4s;
  letter-spacing: 0.07em;
  padding-bottom: 1em;
}
ol li a:hover {
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.1em;
  border-bottom: 1px solid #fff;
}
/*NAVBAR*/

/*FOOTER*/
.footer {
  background-color: #292929;
  height: 20em;
  bottom: 0;
  position: relative;
  width: 100%;
  top: 75%;
  margin: 10em 0 0;
  padding-top: 0;
}
.footer ul {
  padding: 0;
  list-style: none;
  text-align: center;
  font-size: 0.9em;
  line-height: 1.8;
  margin-bottom: 0;
  font-family: var(--font1);
}
.footer li {
  padding: 0 1em;
  font-family: var(--font1);
}
.footer ul a {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
  padding-top: 0;
  font-family: var(--font1);
  transition: 0.4s;
}
.footer ul a:hover {
  opacity: 1;
  font-family: var(--font1);
  font-style: italic;
}
.footer .social {
  text-align: center;
  padding: 2em 0 1em;
}
.footer .social > a {
  font-size: 1.3em;
  width: 2em;
  height: 2em;
  line-height: 2em;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  border: 1px solid #ccc;
  margin: 0 0.8em;
  color: #fff;
  opacity: 0.75;
}
.footer .social > a:hover {
  opacity: 0.9;
}
.footer .copyright {
  margin: 3em 0 0;
  text-align: center;
  font-size: 0.75em;
  color: #aaa;
  margin-bottom: 0;
  font-family: var(--font1);
}
/*FOOTER*/

/*ICON BAR*/
.icon-bar {
  position: fixed;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 1;
}
.icon-bar a {
  display: block;
  text-align: center;
  padding: 5px;
  transition: all 0.3s ease;
  color: white;
  font-size: 20px;
}
.icon-bar a:hover {
  background-color: #000;
}
.facebook {
  background: #3b5998;
  color: white;
}
.twitter {
  background: #55acee;
  color: white;
}
.google {
  background: #dd4b39;
  color: white;
}
.linkedin {
  background: #007bb5;
  color: white;
}
.youtube {
  background: #bb0000;
  color: white;
}
/*ICON BAR*/

/*CARD GRID*/
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 3em;
  margin: 3em 5em;
  justify-items: center;
  align-items: center;
}
.card {
  display: grid;
  grid-template-rows: max-content 210px 1fr;
  margin: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  background-color: #fff;
  border-radius: 6px;
  justify-items: center;
  align-items: center;
}
.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.5);
}
.card-content {
  padding: 1em 1.5em;
  font-family: var(--font1);
  font-size: 0.9em;
}
.card-content a {
  font-size: 1.3em;
  line-height: 1em;
  color: #000;
  text-decoration: none;
  padding-bottom: 0;
}
.card-content a:hover {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.5);
}
.card-content p {
  color: #535151;
}
.card-content p:hover {
  color: rgb(26, 25, 25);
}
.card img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 6px 6px 0 0;
}
.top-articles {
  font-family: var(--font1);
  padding: 2em 0 0 0;
  text-align: center;
  color: #3a3939;
}
.read-more {
  font-size: 1em;
  text-align: right;
  padding-bottom: 1em;
}
.read-more a {
  color: rgb(58, 56, 56);
  font-size: 0.9em;
  text-decoration: underline;
}
.read-more a:hover {
  color: rgb(95, 91, 91);
}
/*CARD GRID*/

/*INTRODUCTION*/
.intro {
  margin: 2.5em 0 1em 0;
  text-align: center;
  color: #3a3939;
  font-family: var(--font1);
}
.intro p {
  font-size: 0.9em;
  padding: 1em 10em 1em;
  font-style: italic;
}
/*INTRODUCTION*/

/*SEARCH*/
.search {
  text-align: center;
  font-family: var(--font1);
}
.input-search {
  padding: 0.5em 1em;
}
/*SEARCH*/
