@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap");

:root {
  --main-color: #6f14df;
 --red: #e74c3c;
  --orange: #f19705;
  --white: #fff;
  --black: #2c3e50;
  --light-color: #888;
  --light-bg: #eee;
  --border: 0.1rem solid rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  font-family: "poppins", sans-serif;
}

*::selection {
  background: var(--main-color);
  color: #fff;
}

*::-webkit-scrollbar {
  height: 0.5rem;
  width: 1rem;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: var(--main-color);
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  background: var(--light-bg);
  padding-left: 30rem;
}

body.dark {
  --white: #222;
  --black: #fff;
  --light-color: #aaa;
  --main-color: #6e1fc8;
  --light-bg: #333;
  --border: 0.1rem solid rgba(255, 255, 255, 0.2);
}

body.active {
  padding-left: 0;
}

section {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.btn,
.option-btn,
.delete-btn,
.inline-btn,
.inline-option-btn,
.inline-delete-btn {
  border-radius: 0.5rem;
  padding: 1rem 3rem;
  font-size: 1.8rem;
  color: #fff;
  margin-top: 1rem;
  text-transform: capitalize;
  cursor: pointer;
  text-align: center;
}

.btn,
.option-btn,
.delete-btn {
  display: block;
  width: 100%;
}

.inline-btn,
.inline-option-btn,
.inline-delete-btn {
  display: inline-block;
}

.btn,
.inline-btn {
  background: var(--main-color);
}

.option-btn,
.inline-option-btn {
  background: var(--orange);
}

.delete-btn,
.inline-delete-btn {
  background: var(--red);
}

.btn:hover,
.option-btn:hover,
.delete-btn:hover,
.inline-btn:hover,
.inline-option-btn:hover,
.inline-delete-btn:hover {
  background: var(--black);
  color: var(--white);
}

.flex-btn {
  display: flex;
  gap: 1rem;
}

.heading {
  padding-bottom: 1.8rem;
  border-bottom: var(--border);
  font-size: 2.5rem;
  color: var(--black);
  text-transform: capitalize;
  margin-bottom: 2rem;
}

.header {
  background: var(--white);
  border-bottom: var(--border);
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  padding: auto;
  z-index: 1000;
}

.header .flex {
  padding: 1.5rem 2rem;
  position: relative;
  display: flex;
  align-items: center;
  padding: 5px;
  justify-content: space-between;
}

.header .flex .logo img {
  height: 50px;
  width: 60px;
}

.header .flex .icons {
  display: flex;
}

.header .flex .icons div {
  font-size: 2rem;
  color: var(--black);
  border-radius: 0.5rem;
  height: 4.5rem;
  cursor: pointer;
  width: 4.5rem;
  line-height: 4.4rem;
  background: var(--light-bg);
  text-align: center;
  margin-left: 0.5rem;
}

.header .flex .icons div:hover {
  background: var(--black);
  color: var(white);
}

.header .flex .icons div:hover #e {
  color: var(--white);
  background: var(--black);
}

.header .flex .profile {
  position: absolute;
  top: 120%;
  right: 2rem;
  background: var(--white);
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  width: 30rem;
  transform: scale(0);
  transform-origin: top right;
  transition: 0.2s linear;
}

.header .flex .profile.active {
  transform: scale(1);
}

.header .flex .profile img {
  height: 10rem;
  width: 10rem;
  border-radius: 50%;
  border: 1px solid #333;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.header .flex .profile h3 {
  font-size: 2rem;
  color: var(--black);
}

.header .flex .profile span {
  color: var(--light-color);
  font-size: 1rem;
}

/* side bar start */
.side-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 30rem;
  background: var(--white);
  border-right: var(--border);
  z-index: 1200;
}

.side-bar .close-side-bar {
  text-align: left;
  padding: 2rem;
  padding-bottom: 0;
  display: none;
}

.side-bar .close-side-bar #f {
  height: 4.5rem;
  width: 4.5rem;
  line-height: 4.4rem;
  font-size: 1.5rem;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  text-align: center;
  border-radius: 0.5rem;
}

.side-bar .close-side-bar #f:hover {
  background: var(--black);
}

.side-bar .profile {
  padding: 3rem 2rem;
  text-align: center;
}

