/*--------------------------common Styles-------------------------------*/

@import url(//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css);
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Quicksand", Arial, sans-serif;
  padding: 0;
  margin: 0;
  background-color: var(--body-bg-color);
  position: relative;
}
.white-logo {
  filter: invert(100%) sepia(0%) saturate(100%) hue-rotate(0deg)
    brightness(100%) contrast(100%);
}
:root {
  --body-bg-color: #f1f1f1;
  --lightMode-clr-primary: #1f1f1f;
  --lightBlue-bg-color: #c5e3ec;
  --light-bg-color: #f8fafd;
  --nav-text-color: #004a77;
  --black-color: #000;
  --white-color: #fff;
  --lightMode-clr-sec: #313131;
  --mainNav-color: #f3f6fc;
  --icon-bg-color: #c2e7ff;
  --border-color: #f3f6fc;
  --icon-color: #444746;
  --gray-color: #e7e7e8;
  --dark-circle: #696969;
  --white-circle: #d3d3d3;
}

.darkmode {
  --body-bg-color: #121212;
  --lightMode-clr-primary: #e3e3e3;
  --lightBlue-bg-color: #264d77;
  --light-bg-color: #28292a;
  --nav-text-color: #ffffff;
  --black-color: #ffffff;
  --white-color: #1f1f1f;
  --lightMode-clr-sec: #c0c0c0;
  --mainNav-color: #2d2f31;
  --icon-bg-color: #264d77;
  --border-color: #444746;
  --icon-color: #e1e3e1;
  --gray-color: #34363a;
  --dark-circle: #fafafa;
  --white-circle: #696969;
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none !important;
}

.c-pointer {
  cursor: pointer;
}

.title {
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--lightMode-clr-primary);
}

.section {
  overflow: hidden;
  min-height: 350px;
  padding-top: 5em;
  padding-bottom: 5em;
}
p {
  color: var(--lightMode-clr-sec);
  margin-bottom: 1em;
  letter-spacing: 1.3px;
  line-height: 1.5;
  font-weight: 500;
}
.section h2 {
  padding-bottom: 20px;
}
.font-big {
  font-size: 60px;
}

.font-mid {
  font-size: 25px;
  font-weight: 500 !important;
}

.container {
  max-width: 1140px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5em !;
  color: var(--black-color);
  font-weight: 550;
  line-height: 1.1;
}

.m-left-150 {
  margin-left: 150px;
}
.p-rihgt-80 {
  padding-right: 80px;
}
/*--------------------------common Styles End-------------------------------*/

/*--------------------------Navbar-------------------------------*/

.main-nav {
  width: 100%;
  height: 65px;
  background-color: var(--mainNav-color);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  transition: all 0.2s;
}
.main-nav-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  padding: 15px 0;
  height: 100%;
}

.dark-mode-btn-container {
  cursor: pointer;
  position: absolute;
  top: 1px;
  right: 20px;
  height: 63px;
  width: 50px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
#dark-mode-toggle {
  font-size: 21px;
}

.fa-sun {
  color: #ffffff;
}

.main-menu {
  display: flex;
  margin: 0;
  padding: 0 20px;
  list-style: none;
  justify-content: center;
}

.nav-item {
  position: relative;
}

.main-menu a {
  padding: 6px 15px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 30px;
  color: var(--lightMode-clr-primary);
}

.active-text {
  color: var(--nav-text-color) !important;
  background-color: var(--lightBlue-bg-color);
}

.main-menu li {
  margin: 5px;
}

.hamburger {
  display: none;
  cursor: pointer;
  margin-right: 20px;
}
.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  background-color: var(--lightMode-clr-primary);
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .main-menu {
    position: fixed;
    justify-content: flex-start;
    right: -100%;
    top: 60px;
    gap: 0;
    flex-direction: column;
    background-color: var(--mainNav-color) !important;
    width: 40%;
    height: 100vh;
    text-align: center;
    transition: 0.3s;
    padding: 10px;
    margin-right: 0 !important;
  }

  .main-menu li {
    height: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .nav-item {
    max-width: 16px 0;
  }

  .main-menu.active {
    right: 0;
  }
  .main-menu a {
    line-height: 50px;
    font-size: 16px;
    width: 100%;
  }
  .dark-mode-btn-container {
    right: 100px;
  }
}

.right-nav {
  position: relative;
}

.orverlay {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(32, 32, 32, 0.514);
  width: 100%;
  height: 100%;
}

.left-nav img {
  width: 60px;
  height: 65px;
}

/*--------------------------Navbar End-------------------------------*/

/*-------------------- Header -------------------------------------*/

.header {
  position: relative !important;
}

.bg1 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  pointer-events: none;
  z-index: -1;
  top: 0;
  left: 0;
  background: var(--lightBlue-bg-color);
}

.bg2 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  pointer-events: none;
  z-index: -1;
  background: #c471ed;
  top: 0;
  right: 0;
  bottom: auto;
}

