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

:root {
  --skin-color: #a39;
  --bg-black-900: #f2f2fc;
  --bg-black-100: #fdf9ff;
  --bg-black-50: #e8dfec;
  --text-black-900: #302e4d;
  --text-black-700: #504e70;
}

body.dark {
  --skin-color: #a39;
  --bg-black-900: #151515;
  --bg-black-100: #222222;
  --bg-black-50: #393939;
  --text-black-900: #ffffff;
  --text-black-700: #e9e9e9;
}

.tools {
  color: var(--text-black-900);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
}

body::-webkit-scrollbar {
  width: 1vw;
}

body::-webkit-scrollbar-thumb {
  border-radius: 20px;
  background: var(--skin-color);
}

body::-webkit-scrollbar-track {
  background: var(--bg-black-900);
}

body {
  line-height: 1.5;
  font-family: "Poppins", sans-serif;
  scrollbar-color: red, green;
}

.section {
  background-color: var(--bg-black-900);
  min-height: 100vh;
  display: block;
  padding: 0 30px;
  opacity: 1;
}

.main-content {
  padding-left: 270px;
}

.hidden {
  display: none !important; /* ================================================================= Here ===============================*/
}

.padd-15 {
  /* ==============================================================================*/
  padding-left: 15px;
  padding-right: 15px;
}

.container {
  max-width: 1100px;
  width: 100%;
  /* background: red; */
  margin: auto;
}

/* kinda about */
.section .container {
  padding-top: 60px;
  padding-bottom: 70px;
}

.section-title {
  flex: 0 0 100%;
  max-width: 100%;
  /* background: red; */
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 40px;
  color: var(--text-black-900);
  font-weight: 700;
  position: relative;
}

.section-title h2::before {
  content: "";
  height: 4px;
  width: 50px;
  background-color: var(--skin-color);
  position: absolute;
  top: 100%;
  left: 0;
}
.section-title h2::after {
  content: "";
  height: 4px;
  width: 25px;
  background-color: var(--skin-color);
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
}

.row {
  /* =================== the image and the contents along side them======================*/
  display: flex;
  flex-wrap: wrap; /*=================== Makes the width's right asured 👍============*/
  margin-left: -15px;
  margin-right: -15px;
  position: relative;
}

.btn {
  /* font-size: 16px; */
  font-weight: 500;
  padding: 12px 35px;
  color: #fff;
  border-radius: 40px;
  border: 2px solid var(--skin-color);
  display: inline-block;
  white-space: nowrap; /* ============================================= LET IT CONTINUE FOR ETERNITY======================= */
  background: var(--skin-color);
  transition: all 0.4s ease-in-out;
}

.btn:is(:hover, :focus) {
  transform: scale(1.05);
  border: 2px solid var(--skin-color);
  color: var(--skin-color);
  background: transparent;
  font-weight: 600;
}

.shadow-dark {
  box-shadow: 0 0 20px rgba(48, 48, 77, 0.15); /* =================================    Cool box shadow========================= */
}

/* =======================aside======================================================================================================================== */
.aside {
  width: 270px;
  background: var(--bg-black-100);
  position: fixed;
  left: 0;
  top: 0;
  padding: 30px;
  height: 100%;
  border-right: 1px solid var(--bg-black-50);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* =================ul li a logo ================== */

.aside .logo {
  position: absolute;
  top: 50px;
  font-size: 30px;
  text-transform: capitalize;
}

ul {
  list-style: none;
}

.aside .logo a {
  color: var(--text-black-900);
  font-weight: 700;
  /* background: red; */
  padding: 12px 20px;
  font-size: 30px;
  letter-spacing: 5px;
  position: relative;
}

.aside .logo a span {
  font-family: cursive;
  font-size: 40px;
}

/* ======= The clipclap thing================*/

.aside .logo a::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-bottom: 5px solid var(--skin-color);
  border-left: 5px solid var(--skin-color);
  bottom: 0;
  left: 0;
}
.aside .logo a::after {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  border-right: 5px solid var(--skin-color);
  border-top: 5px solid var(--skin-color);
  top: 0;
  right: 0;
}
/* 

.aside .nav-toggler{
    height: 40px;
    width: 45px;
    border: 1px solid var(--bg-black-50);
    cursor: pointer;
    position: fixed;
    left: 300px;
    top: 20px;
    border-radius: 5px;
    background: var(--bg-black-100);
     display: none; here display nonw============================================= 
    align-items: center;
    justify-content: center;
} */

.aside .nav-toggler span {
  height: 2px;
  width: 18px;
  background-color: var(--skin-color);
  display: inline-block;
  position: relative;
}