.side-bar .profile img {
  height: 10rem;
  width: 10rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.side-bar .profile h3 {
  font-size: 2rem;
  color: var(--black);
}

.side-bar .profile span {
  color: var(--light-color);
  font-size: 1rem;
}

.side-bar .navbar {
  margin-top: 1rem;
}

.side-bar .navbar a {
  display: block;
  padding: 2rem;
  margin: 0.5rem 0;
  font-size: 1.8rem;
}

.side-bar .navbar a span {
  color: var(--light-color);
}

.side-bar .navbar a #c {
  color: var(--main-color);
  margin-right: 1.5rem;
  transition: 0.2s linear;
}

.side-bar .navbar a:hover {
  background: var(--light-bg);
}

.side-bar .navbar a:hover #c {
  margin-right: 2.5rem;
}

.side-bar.active {
  left: -31rem;
}

.quick-select .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(27.5rem, 1fr));
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: center;
}

.quick-select .box-container .box {
  border-radius: 0.5rem;
  background: var(--white);
  padding: 2rem;
}

.quick-select .box-container .box .title {
  font-size: 1.5rem;
  color: var(--black);
  text-transform: capitalize;
}

.quick-select .box-container .box p {
  line-height: 1.5rem;
  padding-top: 1.5rem;
  color: var(--light-color);
  font-size: 1.5rem;
}

.quick-select .box-container .box p span {
  color: var(--main-color);
}

.quick-select .box-container .tutor {
  text-align: center;
}

.quick-select .box-container .tutor p {
  padding-bottom: 1rem;
}

.quick-select .box-container .box .flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
}

.quick-select .box-container .box .flex a {
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1.35rem;
  background-color: var(--light-bg);
}

.quick-select .box-container .box .flex a #c {
  margin-right: 1rem;
  color: var(--black);
}

.quick-select .box-container .box .flex a span {
  color: var(--light-color);
}

.quick-select .box-container .box .flex a:hover {
  background-color: var(--black);
}

.quick-select .box-container .box .flex a:hover #c {
  color: var(--white);
}

.quick-select .box-container .box .flex a:hover span {
  color: var(--white);
}

.courses .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: center;
}

.courses .box-container .box {
  border-radius: 0.5rem;
  background: var(--white);
  padding: 2rem;
}

.courses .box-container .box .thumb {
  width: 100%;
  border-radius: 0.5rem;
  height: 20rem;
  object-fit: cover;
}

.courses .box-container .box .tutor {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.courses .box-container .box .tutor span {
  font-size: 1.5rem;
  color: var(--light-color);
}

.courses .box-container .box .tutor h3 {
  font-size: 2rem;
  color: var(--black);
  margin-bottom: 0.2rem;
}

.courses .box-container .box .tutor img {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
}

.courses .box-container .box .title {
  font-size: 2rem;
  color: var(--black);
  margin-top: 0.5rem;
  padding: 0.5rem 0;
}

.courses .more-btn {
  margin-top: 2rem;
  text-align: center;
}

/* about section */
.about .row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.about .row .image {
  flex: 1 1 40rem;
}
.about .row .image img {
  width: 100%;
  height: 50rem;
}
.about .row .content {
  flex: 1 1 40rem;
  text-align: center;
}
.about .row .content h3 {
  font-size: 2.5rem;
  color: var(--black);
}
.about .row .content p {
  line-height: 2;
  font-size: 1.7rem;
  color: var(--light-color);
  padding: 1rem 0;
}
.about .box-container {
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.about .box-container .box {
  display: flex;
  background: var(--white);
  border-radius: 0.5rem;
  padding: 2rem;
  flex: 1 1 25rem;
  align-items: center;
  gap: 2rem;
}
.about .box-container .box #c {
  font-size: 3rem;
  color: var(--black);
}
.about .box-container .box h3 {
  color: var(--main-color);
  font-size: 2rem;
  margin-bottom: 0.2rem;
}
.about .box-container .box span {
  font-size: 1.5rem;
  color: var(--light-color);
}

/* reviews */
.reviews .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: center;
}
.reviews .box-container .box {
  border-radius: 0.5rem;
  padding: 2rem;
  background: var(--white);
}
.reviews .box-container .box p {
  line-height: 2;
  font-size: 1.7rem;
  color: var(--light-color);
  padding-top: 1.5rem;
}
.reviews .box-container .box .user {
  border-radius: 0.5rem;
  padding: 2rem;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.reviews .box-container .box .user img {
  height: 5rem;
  width: 5rem;
  border-radius: 50%;
  object-fit: cover;
}
.reviews .box-container .box .user h3 {
  font-size: 2rem;
  color: var(--black);
  margin-bottom: 2rem;
}
.reviews .box-container .box .user .stars #c {
  color: var(--main-color);
  font-size: 1.3rem;
}

