@import url('https://fonts.googleapis.com/css2?family=Odibee+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:wght@500&family=Amatic+SC:wght@700&family=Great+Vibes&display=swap');
* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

#preloader {
    background: #000 url(images/circle-loader-gif-2.gif) no-repeat center center;
    background-size: 15%;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 100;
}


/* -----------navbar------------ */

#header {
    min-height: 100vh;
    width: 100%;
    background: #000;
    color: #fff !important;
    position: relative;
}

.container-fluid {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.logo {
    color: #fff !important;
    font-size: 30px !important;
    font-weight: bold;
    padding-top: 10px !important;
    padding-left: 10%;
    letter-spacing: 3px;
    font-family: 'Odibee Sans', cursive;
    transition: 0.5s;
    z-index: 1;
}

.navbar {
    padding-top: 0 !important;
}

.nav-links ul {
    background: #ff1616;
    border-bottom-left-radius: 18px;
}

.nav-links ul li {
    padding: 10px 30px;
    z-index: 1;
}

.nav-links ul li a {
    color: #fff !important;
    font-size: 18px;
    padding-bottom: 0px;
    z-index: 1;
}

.fa-bars {
    color: #fff;
    padding: 5px;
    font-size: 25px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #000;
    display: block;
    margin: auto;
    transition: 0.5s;
    z-index: 1;
}

.nav-links ul li:hover::after {
    width: 100%;
}

.nav-links ul li a:active {
    color: #000;
}


/* ----------header---------- */

.left-sidebar {
    width: 20%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #ff1616;
    border-bottom-right-radius: 30px;
}

.row {
    margin-top: 50px !important;
}

#left-col {
    flex-basis: 40% !important;
}

#right-col {
    flex-basis: 55% !important;
    margin-top: 30px !important;
    z-index: 1;
}

#left-col img {
    width: 80%;
    cursor: pointer;
    filter: grayscale(0);
    transition: filter 1s;
    border: 2px solid #ff1616;
    border-radius: 10px;
}

#left-col img:hover {
    filter: grayscale(1);
}

#right-col h1 {
    font-size: 50px;
    font-weight: 600;
}

#right-col p {
    color: #777;
    margin: 20px 0 70px;
}

.social-media {
    display: flex;
    margin-top: 30px;
}

.icon {
    width: 50px;
    height: 50px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-right: 30px;
    margin-bottom: 20px;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.5s;
}

.icon img {
    width: 28px;
}

.icon a {
    position: absolute;
    top: 0;
    left: 0%;
    width: 100%;
    height: 100%;
    background: #ff1616;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.5s;
}

.icon a:hover {
    opacity: 1;
}

.icon:hover {
    transform: translateY(-5px);
}


/* ------about--------- */

#about {
    padding-top: 200px;
    width: 100%;
    background: #000;
    color: #fff !important;
    padding-bottom: 100px;
}

h4 {
    font-size: 35px;
    color: #ff1616;
    font-weight: bold;
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 30px;
}

h4::after {
    content: '';
    width: 50px;
    height: 45px;
    background: linear-gradient(#ff1616, #000);
    position: absolute;
    top: -20px;
    left: 0;
    z-index: -1;
    transform: rotate(10deg);
    border-top-left-radius: 35px;
    border-bottom-right-radius: 35px;
}

.skills-bar {
    padding: 0px 50px;
}

.skills-bar p {
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 18px;
}

.progress {
    border-radius: 5px;
    margin-bottom: 40px;
    background: #fff;
}

.progress-bar {
    border-radius: 5px;
    background: #ff1616;
}


/* ---------social icons------ */

.social-icons {
    top: 50%;
    transform: translateY(-50%);
    position: sticky;
    z-index: 1;
    width: 80px;
}

.social-icons ul {
    padding: initial;
}

.social-icons ul li {
    height: 40px;
    width: 40px;
    list-style-type: none;
    padding-left: 12px;
    padding-top: 6px;
    margin-top: 6px;
    color: #fff;
    background: #ff1616;
    transition: 0.5s;
}

.social-icons ul li:hover {
    padding-left: 30px;
    width: 80px;
}


/* -------services------ */

#services {
    padding-top: 100px;
    padding-bottom: 100px;
    width: 100%;
    background: #000;
    color: #fff !important;
    margin-top: -200px;
}

.services-box {
    margin-top: 30px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
}

.services-box img {
    width: 100%;
}

.layer {
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 1s;
}