.header-container {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  margin: auto;
}
.header-img-container {
  background: url(/Picture/me.png) center/cover no-repeat;
  height: 500px;
  position: relative;
  width: 50%;
}
.header-img-container img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.content-header {
  position: relative;

  width: 50%;
  padding: 0 15px;
}

.header-me-btn {
  cursor: pointer;
  width: 40px;
  height: 40px;
  background-color: var(--icon-bg-color);
  border: 2px solid var(--icon-bg-color);
  border-radius: 10px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
  margin: 1px;
}
.btn-text {
  color: var(--black-color);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1.3px;
  display: inline-flex;
  justify-content: center;
  align-items: center;

  transition: all 0.3s;
}

.header-me-btn:hover {
  border: 2px solid var(--white-color);
  background-color: var(--white-color);
  box-shadow: none;
}
.btn-text:hover {
  color: var(--black-color);
}

#typing-target {
  color: var(--lightMode-clr-primary);
}

#cursor {
  width: 2px;
  height: 1.2rem;
  display: inline-block;
  background-color: var(--lightMode-clr-primary);
  animation-name: cursorFade;
  animation-duration: 0.9s;
  animation-iteration-count: infinite;
}

@keyframes cursorFade {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacityr: 1;
  }
}

/*-------------------------Header End--------------------------------*/

/*--------------------------About-------------------------------*/

#about {
  background-color: var(--light-bg-color);
}
.about-container {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  margin: auto;
}

.about-content {
  width: 100%;
  padding-right: 3rem;
}
.about-social-container {
  background: url(/Picture/me1.png) top/cover no-repeat;
  height: 450px;
  margin-bottom: 30px;
  position: relative;
  width: 41%;
}
.about-content-container {
  width: 59%;
}
.about-soial-links {
  width: 100%;
}
.about-soial-links ul {
  display: flex;
  justify-content: start;
  align-content: start;
  align-items: start;
  padding: 0;
  margin: 25px 0;
}
.about-soial-links li {
  display: flex;
  flex-direction: row;
  border: 2px solid var(--border-color);
  background-color: var(--white-color);
  padding: 12px 15px;
  border-radius: 12px;
  align-items: center;
  position: relative;
  transition: all 0.35s ease;
  margin-right: 5px;
  width: calc(100% / 3);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}

.about-soial-links li:hover {
  background-color: var(--lightBlue-bg-color);
  border: 2px solid #86abcf;
  box-shadow: none;
}

.about-soial-links li .a-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--border-color);
  color: var(--icon-color);
  font-size: 20px;
}

.a-text {
  flex: 1 1;
  padding-left: 20px;
  color: var(--lightMode-clr-sec);
  font-weight: 486;
}

.a-text a {
  color: inherit;
}
.stretched-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  content: "";
}
.stretch-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  content: "";
}

/*---------------------------------------------------------*/

/*--------------------------skills-------------------------------*/
.skills-container {
  width: 40%;
}
.more-info-container {
  display: flex;
  justify-content: space-between;
  align-items: first baseline;
  margin: auto;
  flex-direction: row-reverse;
}

.experiences {
  width: 50%;
  min-height: 350px;
}

.experience-header {
  padding-right: 10px;
  margin-top: 35px;
}

.skills {
  width: 100%;
  min-height: 350px;
}

.languages {
  margin-top: 2rem;
}
.title-icon {
  font-size: 15px;
}

.time {
  font-size: 12px;
}

.location-icon {
  color: #a8a8a8;
  margin: 0 5px 0 15px;
}

.experience-description {
  color: var(--lightMode-clr-sec);
  margin: 10px 0;
  line-height: 25px;
}

.skill-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--lightMode-clr-primary);
  text-transform: uppercase;
  margin: 20px 0;
}
.overFlow {
  overflow: hidden;
}

#dark {
  background: var(--dark-circle);
}
#light {
  background: var(--white-circle);
}
.language-name {
  margin: 15px 0;
}

/* --------------------------------------Skills End------------------------------------------ */

/* -----------------------------------Projects--------------------------------------------- */

#projects {
  background-color: var(--light-bg-color);
}

.projects {
  margin: 20px auto;
}

.row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
  margin: 50px auto 0;
}

.card {
  margin-bottom: 30px;
}
.card .menu-content {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.card .menu-content::before,
.card .menu-content::after {
  content: "";
  display: table;
}
.card .menu-content::after {
  clear: both;
}
.card .menu-content li {
  display: inline-block;
}
.card .menu-content a {
  color: var(--white-color);
}
.card .menu-content span {
  position: absolute;
  left: 50%;
  top: 0;
  font-size: 10px;
  font-weight: 700;
  font-family: "Open Sans";
  transform: translate(-50%, 0);
}
.card .wrapper {
  height: 400px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 19px rgba(0, 0, 0, 0.2), 0 1px 1px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--white-color);
  border-radius: 15px;
}
.card .wrapper:hover .data {
  transform: translateY(0);
}

.card .data {
  position: absolute;
  bottom: 0;
  width: 100%;
  transform: translateY(calc(70px + 6em));
  transition: transform 0.3s;
}
.card .data .content {
  padding: 1em;
  position: relative;
  z-index: 1;
}
.card .author {
  font-size: 12px;
}

