/* fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");

/* common styles */

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #f3f1ff;
}
ul,
li,
h1 {
  margin: 0;
  padding: 0;
}
main {
  padding: 10px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.container {
  background-color: #fff;
  width: 870px;
  padding: 30px;
  margin-top: 30px;
  border-radius: 5px;
}
hr {
  border: 0.5px solid #d1d1d1;
  margin-bottom: 27px;
  background-color: #d1d1d1;
}

/* header nav style  */
header {
  background: #562eff;
}

nav {
  padding: 25px 30px;
  width: 925px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
}

nav .site-logo img {
  width: 42px;
  height: 50px;
}
nav .site-logo .logo {
  font-size: 26px;
  font-weight: 500;
  color: #ffffff;
  margin-left: 8px;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
}

nav ul li {
  list-style: none;
}
nav ul li a {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
}
nav ul .menu {
  transition: 0.7s;
}
nav ul .menu:hover {
  transform: scale(1.5);
}

/* top players style */

.top-players {
  margin-bottom: 30px;
}

.section-title {
  color: #562eff;
  font-size: 24px;
  font-weight: 500;
  margin-top: 3px;
}

.players {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-row-gap: 25px;
}

.player {
  display: flex;
  align-items: center;
}

.player img {
  height: 56px;
  width: 56px;
}

.player-name {
  margin-left: 16px;
  font-size: 18px;
  font-weight: 500;
}

/* top blogs styles */

.blogs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-row-gap: 26px;
}

.blog {
  display: flex;
}

.blog .thumbnail img {
  width: 177px;
  height: 117px;
}

.blog-info {
  margin-left: 16px;
}

.blog-title {
  font-size: 20px;
  font-weight: 500;
  margin: 8px 0px;
}

.blog-author {
  font-size: 16px;
  font-weight: 400;
  color: #9f9f9f;
  margin: 0;
}

.blog-author a {
  text-decoration: none;
  color: #562eff;
  font-size: 16px;
}

/* latest courses styles */
.courses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 24px;
}

.course {
  padding: 14px;
  border-radius: 15px;
  box-shadow: 0px 2px 15px -10px gray;
}

.course .course-banner img {
  width: 224px;
  height: 104px;
}

.course-title {
  font-size: 19px;
  font-weight: 500;
  color: #1e1e1e;
}

.course-author {
  font-size: 15px;
  font-weight: 400;
  color: #ed6b4f;
}

.course-info {
  display: flex;
  align-items: center;
}

.fa-star {
  font-size: 14px;
}
.fa-star.filled {
  color: #ffc014;
}
.fa-star.empty {
  color: #aeaeae;
}

.course-info span {
  color: #a2a2a2;
  font-size: 15px;
  margin-left: 5px;
}

.course-info .course-duration {
  font-size: 14px;
  color: #ed6b4f;
  background: #fee5df;
  border-radius: 15px;
  padding: 5px 10px;
  margin-left: 15px;
}