.layer:hover {
    background: linear-gradient(rgba(0, 0, 0, 0.3), #ff1616);
}

.layer h3 {
    width: 100%;
    font-weight: bold;
    color: #fff;
    font-size: 30px;
    bottom: 0;
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}

.layer:hover h3 {
    bottom: 40%;
    opacity: 1;
}


/* ------contact------ */

#contact {
    padding-top: 100px;
    padding-bottom: 100px;
    width: 100%;
    color: #fff !important;
    background: #000;
}

#contact .row {
    padding-top: 30px;
}

#contact .col-md-4 .fa {
    padding: 10px;
    font-size: 50px;
    transition: transform 0.5s;
}

#contact .col-md-4 .fa:hover {
    transform: translateY(-7px);
    color: #ff1616;
}

#contact .col-md-4 p {
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
}

.buttons {
    margin-top: 70px;
}

.buttons a {
    width: 150px;
    margin: 10px 10px;
    padding: 10px 0;
    color: #fff;
    border: 2px solid #ff1616;
    position: relative;
    z-index: 1;
    transition: color 0.5s;
}

.buttons a .fa {
    margin-right: 10px;
}

.buttons a span {
    width: 0;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #ff1616;
    z-index: -1;
    transition: 0.5s;
}

.buttons a:hover span {
    width: 100%;
}

.buttons a:hover {
    color: #fff;
}


/* ----------footer---------- */

footer {
    padding: 10px 0;
    width: 100%;
    color: #fff !important;
    background: #000;
}

footer hr {
    height: 2px !important;
    width: 90%;
    margin: 20px auto;
}

footer p {
    color: #8a8a8a;
}

.fa-heart-o {
    color: red;
}


/* ----------------------------------------contact-page---------------------------------------- */

.bannerTxt {
    font-family: 'Advent Pro', sans-serif;
    margin-top: 90px;
    letter-spacing: 3px;
    font-size: 75px;
    font-weight: 600;
}

.bannerTxt span {
    color: #ff1616;
    font-weight: 700;
    font-size: 150px;
    font-family: 'Advent Pro', sans-serif;
    letter-spacing: 5px;
}

#location-map {
    padding-top: 200px;
    width: 100%;
    background: #000;
    color: #fff !important;
    margin-top: -201px;
}

.location {
    width: 80%;
    margin: auto;
    padding: 80px 0;
}

.location iframe {
    width: 100%;
}

.contact-us {
    padding-top: 40px;
    width: 100%;
    background: #000;
    color: #fff !important;
    padding-bottom: 100px;
}

.contact-col {
    padding: 60px 80px;
}

.contact-col div {
    display: flex;
    margin-top: 50px;
}

.contact-col div .fa {
    font-size: 30px;
    color: #ff1616;
    margin: 10px;
    margin-right: 30px;
}

.contact-col div h5 {
    font-size: 20px;
    color: #555;
    font-weight: 400;
    letter-spacing: 1px;
}

.contact-col input,
.contact-col textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ff1616;
    background: transparent;
    outline: none;
}

form input[type='submit'] {
    width: 100%;
    margin: 10px auto;
    color: #fff !important;
    background: #ff1616 !important;
    position: relative;
    z-index: 1;
    font-weight: 600 !important;
    font-size: 25px;
    padding: 0px;
}


/* ----------------------------blog page----------------------------- */

#blog {
    padding-top: 100px;
    padding-bottom: 100px;
    width: 100%;
    background: #000;
    color: #fff !important;
    margin-top: -200px;
}


/* --------------------------------projects page-------------------------- */

#projects {
    padding-top: 100px;
    padding-bottom: 100px;
    width: 100%;
    background: #000;
    color: #fff !important;
    margin-top: -200px;
}

#Jsprojects {
    padding-top: 100px;
    padding-bottom: 100px;
    width: 100%;
    background: #000;
    color: #fff !important;
}

.card {
    background: #000;
    margin: 20px 10px;
    transition: 0.5s;
    border: 2px solid #ff1616;
    height: 90%;
}

.card:hover {
    transform: translateY(-10px);
}

.card-body {
    padding: 1rem;
}

.card-body h5 {
    margin-bottom: 20px;
    font-weight: 100;
    color: #ff1616;
}

.card-body p {
    color: #777;
    margin: 20px 0 10px;
}

.card .buttons {
    margin-top: 0;
}

.card .buttons a {
    font-weight: 600;
    width: 100px;
    margin: 5px 5px;
    padding: 5px 0;
    color: #fff;
    border: 2px solid #ff1616;
    outline: none;
}

.card a:hover {
    color: #000;
    background: #ff1616;
}