/**
* Template Name: DevFolio - v4.1.0
* Template URL: https://bootstrapmade.com/devfolio-bootstrap-portfolio-html-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    background-color: #000000;
    color: #999999;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    padding: .75rem 1.25rem;
    background-color: #B00000;
    color: #FFFFFF;
    font-weight: 600;
    border-radius: 0 0 6px 0;
}

    .skip-link:focus {
        left: 0;
        color: #FFFFFF;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #D0D0D0;
}

a {
    color: #F10000;
    text-decoration: none;
}

    a:hover {
        color: #D0D0D0;
        text-decoration: none;
    }

    a:focus {
        outline: 2px solid #D0D0D0;
        outline-offset: 4px;
        transition: all 0.1s ease-in-out;
    }

.work-img a:focus {
    outline-offset: -5px;
}

.p-r {
    position: relative;
}

.color-a {
    text-decoration: none;
    color: #E50000;
}

.color-d {
    color: #000000;
}

.color-text-a {
    text-decoration: none;
    color: #999999;
}

.box-shadow, .paralax-mf, .service-box, .work-box, .card-blog {
    box-shadow: 0 13px 8px -10px rgba(0, 0, 0, 0.1);
}

.box-shadow-a, .button:hover {
    text-decoration: none;
    box-shadow: 0 0 0 4px #2D0000;
}

.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;
}

.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;
}

@media (max-width: 1024px) {
    .bg-image {
        background-attachment: scroll;
    }
}

.overlay-mf {
    background-color: #E50000;
}

.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: #D0D0D0;
    font-size: 1.1rem;
}

/*--/ Counters /--*/
.count-box {
    margin-bottom: 1.5rem;
    padding: 1.75rem 1rem;
    text-align: center;
    background-color: #050505;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    transition: all .3s;
}

    .count-box:hover {
        border-color: #B00000;
        transform: translateY(-2px);
    }

    .count-box .title-s {
        display: block;
        font-size: 1.6rem;
        line-height: 1;
        color: #E50000;
        margin-bottom: .6rem;
    }

    .count-box .purecounter {
        display: block;
        font-size: 2.75rem;
        font-weight: 700;
        line-height: 1;
        color: #FFFFFF;
    }

    .count-box .count-label {
        display: block;
        margin-top: .5rem;
        font-size: .8rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #A8A8A8;
    }

/*--/ Title A /--*/
.title-box {
    margin-bottom: 4rem;
}

.title-a {
    text-decoration: none;
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
}

.subtitle-a {
    text-decoration: none;
    color: #B0B0B0;
}

.line-mf {
    width: 40px;
    height: 5px;
    background-color: #E50000;
    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: #E50000;
        width: 100px;
        bottom: -12px;
    }

/*------/ Box /------*/
.box-pl2 {
    padding-left: 2rem;
}

.box-shadow-full {
    padding: 3rem 1.25rem;
    position: relative;
    background-color: #050505;
    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);
}

@media (min-width: 768px) {
    .box-shadow-full {
        padding: 3rem;
    }
}

/*------/ Socials /------*/
.socials {
    padding: 1.5rem 0;
}

.socials .ico-circle a{
    display:flex;
    justify-content:center;
}

    .socials ul li {
        display: inline-block;
        margin-bottom: 1em;
    }

    .socials .ico-circle {
        height: 40px;
        width: 40px;
        font-size: 1.2rem;
        border-radius: 50%;
        line-height: 2.4rem;
        margin: 0 15px 0 0;
        box-shadow: 0 0 0 3px #E50000;
    }

        .socials .ico-circle:hover {
            background-color: #E50000;
            color: #FFFFFF;
            box-shadow: 0 0 0 3px #2D0000;
            transition: all 500ms ease;
        }

            .socials .ico-circle:hover a {
                color: #FFFFFF;
            }

    /*------/ Ul resect /------*/
    .ul-resect, .socials ul, .list-ico, .blog-wrapper .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: #E50000;
        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 #E50000;
    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: #2D0000;
            border: 0px solid #2D0000;
            display: block;
            transition: all 0.6s ease-in-out;
            cursor: pointer;
        }

        .owl-theme .owl-dots .owl-dot:hover span {
            background-color: #2D0000;
        }

        .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: #E50000;
        opacity: .7;
        font-size: 1.6rem;
        line-height: 1.5;
        text-align: center;
        color: #FFFFFF;
        top: auto;
        left: auto;
        right: 30px;
        bottom: 50px;
        cursor: pointer;
        border-radius: 50%;
    }

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: #B00000;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    transition: all 0.4s;
}

    .back-to-top i {
        font-size: 28px;
        color: #D0D0D0;
        line-height: 0;
    }

    .back-to-top:hover {
        background: #D0D0D0;
        color: #B00000;
    }

        .back-to-top:hover i {
            color: #B00000;
        }


    .back-to-top.active {
        visibility: visible;
        opacity: 1;
    }