.card .text {
  margin: 0;
  font-size: 15px;
  color: var(--lightMode-clr-primary);
}
.card input[type="checkbox"] {
  display: none;
}
.card input[type="checkbox"]:checked + .menu-content {
  transform: translateY(-60px);
}

.example-2 .wrapper {
  background: url(/Picture/todoapp.png) top/cover no-repeat;
}
.example-3 .wrapper {
  background: url(/Picture/tenzies.png) top/cover no-repeat;
}
.example-4 .wrapper {
  background: url(/Picture/usersApp.png) top/cover no-repeat;
}
.example-5 .wrapper {
  background: url(/Picture/age-calculator.png) top/cover no-repeat;
}
.example .wrapper:hover .menu-content span {
  opacity: 1;
}
.example .header {
  color: var(--white-color);
  padding: 1em;
}
.example .header::before,
.example .header::after {
  content: "";
  display: table;
}
.example .header::after {
  clear: both;
}

.example .menu-content li {
  margin: 0 5px;
  position: relative;
}
.example .menu-content span {
  transition: all 0.3s;
  opacity: 0;
}
.example .data {
  color: var(--lightMode-clr-sec);
  background-color: var(--white-color);
}
.example .title a {
  color: var(--lightMode-clr-primary);
}

/* -----------------------------------Projects End--------------------------------------------- */

/* -----------------------------------buttons--------------------------------------------- */

.btn-facebook > span {
  background: #3b5998;
}

/*Gmail*/
.btn-gmail:hover > i,
.btn-gmail:focus > i {
  color: #dd4b39;
}

.btn-gmail > span {
  background: #dd4b39;
}

.btn-linkedin > span {
  background: #007bb6;
}

/*github*/
.btn-github:hover > i,
.btn-github:focus > i {
  color: var(--black-color);
}

.btn-github > span {
  background: var(--black-color);
}

.back-to-top-btn {
  position: fixed;
  display: inline;
  right: 20px;
  cursor: pointer;
  bottom: 15px;
  z-index: 99;
}
.back-to-top-btn i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--lightMode-clr-sec);
  color: var(--lightBlue-bg-color);
  transition: all 0.4s;
}
.back-to-top-btn i:hover {
  background-color: var(--lightBlue-bg-color);
  color: var(--lightMode-clr-sec);
}
/* -----------------------------------buttons End--------------------------------------------- */

/* -----------------------------------Footer Start-------------------------------------------- */
.footer-container {
  padding: 20px;
  color: var(--light-bg-color);
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--black-color);
}

/* -----------------------------------Footer End-------------------------------------------- */
/* -----------------------------------Additional styles & Media Query-------------------------------------------- */

.slide-to-right {
  animation-duration: 1.1s;
  animation-name: slide-to-right;
  opacity: 1;
}

@keyframes slide-to-right {
  0% {
    transform: translatex(1000px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
.slide-to-lift {
  animation-duration: 1.1s;
  animation-name: slide-to-lift;
  opacity: 1;
}

@keyframes slide-to-lift {
  0% {
    transform: translatex(-1000px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
.transparent-bg {
  background-color: transparent;
  transition: all 0.2s;
  border: none;
}
.d-none {
  display: none !important;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
    padding: 0 20px;
  }
}

@media (max-width: 1200px) {
  .container {
    max-width: 1140px;
    padding: 0 20px;
  }
  .dark-mode-btn-container {
    margin-right: -10px;
  }
  .main-menu {
    margin-right: 10px;
  }
}
@media (max-width: 1140px) {
}

@media (max-width: 991px) {
  .container {
    max-width: 720px;
    padding: 0 20px;
  }

  .header-container {
    flex-direction: column;
  }

  .content-header {
    width: 100%;
    text-align: center;
    margin-bottom: 2em;
  }

  .header-img-container {
    width: 100%;
    height: 450px;
    margin-bottom: 2em;
  }

  .about-container {
    flex-direction: column-reverse;
  }

  .about-social-container {
    width: 100%;
    margin-bottom: 2em;
  }

  .about-content-container {
    width: 100%;
    margin-bottom: 2em;
  }

  .more-info-container {
    flex-direction: column;
  }

  .experiences {
    width: 95%;
    margin-bottom: 2em;
  }

  .skills-container {
    width: 90%;
    margin-bottom: 2em;
  }

  .row {
    grid-template-columns: repeat(2, 1fr);
  }

  .fa {
    font-size: 14px;
  }

  .about-soial-links li .a-icon {
    width: 35px;
    height: 35px;
  }

  .a-text {
    font-size: 14px;
  }
}

@media (max-width: 560px) {
  .about-soial-links ul {
    flex-direction: column;
  }

  .about-soial-links li {
    width: 100%;
    margin-bottom: 15px;
  }

  .row {
    grid-template-columns: repeat(1, 1fr);
  }

  .back-to-top-btn {
    right: 5px;
  }

  .back-to-top-btn i {
    font-size: 20px;
    width: 30px;
    height: 35px;
  }
}