.aside .nav-toggler span::before {
  content: "";
  height: 2px;
  width: 18px;
  background: var(--skin-color);
  position: absolute;
  top: -6px;
  left: 0;
}
.aside .nav-toggler span::after {
  content: "";
  height: 2px;
  width: 18px;
  background: var(--skin-color);
  position: absolute;
  top: 6px;
  left: 0;
}

.aside .nav {
  margin-top: 50px;
}

.aside .nav li {
  margin-bottom: 20px;
  /* background-color: red; */
  display: block;
}

.aside .nav li a {
  font-weight: 600;
  font-size: 16px;
  display: block;
  border-bottom: var(--bg-black-50) solid 1px;
  color: var(--text-black-900);
  padding: 5px 15px;
}

.aside .nav li a:is(:hover, :focus) {
  opacity: 0.6;
  transition: 0.3s all ease-in-out;
}

.aside .nav li a.active {
  color: var(--skin-color);
}

.aside .nav li a i {
  margin-right: 15px;
}

.aside .social-med {
  position: absolute;
  bottom: 0;
  margin-bottom: 20px;
  padding: 10px;
}

.aside .social-med a {
  text-decoration: none;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--text-black-700);
  cursor: pointer;
  margin-right: 10px;
  background-color: var(--bg-black-50);
  margin-bottom: 25px;
  transition: 0.3s all ease-in-out;
}

.aside .social-med a.insta:is(:focus, :hover) {
  background: #f09433;
  background: -moz-linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  background: -webkit-linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
  color: #fff;
  transition: 0.5s all ease-in-out;
  transform: scale(1.1);
}

.aside .social-med a.tele:is(:focus, :hover) {
  color: #009ee0;
  background: #fff;
  transition: 0.5s all ease-in-out;
  transform: scale(1.1);
}

.aside .social-med a.whats:is(:focus, :hover) {
  background: green;
  color: #fff;
  transition: 0.5s all ease-in-out;
  transform: scale(1.1);
}

.aside .social-med a.twit:is(:focus, :hover) {
  /* background: #fff; */
  color: #009ee0;
  transition: 0.5s all ease-in-out;
  transform: scale(1.1);
  background: white;
}

/* =========================== Home ============================= */

.home {
  min-height: 100vh;
  display: flex;
  color: var(--text-black-900);
}

.home .home-info {
  flex: 0 0 60%;
  max-width: 60%;
}

.home-info h3.hello {
  font-size: 28px;
  margin: 15px 0;
}

h3.hello span {
  /* font-family: 'Clicker Script', cursive; */
  font-size: 30px;
  font-weight: 700;
  color: var(--skin-color);
}

h3.my-profession {
  font-size: 30px;
  margin: 15px 0;
}

span.typing {
  color: var(--skin-color);
}

.home .home-info p {
  margin-bottom: 70px;
  font-size: 20px;
  color: var(--text-black-700);
}

.home .home-img {
  flex: 0 0 40%;
  max-width: 40%;
  /* background: red; */
  text-align: center;
  position: relative;
  /* background-color: red; */
  cursor: pointer;
}

.home .home-img img:hover {
  transform: scale(0.97);
  transition: 1s all ease-in-out;
}

.home .home-img::after {
  content: "";
  position: absolute;
  height: 80px;
  width: 80px;
  border-bottom: 10px solid var(--skin-color);
  border-right: 10px solid var(--skin-color);
  right: 20px;
  /* background: red; */
  bottom: -40px; /* ========== Drag it down to the bottom*/
}

.home .home-img::before {
  content: "";
  position: absolute;
  height: 80px;
  width: 80px;
  border-top: 10px solid var(--skin-color);
  border-left: 10px solid var(--skin-color);
  left: 20px;
  /* background: red; */
  top: -45px; /* ========== Drag it down to the bottom*/
}

.home .home-img img {
  margin: auto;
  border-radius: 5px;
  height: 400px;
}

/* ============================================= About============================ */

.about .about-content {
  flex: 0 0 100%;
  /* background: red; */
  max-width: 100%;
}

.about .about-content .about-text {
  flex: 0 0 0 100%;
  /* background: red; */
  max-width: 100%;
}

.about .about-content .about-text h3 {
  font-size: 25px;
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--text-black-900);
}

.about .about-content .about-text h3 span {
  color: var(--skin-color);
}

.about .about-content .about-text p {
  font-size: 16px;
  line-height: 25px;
  color: var(--text-black-700);
}

.about .about-content .personal-info {
  flex: 0 0 60%;
  max-width: 60%;
  /* background: red; */
  margin-top: 40px;
}

.about .about-content .personal-info .info-item {
  flex: 0 0 50%;
  max-width: 50%;
  /* background: red; */
}

