/************ Default Css ************/
:root{
  --primary-color: #0091ff;
  --secondary-color: #020231;
  --bg-color: #121212;
  --text-color: #b8b8b8;
  --nav-bg-color: #121212;
  --skills-bg-color: #151515;
  --project-bg-color: black;
  --btn-scrolled-color: #0091ff;
  --bg-image: "../src/assets/img/bg-dark.png";
}
.light-root{
  --primary-color: #020231;
  --secondary-color: #0091ff;
  --bg-color: #0091ff;
  --text-color: #535353;
  --nav-bg-color: #020231;
  --skills-bg-color: #020241;
  --project-bg-color: #020221;
  --btn-scrolled-color: #888;
  --bg-image: "../src/assets/img/bg-light.png";
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-color) !important;
  color: #fff !important;
  font-family: 'Centra', sans-serif !important;
}

.moodBtn {
  width: 35px !important;
  height: 35px !important;
  margin-right: 40px !important;
  text-align: center;
}

.moodBtn::before{
  width: 35px !important;
  height: 35px !important;
}

.moodBtn i{
  width: 50% !important;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  line-height: normal;
}

p, a, li, button, ul {
  margin: 0;
  padding: 0;
  line-height: normal;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

img {
  width: 100%;
  height: auto;
}

button {
  border: 0;
  background-color: transparent;
}

input:focus, textarea:focus, select:focus {
  outline: none;
}

@media (min-width:1700px) {
	main .container {
		max-width: 100%;
		padding: 0 150px;
	}
}

p.success {
	color: green;
}

p.danger {
	color: red;
}

.scroll2Top{
  background-color: var(--btn-scrolled-color);
  color: #fff;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  position: fixed;
  bottom: 2rem;
  right: 3%;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.4rem;
  transition: 0.5s ease-in-out;
  z-index: 1000;
}
.scroll2Top p{
  margin-top: 11px;
  font-size: 0.8em;
}

/************ Navbar Css ************/
nav.navbar {
  width: 100%;
  padding: 18px 0;
  position: fixed;
  top: 0;
  z-index: 9999;
  transition:  0.32s ease-in-out;
}
nav.navbar.scrolled {
  padding: 0px;
  background-color: var(--nav-bg-color);
}
nav.navbar a.navbar-brand img {
    width: 135px;
}
nav.navbar .navbar-nav .nav-link.navbar-link {
  font-weight: 400;
  color: #fff !important;
  letter-spacing: 0.8px;
  padding: 0 25px;
  font-size: 18px;
  opacity: 0.75;
}
nav.navbar .navbar-nav a.nav-link.navbar-link:hover,
nav.navbar .navbar-nav a.nav-link.navbar-link.active {
    opacity: 1;
}
span.navbar-text {
    display: flex;
    align-items: center;
}
.social-icon {
    display: flex;
    gap: 10px;
    margin: auto 20px;
}
nav.navbar .social-icon a, .moodBtn {
    width: 42px;
    height: 42px;
    background: rgba(217, 217, 217, 0.1);
    display: inline-flex;
    border-radius: 50%;
    margin-right: 6px;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-decoration: none;
}
nav.navbar .social-icon a::before, .moodBtn::before {
    content: "";
    width: 42px;
    height: 42px;
    position: absolute;
    background-color: #ffffff;
    border-radius: 50%;
    transform: scale(0);
	  transition: 0.3s ease-in-out;
}
nav.navbar .social-icon a:hover::before, .moodBtn:hover::before {
    transform: scale(1);
}
.social-icon a .fa-brands, .moodBtn i {
	width: 40%;
  color: #fff;
	z-index: 1;
	transition: 0.3s ease-in-out;
}
nav.navbar .social-icon a:hover .fa-brands, .moodBtn:hover i {
	color: var(--nav-bg-color);
}
.navbar-text button {
  font-weight: 700;
  color: #fff;
  border: 1px solid #fff;
  padding: 18px 34px;
  font-size: 18px;
  margin-left: 18px;
	position: relative;
	background-color: transparent;
	transition: 0.3s ease-in-out;
}
.navbar-text button span {
  z-index: 1;
}
.navbar-text button::before {
  content: "";
  width: 0%;
  height: 100%;
  position: absolute;
  background-color: #fff;
  left: 0;
  top: 0;
  z-index: -1;
  transition: 0.3s ease-in-out;
}
.navbar-text button:hover {
  color: var(--nav-bg-color);
}
.navbar-text button:hover::before {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
}

/************ Banner Css ************/
.banner {
  margin-top: 0;
  padding: 260px 0 100px 0;
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
.banner .tagline {
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 8px 10px;
  background: linear-gradient(90.21deg, var(--primary-color) -5.91%, var(--secondary-color) 111.58%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 20px;
  margin-bottom: 16px;
  display: inline-block;
}
.banner h1 {
  font-size: 65px;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}
.banner p {
  color: var(--text-color);
  font-size: 18px;
  letter-spacing: 0.8px;
  line-height: 1.5em;
  width: 96%;
}
.banner a {
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  margin-top: 60px;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.banner a svg {
  font-size: 25px;
  margin-left: 10px;
  transition: 0.3s ease-in-out;
  line-height: 1;
}
.banner a:hover svg {
  margin-left: 25px;
}
.banner .background-image {
  height: 100%;
  position: absolute;
  top: 0;
  z-index: -2;
}
.banner .headerImg {
  position: relative;
  bottom: 40px;
  animation: updown 3s linear infinite;
}
@keyframes updown {
    0% {
        transform: translateY(-20px);
    }
    50% {
        transform: translateY(20px);
    }
    100% {
        transform: translateY(-20px);
    }
}
.txt-rotate > .wrap {
  border-right: 0.08em solid #666;
}

/************ Skills Css ************/
.skill {
  padding: 0 0 50px 0;
  position: relative;
}
.skill-bx {
  background: var(--skills-bg-color);
  border-radius: 64px;
  text-align: center;
  padding: 60px 50px;
  margin-top: -60px;
  position: relative;
}
.skill h2 {
	font-size: 45px;
	font-weight: 700;
}
.skill p {
    color: #B8B8B8;
    font-size: 18px;
    letter-spacing: 0.8px;
    line-height: 1.5em;
    margin: 14px 0 75px 0;
}
.skill-slider {
  width: 80%;
  margin: 0 auto;
  position: relative;
}
.skill-slider .item img {
  width: 50%;
  margin: 0 auto 15px auto;
  padding: 0 10px;
}
.skill .logos{
  width: 90%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  position: absolute;
  bottom: 0;
}
.skill .logos img{
  width: 20px;
}
.background-image-left {
  top: 28%;
  position: absolute;
  bottom: 0;
  width: 40%;
  z-index: -4;
}

/************ Projects Css ************/
.project {
  padding: 80px 0;
  position: relative;
  background-color: var(--project-bg-color);
}
.project h2 {
	font-size: 45px;
	font-weight: 700;
  text-align: center;
}
.project p {
  color: #B8B8B8;
  font-size: 18px;
  letter-spacing: 0.8px;
  line-height: 1.5em;
  margin: 14px auto 30px auto;
  text-align: center;
  width: 56%;
}
.project .projects-section{
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  z-index: 5;
}
.project .nav.nav-pills .nav-item {
  width: 170px;
  margin: 7px 0;
}
.project .nav.nav-pills .nav-link {
  background-color: transparent;
  border-radius: 5px;
  padding: 12px 0;
  background-color: rgb(255 255 255 / 5%);
  color: rgb(144, 144, 144);
  border: 1px solid rgba(144, 144, 144, 0.5);
  width: 100%;
  font-size: 15px;
  letter-spacing: 0.8px;
  font-weight: 500;
  position: relative;
  transition: 0.3s ease-in-out;
  text-align: center;
  z-index: 0;
  overflow: hidden;
}
.project .nav.nav-pills .nav-link::before {
    content: "";
    position: absolute;
    width: 0;
    height: 100%;
    background: linear-gradient(90.21deg, var(--primary-color) -5.91%, var(--secondary-color) 111.58%);
    top: 0;
    left: 0;
    z-index: -1;
    transition: 0.3s ease-in-out;
}
.project .nav.nav-pills .nav-link:hover{
    color: #fff;
}
.project .nav.nav-pills .nav-link.active{
  color: #fff;
}
.project .nav.nav-pills .nav-link.active::before {
    width: 100% !important;
}
.project-row{
  width: 800px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.proj-imgbx {
  position: relative;
  background: rgba(255, 255, 2555, 0.05);
  width: 250px;
  height: 300px;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 35px;
  border: 1px solid gray;
  transition: 0.3s ease-in-out;
}
.proj-imgbx:hover {
  border: 1.5px solid;
  scale: 1.01;
  rotate: -1deg;
}
.proj-imgbx img{
  width: 100%;
  height: 45%;
}
.proj-txtx {
  padding: 8px;
}
.proj-txtx h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1em;
  margin: 15px 0px 7px 0px;
  letter-spacing: 0.8px;
}
.proj-txtx span {
  color: #B8B8B8;
  font-weight: 400;
  font-size: 12px;
  line-height: none;
}
.proj-imgbx .social-icon {
  margin: 5px;
  position: absolute;
  bottom: 8px;
}
.proj-imgbx .social-icon a .fa-brands{
  scale: 1.3;
  color: #B8B8B8;
  padding: 0px 3px;
}
.proj-imgbx .social-icon a .fa-solid{
  color: #B8B8B8;
  padding-left: 5px;
  transition: 0.3s ease-in-out;
}
.proj-imgbx .social-icon a .fa-solid:hover{
  color: #fff;
}
/************ Contact Css ************/
.contact {
  background: linear-gradient(90.21deg, #0091ff -5.91%, var(--secondary-color) 111.58%);
  padding: 60px 0 200px 0;
}
.contact img {
  width: 92%;
}
.contact h2 {
	font-size: 45px;
	font-weight: 700;
  margin-bottom: 30px;
}
.contact form input, .contact form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  color: #fff;
  margin: 0 0 8px 0;
  padding: 18px 26px;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.8px;
  transition: 0.3s ease-in-out;
}
.contact form input:focus, .contact form textarea:focus {
  background: rgba(255, 255, 255, 1);
  color: #121212;
}
.contact form input::placeholder, .contact form textarea::placeholder {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}
.contact form input:focus::placeholder, .contact form textarea:focus::placeholder {
  color: #121212;
  opacity: 0.8;
}
.contact form button {
  font-weight: 700;
  color: var(--nav-bg-color);
  background-color: #fff;
  padding: 14px 48px;
  font-size: 18px;
  margin-top: 25px;
  border-radius: 0;
  position: relative;
  transition: 0.3s ease-in-out;
}
.contact form button span {
  z-index: 1;
  position: relative;
}
.contact form button:hover {
  color: #fff;
}
.contact form button::before {
  content: "";
  background: var(--nav-bg-color);
  width: 0;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  transition: 0.3s ease-in-out;
}
.contact form button:hover::before {
  width: 100%;
}

/************ Footer Css ************/
.footer {
  padding: 0 0 50px 0;
  background-color: var(--nav-bg-color);
}
.footer img {
  width: 21%;
  margin-top: 13px;
}
.footer .text-center{
  display: flex;
  gap: 20px;
  margin-top: 30px;
}
.footer p {
  font-weight: 400;
  font-size: 14px;
  color: #B8B8B8;
  letter-spacing: 0.5px;
  margin-top: 20px;
}
.footer .social-icon a .fa-brands{
  scale: 1.7;
  color: #B8B8B8;
  padding: 0px 10px;
}
.footer .social-icon a .fa-brands:hover, .proj-imgbx .social-icon a .fa-brands:hover{
  color: #fff;
}


@media(max-width:1200px) and (min-width:1000px){
  .project .project-row {
    gap: 30px;
  }
}
@media (max-width:1000px) {
  nav.navbar{
    scale: 1.2;
  }
  nav.navbar.scrolled{
    padding: 10px 0;
  }
  nav.navbar .container{
    display: flex;
    flex-direction: column;
  }
  nav.navbar a.navbar-brand{
    margin-left: 80px;
  }
  nav.navbar .moodBtn{
    position: relative;
    top: 25px;
    right: 70px;
  }
  .scroll2Top{
    scale: 1.2;
  }
  .banner .row{
    display: flex;
    flex-direction: column;
    gap: 100px;
  }
  .banner p {
    font-size: 22px;
    width: 70vw;
  }
  .banner .headerImg {
    width: 450px;
    margin-bottom: 100px;
    position: relative;
    left: 40%;
  }
  .skill-bx{
    scale: 1.2;
    margin-bottom: 130px;
  }
  .project{
    scale: 1.2;
    width: 90%;
    margin: 100px 0;
  }
  .project .text{
    margin-bottom: 50px;
    padding-left: 80px;
  }
  .project .projects-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .project .menu {
    margin-left: 42px;
    display: flex;
    gap: 7px;
  }
  .project .project-row {
    gap: 7px;
  }
  .contact .align-items-center{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 70px;
    scale: 1.2;
    margin-top: 200px;
  }
  .contact .contact-form{
    width: 80%;
  }
  .contact .contact-img{
    width: 100%;
    text-align: center;
  }
  .contact img{
    width: 60%;
  }
  .footer .align-items-center{
    scale: 1.2;
  }
  .footer img{
    width: 31%;
  }
  .footer .text-center{
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}