Portfolio Website HTML CSS Template
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Title</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<script src="https://code.jquery.com/jquery-3.6.3.min.js" integrity="sha256-Uv9jxBenhLL1+qzfUyxk5wrP+L5qvhwLTP60qjzTpL8=" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css">
<!-- Libraries CSS Files -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/latest/css/all.min.css" integrity="sha512-Yi+QvDkqQrwCkWQ2jWkWIEoir+x6pzl54Z2p7z89cMj5LIusMVXLfm3ocN5CDeN39xTqgeJ7Ldbf/CWkWCoqGxw==" crossorigin="anonymous" referrerpolicy="no-referrer">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css">
<link href="https://unpkg.com/ionicons@4.5.10-0/dist/css/ionicons.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.3/css/lightbox.min.css">
<!-- Main Stylesheet File -->
<link href="css/styles.css" rel="stylesheet">
</head>
<body id="page-top">
<!--/ Nav Star /-->
<nav class="navbar navbar-b navbar-trans navbar-expand-md fixed-top" id="mainNav">
<div class="container">
<a class="navbar-brand js-scroll" href="#page-top">Logo</a>
<button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#navbarDefault"
aria-controls="navbarDefault" aria-expanded="false" aria-label="Toggle navigation">
<span></span>
<span></span>
<span></span>
</button>
<div class="navbar-collapse collapse justify-content-end" id="navbarDefault">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link js-scroll active" href="#home">Home</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll" href="#about">About</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll" href="#service">Services</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll" href="#work">Work</a>
</li>
<li class="nav-item">
<a class="nav-link js-scroll" href="#contact">Contact</a>
</li>
</ul>
</div>
</div>
</nav>
<!--/ Nav End /-->
<!--/ Intro Skew Star /-->
<div id="home" class="intro route bg-image" style="background-image: url(https://www.chalmers.se/_next/image/?url=https%3A%2F%2Fcms.www.chalmers.se%2FMedia%2Fmb3hi4kn%2Fcoding-7-1920.jpg%3Fwidth%3D1920%26height%3D1080%26rnd%3D133293116108230000%26quality%3D60%26format%3Dwebp&w=3840&q=85)">
<div class="overlay-itro"></div>
<div class="intro-content display-table">
<div class="table-cell">
<div class="container">
<h1 class="intro-title mb-4">Your Name</h1>
<p class="intro-subtitle"><span class="text-slider-items">Web Developer,Full-stack Developer, Web Designer</span><strong class="text-slider"></strong></p>
</div>
</div>
</div>
</div>
<!--/ Intro Skew End /-->
<section id="about" class="about-mf sect-pt4 route">
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="box-shadow-full">
<div class="row">
<div class="col-md-6">
<div class="row">
<div class="col-sm-6 col-md-5">
<div class="about-img">
<img src="https://imageio.forbes.com/blogs-images/forbestechcouncil/files/2019/01/canva-photo-editor-8-7.jpg?height=640&width=640&fit=bounds" class="img-fluid rounded b-shadow-a" alt="">
</div>
</div>
<div class="col-sm-6 col-md-7">
<div class="about-info">
<p><span class="title-s">Name: </span> <span>Your Name</span></p>
<p><span class="title-s">Email: </span> <span>test@hotmail.com</span></p>
<p><span class="title-s">Phone: </span> <span>+1 21312321</span></p>
</div>
</div>
</div>
<div class="skill-mf">
<p class="title-s">Skills</p>
<span>HTML</span> <span class="pull-right">85%</span>
<div class="progress">
<div class="progress-bar" role="progressbar" style="width: 85%;" aria-valuenow="85" aria-valuemin="0"
aria-valuemax="100"></div>
</div>
<span>CSS</span> <span class="pull-right">85%</span>
<div class="progress">
<div class="progress-bar" role="progressbar" style="width: 85%;" aria-valuenow="85" aria-valuemin="0"
aria-valuemax="100"></div>
</div>
<span>C++</span> <span class="pull-right">85%</span>
<div class="progress">
<div class="progress-bar" role="progressbar" style="width: 85%" aria-valuenow="85" aria-valuemin="0"
aria-valuemax="100"></div>
</div>
<span>JAVASCRIPT</span> <span class="pull-right">80%</span>
<div class="progress">
<div class="progress-bar" role="progressbar" style="width: 80%" aria-valuenow="80" aria-valuemin="0"
aria-valuemax="100"></div>
</div>
<span>PHP</span> <span class="pull-right">75%</span>
<div class="progress">
<div class="progress-bar" role="progressbar" style="width: 75%" aria-valuenow="75" aria-valuemin="0"
aria-valuemax="100"></div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="about-me pt-4 pt-md-0">
<div class="title-box-2">
<h5 class="title-left">
About me
</h5>
</div>
<p class="lead">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vel luctus turpis. Ut sodales facilisis rhoncus. Quisque sed ex aliquet, ullamcorper leo ac, pellentesque tellus. Sed fringilla gravida sapien in semper. Etiam elementum, turpis at hendrerit fermentum, orci magna feugiat lectus, eget porta arcu velit in tortor. Aenean scelerisque metus erat, in cursus tortor sodales id. Morbi fermentum sed lorem quis maximus. Vivamus sem augue, laoreet at finibus non, hendrerit sit amet erat.
</p>
</div>
</div>
<div class="skill-mf">
<p class="title-s">Other Skills:</p>
<span> A - B - C - D - E - F - G - H - I - J - K</span>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!--/ Section Services Star /-->
<section id="service" class="services-mf route">
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="title-box text-center">
<h3 class="title-a">
Services
</h3>
<div class="line-mf"></div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4">
<div class="service-box">
<div class="service-ico">
<span class="ico-circle"><i class="icon ion-md-laptop"></i></span>
</div>
<div class="service-content">
<h2 class="s-title">Web Design</h2>
</div>
</div>
</div>
<div class="col-md-4">
<div class="service-box">
<div class="service-ico">
<span class="ico-circle"><i class="icon ion-md-laptop"></i></span>
</div>
<div class="service-content">
<h2 class="s-title">Web Development</h2>
</div>
</div>
</div>
<div class="col-md-4">
<div class="service-box">
<div class="service-ico">
<span class="ico-circle"><i class="icon ion-md-laptop"></i></span>
</div>
<div class="service-content">
<h2 class="s-title">Responsive Design</h2>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="paralax-mf footer-paralax bg-image sect-mt4 route" style="background-image: url(img/Lap.jpg)">
<div class="overlay-mf"></div>
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="contact-mf">
<div id="contact" class="box-shadow-full">
<div class="row">
<div class="col-md-6">
<div class="title-box-2">
<h5 class="title-left">
Send me a message
</h5>
</div>
<div>
<form action="" id="cf" method="post" role="form">
<div id="sendmessage">Your message has been sent. Thank you!</div>
<div id="errormessage"></div>
<div class="row">
<div class="col-md-12 mb-3">
<div class="form-group">
<input type="text" name="name" class="form-control" placeholder="Your Name" data-rule="minlen:4" data-msg="Please enter at least 4 chars" />
<div class="validation"></div>
</div>
</div>
<div class="col-md-12 mb-3">
<div class="form-group">
<input type="email" class="form-control" name="email" placeholder="Your Email" data-rule="email" data-msg="Please enter a valid email" />
<div class="validation"></div>
</div>
</div>
<div class="col-md-12 mb-3">
<div class="form-group">
<input type="text" class="form-control" name="subject" placeholder="Subject" data-rule="minlen:4" data-msg="Please enter at least 8 chars of subject" />
<div class="validation"></div>
</div>
</div>
<div class="col-md-12 mb-3">
<div class="form-group">
<input class="form-control" name="message" rows="5" data-rule="required" placeholder="Message" />
<div class="validation"></div>
</div>
</div>
<div class="col-md-12">
<button type="submit" name="submit" class="button button-a button-big button-rouded">Submit</button>
</div>
</div>
</form>
</div>
</div>
<div class="col-md-6">
<div class="title-box-2 pt-4 pt-md-0">
<h5 class="title-left">
Get in Touch
</h5>
</div>
<div class="more-info">
<p class="lead">
For any inquiries, do not hesitate to contact me!
</p>
<ul class="list-ico">
<li><span class="ion-ios-location"></span> Address</li>
<li><span class="ion-ios-telephone"></span> +1 213123123</li>
<li><span class="ion-email"></span> test@hotmail.com</li>
</ul>
</div>
<div class="socials">
<ul>
<li><a href='#'><span class="ico-circle"><i class="ion-social-linkedin"></i></span></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<footer>
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="copyright-box">
<p class="copyright">© All Rights Reserved</p>
</div>
</div>
</div>
</div>
</footer>
</section>
<script src="https://code.jquery.com/jquery-3.6.3.min.js" integrity="sha256-Uv9jxBenhLL1+qzfUyxk5wrP+L5qvhwLTP60qjzTpL8=" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-migrate-3.4.1.min.js" integrity="sha256-KsRjqSIvQznv43EKdppYBn6tNtGKSQp7D4qU2P8N/uY=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js" integrity="sha384-wHNqQXa6a5X6i67C4GvKNiiOUa7M7VYkPStStjqO5jWrGGIC8dQjNIlWZq8Aysu+" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jY3zHTnfnHGOMHu1vUPEN8C9zFveqN+" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/easing/3.0.0/easing.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/waypoints/4.0.1/jquery.waypoints.min.js" integrity="sha512-SJ2Kfkzp69PgNOUuhWh8lvzjohnnoPCNKnrOEoMaPtCL8z4HTtW/xPtOQSZKpFN0UFbU/DG2bm3s2zM8FFIlcA==" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/CounterUp/2.3.0/jquery.counterup.min.js" integrity="sha512-eZYtkXONaC9By3XGZ/PN4PNac4rN3tK8upQ9U9jR73HGjXup0YXF+r+r0CFhi2Dn24y8U8B8ZXaGQCv73yA==" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js" integrity="sha512-hzTunOHHWha0HxhiiSXL4UWCBRa/TCZCrsc5xwKJqFsLf/GJ2zBV/ONuDX9WcusnYbE7AWem/qEtqDM7DjvwTlw==" crossorigin="anonymous"></script>
<script type="text/javascript">
if(window.history.replaceState){
window.history.replaceState(null, null, window.location.href);
}
</script>
<script src="js/main.js"></script>
</body>
</html>
styles.css
body {
background-color: #f5f5f5;
color: #4e4e4e;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: #1e1e1e;
}
a {
color: #1e1e1e;
transition: all 0.5s ease-in-out;
}
a:hover {
color: #0078ff;
text-decoration: none;
transition: all 0.5s ease-in-out;
}
.p-r {
position: relative;
}
.color-a {
color: #0078ff;
}
.color-d {
color: #f5f5f5;
}
.color-text-a {
color: #4e4e4e;
}
.box-shadow,
.paralax-mf,
.service-box,
.work-box,
.box-shadow-a,
.button:hover {
box-shadow: 0 0 0 4px #cde1f8;
}
.display-5 {
font-size: 2.5rem;
font-weight: 300;
line-height: 1.1;
}
.display-6 {
font-size: 2rem;
font-weight: 300;
line-height: 1.1;
}
.bl{
background-color:black;
}
.avatar {
width: 32px;
height: 32px;
margin-right: 4px;
overflow: hidden;
}
.bg-image {
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
background-position: center center;
}
.overlay-mf {
background-color: #0078ff;
}
.overlay-mf {
position: absolute;
top: 0;
left: 0px;
padding: 0;
height: 100%;
width: 100%;
opacity: .7;
}
.paralax-mf {
position: relative;
padding: 8rem 0;
}
.display-table {
width: 100%;
height: 100%;
display: table;
}
.table-cell {
display: table-cell;
vertical-align: middle;
}
/*--/ Sections /--*/
.sect-4 {
padding: 4rem 0;
}
.sect-pt4 {
padding-top: 4rem;
}
.sect-mt4 {
margin-top: 4rem;
}
/*--/ Title s /--*/
.title-s {
font-weight: 600;
color: #1e1e1e;
font-size: 1.1rem;
}
/*--/ Title A /--*/
.title-box {
margin-bottom: 4rem;
}
.title-a {
font-size: 3rem;
font-weight: bold;
text-transform: uppercase;
}
.subtitle-a {
color: #4e4e4e;
}
.line-mf {
width: 40px;
height: 5px;
background-color: #0078ff;
margin: 0 auto;
}
/*--/ Title Left /--*/
.title-box-2 {
margin-bottom: 3rem;
}
.title-left {
font-size: 2rem;
position: relative;
}
.title-left:before {
content: '';
position: absolute;
height: 3px;
background-color: #0078ff;
width: 100px;
bottom: -12px;
}
/*------/ Box /------*/
.box-pl2 {
padding-left: 2rem;
}
.box-shadow-full {
padding: 3rem 1.25rem;
position: relative;
background-color: #fff;
margin-bottom: 3rem;
z-index: 2;
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.06), 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}
/*------/ Socials /------*/
.socials {
padding: 1.5rem 0;
}
.socials ul li {
display: inline-block;
}
.socials .ico-circle {
height: 40px;
width: 40px;
font-size: 1.7rem;
border-radius: 50%;
line-height: 1.4;
margin: 0 15px 0 0;
box-shadow: 0 0 0 3px #0078ff;
transition: all 500ms ease;
}
.socials .ico-circle:hover {
background-color: #0078ff;
color: #fff;
box-shadow: 0 0 0 3px #cde1f8;
transition: all 500ms ease;
}
/*------/ Ul resect /------*/
.ul-resect,
.socials ul,
.list-ico,
.post-meta ul,
.box-comments .list-comments,
.widget-sidebar .list-sidebar,
.widget-tags ul {
list-style: none;
padding-left: 0;
margin-bottom: 0;
}
.list-ico {
line-height: 2;
}
.list-ico span {
color: #0078ff;
margin-right: 10px;
}
/*------/ Ico Circle /------*/
.ico-circle {
height: 100px;
width: 100px;
font-size: 2rem;
border-radius: 50%;
line-height: 1.55;
margin: 0 auto;
text-align: center;
box-shadow: 0 0 0 10px #0078ff;
display: block;
}
/*------/ Owl Carousel /------*/
.owl-theme .owl-dots {
text-align: center;
margin-top: 18px;
}
.owl-theme .owl-dots .owl-dot {
display: inline-block;
}
.owl-theme .owl-dots .owl-dot span {
width: 18px;
height: 7px;
margin: 5px 5px;
background: #cde1f8;
border: 0px solid #cde1f8;
display: block;
transition: all 0.6s ease-in-out;
cursor: pointer;
}
.owl-theme .owl-dots .owl-dot:hover span {
background-color: #cde1f8;
}
.owl-theme .owl-dots .owl-dot.active span {
background-color: #1B1B1B;
width: 25px;
}
/*--/ Scrolltop s /--*/
.scrolltop-mf {
position: relative;
display: none;
}
.scrolltop-mf span {
z-index: 999;
position: fixed;
width: 42px;
height: 42px;
background-color: #0078ff;
opacity: .7;
font-size: 1.6rem;
line-height: 1.5;
text-align: center;
color: #fff;
top: auto;
left: auto;
right: 30px;
bottom: 50px;
cursor: pointer;
border-radius: 50%;
}
/* Back to top button */
.back-to-top {
position: fixed;
display: none;
background: #0078ff;
color: #fff;
width: 44px;
height: 44px;
text-align: center;
line-height: 1;
font-size: 16px;
border-radius: 50%;
right: 15px;
bottom: 15px;
transition: background 0.5s;
z-index: 11;
}
.back-to-top i {
padding-top: 12px;
color: #fff;
}
/* Prelaoder */
#preloader {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 9999;
overflow: hidden;
background: #fff;
}
#preloader:before {
content: "";
position: fixed;
top: calc(50% - 30px);
left: calc(50% - 30px);
border: 6px solid #f2f2f2;
border-top: 6px solid #0078ff;
border-radius: 50%;
width: 60px;
height: 60px;
-webkit-animation: animate-preloader 1s linear infinite;
animation: animate-preloader 1s linear infinite;
}
@-webkit-keyframes animate-preloader {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes animate-preloader {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
/*======================================
//--//--> NAVBAR
======================================*/
.navbar-b {
transition: all .5s ease-in-out;
background-color: transparent;
padding-top: 1.563rem;
padding-bottom: 1.563rem;
}
.navbar-b.navbar-reduce {
box-shadow: 0px 6px 9px 0px rgba(0, 0, 0, 0.06);
}
.navbar-b.navbar-trans .nav-item,
.navbar-b.navbar-reduce .nav-item {
position: relative;
padding-right: 10px;
padding-left: 0;
}
.navbar-b.navbar-trans .nav-link,
.navbar-b.navbar-reduce .nav-link {
color: #fff;
text-transform: uppercase;
font-weight: 600;
}
.navbar-b.navbar-trans .nav-link:before,
.navbar-b.navbar-reduce .nav-link:before {
content: '';
position: absolute;
margin-left: 0px;
width: 0%;
bottom: 0;
left: 0;
height: 2px;
transition: all 500ms ease;
}
.navbar-b.navbar-trans .nav-link:hover,
.navbar-b.navbar-reduce .nav-link:hover {
color: #1B1B1B;
}
.navbar-b.navbar-trans .nav-link:hover:before,
.navbar-b.navbar-reduce .nav-link:hover:before {
width: 35px;
}
.navbar-b.navbar-trans .show > .nav-link:before,
.navbar-b.navbar-trans .active > .nav-link:before,
.navbar-b.navbar-trans .nav-link.show:before,
.navbar-b.navbar-trans .nav-link.active:before,
.navbar-b.navbar-reduce .show > .nav-link:before,
.navbar-b.navbar-reduce .active > .nav-link:before,
.navbar-b.navbar-reduce .nav-link.show:before,
.navbar-b.navbar-reduce .nav-link.active:before {
width: 35px;
}
.navbar-b.navbar-trans .nav-link:before {
background-color: #fff;
}
.navbar-b.navbar-trans .nav-link:hover {
color: #fff;
}
.navbar-b.navbar-trans .show > .nav-link,
.navbar-b.navbar-trans .active > .nav-link,
.navbar-b.navbar-trans .nav-link.show,
.navbar-b.navbar-trans .nav-link.active {
color: #fff;
}
.navbar-b.navbar-reduce {
transition: all .5s ease-in-out;
background-color: #fff;
padding-top: 15px;
padding-bottom: 15px;
}
.navbar-b.navbar-reduce .nav-link {
color: #0078ff;
}
.navbar-b.navbar-reduce .nav-link:before {
background-color: #0078ff;
}
.navbar-b.navbar-reduce .nav-link:hover {
color: #0078ff;
}
.navbar-b.navbar-reduce .show > .nav-link,
.navbar-b.navbar-reduce .active > .nav-link,
.navbar-b.navbar-reduce .nav-link.show,
.navbar-b.navbar-reduce .nav-link.active {
color: #0078ff;
}
.navbar-b.navbar-reduce .navbar-brand {
color: #0078ff;
}
.navbar-b.navbar-reduce .navbar-toggler span {
background-color: #1B1B1B;
}
.navbar-b .navbar-brand {
color: #fff;
font-size: 1.6rem;
font-weight: 600;
}
.navbar-b .navbar-nav .dropdown-item.show .dropdown-menu,
.navbar-b .dropdown.show .dropdown-menu,
.navbar-b .dropdown-btn.show .dropdown-menu {
-webkit-transform: translate3d(0px, 0px, 0px);
transform: translate3d(0px, 0px, 0px);
visibility: visible !important;
}
.navbar-b .dropdown-menu {
margin: 1.12rem 0 0;
border-radius: 0;
}
.navbar-b .dropdown-menu .dropdown-item {
padding: .7rem 1.7rem;
transition: all 500ms ease;
}
.navbar-b .dropdown-menu .dropdown-item:hover {
background-color: #0078ff;
color: #fff;
transition: all 500ms ease;
}
.navbar-b .dropdown-menu .dropdown-item.active {
background-color: #0078ff;
}
/*--/ Hamburger Navbar /--*/
.navbar-toggler {
position: relative;
}
.navbar-toggler:focus,
.navbar-toggler:active {
outline: 0;
}
.navbar-toggler span {
display: block;
background-color: #fff;
height: 3px;
width: 25px;
margin-top: 4px;
margin-bottom: 4px;
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
left: 0;
opacity: 1;
}
.navbar-toggler span:nth-child(1),
.navbar-toggler span:nth-child(3) {
transition: -webkit-transform .35s ease-in-out;
transition: transform .35s ease-in-out;
transition: transform .35s ease-in-out, -webkit-transform .35s ease-in-out;
}
.navbar-toggler:not(.collapsed) span:nth-child(1) {
position: absolute;
left: 12px;
top: 10px;
-webkit-transform: rotate(135deg);
transform: rotate(135deg);
opacity: 0.9;
}
.navbar-toggler:not(.collapsed) span:nth-child(2) {
height: 12px;
visibility: hidden;
background-color: transparent;
}
.navbar-toggler:not(.collapsed) span:nth-child(3) {
position: absolute;
left: 12px;
top: 10px;
-webkit-transform: rotate(-135deg);
transform: rotate(-135deg);
opacity: 0.9;
}
/*======================================
//--//--> INTRO
======================================*/
.intro {
height: 100vh;
position: relative;
color: #fff;
}
.intro .intro-content {
text-align: center;
position: absolute;
}
.intro .overlay-itro {
background-color: rgba(0, 0, 0, 0.6);
position: absolute;
top: 0;
left: 0px;
padding: 0;
height: 100%;
width: 100%;
opacity: .9;
}
.intro .intro-title {
color: #fff;
font-weight: 600;
font-size: 3rem;
}
.intro .intro-subtitle {
font-size: 1.5rem;
font-weight: 300;
}
.intro .text-slider-items {
display: none;
}
.intro-single {
height: 350px;
}
.intro-single .intro-content {
margin-top: 30px;
}
.intro-single .intro-title {
text-transform: uppercase;
font-size: 3rem;
}
.intro-single .breadcrumb {
background-color: transparent;
color: #0078ff;
}
.intro-single .breadcrumb .breadcrumb-item:before {
color: #cde1f8;
}
.intro-single .breadcrumb .breadcrumb-item.active {
color: #cde1f8;
}
.intro-single .breadcrumb a {
color: #fff;
}
/*======================================
//--//--> ABOUT
======================================*/
.about-mf .box-shadow-full {
padding-top: 4rem;
padding-bottom: 4rem;
}
.about-mf .about-img {
margin-bottom: 2rem;
}
.about-mf .about-img img {
margin-left: 10px;
}
.skill-mf span {
color: #4e4e4e;
}
.skill-mf .progress {
background-color: #cde1f8;
margin: .5rem 0 1.2rem 0;
border-radius: 0;
height: .7rem;
}
.skill-mf .progress .progress-bar {
height: .7rem;
background-color: #0078ff;
}
/*======================================
//--//--> SERVICES
======================================*/
.service-box {
background-color: #fff;
padding: 2.5rem 1.3rem;
border-radius: 1rem;
margin-bottom: 3rem;
}
.service-box:hover .ico-circle {
transition: all 500ms ease;
color: #fff;
background-color: #0078ff;
box-shadow: 0 0 0 10px #cde1f8;
}
.service-box .service-ico {
margin-bottom: 1rem;
color: #1e1e1e;
}
.service-box .ico-circle {
transition: all 500ms ease;
font-size: 4rem;
}
.service-box .s-title {
font-size: 1.4rem;
text-transform: uppercase;
text-align: center;
padding: .4rem 0;
}
.service-box .s-description {
color: #4e4e4e;
}
/*======================================
//--//--> COUNTER
======================================*/
.counter-box {
color: #fff;
text-align: center;
}
.counter-ico {
margin-bottom: 1rem;
}
.counter-ico .ico-circle {
height: 60px;
width: 60px;
line-height: 1.8;
box-shadow: 0 0 0 10px #cde1f8;
}
.counter-num .counter {
font-size: 2rem;
margin-bottom: 0;
}
/*======================================
//--//--> PORTFOLIO
======================================*/
.work-box {
margin-bottom: 3rem;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
background-color: #fff;
}
.work-box:hover img {
-webkit-transform: scale(1.3);
transform: scale(1.3);
}
.work-img {
display: block;
overflow: hidden;
}
.work-img img {
transition: all 1s;
}
.work-content {
padding: 2rem 3% 1rem 4%;
}
.work-content .w-more {
color: #4e4e4e;
font-size: .8rem;
}
.work-content .w-more .w-ctegory {
color: #0078ff;
}
.work-content .w-like {
font-size: 2.5rem;
color: #0078ff;
float: right;
}
.work-content .w-like a {
color: #0078ff;
}
.work-content .w-like .num-like {
font-size: .7rem;
}
.w-title {
font-size: 1.2rem;
}
/*======================================
//--//--> TESTIMONIALS
======================================*/
.testimonials .owl-carousel .owl-item img {
width: auto;
}
.testimonial-box {
color: #fff;
text-align: center;
}
.testimonial-box .author-test {
margin-top: 1rem;
}
.testimonial-box .author-test img {
margin: 0 auto;
}
.testimonial-box .author {
color: #fff;
text-transform: uppercase;
font-weight: 600;
margin: 1rem 0;
display: block;
font-size: 1.4rem;
}
.testimonial-box .comit {
font-size: 2rem;
color: #0078ff;
background-color: #fff;
width: 52px;
height: 52px;
display: block;
margin: 0 auto;
border-radius: 50%;
line-height: 1.6;
}
/*------/ Comments /------*/
.box-comments .list-comments li {
padding-bottom: 40px;
}
.box-comments .list-comments .comment-avatar {
display: table-cell;
vertical-align: top;
}
.box-comments .list-comments .comment-avatar img {
width: 80px;
height: 80px;
}
.box-comments .list-comments .comment-author {
font-size: 1.3rem;
}
.box-comments .list-comments .comment-details {
display: table-cell;
vertical-align: top;
padding-left: 25px;
}
.box-comments .list-comments a {
color: #0078ff;
}
.box-comments .list-comments span {
color: #1e1e1e;
font-style: italic;
}
.box-comments .comment-children {
margin-left: 40px;
}
/*------/ Sidebar /------*/
.widget-sidebar .sidebar-title {
font-size: 1.6rem;
font-weight: 600;
border-left: 5px solid #0078ff;
padding-left: 15px;
text-transform: uppercase;
margin-bottom: 1.5rem;
}
.widget-sidebar .list-sidebar li {
position: relative;
padding: 6px 0 6px 24px;
}
.widget-sidebar .list-sidebar li:before {
position: absolute;
content: "";
width: 10px;
height: 1px;
left: 0;
background-color: #0078ff;
top: 20px;
}
.sidebar-search input {
background-color: #fff;
border-radius: 0;
transition: all 0.5s ease-in-out;
}
.sidebar-search .btn-search {
background-color: #0078ff;
border-color: #0078ff;
border-radius: 0;
padding-left: 20px;
padding-right: 20px;
}
.widget-tags ul li {
display: inline-block;
background-color: #0078ff;
padding: .2rem .6rem;
margin-bottom: .5rem;
border-radius: 15px;
}
.widget-tags ul li a {
color: #fff;
}
/*======================================
//--//--> CONTACT
======================================*/
.footer-paralax {
padding: 4rem 0 0 0;
}
.contact-mf {
margin-top: 4rem;
}
/*======================================
//--//--> FOOTER
======================================*/
footer {
text-align: center;
color: #fff;
padding-bottom: 4rem;
}
footer .copyright {
margin-bottom: .3rem;
}
/*======================================
//--//--> CONtaCT FORM
======================================*/
#sendmessage {
color: #0078ff;
border: 1px solid #0078ff;
display: none;
text-align: center;
padding: 15px;
font-weight: 600;
margin-bottom: 15px;
}
#errormessage {
color: red;
display: none;
border: 1px solid red;
text-align: center;
padding: 15px;
font-weight: 600;
margin-bottom: 15px;
}
#sendmessage.show,
#errormessage.show,
.show {
display: block;
}
.validation {
color: red;
display: none;
margin: 0 0 20px;
font-weight: 400;
font-size: 13px;
}
/*======================================
//--//--> BUTTON
======================================*/
.button {
display: inline-block;
padding: .3rem .6rem;
text-align: center;
vertical-align: middle;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
font-size: 1rem;
border-radius: .3rem;
border: 1px solid transparent;
transition: all 500ms ease;
cursor: pointer;
}
.button:focus {
outline: 0;
}
.button:hover {
background-color: #0062d3;
color: #fff;
transition: all 500ms ease;
}
.button-a {
background-color: #0078ff;
color: #fff;
border-color: #cde1f8;
}
.button-big {
padding: .9rem 2.3rem;
font-size: 1.2rem;
}
.button-rouded {
border-radius: 5rem;
}
.btn-lg {
padding: .5rem 1rem;
font-size: 1.25rem;
line-height: 1.5;
border-radius: .3rem;
}
@media (min-width: 577px) {
.counter-box {
margin-bottom: 1.8rem;
}
}
@media (min-width: 767px) {
.about-mf .box-pl2 {
margin-top: 3rem;
padding-left: 0rem;
}
.contact-mf .box-pl2 {
margin-top: 3rem;
padding-left: 0rem;
}
}
@media (min-width: 768px) {
.box-shadow-full {
padding: 3rem;
}
.navbar-b.navbar-trans .nav-item,
.navbar-b.navbar-reduce .nav-item {
padding-left: 10px;
}
.navbar-b.navbar-trans .nav-link:before,
.navbar-b.navbar-reduce .nav-link:before {
margin-left: 18px;
}
.intro .intro-title {
font-size: 4.5rem;
}
.intro .intro-subtitle {
font-size: 2.5rem;
}
.intro-single .intro-title {
font-size: 3.5rem;
}
.testimonial-box .description {
padding: 0 5rem;
}
.post-box,
.form-comments,
.box-comments,
.widget-sidebar {
padding: 3rem;
}
.box-comments .list-comments .comment-author {
font-size: 1.5rem;
}
}
@media (min-width: 992px) {
.testimonial-box .description {
padding: 0 8rem;
}
}
@media (min-width: 1200px) {
.testimonial-box .description {
padding: 0 13rem;
}
}
@media (max-width: 1024px) {
.bg-image {
background-attachment: scroll;
}
}
@media (max-width: 768px) {
.back-to-top {
bottom: 15px;
}
}
main.js
(function ($) {
"use strict";
var nav = $('nav');
var navHeight = nav.outerHeight();
$('.navbar-toggler').on('click', function() {
if( ! $('#mainNav').hasClass('navbar-reduce')) {
$('#mainNav').addClass('navbar-reduce');
}
})
// Preloader
$(window).on('load', function () {
if ($('#preloader').length) {
$('#preloader').delay(100).fadeOut('slow', function () {
$(this).remove();
});
}
});
// Back to top button
$(window).scroll(function() {
if ($(this).scrollTop() > 100) {
$('.back-to-top').fadeIn('slow');
} else {
$('.back-to-top').fadeOut('slow');
}
});
$('.back-to-top').click(function(){
$('html, body').animate({scrollTop : 0},1500, 'easeInOutExpo');
return false;
});
/*--/ Star ScrollTop /--*/
$('.scrolltop-mf').on("click", function () {
$('html, body').animate({
scrollTop: 0
}, 1000);
});
/*--/ Star Counter /--*/
$('.counter').counterUp({
delay: 15,
time: 2000
});
/*--/ Star Scrolling nav /--*/
$('a.js-scroll[href*="#"]:not([href="#"])').on("click", function () {
if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
if (target.length) {
$('html, body').animate({
scrollTop: (target.offset().top - navHeight + 5)
}, 1000, "easeInOutExpo");
return false;
}
}
});
// Closes responsive menu when a scroll trigger link is clicked
$('.js-scroll').on("click", function () {
$('.navbar-collapse').collapse('hide');
});
// Activate scrollspy to add active class to navbar items on scroll
$('body').scrollspy({
target: '#mainNav',
offset: navHeight
});
/*--/ End Scrolling nav /--*/
/*--/ Navbar Menu Reduce /--*/
$(window).trigger('scroll');
$(window).on('scroll', function () {
var pixels = 50;
var top = 1200;
if ($(window).scrollTop() > pixels) {
$('.navbar-expand-md').addClass('navbar-reduce');
$('.navbar-expand-md').removeClass('navbar-trans');
} else {
$('.navbar-expand-md').addClass('navbar-trans');
$('.navbar-expand-md').removeClass('navbar-reduce');
}
if ($(window).scrollTop() > top) {
$('.scrolltop-mf').fadeIn(1000, "easeInOutExpo");
} else {
$('.scrolltop-mf').fadeOut(1000, "easeInOutExpo");
}
});
/*--/ Star Typed /--*/
if ($('.text-slider').length == 1) {
var typed_strings = $('.text-slider-items').text();
var typed = new Typed('.text-slider', {
strings: typed_strings.split(','),
typeSpeed: 80,
loop: true,
backDelay: 1100,
backSpeed: 30
});
}
/*--/ Testimonials owl /--*/
$('#testimonial-mf').owlCarousel({
margin: 20,
autoplay: true,
autoplayTimeout: 4000,
autoplayHoverPause: true,
responsive: {
0: {
items: 1,
}
}
});
})(jQuery);