.about .about-content .personal-info .info-item p {
  font-weight: 600;
  padding: 10px 0;
  font-size: 16px;
  color: var(--text-black-900);
  border-bottom: 1px solid var(--bg-black-50);
}

.about .about-content .personal-info .info-item p span {
  font-weight: 400;
  color: var(--text-black-700);
  margin-left: 4px;
  display: inline-block;
}

.about .about-content .personal-info .buttons {
  margin-top: 30px;
}

.about .about-content .personal-info .buttons .btn {
  margin-right: 15px;
  margin-top: 10px;
}

.about .about-content .skills {
  flex: 0 0 40%;
  max-width: 40%;
  /* background: green; */
  margin-top: 40px;
}

.about .about-content .skills .skill-item {
  flex: 0 0 100%;
  max-width: 100%;
  /* background: red; */
}

.about .about-content .skills .skill-item h5 {
  line-height: 40px;
  font-weight: 600;
  color: var(--text-black-900);
  font-size: 16px;
  text-transform: capitalize;
}

.about .about-content .skills .skill-item .progress {
  background-color: var(--bg-black-50);
  height: 7px;
  border-radius: 4px;
  width: 100%;
  position: relative;
}

.about .about-content .skills .skill-item {
  margin-bottom: 25px;
}

.about .about-content .skills .skill-item .progress .progress-in {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 4px;
  background: var(--skin-color);
}

.about .about-content .skills .skill-item .skill-percent {
  position: absolute;
  right: 0;
  color: var(--text-black-900);
  top: -40px;
  font-weight: 400;
  line-height: 40px;
}

.about .about-content .education,
.about .about-content .experience {
  flex: 0 0 50%;
  max-width: 50%;
  margin-top: 30px;
  /* background: red; */
}

.about .about-content h3.title {
  font-size: 24px;
  margin-bottom: 30px;
  font-weight: 700;
  color: var(--text-black-900);
}

.about .about-content .timeline-box {
  flex: 0 0 100%;
  max-width: 100%;
  /* background: red; */
}

.about .about-content .timeline {
  background-color: var(--bg-black-100);
  padding: 30px 15px;
  border: 1px solid var(--bg-black-50);
  border-radius: 10px;
  width: 100%;
  position: relative;
}

.about .about-content .timeline .timeline-item {
  position: relative;
  padding-left: 30px;
  padding-bottom: 50px;
}

.about .about-content .timeline .timeline-item:last-child {
  padding-bottom: 0;
}

.about .about-content .timeline .timeline-item::before {
  content: "";
  width: 1px;
  position: absolute;
  height: 100%;
  left: 7px;
  top: 0;
  background-color: var(--skin-color);
}

.about .about-content .timeline .circle-dot {
  position: absolute;
  left: 0;
  height: 15px;
  width: 15px;
  border-radius: 50%;
  background-color: var(--skin-color);
}
.about .about-content .timeline .timeline-date {
  font-weight: 400;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--text-black-700);
}

.about .about-content .timeline .timeline-date .fa {
  margin-right: 5px;
}

.about .about-content .timeline .timeline-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 15px;
  text-transform: capitalize;
  color: var(--text-black-900);
}

.about .about-content .timeline .timeline-text {
  line-height: 25px;
  /* font-size: 16px; */
  text-align: justify;
  color: var(--text-black-700);
}

/* ======================================== books ============================================= */

.book {
  margin-top: 40px;
  background-color: var(--bg-black-100);
  padding: 30px 15px;
  border: 1px solid var(--bg-black-50);
  border-radius: 10px;
  max-width: 100%;
  box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
  /*     margin-left: 50px;
    margin-right: 90px; */
}

.book table {
  color: var(--text-black-900);
  max-width: 800px;
  width: 100%;
  margin: auto;
}

.book p {
  color: var(--text-black-900);
}

.book p {
  margin: 20px 0;
  line-height: 1.7;
}
table {
  width: 100%;
}
td,
th {
  border: 1px solid #bbb;
  padding: 10px;
  cursor: pointer;
}

th {
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: var(--skin-color);
  color: white;
}

/* ====================================== Hobbies ============================================= */

.servicec .container {
  padding-bottom: 40px;
}

.service .service-item {
  margin-bottom: 30px;
  flex: 0 0 33.3%;
  max-width: 33.33%;
}