/*------/ Prelaoder /------*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #000000;
}

    #preloader:before {
        content: "";
        position: fixed;
        top: calc(50% - 30px);
        left: calc(50% - 30px);
        border: 6px solid #f2f2f2;
        border-top: 6px solid #E50000;
        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% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    transition: all 0.5s;
    z-index: 997;
    padding: 20px 0;
}

    #header .logo {
        font-size: 28px;
        margin: 0;
        padding: 0;
        font-weight: 600;
        letter-spacing: 1px;
    }

        #header .logo a {
            color: #FFFFFF;
        }

        #header .logo img {
            max-height: 25px;
        }

    #header.header-scrolled {
        background: rgba(0, 0, 0, 0.9);
        padding: 12px 0;
    }

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
    padding: 0;
}

    .navbar ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

    .navbar li {
        position: relative;
    }

    .navbar > ul > li {
        white-space: nowrap;
        padding: 10px 0 10px 30px;
    }

    .navbar a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #D0D0D0;
        font-size: 16px;
        font-weight: 600;
        padding: 0;
        white-space: nowrap;
        transition: 0.3s;
        letter-spacing: 0.4px;
        position: relative;
        text-transform: uppercase;
    }

        .navbar a i {
            font-size: 12px;
            line-height: 0;
            margin-left: 5px;
        }

    .navbar > ul > li > a:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: -6px;
        left: 0;
        width: 0;
        background-color: #E50000;
        visibility: hidden;
        transition: all 0.3s ease-in-out 0s;
    }

    .navbar a:hover:before, .navbar li:hover > a:before, .navbar .active:before {
        visibility: visible;
        width: 80%;
    }

    .navbar a:hover, .navbar .active, .navbar li:hover > a {
        color: #D0D0D0;
    }

    .navbar .dropdown ul {
        display: block;
        position: absolute;
        left: 30px;
        top: calc(100% + 30px);
        margin: 0;
        padding: 10px 0;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        background: #D0D0D0;
        box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
        transition: 0.3s;
    }

        .navbar .dropdown ul li {
            min-width: 200px;
        }

        .navbar .dropdown ul a {
            padding: 10px 20px;
            font-size: 14px;
            text-transform: none;
            color: #999999;
        }

            .navbar .dropdown ul a i {
                font-size: 12px;
            }

            .navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
                color: #E50000;
            }

    .navbar .dropdown:hover > ul {
        opacity: 1;
        top: 100%;
        visibility: visible;
    }

    .navbar .dropdown .dropdown ul {
        top: 0;
        left: calc(100% - 30px);
        visibility: hidden;
    }

    .navbar .dropdown .dropdown:hover > ul {
        opacity: 1;
        top: 0;
        left: 100%;
        visibility: visible;
    }

@media (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }

    .navbar .dropdown .dropdown:hover > ul {
        left: -100%;
    }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
    color: #D0D0D0;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
    }
}

.navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: #000000;
    transition: 0.3s;
    z-index: 999;
}

    .navbar-mobile .mobile-nav-toggle {
        position: absolute;
        top: 15px;
        right: 15px;
    }

    .navbar-mobile ul {
        display: block;
        position: absolute;
        top: 55px;
        right: 15px;
        bottom: 15px;
        left: 15px;
        padding: 10px 0;
        background-color: #050505;
        overflow-y: auto;
        transition: 0.3s;
    }

    .navbar-mobile > ul > li {
        padding: 0;
    }

    .navbar-mobile a:hover:before, .navbar-mobile li:hover > a:before, .navbar-mobile .active:before {
        visibility: hidden;
    }

    .navbar-mobile a {
        padding: 10px 20px;
        font-size: 15px;
        color: #D0D0D0;
    }

        .navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
            color: #E50000;
        }

    .navbar-mobile .getstarted {
        margin: 15px;
    }

    .navbar-mobile .dropdown ul {
        position: static;
        display: none;
        margin: 10px 20px;
        padding: 10px 0;
        z-index: 99;
        opacity: 1;
        visibility: visible;
        background: #D0D0D0;
        box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    }

        .navbar-mobile .dropdown ul li {
            min-width: 200px;
        }

        .navbar-mobile .dropdown ul a {
            padding: 10px 20px;
        }

            .navbar-mobile .dropdown ul a i {
                font-size: 12px;
            }

            .navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
                color: #E50000;
            }

    .navbar-mobile .dropdown > .dropdown-active {
        display: block;
    }

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    height: 100vh;
    position: relative;
    color: #FFFFFF;
}

    .hero .hero-content {
        text-align: center;
        position: absolute;
    }

    .hero .overlay-itro {
        background-color: rgba(0, 0, 0, 0.6);
        position: absolute;
        top: 0;
        left: 0px;
        padding: 0;
        height: 100%;
        width: 100%;
        opacity: .9;
    }

    .hero .hero-title {
        color: #FFFFFF;
        font-weight: 600;
        font-size: 3rem;
    }

@media (min-width: 768px) {
    .hero .hero-title {
        font-size: 4.5rem;
    }
}

.hero .hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    .hero .hero-subtitle {
        font-size: 2.5rem;
    }
}

.hero .text-slider-items {
    display: none;
}

.hero-single {
    height: 350px;
}

    .hero-single .hero-content {
        margin-top: 30px;
    }

    .hero-single .hero-title {
        text-transform: uppercase;
        font-size: 3rem;
    }

@media (min-width: 768px) {
    .hero-single .hero-title {
        font-size: 3.5rem;
    }
}

.hero-single .breadcrumb {
    background-color: transparent;
    color: #E50000;
}

    .hero-single .breadcrumb .breadcrumb-item:before {
        color: #2D0000;
    }

    .hero-single .breadcrumb .breadcrumb-item.active {
        color: #2D0000;
    }

    .hero-single .breadcrumb a {
        color: #FFFFFF;
    }

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.lead {
    line-height: 1.8em;
    color: #B0B0B0;
}

.about-info p {
    margin-bottom: 0.25rem;
}

.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;
    }

@media (min-width: 767px) {
    .about-mf .box-pl2 {
        margin-top: 3rem;
        padding-left: 0rem;
    }
}

.skill-mf span {
    color: #999999;
}

.skill-mf .row {
    row-gap: 1.25rem;
}

.skill-mf-block + .skill-mf-block {
    margin-top: 3rem;
}

.skill-mf-group {
    margin: 0 0 1.5rem;
    padding-left: .75rem;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #D0D0D0;
    border-left: 3px solid #E50000;
}

.skill-mf-bit {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .75rem;
    height: 100%;
    min-height: 104px;
    padding: 1.25rem .5rem;
    text-align: center;
    background-color: #050505;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    transition: all .3s;
}

    .skill-mf-bit:hover {
        border-color: #B00000;
        transform: translateY(-2px);
    }

    .skill-mf-bit img,
    .skill-mf-bit i {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        flex: none;
    }

    .skill-mf-bit img {
        object-fit: contain;
        transition: transform .3s;
    }

    .skill-mf-bit i {
        font-size: 2rem;
        line-height: 1;
        color: #D0D0D0;
        transition: color .3s;
    }

    .skill-mf-bit:hover img {
        transform: scale(1.08);
    }

    .skill-mf-bit:hover i {
        color: #E50000;
    }

    .skill-mf-bit span {
        margin-left: 0;
        font-size: 1rem;
    }
/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.w-line-mf {
    width: 50%;
    height: 2px;
    background-color: #D0D0D0;
    margin: 1rem auto -2rem auto;
}

.work-box {
    margin-bottom: 3rem;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: #050505;
}

    .work-box .img-fluid {
        transform: scale(1);
    }

    .work-box:hover .img-fluid {
        transform: scale(1.06);
    }

.work-img a {
    display: block;
    width: 100%;
    height: 100%;
    color: #D0D0D0;
}

.work-img {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    background-color: #0a0a0a;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

    .work-img .img-fluid {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .6s ease;
        margin: 0;
    }

.work-content {
    padding: 2rem 3% 1rem 4%;
    margin: auto;
    text-align: center;
}

    .work-content .w-more {
        color: #B8B8B8;
        font-size: .85rem;
    }

        .work-content .w-more .w-ctegory {
            color: #E50000;
        }

    .work-content .w-like {
        font-size: 2.5rem;
        color: #E50000;
        float: right;
    }

        .work-content .w-like a {
            color: #E50000;
        }

        .work-content .w-like .num-like {
            font-size: .7rem;
        }

.w-title a {
    font-size: 1.3rem;
    color: #FFFFFF;
}

.work-content .w-platform {
    display: inline-block;
    color: #FFFFFF;
    background-color: #B00000;
    border-radius: 4px;
    padding: 2px 12px 3px;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: .7rem;
}

.work-content .w-platform i {
    margin-right: .35rem;
}

.work-content .w-more .w-date::before {
    content: "•";
    margin: 0 .5rem;
    color: #E50000;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 2.5rem;
}

.project-filter {
    background-color: transparent;
    border: 1px solid #B00000;
    color: #D0D0D0;
    border-radius: 30px;
    padding: .4rem 1.4rem;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all .3s;
}

.project-filter:hover,
.project-filter:focus {
    border-color: #E50000;
    color: #FFFFFF;
    outline: none;
}

.project-filter.active {
    background-color: #B00000;
    border-color: #B00000;
    color: #FFFFFF;
}

.project-filter:focus-visible {
    outline: 2px solid #E50000;
    outline-offset: 2px;
}
/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
    padding-top: 40px;
}

    .portfolio-details .portfolio-details-slider img {
        width: 100%;
    }

    .portfolio-details .portfolio-details-slider .swiper-pagination {
        margin-top: 20px;
        position: relative;
    }

        .portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
            width: 12px;
            height: 12px;
            background-color: #FFFFFF;
            opacity: 1;
            border: 1px solid #E50000;
        }

        .portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
            background-color: #E50000;
        }

    .portfolio-details .portfolio-info {
        padding: 30px;
        box-shadow: 0px 0 30px rgba(78, 78, 78, 0.08);
    }

        .portfolio-details .portfolio-info h3 {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid #eee;
        }

        .portfolio-details .portfolio-info ul {
            list-style: none;
            padding: 0;
            font-size: 15px;
        }

            .portfolio-details .portfolio-info ul li + li {
                margin-top: 10px;
            }

    .portfolio-details .portfolio-description {
        padding-top: 30px;
    }

        .portfolio-details .portfolio-description h2 {
            font-size: 26px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .portfolio-details .portfolio-description p {
            padding: 0;
        }

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonial-box {
    color: #FFFFFF;
    text-align: center;
}

    .testimonial-box .author-test {
        margin-top: 1rem;
    }

        .testimonial-box .author-test img {
            margin: 0 auto;
        }

    .testimonial-box .author {
        color: #FFFFFF;
        text-transform: uppercase;
        font-weight: 600;
        margin: 1rem 0;
        display: block;
        font-size: 1.4rem;
    }

    .testimonial-box .comit {
        font-size: 2rem;
        color: #E50000;
        background-color: #FFFFFF;
        width: 52px;
        height: 52px;
        display: block;
        margin: 0 auto;
        border-radius: 50%;
        line-height: 1.6;
    }

@media (min-width: 768px) {
    .testimonial-box .description {
        padding: 0 5rem;
    }
}

@media (min-width: 992px) {
    .testimonial-box .description {
        padding: 0 8rem;
    }
}

@media (min-width: 1200px) {
    .testimonial-box .description {
        padding: 0 13rem;
    }
}

.swiper-pagination {
    margin-top: 20px;
    position: relative;
}

    .swiper-pagination .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background-color: rgba(255, 255, 255, 0.4);
        opacity: 1;
    }

    .swiper-pagination .swiper-pagination-bullet-active {
        background-color: #FFFFFF;
    }

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.footer-paralax {
    padding: 4rem 0 0 0;
}

.contact-mf {
    margin-top: 4rem;
}

@media (min-width: 767px) {
    .contact-mf .box-pl2 {
        margin-top: 3rem;
        padding-left: 0rem;
    }
}

.php-email-form .error-message {
    display: none;
    color: #FFFFFF;
    background: #ed3c0d;
    text-align: center;
    padding: 15px;
    font-weight: 600;
}

.php-email-form .sent-message {
    display: none;
    color: #FFFFFF;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    font-weight: 600;
}

.php-email-form .loading {
    display: none;
    background: #FFFFFF;
    text-align: center;
    padding: 15px;
}

    .php-email-form .loading:before {
        content: "";
        display: inline-block;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        margin: 0 10px -6px 0;
        border: 3px solid #18d26e;
        border-top-color: #eee;
        -webkit-animation: animate-loading 1s linear infinite;
        animation: animate-loading 1s linear infinite;
    }

.php-email-form input, .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
}

    .php-email-form input:focus, .php-email-form textarea:focus {
        border-color: #E50000;
    }

.php-email-form input {
    padding: 10px 15px;
}

.php-email-form textarea {
    padding: 12px 15px;
    margin-bottom: 0;
}

.php-email-form button[type="submit"] {
    background: #E50000;
    border: 0;
    padding: 10px 24px;
    color: #FFFFFF;
    transition: 0.4s;
}

    .php-email-form button[type="submit"]:hover {
        background: #3393ff;
    }

@-webkit-keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Blog
--------------------------------------------------------------*/
.card-blog {
    margin-bottom: 0;
    height: 100%;
}

