@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

:root{
  --main-color: #1CA7EC;
  --main-darker: #1193d4;
  --dark-theme-color: black;
  --dark-complementary: white;
  --light-theme-color: white;
  --light-complementary: black;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

html{
  scroll-behavior: smooth;
}

body{
  font-family: 'Poppins', sans-serif;
}

.max-width{
  max-width: 1300px;
  padding: 0 80px;
  margin: auto;
}

div[class*="text"] span{
  color: var(--main-color);
}

section{
  padding: 100px 0;
}

section .header{
  font-family: 'Ubuntu', sans-serif;
  text-align: center;
  width: 100%;
  margin-bottom: 60px;
  position: relative;
}

section .header h2{
  font-size: 40px;
  font-weight: 500;
}

section .header h3{
  padding:0 10px;
  color: var(--main-color);
}


section .header h3:before,
section .header h3:after {
  background-color: var(--light-complementary);
  content: "";
  display: inline-block;
  height: 3px;
  position: relative;
  vertical-align: middle;
  width: 40px;
}

section .header h3:before {
  right: 0.5em;
  margin-left: -50%;
}

section .header h3:after {
  left: 0.5em;
  margin-right: -50%;
}
/************************ COMMON CSS ************************/
.about, .services, .skills, .projects, .contact, footer{
  font-family:'Poppins',sans-serif;
}

.services, .projects{
  background: var(--dark-theme-color);
  color: var(--dark-complementary);
}

.services .header h3:before,
.services .header h3:after,
.projects .header h3:before,
.projects .header h3:after{
  background-color: var(--dark-complementary);
}

.about .about-content,
.services .service-content,
.skills .skills-content,
.projects .projects-content,
.contact .contact-content{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* Common in light themes*/
.about-content .right a, .skills .skills-content .left a {
  display: inline-block;
  background-color: var(--main-color);
  cursor: pointer;
  padding: 10px 30px;
  border: 2px solid var(--main-color);
  border-radius: 5px;
  color: var(--light-theme-color);
  font-size: 20px;
  margin: 20px auto 0;

  transition: background-color 0.3s ease;
}

.about-content .right a:hover,
.skills .skills-content .left a:hover{
  color: var(--main-color);
  background: none;
}


/************************* NAVBAR CSS **************************/
.navbar{
  position: fixed;
  width: 100%;
  padding: 30px 0;
  font-family: 'Ubuntu', sans-serif;
  transition: background-color 0.5s ease;
  z-index: 999;
}

/* When it's scrolling down further*/
.navbar.sticky{
  padding: 15px 0;
  background-color: var(--main-color);
}

.navbar.sticky .logo a span{
  color: black;
}

.navbar.sticky .menu li a:hover{
  color: black;
}

.navbar .max-width{
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.navbar .logo a{
  color: white;
  font-size: 35px;
  font-weight: 600;
}

.navbar .logo a span{
  color: var(--main-color);
  transition: all 0.3s ease;
}

.navbar .menu li{
  list-style: none;
  display: inline-block;
}

.navbar .menu li a{
  display: block;
  color: white;
  font-size: 18px;
  font-weight: 500;
  margin-left: 25px;
  transition: color 0.3s ease;
}

.navbar .menu li a:hover{
  color: var(--main-color);
}

/*Menu button styling */
.menu-btn{
  color: white;
  cursor: pointer;
  font-size: 23px;
  display: none;
}

/********** BUTTON SCROLL UP *************/
.scroll-up-btn, .scroll-down-btn{
  position: fixed;
  height: 45px;
  width: 42px;
  background: var(--main-color);
  right: 30px;
  border-radius: 50%;
  text-align: center;
  line-height: 45px;
  color: white;
  z-index: 9999;
  font-size: 30px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.scroll-up-btn.show{
  bottom: 60px;
  opacity: 1;
  pointer-events: auto;
}


.scroll-down-btn.show{
  bottom: 10px;
  opacity: 1;
  pointer-events: auto;
}

.scroll-up-btn i{
  text-align: center;
}

/*********************** HOME SECTION CSS ************************/
.home{
  display: flex;
  height: 100vh;
  background-color: var(--dark-theme-color);
  color: var(--dark-complementary);
  font-family: 'Ubuntu', sans-serif;
  min-height: 500px;
}

.home .max-width{
  margin: auto 0 auto 40px;
}

.home .header h3{
  background:var(--light-theme-color);
}

.home .home-content .text-1{
  font-size: 27px;
}

.home .home-content .text-2{
  font-size: 75px;
  font-weight: 600;
  margin-left: -3px;
}

.home .home-content .text-3{
  font-size: 40px;
  margin: 5px 0;
}

.home .home-content a, .projects a{
  display: inline-block;
  background-color: var(--dark-theme-color);
  cursor: pointer;
  padding: 12px 36px;
  border: 2px solid var(--main-color);
  border-radius: 5px;
  color: var(--main-color);
  font-size: 25px;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.home .home-content a:hover{
  background-color: var(--main-color);
  color: white;
}


/*********************** ABOUT SECTION CSS ************************/

.about-content .left{
  width: 45%;
}

.about-content .left img{
  height: 400px;
  width: 400px;
  object-fit: cover;
  border-radius: 6px;
}

.about-content .right{
  width: 55%;
}

.about-content .right .text{
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 10px;
}

.about-content .right p {
  text-align: justify;
}


/********************** SERVICES CSS ***************************/

.services .service-content .card{
  width: calc(33% - 20px);
  text-align: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  border-right: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 20px 25px;
  cursor: pointer;
}

.services .service-content .card .box{
  transition: all 0.3 ease;
}

.services .service-content .card:hover {
  background-color: var(--main-color);
}

.services .service-content .card:hover i{
  color: var(--dark-complementary);
}

.services .service-content .card:hover .box{
  transform: scale(1.05);
}

.service-content .card i{
  font-size: 50px;
  color: var(--main-color);
  margin-bottom: 10px;
}

.service-content .card .text{
  font-size: 25px;
  font-weight: 500;
  margin: 10px 0 7px 0;
}

/********************** SKILLS CSS ***************************/
.skills{
  background: var(--light-theme-color);
  color: var(--light-complementary);
}

.skills .skills-content .column{
  width: calc(50% - 30px);
}

.skills .skills-content .left .text{
  color: var(--main-color);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}
.skills .skills-content .left a {
  font-size: 18px;
  padding: 8px 16px;
}
.skills .skills-content .left p{
  text-align: justify;
}

.skills .skills-content .right .bars{
  margin-bottom: 15px;
}

.skills .skills-content .right .info{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}
.skills .skills-content .right span{
  font-weight: 500;
  font-size: 18px;
}
.skills-content .right .line{
  height: 5px;
  width: 100%;
  background: lightgrey;
  position: relative;
}

.skills-content .right .line::before{
  content: "";
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
  background-color: var(--main-color);
}

.skills-content .right .html .line::before{ 
    width: 90%;
    background-color: var(--main-color);
}

.skills-content .right .css .line::before{ 
    width: 75%;
    background-color: var(--main-color);
}

.skills-content .right .javascript .line::before{ 
    width: 65%;
    background-color: var(--main-color);
}

.skills-content .right .mongodb .line::before{ 
    width: 75%;
    background-color: var(--main-color);
}

.skills-content .right .express .line::before{ 
    width: 60%;
    background-color: var(--main-color);
}

.skills-content .right .react .line::before{ 
    width: 85%;
    background-color: var(--main-color);
}

.skills-content .right .node .line::before{ 
    width: 75%;
    background-color: var(--main-color);
}

/******************* PROJECTS SECTION STYLING *******************/
.projects .carousel .card, .projects .current-project .card{
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  border-right: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 25px 35px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}

.projects .carousel .card .text, .projects .current-project .card .text{
  color: var(--main-color);
  font-size: 20px;
  font-weight: 500;
  margin: 10px 0 7px 0;
}

.projects .carousel .card:hover , .projects .current-project .card:hover{
  background-color: var(--main-color);
}

.projects .carousel .card:hover .box , .projects .current-project .card:hover .box{
  transform: scale(1.05);
}

.projects .carousel .card:hover .text, .projects .current-project .card:hover .text{
  color: var(--dark-complementary);
}

.projects .carousel .card .box, .projects .current-project .card .box{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.projects .carousel .card img, .projects .current-project .card img{
  height: 150px;
  width: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--main-color);
  transition: all 0.3s ease;
}

.projects .carousel .card:hover img, .projects .current-project .card:hover img{
  border-color: var(--dark-complementary);
}

.owl-dots{
  text-align: center;
  margin-top: 20px;
}

.owl-dot{
  height: 13px;
  width: 13px;
  outline: none !important;
  border-radius: 50%;
  border: 2px solid var(--main-color) !important;
  margin: 0 5px;
  transition: all 0.3s ease;
}


.owl-dot.active{
  width: 35px;
  border-radius: 14px;
}

.owl-dot.active, .owl-dot:hover{
  background-color: var(--main-color) !important;
}

.projects .current-project{
  margin-top: 40px;
}

.projects a:hover{
  background-color: var(--dark-complementary);
  color: var(--dark-theme-color);
}


/************************* CONTACT CSS ***********************/
.contact .contact-content .column{
  width: calc(50% - 30px);
}

.contact .contact-content .text{
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--main-color);
}

.contact .contact-content .left p{
  text-align: justify;
}


.contact .contact-content .left .icons{
  margin: 10px 0;
}

.contact .contact-content .row{
  display: flex;
  height: 65px;
  align-items: center;
}

.contact .contact-content .row .info{
  margin-left: 30px;
}

.contact .contact-content .row i{
  font-size: 30px;
  color: var(--main-color);
}

.contact .contact-content .info .head{
  font-weight: 500;
}

.contact .contact-content .info .sub-title{
  opacity: 0.75;
}

.contact .right form .fields{
  display: flex;
}
.contact .right form .field,
.contact .right form .fields .field{
  height: 45px;
  width: 100%;
  margin-bottom: 15px;
}

.contact .right form .name{
  margin-right: 10px;
}

.contact .right form .email{
  margin-left: 10px;
}

.contact .right form .field input,
.contact .right form .textarea textarea{
  height: 100%;
  width: 100%;
  border: 1px solid lightgrey;
  border-radius: 6px;
  outline: none;
  padding: 0 15px;
  font-size: 17px;
  transition: all 0.5s ease;
}

.contact .right form .textarea textarea{
  resize: none;
  padding-top: 10px;
}

.contact .right form .textarea{
  height: 80px;
  width: 100%;
}

.contact .right form .button{
  height: 50px;
  width: 100%;
}

.contact .right form .button button{
  width: 100%;
  height: 100%;
  border: 2px solid var(--main-color);
  background: var(--main-color);
  color: var(--light-theme-color);
  font-size: 20px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.5s ease;
}

.contact .right form .button button:hover{
  background: none;
  color: var(--main-color);
}

.contact .right form .field input:hover,
.contact .right form .textarea textarea:hover,
.contact .right form .field input:focus,
.contact .right form .textarea textarea:focus,
.contact .right form .field input:valid,
.contact .right form .textarea textarea:valid{
  border-color: var(--main-color);
}

/******************** FOOTER CSS *****************/
footer{
  background: var(--dark-theme-color);
  color: var(--dark-complementary);
  padding: 20px 23px;
}

footer span a{
  color: var(--main-color);
  text-decoration: none;
}

footer span a:hover{
  text-decoration: underline;
}

/***************** RESPONSIVE MEDIA QUERIES **********************/
@media (max-width: 1300px){

  .home .max-width{
    margin-left: 0px;
  }

}

@media (max-width: 1104px){

  .about .about-content .left img{
    height: 350px;
    width: 350px;
  }

}

@media (max-width: 991px){

  .max-width{
    padding: 0 50px;
  }

}

@media (max-width: 947px){

  .max-width{
    padding: 0 50px;
    max-width: 800px;
  }

  .menu-btn{
    display: block;
    z-index: 999;
  }

  .navbar .menu{
    position: fixed;
    height: 100%;
    width: 100%;
    background: var(--main-color);
    left: 0;
    top: -100%;
    text-align: center;
    padding-top: 80px;
    transition: all 0.3s ease;
  }

  .navbar .menu.active{
    top: 0;
  }

  .menu-btn i.active:before{
    content:"\f00d";
  }

  .navbar .menu li{
    display: block;
  }

  .navbar .menu li a{
    display: inline-block;
    margin: 20px 0;
    font-size: 25px;
  }

  .navbar .menu li a:hover{
    color: black;
  }

  .home .home-content .text-2{
    font-size: 70px;
  }

  .home .home-content .text-3{
    font-size: 35px;
  }

  .home .home-content a{
    font-size: 23px;
    padding: 10px 30px;
  }

  .about .about-content .column{
    width: 100%;
  }

  .about .about-content .left{
   display: flex;
   justify-content: center;
    margin: 0 auto 60px;
  }

  .about .about-content .right {
    flex: 100%;
  }

  .services .service-content .card{
    width: calc(50% - 10px);
    margin-bottom: 20px;
  }

  .services .service-content .card:last-child{
    width: 100%;
  }

  .max-width{
    max-width: 800px;
  }

  .skills .skills-content .column, .contact .contact-content .column{
    width: 100%;
    margin-bottom: 35px;
  }
}

@media (max-width: 690px){

  .max-width{
    padding: 0 23px;
  }

  .home .home-content .text-2{
    font-size: 60px;
  }

  .home .home-content .text-3{
    font-size: 32px;
  }

  .home .home-content a{
    font-size: 20px;
  }

  .services .service-content .card{
    width: 100%;
  }
}

@media (max-width: 500px){
  .home .home-content .text-2{
    font-size: 50px;
  }

  .home .home-content .text-3{
    font-size: 27px;
  }

}
