/* * *******************************
    * GENERAL
* *********************************/
body {
    font-family: "Poppins", sans-serif;
    color: #748182;
    font-weight: 400;
    line-height: 1.8;
    font-size: 15px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo,
.caption {
    color: #343434;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
}

.btn {
    font-size: 12px;
}
.btn-dark,
.btn-outline-dark:hover {
    background-color: #1c1c1c;
}

.btn-dark:hover {
    color: #1c1c1c;
    background-color: #fff;
}
.bg-light {
    background-color: #f7f7f7 !important;
}
.section-heading .h1 {
    display: inline-block;
    font-weight: 900 !important;
    position: relative;
    z-index: 1;
}
.section-heading h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 30px;
    background-image: url(../img/dots.png);
    z-index: -1;
}

.fa-2x {
    font-size: 1.5rem;
}
/* * *******************************
    * Navbar
* *********************************/

.nav-link {
    color: #000;
    padding: 0;
    font-size: 14px;
}

.nav-item .active {
    position: relative;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 3px;
    background-color: #555;
    transition: width 0.5s;
}
.nav-link.active::after {
    width: 100%;
}
.navbar-expand-md .navbar-nav .nav-link {
    padding: 0;
}
.logo {
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: 800;
}
/* * *******************************
    * Header
* *********************************/

header {
    height: 100vh;
    background-image: url(../img/bg.jpg);
    background-size: cover;
}

.bg-opacity-65 {
    --bs-bg-opacity: 0.65;
}

.header-content h1,
.header-content p {
    color: #fff;
}
h1 {
    font-size: 50px;
    font-weight: 800;
}

.header-content .caption {
    font-weight: 200;
    font-size: 38px;
}

/* * ICONS */
.header-content .icon i {
    width: 35px;
    height: 35px;
}

.header-content span::after {
    content: "";
    animation: typing 7s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}
/* * *******************************
    * About Me.
* *********************************/
.dots {
    position: relative;
}
.dots::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 65%;
    height: 65%;
    background-image: url(../img/dots.png);
    z-index: -1;
}

/* * *******************************
    * Services.
* *********************************/
.icon i {
    width: 60px;
    height: 60px;
    transition: color 0.5s, background-color 0.5s;
}
.icon:hover i,
.service-item:hover .icon i,
.contact-item:hover .icon i {
    background-color: #1c1c1c !important;
    color: #fff !important;
}

/* * *******************************
    * Portfolio.
* *********************************/

.nav-pills .nav-item .nav-link {
    color: #1c1c1c;
    background-color: transparent;
    font-family: "Montserrat", sans-serif;
    margin: 0 10px;
    font-weight: 800;
    font-size: 16px;
}

.portfolio-item .icon i {
    width: 32px;
    height: 32px;
}
.portfolio-item .icon i:hover {
    color: #000 !important;
    background-color: #fff !important;
    border: 1px solid #343434;
    cursor: pointer;
}
/* * Hover effect */
.img-caption {
    text-transform: uppercase;
    width: 97%;
    height: 97%;
    margin-top: 12px;
    opacity: 0;
    transition: margin-top 0.5s ease-out, opacity 0.5s ease-out;
}

.img-caption h6 {
    margin-top: -30px;
    font-size: 16px;
    opacity: 0;
    transition: margin-top 0.5s ease-out, opacity 0.5s ease-out;
}
.img-caption .icons {
    margin-top: 30px;
    opacity: 0;
    transition: margin-top 0.7s ease-out, opacity 0.7s ease-out;
}

.img-caption:hover,
.img-caption:hover h6,
.img-caption:hover .icons {
    margin-top: 0;
    opacity: 1;
}
.img-caption:hover {
    opacity: 0.9;
}

/* * *******************************
    * CLients.
* *********************************/
.client {
    width: 80%;
    margin: auto;
}
.client img {
    width: 80px;
}
.client span {
    font-size: 12px;
}
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.carousel-indicators {
    position: static;
}

/* * *******************************
    * Blog.
* *********************************/
.tag {
    font-size: 12px;
}
.card-img {
    overflow: hidden;
}
.card-title a {
    line-height: 1.6;
}

.card-body > a {
    border-bottom: 2px solid #343434;
}

.card img {
    transition: transform 0.5s;
}
.card img:hover {
    transform: scale(1.1);
}

@media screen and (min-width: 992px) {
    .header-content .caption {
        font-size: 44px;
        margin-bottom: 20px;
    }
}
@media screen and (min-width: 1170px) {
    .header-content .caption {
        font-size: 60px;
    }
}
@media (min-width: 1400px) {
    .container,
    .container-md {
        width: 1140px;
    }
}