#personal-grid {
    row-gap: 1.5rem;
}

.card-blog .card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    background-color: #0a0a0a;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

    .card-blog .card-img a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .card-blog .card-img img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .6s ease;
    }

    .card-blog:hover .card-img img {
        transform: scale(1.06);
    }

.card {
    background-color: #060606;
}

.card-footer {
    background-color: #040404;
}

.card-blog .card-body {
    position: relative;
    display: flex;
    flex-direction: column;
    container-type: inline-size;
}

.card-blog .card-category-box {
    position: absolute;
    text-align: center;
    top: -16px;
    left: 15px;
    right: 15px;
    line-height: 25px;
    overflow: hidden;
}

.card-blog .card-category {
    display: inline-block;
    color: #FFFFFF;
    padding: 0 15px 5px;
    overflow: hidden;
    background-color: #B00000;
    border-radius: 4px;
}

    .card-blog .card-category .category {
        color: #FFFFFF;
        display: inline-block;
        font-weight: 600;
        text-transform: uppercase;
        font-size: .7rem;
        letter-spacing: .1px;
        margin-bottom: 0;
    }

.card-blog .card-title {
    font-size: 1.3rem;
    margin-top: .6rem;
}

    .card-blog .card-title a {
        color: #FFFFFF;
    }

/* Long titles: shrink to fit on a single line instead of wrapping */
.card-blog .card-title--fit a {
    white-space: nowrap;
    font-size: 1rem; /* fallback for browsers without container queries */
    font-size: min(1.3rem, 7cqw);
}