/* playlist */
.playlist .row {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem;
  background: var(--white);
}
.playlist .row .col {
  flex: 1 1 40rem;
}
.playlist .row .col .save-list button {
  font-size: 2rem;
  border-radius: 0.5rem;
  background: var(--light-bg);
  padding: 1rem 2.5rem;
  cursor: pointer;
  margin-bottom: 2rem;
}
.playlist .row .col .save-list button #c {
  color: var(--black);
  margin-right: 1rem;
}
.playlist .row .col .save-list button span {
  color: var(--light-color);
}
.playlist .row .col .save-list button:hover {
  background: var(--black);
}
.playlist .row .col .save-list button:hover #c {
  color: var(--main-color);
}
.playlist .row .col .save-list button:hover span {
  color: var(--white);
}
.playlist .row .col .thumb {
  position: relative;
  height: 30rem;
}
.playlist .row .col .thumb span {
  position: absolute;
  top: 1rem;
  left: 1rem;
  border-radius: 0.5rem;
  padding: 0.5rem 1.5rem;
  font-size: 2rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
}
.playlist .row .col .thumb img {
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
}
.playlist .row .col .tutor {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.playlist .row .col .tutor img {
  height: 7rem;
  width: 7rem;
  border-radius: 50%;
  object-fit: cover;
}
.playlist .row .col .tutor h3 {
  font-size: 2rem;
  color: var(--black);
  margin-bottom: 0.2rem;
}
.playlist .row .col .tutor span {
  color: var(--main-color);
  font-size: 1.5rem;
}
.playlist .row .col .details {
  padding-top: 1.5rem;
}
.playlist .row .col .details h3 {
  font-size: 2rem;
  color: var(--black);
}
.playlist .row .col .details p {
  padding: 1rem 0;
  line-height: 2;
  color: var(--light-color);
  font-size: 1.7rem;
}
.playlist .row .col .details .date {
  font-size: 2rem;
  padding-top: 0.5rem;
}
.playlist .row .col .details .date #c {
  font-size: 2rem;
  margin-right: 1rem;
  color: var(--light-color);
}
.playlist .row .col .details .date span {
  color: var(--light-color);
}

/* video section */
.videos-container .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: center;
}
.videos-container .box-container .box {
  position: relative;
  border-radius: 0.5rem;
  padding: 2rem;
  background: var(--white);
}
.videos-container .box-container img {
  height: 20rem;
  width: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
}
.videos-container .box-container .box p {
  position: absolute;
  top: 2rem;
  left: 2rem;
  right: 2rem;
  height: 20rem;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #fff;
  border-radius: 0.5rem;
  display: none;
  transition: 0.5s ease;
}
.videos-container .box-container .box:hover p {
  display: flex;
}
.videos-container .box-container .box h3 {
  font-size: 2rem;
  color: var(--black);
  margin-top: 1rem;
}
.videos-container .box-container .box:hover h3 {
  color: var(--main-color);
}

