/* Google Font CDN Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
}
:root{
    --primary-color:burlywood;
    --bg-color: #232323dd;
    --bg2-color: #2323236e;
    --bg3-color: #232323cc;
    --title-color: rgb(247, 229, 205);
    --white-color:#fff;
    --hover-color:#091618;

}
body{
  font-family: 'Ubuntu', sans-serif;
  background-color: black !important;
  /* #091618; */
}
/* Custom Scroll Bar CSS */
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: rgb(39, 38, 38);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* THREE Modeal */

#c {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
}


/* navbar styling */
nav{
  position:fixed;
  width:100%;
  padding: 10px 0;
  z-index: 999;
  transition: all 0.3s ease;
}
nav.sticky{
  background: #232323cc;
  padding:0px 0px !important;
  position: fixed !important;
}
nav .navbar{
  width:90%;
  display:flex;
  justify-content: space-between;
  align-items: center;
  margin:auto;
}
nav .navbar .logo a{
  font-weight: 500;
  font-size: 35px;
  color:var(--primary-color);
}

nav.sticky .navbar .logo a{
  color:var(--white-color);
}

nav .navbar .menu{
  display:flex;
  position:relative;
}
nav .navbar .menu li{
  list-style: none;
  margin:0 10px;
}
nav .navbar .menu a{
  font-size: 18px;
  font-weight: 500;
  color:var(--primary-color);
  padding:6px 0;
  transition: all 0.4s ease;
}
.navbar .menu a:hover{
  color:var(--primary-color);
}
nav.sticky .menu a{
  color:var(--white-color);
}
nav.sticky .menu a:hover{
  color:var(--primary-color);
}
.navbar .media-icons a{
  color:var(--primary-color);
  font-size: 18px;
  margin:0 6px;
}
nav.sticky .media-icons a{
  color:var(--white-color);
}

/* side navigation Menu Button CSS */
nav .menu-btn,
.navbar .menu .cancel-btn{
  position:absolute;
  color:var(--white-color);
  right:30px;
  top:20px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: none;
}
nav .menu-btn{
  color:var(--primary-color);
}
nav.sticky .menu-btn{
  color:var(--white-color);
}
.navbar .menu .menu-btn{
  color:var(--white-color);
}

@media (max-width:850px){
  nav .navbar{
    width:90%;
  }
  nav .navbar .menu{
    position:fixed;
    left:-100%;
    top:0;
    background: #232323f5;
    height:100vh;
    max-width: 400px;
    width:100%;
    padding-top:60px;
    flex-direction: column;
    align-items:center;
    transition: all 0.5s ease;
  }
  .navbar.active .menu{
    left:0;
  }
  nav .navbar .menu a{
    font-size:23px;
    display:block;
    color:var(--white-color);
    margin:10px 0;
  }
  nav.sticky .menu a:hover{
    color:var(--primary-color);
  }
  nav .navbar .media-icons{
    display:none;
  }
  nav .menu-btn,
  .navbar .menu .cancel-btn{
    display:block;
  }
}

.scroll-button a{
  position:fixed;
  bottom:20px;
  right:20px;
  color:var(--white-color);
  background:var(--bg2-color);
  animation: bounce 1.5s infinite;
  padding:10px 10px;
  font-size: 18px;
  border-radius: 6px;
  border: 1px solid var(--primary-color);
  box-shadow: rgba(0,0,0,0.15);
  display:none;
  z-index: 10000;
}

@-webkit-keyframes bounce {
	0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);}	
	40% {-webkit-transform: translateY(-10px);}
	60% {-webkit-transform: translateY(-5px);}
}
 
@-moz-keyframes bounce {
	0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0);}
	40% {-moz-transform: translateY(-10px);}
	60% {-moz-transform: translateY(-5px);}
}
 
@-o-keyframes bounce {
	0%, 20%, 50%, 80%, 100% {-o-transform: translateY(0);}
	40% {-o-transform: translateY(-10px);}
	60% {-o-transform: translateY(-5px);}
}
@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
	40% {transform: translateY(-10px);}
	60% {transform: translateY(-5px);}
}

hr {
    width: 90%;
    margin-left: 5% !important;
    background-color: var(--primary-color);
    opacity: 0.5;
}