.service .service-item .service-item-inner {
  background-color: var(--bg-black-100);
  border: 1px solid var(--bg-black-50);
  border-radius: 10px;
  padding: 30px 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.service .service-item .service-item-inner:hover {
  box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}

.service .service-item .service-item-inner .icon {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  display: block;
  /* background-color: red; */
  margin: 0 auto 30px;
  text-align: center;
  transition: all 0.3s ease;
}
.service .service-item .service-item-inner .icon .fa {
  font-size: 40px;
  line-height: 60px;
  color: var(--skin-color);
  transition: all 0.3s ease-in-out;
}

.service .service-item .service-item-inner:hover .icon {
  background: var(--skin-color);
}

.service .service-item .service-item-inner:hover .icon .fa {
  font-size: 25px;
  color: #fff;
}

.service .service-item .service-item-inner h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--text-black-900);
  font-weight: 700;
  text-transform: capitalize;
}

.service .service-item .service-item-inner p {
  color: var(--text-black-700);
  line-height: 25px;
  font-size: 16px;
}

/* ====================================== Portfolio ============================================= */

.portfolio .container {
  padding-bottom: 40px;
}

.portfolio .portfolio-heading {
  flex: 0 0 100%;
  max-width: 100%;
  margin-bottom: 40px;
}

.portfolio .portfolio-heading h2,
.portfolio .portfolio-heading h3 {
  color: var(--text-black-900);
  font-weight: 500;
}

.portfolio .portfolio-item {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  margin-bottom: 30px;
}

.portfolio .portfolio-item-inner {
  border: 6px solid var(--bg-black-100);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.portfolio .portfolio-item-inner .portfolio-img img {
  width: 100%;
  display: block;
}

/* ====================================== Quiz============================================= */

.quiz .how-much {
  color: var(--text-black-900);
  font-size: 22px;
  margin: 15px 0;
}

.quiz .five {
  color: var(--text-black-700);
  margin: 10px 0;
}

span.me {
  color: var(--skin-color);
}

span.easy {
  color: greenyellow;
}
span.medium {
  color: orange;
}
span.hard {
  color: orangered;
}
span.imp {
  color: darkred;
  font-weight: 900;
}

.quiz .container {
  padding-bottom: 40px;
}

.quiz .portfolio-heading {
  flex: 0 0 100%;
  max-width: 100%;
  margin-bottom: 40px;
}

.quiz .portfolio-heading h2,
.quiz .portfolio-heading h3 {
  color: var(--text-black-900);
  font-weight: 500;
}

.quiz .portfolio-item {
  flex: 0 0 50%;
  max-width: 50%;
  margin-bottom: 30px;
}

.quiz .portfolio-item-inner {
  border: 6px solid var(--bg-black-100);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.quiz .portfolio-item-inner .portfolio-img img {
  height: 100%;
  width: 100%;
  /* width: 400px; */
  display: block;
}

/* ====================================== Contact me ============================================= */

.contact-title {
  color: var(--skin-color);
  text-align: center;
  font-size: 25px;
  margin-bottom: 20px;
}
.contact-sub-title {
  color: var(--text-black-900);
  text-align: center;
  font-size: 25px;
  margin-bottom: 60px;
}

.contact .contact-info-item {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  text-align: center;
  margin-bottom: 60px;
}

.contact .contact-info-item .icon {
  display: inline-block;
}

.contact .contact-info-item .icon .fa {
  font-size: 25px;
  color: var(--skin-color);
}

.contact .contact-info-item h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-black-900);
  text-transform: capitalize;
  margin: 15px 0 5px;
}

.contact .contact-info-item p {
  line-height: 25px;
  color: var(--text-black-700);
  font-weight: 400;
  font-size: 16px;
}

.contact .contact-form {
  flex: 0 0 100%;
  max-width: 100%;
}

.contact .contact-form .col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}
.contact .contact-form .col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.contact .contact-form .form-item {
  margin-bottom: 30px;
}

.contact .contact-form .form-item .form-control {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  background: var(--bg-black-100);
  border: 1px solid var(--bg-black-50);
  padding: 10px 25px;
  font-size: 16px;
  color: var(--text-black-700);
  transition: all 0.3s ease;
}

.contact .contact-form .form-item .form-control:focus {
  box-shadow: 0 0 20px rgba(48, 48, 77, 0.15);
}

.contact .contact-form .form-item textarea.form-control {
  height: 140px;
}

/* ================== style switcher =================== */
.switcher {
  height: 90px;
  position: fixed;
  right: 0;
  top: 20px;
  padding: 15px;
  width: 100px;
  /* border: 1px solid var(--bg-black-50); */
  /* background: var(--bg-black-100); */
  z-index: 120;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.switcher .s-icon {
  top: 40px;
  position: absolute;
  height: 40px;
  width: 40px;
  text-align: center;
  font-size: 20px;
  background: var(--bg-black-100);
  color: var(--text-black-900);
  /* right: 100%; */
  border: 1px solid var(--bg-black-50);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.switcher .s-icon i {
  line-height: 40px; /* centers the moon icon **/
}