/* watch section */
.watch-video .video-details {
  background: var(--white);
  padding: 2rem;
}
.watch-video .video-details video {
  width: 100%;
  border-radius: 0.5rem;
}
.watch-video .video-details .title {
  font-size: 2rem;
  color: var(--black);
  padding: 1.5rem 0;
}
.watch-video .video-details .info {
  display: flex;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: var(--border);
}
.watch-video .video-details .info p #c {
  margin-right: 1rem;
  color: var(--main-color);
}
.watch-video .video-details .info p span {
  color: var(--light-color);
}
.watch-video .video-details .info p {
  font-size: 1.6rem;
}
.watch-video .video-details .tutor {
  padding: 2rem 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.watch-video .video-details .tutor img {
  height: 7rem;
  width: 7rem;
  border-radius: 50%;
  object-fit: cover;
}
.watch-video .video-details .tutor h3 {
  font-size: 2rem;
  color: var(--black);
  margin-bottom: 0.2rem;
}
.watch-video .video-details .tutor span {
  color: var(--light-color);
  font-size: 1.5rem;
}
.watch-video .video-details .flex {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
}
.watch-video .video-details .flex a {
  margin-top: 0;
}
.watch-video .video-details .flex button {
  background: var(--light-bg);
  cursor: pointer;
  padding: 1rem 2.5rem;
  font-size: 2rem;
  border-radius: 0.5rem;
}
.watch-video .video-details .flex button #c {
  color: var(--black);
  margin-right: 1rem;
}
.watch-video .video-details .flex button span {
  color: var(--light-color);
}
.watch-video .video-details .flex button:hover {
  background: var(--black);
}
.watch-video .video-details .flex button:hover #c {
  color: var(--light-color);
}
.watch-video .video-details .flex button:hover span {
  color: var(--white);
}
.watch-video .video-details .descriptions {
  padding-top: 2rem;
}
.watch-video .video-details .descriptions p {
  line-height: 2;
  font-size: 1.5rem;
  color: var(--light-color);
  white-space: pre-line;
}
.comments .add-comment {
  background: var(--white);
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  padding: 2rem;
}
.comments .add-comment textarea {
  border-radius: 0.5rem;
  padding: 1.4rem;
  width: 100%;
  height: 25rem;
  background: var(--light-bg);
  resize: none;
  font-size: 1.8rem;
  color: var(--black);
}
.comments .show-comments {
  background: var(--white);
  border-radius: 0.5rem;
  padding: 2rem;
  display: grid;
  gap: 2.5rem;
}
.comments .show-comments .user {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}
.comments .show-comments .user img {
  height: 5rem;
  width: 5rem;
  border-radius: 50%;
  object-fit: cover;
}
.comments .show-comments .user h3 {
  font-size: 2rem;
  color: var(--black);
  margin-bottom: 0.2rem;
}
.comments .show-comments .user span {
  color: var(--light-color);
  font-size: 1.5rem;
}
.comments .show-comments .text {
  border-radius: 0.5rem;
  background: var(--light-bg);
  padding: 1rem 1.5rem;
  color: var(--black);
  margin: 0.5rem 0;
  position: relative;
  z-index: 0;
  white-space: pre-line;
  font-size: 1.5rem;
}
.comments .show-comments .text:before {
  content: "";
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  width: 2rem;
  height: 1.2rem;
  background: var(--light-bg);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* playlist */
.playlist .row {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem;
  background: var(--white);
}
.playlist .row .col {
  flex: 1 1 40rem;
}
.playlist .row .col .save-list button {
  font-size: 2rem;
  border-radius: 0.5rem;
  background: var(--light-bg);
  padding: 1rem 2.5rem;
  cursor: pointer;
  margin-bottom: 2rem;
}
.playlist .row .col .save-list button #c {
  color: var(--black);
  margin-right: 1rem;
}
.playlist .row .col .save-list button span {
  color: var(--light-color);
}
.playlist .row .col .save-list button:hover {
  background: var(--black);
}
.playlist .row .col .save-list button:hover #c {
  color: var(--main-color);
}
.playlist .row .col .save-list button:hover span {
  color: var(--white);
}
.playlist .row .col .thumb {
  position: relative;
  height: 30rem;
}
.playlist .row .col .thumb span {
  position: absolute;
  top: 1rem;
  left: 1rem;
  border-radius: 0.5rem;
  padding: 0.5rem 1.5rem;
  font-size: 2rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
}
.playlist .row .col .thumb img {
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
}
.playlist .row .col .tutor {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.playlist .row .col .tutor img {
  height: 7rem;
  width: 7rem;
  border-radius: 50%;
  object-fit: cover;
}
.playlist .row .col .tutor h3 {
  font-size: 2rem;
  color: var(--black);
  margin-bottom: 0.2rem;
}
.playlist .row .col .tutor span {
  color: var(--main-color);
  font-size: 1.5rem;
}
.playlist .row .col .details {
  padding-top: 1.5rem;
}
.playlist .row .col .details h3 {
  font-size: 2rem;
  color: var(--black);
}
.playlist .row .col .details p {
  padding: 1rem 0;
  line-height: 2;
  color: var(--light-color);
  font-size: 1.7rem;
}
.playlist .row .col .details .date {
  font-size: 2rem;
  padding-top: 0.5rem;
}
.playlist .row .col .details .date #c {
  font-size: 2rem;
  margin-right: 1rem;
  color: var(--light-color);
}
.playlist .row .col .details .date span {
  color: var(--light-color);
}