.card-blog .card-description {
    color: #CFCFCF;
    font-size: .9rem;
    line-height: 1.55;
    padding: .55rem .65rem;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}


.card-blog .post-author {
    display: inline-block;
}

.card-blog .post-date {
    color: #999999;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    float: none;
    margin-top: auto;
}

    .card-blog .post-date a {
        display: inline-flex;
        align-items: center;
        gap: .3rem;
        color: #E6E6E6;
        background-color: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 20px;
        padding: 3px 11px;
        font-size: .75rem;
        line-height: 1;
        transition: all .3s;
    }

        .card-blog .post-date a:hover {
            color: #FFFFFF;
            background-color: #B00000;
        }

    .card-blog .post-date a .bi {
        font-size: .85rem;
    }

/*--------------------------------------------------------------
# Blog Single
--------------------------------------------------------------*/
.post-box,
.form-comments,
.box-comments,
.widget-sidebar {
    padding: 2rem;
    background-color: #FFFFFF;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .post-box,
    .form-comments,
    .box-comments,
    .widget-sidebar {
        padding: 3rem;
    }
}

.blog-wrapper .article-title {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .blog-wrapper .article-title {
        font-size: 1.9rem;
    }
}

.blog-wrapper .post-meta {
    margin: 1rem 0;
}

    .blog-wrapper .post-meta ul {
        border-left: 4px solid #E50000;
        margin-top: 1rem;
    }

        .blog-wrapper .post-meta ul li {
            display: inline-block;
            margin-left: 15px;
        }

        .blog-wrapper .post-meta ul a {
            color: #E50000;
        }

        .blog-wrapper .post-meta ul span {
            color: #D0D0D0;
        }