.l4 {
    padding: 25px 0px!important;
}

/* home section styling */
.home{
  height:100vh;
  width:100%;
  /* background:url("../images/bg.png") no-repeat; */
  background-size: cover;
  background-position: right center;
  background-attachment: fixed;
}
.home .home-content{
  width:90%;
  height:100%;
  margin:auto;
  display:flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
.home .text-one{
  font-size:25px;
  color:var(--primary-color);
}
.home .text-three{
  font-size: 40px;
  margin:5px 0;
  /* color:var(--primary-color); */
  color: var(--title-color);
}
.home .text-four{
  font-size: 23px;
  margin:5px 0;
  /* color:var(--primary-color); */
  color: var(--title-color);
}

/* About Section Styling */
section{
  padding-top:40px;
}
section .content{
  width:80%;
  margin:40px auto;
  font-family: 'Poppins', sans-serif;
}
section .title{
  display:flex;
  justify-content: center;
  margin-bottom: 40px;
}
section .title span{
  color:var(--primary-color);
  font-size: 30px;
  font-weight: 600;
  position:relative;
  padding-bottom:8px;
}
section .title span::before{
  content:'';
  position:absolute;
  height:3px;
  width:100%;
  background:var(--primary-color);
  left:0;
  bottom:0;
}
section .title span::after{
  bottom:-7px;
  width:70%;
  left:50%;
  transform:translateX(-50%);
}
.about .about-details{
  display:flex;
  justify-content:space-between;
  align-items: center;
  background-color: #091618;
}
.about .about-details .left{
  width:45%;
}
.about .left img{
  height:360px;
  width:300px;
  object-fit: cover;
  border-radius: 12px;
}
.about .about-details .right{
  width:55%;
}
section .topic{
  color:var(--primary-color);
  font-size:25px;
  font-weight: 500;
  margin-bottom: 10px;
}
.about-details .right p{
  text-align: justify;
  color:var(--primary-color);
}
section .button{
  margin:16px 0;
}
section .button button{
  outline:none;
  padding:8px 16px;
  border-radius: 4px;
  font-size: 25px;
  font-weight: 400;
  background: var(--primary-color);
  color:var(--white-color);
  border:2px solid transparent;
  cursor: pointer;
  transition: all 0.4s ease;
}
section .button button:hover{
  border-color:var(--primary-color);
  background-color: var(--white-color);
  color:var(--primary-color);
}

/* My Skills CSS */
/* .skills{
  background: linear-gradient(264deg, rgba(23,23,23,1) 0%, rgba(33,33,33,1) 49%, rgba(23,23,23,1) 100%)
} */
.skills .content{
  padding:40px 0;
}
.skills .skills-details{
  display:flex;
  justify-content: space-between;
  align-items: center;
}
.skills-details .text{
  width:50%;
}
.skills-details p{
  color:var(--primary-color);
  text-align: justify;
}
.skills .skills-details .experience{
  display:flex;
  align-items: center;
  margin:0 10px;
}
.skills-details .experience .num{
  color:var(--primary-color);
  font-size: 80px;
}
.skills-details .experience .exp{
  color:var(--primary-color);
  margin-left: 20px;
  font-size: 18px;
  font-weight: 500;
  margin:0 6px;
}
.skills-details .boxes{
  width:45%;
  display:flex;
  flex-wrap: wrap;
  justify-content:space-between;
}
.skills-details .box{
  width:calc(100% / 2 - 20px);
  margin:20px 0;
}
.skills-details .boxes .topic{
  font-size: 20px;
  color:var(--primary-color);
}
.skills-details .boxes .per{
  font-size: 60px;
  color:var(--primary-color);
}

.boxes {
    display: flex;
    justify-content: space-around;
    margin-bottom: 40px;
}

.box {
    width: fit-content;
}

.topic {
    text-align: center;
    color: var(--primary-color) !important;
}

/* Responsive Media Queries */
@media (max-width:1190px){
  section .content{
    width:85%;
  }
}
@media (max-width:1000px){
  .about .about-details{
    justify-content: center;
    flex-direction: column;
  }
  .about .about-details .left{
    display: flex;
    justify-content:center;
    width:100%;
  }
  .about .about-details .right{
    width:90%;
    margin:40px 0;
  }
  .services .boxes .box{
    margin:20px 0;
    width:calc(100% / 2 - 20px);
  }
}

@media (max-width:850px){
   .span {
     font-size: 50px !important;
   }
   .m {
     margin-left: -14px !important;
   }
   .home .text-three{
    font-size: 30px;
  }

  .skills .skills-details{
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .skills-details .text{
    width:100%;
    margin-bottom:50px;
  }
  .skills-details .boxes{
    justify-content:center;
    align-items: center;
    width:100%;
  }

  .services .boxes .box{
    margin:20px 0; 
    width:100%;
  }
}

@media (max-width:740px){
  .home-content {
    width: 80% !important;
  }
  .m {
    margin-left: -13px!important;
  }
  .span {
    font-size: 40px !important;
  }
  .home .text-three{
    font-size: 30px;
  }
  h3 {
    font-size: 20px !important;
  }
  .description {
    padding: 30px 5% !important;
  }
  .skills .content{
    padding:30px 0;
  }
  section {
    padding-top: 10px;
  }
}

@media (max-width:620px){
  .span {
    font-size: 35px !important;
  }
  .m {
    margin-left: -11px !important;
  }
}

@media (max-width:550px){
  .br {
    display: block !important;
  }
}

@media (max-width:480px){
  .boxes {
    transform: scale(0.9);
  }
  .avatar {
    width: 250px !important;
  }
}

@media (max-width:420px){
  .boxes {
    transform: scale(0.8);
  }
}

@media (max-width:360px){
  .boxes {
    transform: scale(0.7);
  }
}

 .span {
  font-size: 55px;
  font-weight: 700;
  color: #faebd7;
  z-index: 4;
}

.loader span {
  color: #faebd7;
  text-shadow: 0 0 0 rgb(226, 153, 57);
  animation: loading 2s ease-in-out infinite alternate;
}

.m {
  margin-left: -16px;
}

.br {
  display: none;
}

@keyframes loading {
  to {
    text-shadow: 20px 0 70px lightslategrey;
    color: var(--primary-color);
  }
} 

.loader span:nth-child(2) {
  animation-delay: 0.1s;
}
.loader span:nth-child(3) {
  animation-delay: 0.2s;
}
.loader span:nth-child(4) {
  animation-delay: 0.3s;
}
.loader span:nth-child(5) {
  animation-delay: 0.4s;
}
.loader span:nth-child(6) {
  animation-delay: 0.5s;
}
.loader span:nth-child(7) {
  animation-delay: 0.6s;
}
.loader span:nth-child(8) {
  animation-delay: 0.7s;
}
.loader span:nth-child(9) {
  animation-delay: 0.8s;
}

.loader span:nth-child(10) {
  animation-delay: 0.9s;
}
.loader span:nth-child(11) {
  animation-delay: 1s;
}
.loader span:nth-child(12) {
  animation-delay: 1.1s;
}
.loader span:nth-child(13) {
  animation-delay: 1.2s;
}
.loader span:nth-child(14) {
  animation-delay: 1.3s;
}
.loader span:nth-child(15) {
  animation-delay: 1.4s;
}
.loader span:nth-child(16) {
  animation-delay: 1.5s;
}
.loader span:nth-child(17) {
  animation-delay: 1.6s;
}
.loader span:nth-child(18) {
  animation-delay: 1.7s;
}
.loader span:nth-child(19) {
  animation-delay: 1.8s;
}
.loader span:nth-child(20) {
  animation-delay: 1.9s;
}
.loader span:nth-child(21) {
  animation-delay: 2s;
}
.loader span:nth-child(22) {
  animation-delay: 2.1s;
} 
.loader span:nth-child(23) {
  animation-delay: 2.2s;
} 
.loader span:nth-child(24) {
  animation-delay: 2.3s;
} 
.loader span:nth-child(25) {
  animation-delay: 2.4s;
} 
.loader span:nth-child(26) {
  animation-delay: 2.5s;
} 
.loader span:nth-child(27) {
  animation-delay: 2.6s;
} 
.background {
  position: absolute;
  height: 50%;
  top: 4;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  opacity: .5;
}

/* new style */

.green {
  margin-top: 15px;
}
.green .progress,
.red .progress,
.orange .progress {
  position: relative;
  border-radius: 50%;
}
.green .progress,
.red .progress,
.orange .progress {
  width: 125px;
  height: 125px;
}
.green .progress {
  border: 3px solid #53fc53;
}
.green .progress {
  box-shadow: 0 0 15px #029502;
}
.green .progress,
.red .progress,
.orange .progress {
  transition: all 1s ease;
}
.green .progress .inner,
.red .progress .inner,
.orange .progress .inner {
  position: absolute;
  overflow: hidden;
  z-index: 2;
  border-radius: 50%;
}
.green .progress .inner,
.red .progress .inner,
.orange .progress .inner {
  width: 120px;
  height: 120px;
}
/* .green .progress .inner,
.red .progress .inner,
.orange .progress .inner {
  border: .3px solid #1a1a1a;
} */
.green .progress .inner,
.red .progress .inner,
.orange .progress .inner {
  transition: all 1s ease;
}
.green .progress .inner .water,
.red .progress .inner .water,
.orange .progress .inner .water {
  position: absolute;
  z-index: 1;
  width: 200%;
  height: 200%;
  left: -50%;
  border-radius: 40%;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-name: spin;
  animation-name: spin;
}
.green .progress .inner .water {
  top: 25%;
}
.green .progress .inner .water {
  background: rgba(83,252,83,0.5);
}
.green .progress .inner .water,
.red .progress .inner .water,
.orange .progress .inner .water {
  transition: all 1s ease;
}
.green .progress .inner .water,
.red .progress .inner .water,
.orange .progress .inner .water {
  -webkit-animation-duration: 10s;
  animation-duration: 10s;
}
.green .progress .inner .water {
  box-shadow: 0 0 20px #03bc03;
}
.green .progress .inner .glare,
.red .progress .inner .glare,
.orange .progress .inner .glare {
  position: absolute;
  top: -120%;
  left: -120%;
  z-index: 5;
  width: 200%;
  height: 200%;
  transform: rotate(45deg);
  border-radius: 50%;
}
.green .progress .inner .glare,
.red .progress .inner .glare,
.orange .progress .inner .glare {
  background-color: rgba(255,255,255,0.15);
}
.green .progress .inner .glare,
.red .progress .inner .glare,
.orange .progress .inner .glare {
  transition: all 1s ease;
}
.green .progress .inner .percent,
.red .progress .inner .percent,
.orange .progress .inner .percent {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 50%;
  text-align: center;
}
.green .progress .inner .percent,
.red .progress .inner .percent,
.orange .progress .inner .percent {
  line-height: 120px;
  font-size: 36.3076923076923px;
}
.green .progress .inner .percent {
  color: #03c603;
}
.green .progress .inner .percent {
  text-shadow: 0 0 10px #029502;
}
.green .progress .inner .percent,
.red .progress .inner .percent,
.orange .progress .inner .percent {
  transition: all 1s ease;
}
.red {
  margin-top: 15px;
}
.red .progress {
  border: 5px solid #ed3b3b;
}
.red .progress {
  box-shadow: 0 0 20px #7a0b0b;
}
.red .progress .inner .water {
  top: 75%;
}
.red .progress .inner .water {
  background: rgba(237,59,59,0.5);
}
.red .progress .inner .water {
  box-shadow: 0 0 20px #9b0e0e;
}
.red .progress .inner .percent {
  color: #a30f0f;
}
.red .progress .inner .percent {
  text-shadow: 0 0 10px #7a0b0b;
}
.orange {
  margin-top: 15px;
}
.orange .progress {
  border: 3px solid #f07c3e;
}
.orange .progress {
  box-shadow: 0 0 15px #7e320a;
}
.orange .progress .inner .water {
  top: 50%;
}
.orange .progress .inner .water {
  background: rgba(240,124,62,0.5);
}
.orange .progress .inner .water {
  box-shadow: 0 0 20px #a0400c;
}
.orange .progress .inner .percent {
  color: #a8430d;
}
.orange .progress .inner .percent {
  text-shadow: 0 0 10px #7e320a;
}

@-webkit-keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}