/* video section */
.videos-container .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: center;
}
.videos-container .box-container .box {
  position: relative;
  border-radius: 0.5rem;
  padding: 2rem;
  background: var(--white);
}
.videos-container .box-container img {
  height: 20rem;
  width: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
}
.videos-container .box-container .box p {
  position: absolute;
  top: 2rem;
  left: 2rem;
  right: 2rem;
  height: 20rem;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #fff;
  border-radius: 0.5rem;
  display: none;
  transition: 0.5s ease;
}
.videos-container .box-container .box:hover p {
  display: flex;
}
.videos-container .box-container .box h3 {
  font-size: 2rem;
  color: var(--black);
  margin-top: 1rem;
}
.videos-container .box-container .box:hover h3 {
  color: var(--main-color);
}

/* watch section */
.watch-video .video-details {
  background: var(--white);
  padding: 2rem;
}
.watch-video .video-details video {
  width: 100%;
  border-radius: 0.5rem;
}
.watch-video .video-details .title {
  font-size: 2rem;
  color: var(--black);
  padding: 1.5rem 0;
}
.watch-video .video-details .info {
  display: flex;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: var(--border);
}
.watch-video .video-details .info p #c {
  margin-right: 1rem;
  color: var(--main-color);
}
.watch-video .video-details .info p span {
  color: var(--light-color);
}
.watch-video .video-details .info p {
  font-size: 1.6rem;
}
.watch-video .video-details .tutor {
  padding: 2rem 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.watch-video .video-details .tutor img {
  height: 7rem;
  width: 7rem;
  border-radius: 50%;
  object-fit: cover;
}
.watch-video .video-details .tutor h3 {
  font-size: 2rem;
  color: var(--black);
  margin-bottom: 0.2rem;
}
.watch-video .video-details .tutor span {
  color: var(--light-color);
  font-size: 1.5rem;
}
.watch-video .video-details .flex {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
}
.watch-video .video-details .flex a {
  margin-top: 0;
}
.watch-video .video-details .flex button {
  background: var(--light-bg);
  cursor: pointer;
  padding: 1rem 2.5rem;
  font-size: 2rem;
  border-radius: 0.5rem;
}
.watch-video .video-details .flex button #c {
  color: var(--black);
  margin-right: 1rem;
}
.watch-video .video-details .flex button span {
  color: var(--light-color);
}
.watch-video .video-details .flex button:hover {
  background: var(--black);
}
.watch-video .video-details .flex button:hover #c {
  color: var(--light-color);
}
.watch-video .video-details .flex button:hover span {
  color: var(--white);
}
.watch-video .video-details .descriptions {
  padding-top: 2rem;
}
.watch-video .video-details .descriptions p {
  line-height: 2;
  font-size: 1.5rem;
  color: var(--light-color);
  white-space: pre-line;
}
.comments .add-comment {
  background: var(--white);
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  padding: 2rem;
}
.comments .add-comment textarea {
  border-radius: 0.5rem;
  padding: 1.4rem;
  width: 100%;
  height: 25rem;
  background: var(--light-bg);
  resize: none;
  font-size: 1.8rem;
  color: var(--black);
}
.comments .show-comments {
  background: var(--white);
  border-radius: 0.5rem;
  padding: 2rem;
  display: grid;
  gap: 2.5rem;
}
.comments .show-comments .user {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}
.comments .show-comments .user img {
  height: 5rem;
  width: 5rem;
  border-radius: 50%;
  object-fit: cover;
}
.comments .show-comments .user h3 {
  font-size: 2rem;
  color: var(--black);
  margin-bottom: 0.2rem;
}
.comments .show-comments .user span {
  color: var(--light-color);
  font-size: 1.5rem;
}
.comments .show-comments .text {
  border-radius: 0.5rem;
  background: var(--light-bg);
  padding: 1rem 1.5rem;
  color: var(--black);
  margin: 0.5rem 0;
  position: relative;
  z-index: 0;
  white-space: pre-line;
  font-size: 1.5rem;
}
.comments .show-comments .text:before {
  content: "";
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  width: 2rem;
  height: 1.2rem;
  background: var(--light-bg);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* teachers section */
.teachers .search-tutor {
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background-color: var(--white);
  border-radius: 0.5rem;
}
.teachers .search-tutor input {
  width: 100%;
  font-size: 1.8rem;
  color: var(--black);
  background: none;
}
.teachers .search-tutor button {
  font-size: 2rem;
  cursor: pointer;
  color: var(--black);
  background: none;
}
.teachers .search-tutor button:hover {
  color: var(--main-color);
}
.teachers .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: center;
}
.teachers .box-container .box {
  border-radius: 0.5rem;
  padding: 2rem;
  background: var(--white);
}
.teachers .box-container .box h3 {
  color: var(--black);
}
.teachers .box-container .box .tutor h3 {
  color: var(--black);
  font-size: 2rem;
  margin-bottom: 0.2rem;
}
.teachers .box-container .box .tutor img {
  height: 8rem;
  width: 8rem;
  border-radius: 50%;
  object-fit: cover;
}
.teachers .box-container .box .tutor {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.teachers .box-container .box .tutor span {
  color: var(--main-color);
  font-size: 1.5rem;
}
.teachers .box-container .box p {
  padding-top: 1rem;
  font-size: 1.7rem;
  color: var(--light-color);
}
.teachers .box-container .box p span {
  color: var(--main-color);
}
.teachers .box-container .offer {
  text-align: center;
}
.teachers .box-container .offer h3 {
  font-size: 2rem;
  color: var(--black);
}
.teachers .box-container .offer p {
  line-height: 2;
  padding-bottom: 0.5rem;
}

/* tutor profile */
.tutor-profile .details {
  background: var(--white);
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
}
.tutor-profile .details .tutor {
  margin-bottom: 2rem;
}
.tutor-profile .details .tutor img {
  height: 10rem;
  width: 10rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}
.tutor-profile .details .tutor h3 {
  font-size: 2rem;
  color: var(--black);
  margin: 0.5rem 0;
}
.tutor-profile .details .tutor span {
  font-size: 1.5rem;
  color: var(--light-color);
}
.tutor-profile .details .flex {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.tutor-profile .details .flex p {
  flex: 1 1 25rem;
  border-radius: 0.5rem;
  background: var(--light-bg);
  padding: 1rem 3rem;
  font-size: 2rem;
  color: var(--light-color);
}
.tutor-profile .details .flex p span {
  color: var(--main-color);
}

/* contact section */
.contact .row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.contact .row .image {
  flex: 1 1 50rem;
}
.contact .row .image img {
  height: 50rem;
  width: 100%;
}
.contact .row form {
  flex: 1 1 30rem;
  background: var(--white);
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
}
.contact .row form h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--black);
}
.contact .row form .box {
  width: 100%;
  margin: 1rem 0;
  border-radius: 0.5rem;
  background: var(--light-bg);
  padding: 1.4rem;
  color: var(--black);
  font-size: 1.8rem;
}
.contact .row form textarea {
  height: 20rem;
  resize: none;
}
.contact .box-container {
  margin-top: 3rem;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.contact .box-container .box {
  flex: 1 1 45rem;
  border-radius: 0.5rem;
  background: var(--white);
  padding: 2rem;
  text-align: center;
}
.contact .box-container .box #c {
  font-size: 3rem;
  color: var(--main-color);
  margin-bottom: 1rem;
}
.contact .box-container .box h3 {
  margin: 1rem 0;
  font-size: 2rem;
  color: var(--black);
}
.contact .box-container .box a {
  display: block;
  margin-top: 1rem;
  font-size: 1.7rem;
  color: var(--light-color);
  margin-top: 0.5rem;
}
.contact .box-container .box a:hover {
  text-decoration: underline;
  color: var(--main-color);
}
.profile .details {
  background: var(--white);
  border-radius: 0.5rem;
  padding: 2rem;
}
.profile .details .user {
  text-align: center;
  margin-bottom: 2rem;
}
.profile .details .user img {
  height: 10rem;
  width: 10rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}
