:root {
  --primary-color: #0075ff;
  --primary-color-alt: #0366da;
  --green-color: #009688;
  --danger-color: darkred;
  --border-color: #ebebeb;
  --half-white: #f8f6f6;
  --second-color: #009688;
}
body {
  font-family: "Cairo", sans-serif;
  background-color: white;
}

.mdil {
  font-size: 20px;
  line-height: 1;
  position: relative;
  top: 2px;
  height: 20px;
  display: inline-flex;
}
.head-with-desc {
  text-align: center;
  font-size: 45px;
  letter-spacing: 1px;
  padding-top: 14px;

}
.head-with-desc span {
  margin-top: 15px;
  font-size: 18px;
  color: #444;
  word-spacing: 1px;
  font-weight: normal;
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  grid-template-rows: 30px 0;
  grid-gap: 20px;
  align-items: center;
}
.head-with-desc span:after,
.head-with-desc span:before {
  content: " ";
  display: block;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  height: 5px;
  background-color: #f8f8f8;
}

/* Start Homepage */



.home .the-paths,
.home .last-tuts,
.random-q {
  background-color: #f4f6fa;
}
.home .plans .the-plans {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  direction: ltr;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: center;
}
.home .plans .the-plans a {
  padding: 10px;
  display: block;
  border-radius: 10px;
  background-color: #f5f5f5;
  border: 1px solid #eee;
  transition: 0.5s;
}
.home .plans .the-plans a:hover {
  background-color: #dadada;
}
.home .plans .the-plans img {
  width: 80px;
  margin-top: -30px;
}
.home .plans .the-plans span {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  color: black;
  font-size: 18px;
}
.home .the-paths .data-holder {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.home .the-paths .data-holder .box {
  padding: 25px 20px 20px;
  border: 1px solid #eee;
  background-color: white;
  border-radius: 10px 10px 0 0;
  text-align: center;
  position: relative;
  border-bottom: 2px solid var(--primary-color);
}
.home .the-paths .data-holder .box img {
  width: 100px;
}
.home .the-paths .data-holder .box a {
  color: black;
  font-weight: bold;
  font-size: 18px;
  display: block;
  width: fit-content;
  margin: 15px auto 0;
  transition: 0.3s;
}
.home .the-paths .data-holder .box a:hover {
  color: var(--primary-color);
}
.home .latest .data-holder {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
  margin-bottom: 40px;
  margin-top: 40px;
}
.home .latest .data-holder .box {
  background-color: #f4f6fa;
}
.home .latest .front-end .box {
  text-align: center;
  direction: ltr;
}
.home .latest .data-holder .box img {
  max-width: 100%;
  height: auto;
}
.home .latest .data-holder .box a {
  color: black;
  transition: 0.3s;
  font-weight: bold;
  line-height: 1.6;
  display: block;
  padding: 12px;
  text-align: center;
  font-size: 20px;

}
.home .latest .data-holder .box a:hover {
  color: var(--primary-color);
}
.home .last-tuts .data-holder {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  margin-top: 40px;
}
@media (max-width: 767px) {
  .home .last-tuts .data-holder {
    grid-template-columns: 1fr;
  }
}
.home .last-tuts .data-holder .box {
  background-color: white;
  padding: 15px;
}
@media (max-width: 767px) {
  .home .last-tuts .data-holder .box {
    text-align: center;
  }
}
.home .last-tuts .data-holder .box .tut-type {
  text-transform: capitalize;
  background-color: #ddd;
  padding: 5px 10px;
  line-height: 1;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: white;
  font-size: 13px;
  width: 90px;
  margin-left: 10px;
}
@media (max-width: 767px) {
  .home .last-tuts .data-holder .box .tut-type {
    text-align: center;
    display: block;
    margin: 0 auto 10px;
  }
}
.home .last-tuts .data-holder .box .tut-type.web-design {
  background-color: #18a3ac;
}
.home .last-tuts .data-holder .box .tut-type.javascript {
  background-color: #f7df1e;
  color: black;
}
.home .last-tuts .data-holder .box .tut-type.wordpress {
  background-color: #d54e21;
}
.home .last-tuts .data-holder .box .tut-type.python {
  background-color: #4584b6;
}
.home .last-tuts .data-holder .box .tut-type.css {
  background-color: #90bd31;
}
.home .last-tuts .data-holder .box .tut-type.laravel {
  background-color: #f55247;
}
.home .last-tuts .data-holder .box .tut-type.php {
  background-color: #4f5b93;
}
.home .last-tuts .data-holder .box .tut-type.vuejs {
  background-color: #42b883;
}
.home .last-tuts .data-holder .box .tut-type.programming {
  background-color: #7552cc;
}
.home .last-tuts .data-holder .box a {
  color: black;
  font-weight: bold;
  transition: 0.3s;
}
.home .last-tuts .data-holder .box a:hover {
  color: var(--primary-color);
}
.home .whats-new .data-holder {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  margin-top: 40px;
}
.home .whats-new .data-holder {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  margin-top: 40px;
}
@media (max-width: 767px) {
  .home .whats-new .data-holder {
    grid-template-columns: 1fr;
  }
}
.home .whats-new .box {
  background-color: #eee;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 6px;
}
.home .whats-new .box .link {
  display: block;
  width: fit-content;
  line-height: 1.8;
  font-weight: bold;
  color: black;
  transition: 0.3s;
  margin-bottom: 15px;
}
.home .whats-new .box .link:hover {
  color: var(--primary-color);
}
.home .whats-new .box .show-more {
  text-align: left;
  margin-top: 10px;
  padding-bottom: 5px;
}
.home .whats-new .box .show-more a {
  font-weight: bold;
  color: var(--primary-color);
  position: relative;
  z-index: 1;
}
.home .whats-new .box .show-more a::before {
  content: "";
  position: absolute;
  height: 48px;
  width: 48px;
  border-radius: 50%;
  right: -14px;
  top: 50%;
  background-color: #f9fbff;
  z-index: -1;
  transform: translateY(-50%);
}
.home .random-q a {
  padding: 15px;
  display: block;
  width: fit-content;
  color: black;
  transition: 0.3s;
  font-size: 16px;
  font-weight: 600;
}
.home .random-q a:not(:last-child) {
  border-bottom: 1px solid #ccc;
}
.home .random-q a:hover {
  color: var(--primary-color);
}


/* End Homepage */