.blog-wrapper .blockquote {
    border-left: 4px solid #E50000;
    padding: 18px;
    font-style: italic;
}

/*------/ 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;
}

@media (min-width: 768px) {
    .box-comments .list-comments .comment-author {
        font-size: 1.5rem;
    }
}

.box-comments .list-comments .comment-details {
    display: table-cell;
    vertical-align: top;
    padding-left: 25px;
}

.box-comments .list-comments a {
    color: #E50000;
}

.box-comments .list-comments span {
    color: #D0D0D0;
    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 #E50000;
    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: #E50000;
        top: 20px;
    }

.sidebar-search input {
    background-color: #FFFFFF;
    border-radius: 0;
    transition: all 0.5s ease-in-out;
}

.sidebar-search .btn-search {
    background-color: #E50000;
    border-color: #E50000;
    border-radius: 0;
    padding-left: 20px;
    padding-right: 20px;
}

.widget-tags ul li {
    display: inline-block;
    background-color: #E50000;
    padding: .2rem .6rem;
    margin-bottom: .5rem;
    border-radius: 15px;
}

    .widget-tags ul li a {
        color: #FFFFFF;
    }

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {
    text-align: center;
    color: #D0D0D0;
    padding: 35px 0 25px;
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

    footer .footer-socials {
        margin-bottom: 1rem;
    }

        footer .footer-socials a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            margin: 0 .25rem;
            border-radius: 50%;
            background-color: #0a0a0a;
            color: #D0D0D0;
            font-size: 1.1rem;
            transition: all .3s;
        }

            footer .footer-socials a:hover {
                background-color: #B00000;
                color: #FFFFFF;
            }

    footer .copyright {
        margin-bottom: .3rem;
    }

    footer .credits {
        margin-bottom: 0;
        font-size: .85rem;
    }

        footer .credits a {
            color: #FFFFFF;
        }

/*--------------------------------------------------------------
# Embedded game player
--------------------------------------------------------------*/
#gameModal .modal-dialog {
    max-width: min(1000px, 94vw);
}

#gameModal.portrait .modal-dialog {
    max-width: min(560px, 94vw);
}

#gameModal .modal-content {
    background-color: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

#gameModal .modal-header {
    padding: .75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#gameModal .modal-title {
    font-size: 1rem;
    color: #FFFFFF;
}

#gameModal .game-modal-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
}

#gameModal .game-open-tab {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: 3px 12px;
    font-size: .75rem;
    line-height: 1;
    color: #D0D0D0;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    transition: all .3s;
}

#gameModal .game-open-tab:hover {
    color: #FFFFFF;
    background-color: #B00000;
    border-color: #B00000;
}

#gameModal .btn-close {
    filter: invert(1) grayscale(1) brightness(1.8);
    opacity: .8;
}

#gameModal .modal-body {
    padding: 0;
}

.game-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 985 / 616;
    margin: 0 auto;
    background-color: #000000;
}

#gameModal.portrait .game-embed {
    aspect-ratio: 535 / 832;
}

.game-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