.profile .details .user h3 {
  font-size: 2rem;
  margin: 0.5rem 0;
  color: var(--black);
}
.profile .details .user p {
  font-size: 1.7rem;
  color: var(--light-color);
}
.profile .details .box-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.5rem;
}
.profile .details .box-container .box {
  background: var(--light-bg);
  border-radius: 0.5rem;
  padding: 2rem;
  flex: 1 1 30rem;
}
.profile .details .box-container .box .flex {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.profile .details .box-container .box .flex p {
  height: 4.5rem;
  width: 4.5rem;
  border-radius: 0.5rem;
  background: var(--black);
  line-height: 4.4rem;
  color: var(--white);
  font-size: 2rem;
  text-align: center;
}
.profile .details .box-container .box .flex h3 {
  font-size: 2rem;
  color: var(--main-color);
  margin-bottom: 0.2rem;
}
.profile .details .box-container .box .flex span {
  font-size: 1.5rem;
  color: var(--light-color);
}

/* form section */
.form-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 20rem);
}
.form-container form {
  background: var(--white);
  border-radius: 0.5rem;
  padding: 2rem;
  width: 50rem;
}
.form-container form h3 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--light-color);
}
.former-container {
  font-size: 2rem;
}
.former-container p {
  color: var(--light-color);
}
.button #messagess {
  display: none;
}
.button #messagesss {
  display: none;
}
.button #messagessss {
  display: none;
}
.form-container form p {
  padding-top: 1rem;
  font-size: 1.7rem;
  color: var(--light-color);
}
.form-container form p span {
  color: var(--red);
}
.form-container form .box {
  width: 100%;
  border-radius: 0.5rem;
  margin: 1rem 0;
  font-size: 1.8rem;
  color: var(--black);
  padding: 1.4rem;
  background-color: var(--light-bg);
}

