/* google font */

@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700&display=swap");

/* reset */
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Hanken Grotesk", sans-serif;
  background: var(--body-color);
  font-size: 16px;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
}

:root {
  --body-color: #fff;
  --navbar-color: #d61010;
  --btn-color: #3cc68a;
  --hero-text-color: #02073e;
  --text-color: #000;
  --hover-color: #beca0d;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ======== Grid ======== */

.grid {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
}

/* ============ header ============== */
header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  overflow: hidden;
  background: var(--body-color);
  border-bottom: 1px solid #999;
}
/* navbar */

.navBar {
  margin: 0px 10px; /* change */
}

.logo {
  width: 250px;
  height: 70px;
  padding-top: 5px;
  border-bottom: 5px;
}

.social-media img {
  width: 50px;
  height: 50px;
  margin-left: 5px; /* change */
}

/* =============== body ==================== */

.hero-area {
  margin: 100px auto 50px auto;
  text-align: center;
}

.single-item {
  width: 100%;
  height: 500px;
  align-items: center;
  border-radius: 10px;
  border: 1px solid red;
  box-shadow: 3px 5px 8px gray;
  background-color: #fff;
}

.img {
  width: 100%;
  height: 250px;
  border-radius: 10px 10px 0px 0px;
}

.class-group {
  color: var(--text-color);
  font-size: x-large;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-align: center;
  border-bottom: 1px solid #beca0d;
  margin-bottom: 10px;
}

.course-name {
  border-bottom: 1px solid var(--btn-color);
  margin-bottom: 10px;
}

.course-name h2 {
  color: var(--navbar-color);
  font-size: 30px;
  font-style: inherit;
  font-weight: 700;
  line-height: normal;
  padding: 5px;
  height: 100px;
}

.video-item {
  display: flex;
  gap: 30px;
  padding: 10px;
}

.video-item h3 {
  display: inline-flex;
  color: var(--text-color);
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: center;
  gap: 5px;
  max-lines: 1;
}

.Start-a {
  padding: 20px;
}

.Start-btn {
  color: var(--text-color);
  padding: 10px 150px;
  font-size: 24px;
  font-style: inherit;
  font-weight: 500;
  line-height: normal;
  text-align: center;
  align-items: center;
  transform: none;
  border-radius: 5px;
  border: 1px solid var(--hero-text-color);
}

.Start-btn:hover {
  background: #155e96;
  color: #fff;
  border: 1px solid red;
}

/* =============== footer ============== */

/* ======== Footer ======== */

footer {
  background: #29303b;
  border-top: 1px solid var(--btn-color);
}
.footer-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px;
}
.footer-logo {
  max-width: 100%;
}

.footer-text {
  color: var(--body-color);
  font-weight: 700;
  font-size: 20px;
  border-bottom: 2px outset green;
  margin: 10px;
  padding: 10px 0px;
}

/* .footer-link ul{
    display: flex;
} */

.footer-link ul li {
  margin: 10px;
}

.footer-link ul li a {
  color: var(--body-color);
  font-weight: 500;
  font-size: 18px;
}

.footer-link ul li a:hover {
  color: var(--navbar-color);
}

.footer-copyright-text {
  color: var(--body-color);
  font-weight: 600; /* change */
  font-size: 16px;
  border-top: 2px outset green;
  margin: 10px;
  padding: 10px;
  text-align: center;
}
