* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
body,html{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    background-color: var(--body-color);
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    transition: all .3s ease-in;
}
body{
    --dark-color: #173b6c;
    --light-color: #149ddd;
    --bg-color: #f5f8fd;
    --ul-color: #fff;
}
body.dark{
    --dark-color: #149ddd;
    --light-color: #149ddd;
    --bg-color: #1c222b;
    --body-color: #131923;
    --font-color:rgba(255, 255, 255, 0.7);
    --ul-color: #131923;
}
body.dark p,
body.dark h5{
    color: var(--font-color) !important;
}
body,input,textarea{
    color: var(--font-color) !important;
}
a,li,a:hover{
    text-decoration: none;
    color: inherit;
}
section{
    padding: 60px 20px;
    overflow: hidden;
}
.fix{
    clear: both;
}
/*start side-bar section*/
.side-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    z-index: 10;
    padding: 20px;
    background-color: #040b14;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.mobile_bar_icon {
    position: fixed;
    right: 15px;
    top: 15px;
    background-color: var(--light-color);
    color: #fff;
    width: 45px;
    height: 45px;
    line-height: 45px;
    font-size: 20px;
    text-align: center;
    border-radius: 50%;
    z-index: 99;
    display: none;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.dark_mode_icon {
    position: fixed;
    right: 0;
    top: 80px;
    background-color: var(--light-color);
    color: #fff;
    width: 55px;
    height: 45px;
    line-height: 44px;
    font-size: 20px;
    text-align: center;
    border-radius: 8px 0 0 8px;
    z-index: 99;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.mobile_bar_icon:hover,
.dark_mode_icon:hover{
    background-color: #1094d1;
    cursor: pointer;
}
.mobile_bar_active{
    overflow: hidden;
}
.side-bar .profile img{
    width: 120px;
    height: 120px;
    border: 8px solid #2c2f3f;
    border-radius: 50%;
    filter: saturate(1.5);
}
.side-bar .profile h5{
    color: #fff;
    margin: 20px 0;
    font-weight: bold;
    font-family: cursive;
}
.side-bar .profile ul li{
    display: inline-block;
    color: #fff;
    border-radius: 50%;
    background-color: #212431;
    margin: 0 5px;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.side-bar .profile ul li a{
    width: 35px;
    height: 35px;
    padding: 5px;
    display: inline-block;
}
.side-bar .profile ul li:hover{
    background-color: var(--light-color);
}
.side-bar .nav{
    margin: 40px 0;
}
.side-bar .nav ul li{
    font-size: 17px;
    color: #6f7180;
    padding: 16px 0;
}
.side-bar .nav ul li a:hover{
    color: #fff;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.side-bar .nav ul li i{
    margin: 0 10px;
    font-size:20px;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.side-bar .nav ul li a:hover i{
    color: var(--light-color);
}
.side-bar .nav ul li a.active{
    color: #fff;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.side-bar .nav ul li a.active i{
    color: var(--light-color);
}
.side-bar .footer p{
    color: #fff;
    font-family: sans-serif;
}
.side-bar .footer p span{
    color: var(--light-color);
}
/*end side-bar section*/
/*start home section*/
.home{
    background: url("../img/BG.webp") no-repeat top fixed;
    background-size: cover;
    height: 100vh;
}
.home:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: rgba(5, 13, 24, 0.4);
}
.home-content{
    color: #fff;
    z-index: 2;
}
.home-content h1{
    font-size: 52px;
    font-weight: 600;
    font-family: cursive;
}
.home-content p{
    font-size: 35px;
    letter-spacing: 1.5px;
    font-weight: 400;
    color: #fff;
}
.home-content .typewrite .wrap{
    border-bottom: 3px solid var(--light-color);
    padding: 3px;
}
/*end home section*/
/*start main section*/
.main{
    margin-left: 300px;
}
.main h3{
    color: var(--dark-color);
    font-weight: 700;
    font-size: 29px;
    position: relative;
    font-family: sans-serif;
}
.main h3:before{
    content: "";
    position: absolute;
    left: 0;
    bottom: -20px;
    width: 50px;
    height: 3px;
    background-color: var(--light-color);
}
.main p {
    font-family: "Open Sans";
    font-size: 18px;
    color: #272829e0;
    padding: 30px 0;
}
/*start about section*/
.about img {
    filter: saturate(2) brightness(1.02);
    width: 600px;
    margin-bottom: 30px;
}
.about ul{
    margin: 40px 0;
}
.about ul li{
    width: 50%;
    float: left;
    margin: 10px 0;
    font-family: sans-serif;
}
.about ul li:before{
    font-family: "Font Awesome 5 Free";
    content: "\f105";
    font-weight: 900;
    color: var(--light-color);
    margin-right: 7px;
}
.about ul li span{
    color: var(--dark-color);
    font-weight: bold;
    margin-right: 10px;
}
.about ul li a{
    color: var(--light-color);
}
.about p a{
    color: var(--light-color);
}
/*end about section*/
/*start skills section*/
.skills{
    background-color: var(--bg-color);
}
.progress_container .progress_row{
    position: relative;
    width: 45%;
    float: left;
    margin:20px;
}
.progress_container .progress_row .progress{
    margin: 10px 0;
    height: 10px;
    border-radius: 0;
}
.progress_container .progress_row .progress .progress-bar{
    height: 10px;
    background-color: #149ddd;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}
.progress_container .progress_row span{
    position: absolute;
    left: 0;
    top: -40px;
    margin: 10px 0;
}
.progress_container .progress_row i{
    position: absolute;
    right: 0;
    top: -40px;
    margin: 10px 0;
}
/*end skills section*/
/*start resume section*/
.resume p{
    padding: 10px 0 !important;
    margin: 0;
}
.resume .cv{
    background-color: var(--light-color);
    padding: 15px 10px;
    color: #fff !important;
    border-radius: 5px; 
    display: inline-block;
    margin: 20px 0;
    text-transform: uppercase;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.resume .cv:hover{
    background-color: #37b3ed;
}
.resume .resume_title {
    color: var(--dark-color);
    font-size: 26px;
    font-weight: bold;
    margin: 20px 0;
}
.resume .resume_content {
    border-left: 2px solid #1f5297;
    padding: 0 20px 20px;
    position: relative;
}
.resume .resume_content:before{
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #1f5297;
    position: absolute;
    top: 0;
    left: -9px;
}
.resume .resume_content h5 {
    color: #050d18;
    margin: 0;
    text-transform: uppercase;
    font-size: 18px;
    font-family: sans-serif;
    font-weight: 600;
}
.resume .resume_content ul{
    padding-left: 18px;
}
.resume .resume_content ul li {
    font-family: "Open Sans";
    font-size: 18px;
    color: #272829e0;
    padding: 5px 0;
}
.resume .resume_content span {
    background-color: var(--bg-color);
    padding: 5px 15px;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}
.resume .resume_content a{
    color: var(--light-color);
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.resume .resume_content a:hover{
    color: #007ab4;
}
/*end resume section*/
/*start portfolio section*/
.portfolio{
    background-color: var(--bg-color);
}
.portfolio .gallery_nav{
    background-color: var(--ul-color);
    border-radius: 30px;
    width: 50%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.portfolio .gallery_nav li{
    display: inline-block;
    padding: 10px;
    font-weight: 500;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.portfolio .gallery_nav li.active{
    color: var(--light-color);
}
.portfolio .gallery_nav li:hover{
    color: var(--light-color);
    cursor: pointer;
}
.portfolio .gallery{
    padding: 40px 0;
}
.portfolio .gallery li{
    display: inline-block;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 24px 0 rgb(0 0 0 / 12%);
    border-radius: 3px;
}
.portfolio .gallery li:hover{
    opacity: .9;
}
.portfolio .gallery li:hover .links{
    bottom: 0;
}
.portfolio .gallery li:hover img {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}
.portfolio .gallery li img{
    width: 350px;
    height: 245px;
    filter: saturate(2) brightness(1.02);
    -webkit-transition: all .6s ease-in-out;
    -moz-transition: all .6s ease-in-out;
    -o-transition: all .6s ease-in-out;
    transition: all .6s ease-in-out;
}
.portfolio .gallery .links{
    position: absolute;
    bottom: -44px;
    left: 0;
    width: 100%;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.portfolio .gallery .links a{
    width: 50%;
    float: left;
    text-align: center;
    background-color: rgba(20, 157, 221, 0.85);
    color: #fff;
    padding: 10px 0;
    border-right: 1px solid #a5a5a594;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.portfolio .gallery .links a.full{
    width: 100%;
}
.portfolio .gallery .links a:hover{
    background-color: rgba(20, 157, 221, 0.95);
}
.gallery_swiper {
    background-color: rgb(4, 11, 20, 99%);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}
.gallery_swiper .swiper-slide{
    margin:100px auto;
    width: 80%;
    height: 80%;
}
.gallery_swiper .swiper-slide img{
    width: 80%;
    max-height: 520px;
}
.gallery_swiper #vertical{
    max-width: 300px;
    margin-top: 70px;
}
.gallery_swiper #nomargin{
    margin: 0;
}
.swiper-button-next:after,
.swiper-container-rtl .swiper-button-prev:after {
    font-family: "Font Awesome 5 free";
    content: "\f054";
    color: #717171;
    font-weight: 600;
    font-size: 35px;
    z-index: 99;
}
.swiper-button-prev:after,
.swiper-container-rtl .swiper-button-next:after {
    font-family: "Font Awesome 5 free";
    content: "\f053";
    color: #717171;
    font-weight: 600;
    font-size: 35px;
    z-index: 99;
}
.gallery_swiper i {
    color: #a2a2a2;
    font-size: 30px;
    position: absolute;
    top: 25px;
    right: 60px;
    transition: all .3s ease-in-out;
    z-index: 99;
}
.gallery_swiper i:hover{
    color:#fff;
    cursor:pointer;
}
/*end portfolio section*/
/*start services section*/
.services i {
    color: #173b6c;
    font-size: 50px;
}
.services h5{
    font-size: 1.25rem;
    color: #272829e0;
    padding: 20px;
    font-weight: 400;
    margin-bottom: 50px;
}
/*end services section*/
/*start certificates section*/
.certificates{
    background-color: var(--bg-color);
}
.certificates .slide {
    max-width: 800px;
    max-height: 90%;
    text-align: center;
    margin: 0 auto;
    border-radius: 0.8rem;
}
.certificates #frame{
    position: relative;
	background: #fff;
	background-clip: padding-box;
	border: solid 8px transparent;
    padding: 3px;
}
.certificates #frame:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    margin: -8px; 
    border-radius: inherit; 
    background: linear-gradient(to left, var(--dark-color), var(--light-color));
}
.certificates .slide img{
    width: 100%;
    height: 100%;
    border-radius: inherit;
}
.certificates .swiper-container{
    padding: 35px 0;
}
.certificates .swiper-pagination-bullet{
    width: 12px;
    height: 12px;
    background-color: #fff;
    border: 1px solid var(--light-color);
    opacity: 1;
}
.certificates .swiper-pagination-bullet-active{
    background-color: var(--light-color);
}
/*end certificates section*/
/*start contact section*/
.contact .info {
    padding: 1px 20px 20px;
    box-shadow: 0 0 24px 0 rgb(0 0 0 / 12%);
}
.contact .info iframe{
    max-width: 100%;
    height: 290px;
}
.contact .message {
    padding: 30px 30px 50px;
    box-shadow: 0 0 24px 0 rgb(0 0 0 / 12%);
}
.contact .message label{
    font-size: 18px;
}
.contact .message input[type=submit]{
    background-color: var(--light-color);
    padding: 10px 20px;
    color: #fff;
    border-radius: 5px;
    border: none;
    outline: none; 
    margin: 33px auto;
    display: flex;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.contact .message input[type=submit]:hover{
    background-color: #37b3ed;
}
.contact .message input[type=text],
.contact .message input[type=email],
.contact .message textarea{
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    background-color: var(--bg-color);
    border: none;
}
.contact .message input[type=text],
.contact .message input[type=email]{
    height: 44px;
}
.contact ul{
    margin-top:30px;
}
.contact ul li{
    padding:5px;
}
.contact ul li h5{
    display:inline-block;
    color:#000;
}
.contact ul li p{
    color: var(--dark-color);
    font-size: 17px;
    margin-left: 50px;
    padding: 0 !important;
}
.contact ul li i{
    font-weight: 600;
    font-size: 17px;
    color: var(--light-color);
    background-color: #dff3fc;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    display: inline-block;
    margin-right:10px;
}

/*end contact section*/
/*start footer section*/
footer {
    background-color: #040b14;
    display: none;
}
footer p{
    color: #fff !important;
    font-family: sans-serif;
    margin: 0 !important;
}
footer p span{
    color: var(--light-color);
}
/*end footer section*/
/*end main section*/
/*start scroll-to-top button*/
.to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: var(--light-color);
    color: #fff;
    font-size: 20px;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    display: none;
    cursor: pointer;
    z-index: 99;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.to-top:hover{
    background-color: #1094d1;
}
/*end scroll-to-top button*/
/*start custom scrollbar*/
::-webkit-scrollbar{
    width: 10px;
}
::-webkit-scrollbar-thumb {
    background-color: var(--dark-color);
}
/*end custom scrollbar*/
/*start custom selection*/
::selection{
    background-color: var(--dark-color);
    color: #fff;
}
/*end custom selection*/

/*start loading page*/
.loading {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #040b14;
    z-index: 99999;
}
.loading .lds-heart {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  transform: rotate(45deg);
  transform-origin: 40px 40px;
  margin: 300px 0;
}
.loading .lds-heart div {
  top: 32px;
  left: 32px;
  position: absolute;
  width: 32px;
  height: 32px;
  background: var(--dark-color);
  animation: lds-heart 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}
.loading .lds-heart div:after,
.loading .lds-heart div:before {
  content: " ";
  position: absolute;
  display: block;
  width: 32px;
  height: 32px;
  background: var(--dark-color);
}
.loading .lds-heart div:before {
  left: -24px;
  border-radius: 50% 0 0 50%;
}
.loading .lds-heart div:after {
  top: -24px;
  border-radius: 50% 50% 0 0;
}

@keyframes lds-heart {
  0% {
    transform: scale(0.95);
  }
  5% {
    transform: scale(1.1);
  }
  39% {
    transform: scale(0.85);
  }
  45% {
    transform: scale(1);
  }
  60% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(0.9);
  }
}

/*end loading page*/
/*start media query*/
@media (max-width:1199px){
    .side-bar{
        left: -300px;
    }
    .mobile_bar_icon{
        display: block;
    }
    .main{
        margin-left: 0;
    }
    footer{
        display: block;
    }
    .footer{
        display: none;
    }
}
@media (min-width:1200px) {
    .container {
        max-width: 1140px;
    }
}
@media (min-width:992px) and (max-width:1199px) {
    .container {
        max-width: 960px;
    }
    .gallery_swiper .swiper-slide{
        margin: 150px auto;
    }
}
@media (min-width:768px) and (max-width:991px){
    .container{
        max-width: 720px;
    }
    .home-content h1{
        font-size: 35px;
    }
    .home-content p{
        font-size: 28px;
    }
    .progress_container .progress_row {
        width: 90%;
    }
    .portfolio .gallery_nav{
        width: 90%;
    }
    .gallery_swiper .swiper-slide {
        margin: 150px auto;
    }
    .gallery_swiper .swiper-slide img{
        width: 100%;
    }
}
@media (min-width:576px) and (max-width:767.5px) {
    .container {
        max-width: 540px;
    }
    .home-content h1{
        font-size: 35px;
    }
    .home-content p{
        font-size: 28px;
    }
    .about ul li{
        width: 100%;
    }
    .progress_container .progress_row {
        width: 90%;
    }
    .portfolio .gallery {
        padding: 40px 60px;
    }
    .gallery_swiper .swiper-slide {
        margin: 200px auto;
    }
    .gallery_swiper .swiper-slide img{
        width: 100%;
    }
}
@media (max-width:575.5px){
    .home-content h1{
        font-size: 26px;
    }
    .home-content p{
        font-size: 25px;
    }
    .about ul li{
        width: 100%;
    }
    .progress_container .progress_row {
        width: 90%;
    }
    .portfolio .gallery {
        padding: 40px 0;
    }
    .portfolio .gallery_nav {
        width: 100%;
    }
    .gallery_swiper .swiper-slide {
        margin: 250px auto;
    }
    .gallery_swiper .swiper-slide img{
        width: 100%;
    }
}
/*end media query*/