/* course section */
.course-container {
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 20rem);
  padding: 4rem;
}
.course-container ul {
  background: var(--white);
  list-style: none;
  padding: 2rem;
  align-items: center;
  border-radius: 0.5rem;
  justify-content: center;
}
.course-container ul li {
  font-size: 2rem;
  color: var(--black);
  padding: 1rem;
  text-transform: capitalize;
}
.course-container ul li:hover {
  background: var(--light-bg);
  font-size: 2.3rem;
  border-radius: 0.5rem;
}

/*footer */
.footer {
  position: sticky;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: var(--white);
  border-top: var(border);
  padding: 2rem;
  text-align: center;
  color: var(--black);
  font-size: 2rem;
  margin-top: 2rem;
  z-index: 1000;
}
.footer span {
  color: var(--main-color);
}

/* media queries */
@media (max-width: 1200px) {
  .side-bar .close-side-bar {
    display: block;
  }

  body {
    padding-left: 0;
  }

  .side-bar {
    transition: 0.2s linear;
    left: -30rem;
  }

  .side-bar.active {
    left: 0;
    box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.5);
  }
}

@media (max-width: 991px) {
  html {
    font-size: 55%;
  }
}

@media (max-width: 768px) {
  #search-btn {
    display: inline-block;
  }

  .header .flex .search-form {
    position: absolute;
    top: 99%;
    left: 0;
    right: 0;
    width: auto;
    border-top: var(--border);
    border-bottom: var(--border);
    background: var(--white);
    clip-path: polygon(0 0, 100% 0, 0 0);
  }

  .header .flex .search-form.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    height: 6rem;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }

  .heading {
    font-size: 2rem;
  }

  .flex-btn {
    flex-flow: column;
    gap: 0;
  }
  .about .row .image img {
    height: auto;
  }
  .playlist .row .col .thumb {
    height: 20rem;
  }
  .contact .row .image img {
    height: auto;
  }
}
