* {
  box-sizing: border-box;
  padding: 0px;
  margin: 0px;
}

body {
  background-color: #ffffff;
  color: #3A5374;
  font-family: lato, sans-serif;
  transition: 1s;
}

nav {
  width: 80%;
  z-index: 5;
  margin: auto;
}
nav ul {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  list-style-type: none;
}
nav ul li, nav ul a {
  text-decoration: none;
  margin: 30px 0px;
  color: #37367F;
  font-size: 17px;
  font-weight: bold;
  font-style: italic;
}
nav ul .logo {
  font-weight: bold;
  font-size: 25px;
}
nav ul .logo span {
  color: #000000;
  font-weight: bolder;
  font-style: normal;
}

.newsCategories {
  margin: 60px auto 20px auto;
  width: 70%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style-type: none;
  flex-wrap: wrap;
}
.newsCategories li {
  cursor: pointer;
  color: #ffffff;
  background-color: #6067D5;
  width: 22%;
  margin: 7px 0px;
  text-align: center;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: normal;
  text-transform: uppercase;
  transition: 1s;
  font-size: 11px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.newsCategories li:hover {
  background-color: #000000;
}

.articleCart {
  color: #37367F;
  text-align: center;
  font-size: 24px;
}

.articleCount {
  color: #32DCA0;
  text-align: center;
  font-size: 15px;
  font-style: italic;
}

.articles {
  margin: 50px auto;
  width: 70%;
  list-style-type: none;
}
.articles li {
  display: flex;
  flex-direction: column;
  margin: 20px auto;
  border: 1px solid #787878;
  border-radius: 20px;
  padding: 10px;
  background-color: #fff;
}
.articles li h3 {
  text-align: center;
  color: #000000;
  border-bottom: 1px solid #787878;
  padding: 5px;
  font-style: oblique;
}
.articles li .authorDate {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  color: #787878;
  padding: 5px;
  flex-wrap: wrap;
}

.mainContainer {
  display: flex;
  flex-direction: row;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}
.mainContainer img {
  width: 38%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}
.mainContainer div {
  width: 60%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}
.mainContainer div h2 {
  color: #37367F;
  font-style: normal;
}
.mainContainer div p {
  font-style: italic;
}

.readMore {
  width: 100%;
  padding: 10px;
}
.readMore p {
  text-align: center;
  color: #37367F;
  font-weight: bold;
  padding: 20px;
}
.readMore div {
  font-size: 16px;
}

.btn {
  color: #ffffff;
  background-color: #32DCA0;
  padding: 5px 7px;
  margin: 20px 0px 5px 0px;
  text-align: center;
  cursor: pointer;
  border-radius: 20px;
  width: 100%;
  transition: 1s;
  text-decoration: none;
}

.btn:hover {
  background-color: #000000;
}

.author {
  position: fixed;
  bottom: 3%;
  right: 3%;
  background-color: #32DCA0;
  color: #ffffff;
  padding: 10px 15px;
  border-radius: 7px;
  font-style: italic;
  box-shadow: -20px -20px 27px #c8d0cd, 20px 20px 27px hsl(162deg, 83%, 98%);
  cursor: pointer;
  transition: 0.8s;
}
.author a {
  color: #ffffff;
  font-weight: bold;
  font-style: italic;
  text-decoration: none;
}

.author:hover {
  background-color: #000000;
}

@media screen and (max-width: 850px) {
  .newsCategories {
    width: 85%;
  }
  .articles {
    width: 85%;
  }
}
@media screen and (max-width: 500px) {
  nav {
    width: 90%;
  }
  nav ul li, nav ul a {
    font-size: 15px;
  }
  .articles {
    width: 90%;
  }
  .articles .authorDate {
    font-size: 14px;
    font-style: italic;
  }
  .newsCategories {
    margin: 60px auto 20px auto;
    width: 90%;
  }
  .newsCategories li {
    text-transform: capitalize;
    font-weight: normal;
    font-size: 9px;
    width: 30%;
  }
  .mainContainer {
    flex-direction: column;
    align-items: center;
    padding: 5px;
  }
  .mainContainer img {
    width: 100%;
    margin: 10px 0px;
  }
  .mainContainer div {
    width: 100%;
  }
  .mainContainer div h2 {
    font-size: 19px;
    margin-bottom: 7px;
  }
  .mainContainer div p {
    color: #37367F;
  }
  .articleContent {
    font-size: 16px;
  }
}/*# sourceMappingURL=style.css.map */