:root {
    --primary: #fb3424;
    --secondary: #FFC448;
    --light: #FAFAFB;
    --dark: #12141D
}

.text-right {
    text-align: right
}

.text-right-en {
    text-align: left
}

.text-center {
    text-align: center
}

.color-primary {
    color: var(--primary)
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99
}

.homepage-slider div {
    height: 100%
}

.homepage-bg-1 {
    background-image: url(../img/profile.webp);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 200px;
    padding-bottom: 200px;
    background-size: 10%;
    height: 100vh
}

.single-homepage-slider1 {
    background-size: cover;
    background-position: center;
    background-color: #01090a;
    position: relative;
    z-index: 1
}

.single-homepage-slider1:after {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    content: "";
    z-index: -1;
    opacity: .7
}

.flex-row-reverse {
    flex-direction: row-reverse
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1
}

.btn {
    font-weight: 500;
    transition: .5s
}

.btn.btn-primary, .btn.btn-secondary {
    color: #FFF
}

.btn-square {
    width: 38px;
    height: 38px
}

.btn-sm-square {
    width: 32px;
    height: 32px
}

.btn-lg-square {
    width: 48px;
    height: 48px
}

.btn-square, .btn-sm-square, .btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400
}

.navbar.fixed-top {
    display: none;
    transition: .5s
}

.navbar .navbar-nav .nav-link {
    padding: 20px 10px;
    color: var(--dark);
    font-size: 18px;
    font-weight: 600;
    outline: none
}

.navbar .navbar-nav .nav-link:hover, .navbar .navbar-nav .nav-link.active {
    color: var(--primary)
}

.home {
    padding-top: 140px;
    background: url(../img/logo.png) right top no-repeat;
    background-size: 230px
}

.reverse {
    flex-direction: row-reverse;
    justify-content: end;
}

.no-Reverse {
    flex-direction: row;
}

@media (max-width:991.98px) {
    .navbar .navbar-nav .nav-link {
        padding: 10px 0
    }

    .reverse {
        flex-direction: column-reverse
    }

    .no-Reverse {
        flex-direction: column-reverse
    }

    .navbar-items {
        display: flex;
        flex-direction: column-reverse
    }

    .lh-base {
        padding-top: 10px
    }

    .home {
        padding-top: 0
    }
}

.contain {
    flex-direction: row-reverse;
    align-items: center
}


.image-about {
    height: 150px
}

@media (max-width:576px) {


    .contain {
        flex-direction: row
    }

    .thisReversed {
        flex-direction: column-reverse;
    }

    .navbar-items {
        display: flex;
        flex-direction: column-reverse
    }

    .image-about {
        height: 100%
    }

    .home {
        padding-top: 70px
    }
}

.img-fluid {
    width: 100%;
    height: auto;
    border-radius: 20px
}

.image-about, .img-final {
    aspect-ratio: 16 / 9;
    object-fit: cover
}

.img-fluid {
    position: relative;
    overflow: hidden
}

.img-fluid:before {
    content: '';
    display: block;
    padding-top: 56.25%
}

.img-border-sm {
    border-radius: 10px
}

.filter {
    filter: brightness(.8)
}

.typed-output-container {
    display: flex;
    align-items: center
}

#animated-number {
    transition: all 0.3s ease;
    font-size: 2rem
}

.typed-cursor {
    font-size: 30px;
    color: var(--light);
    margin-right: 5px
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary)
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFF;
    border-radius: 100%;
    transition: all 200ms
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--primary);
    border-top: 11px solid #fff0;
    border-bottom: 11px solid #fff0
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto
}

.modal-video .modal-body {
    position: relative;
    padding: 0
}

.img-final {
    width: 100%;
    height: auto
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: 400;
    color: #FFF;
    background: #000;
    opacity: 1
}

#about .years .display-1 {
    font-size: 10rem;
    line-height: 9rem
}

#about .years h5 {
    letter-spacing: 10px;
    margin-right: -30px
}

#skill .progress {
    height: 5px;
    border-radius: 5px
}

#skill .progress .progress-bar {
    width: 0;
    border-radius: 5px;
    transition: 3s
}

#skill .nav-pills .nav-link {
    color: var(--dark)
}

#skill .nav-pills .nav-link.active {
    color: #FFF
}

#skill .tab-content hr {
    width: 30px
}

.service-img {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0
}

.service-item .bg-icon {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover
}

.service-item {
    align-items: end
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid #fff0
}

#portfolio-flters li:hover, #portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary)
}

.portfolio-img {
    position: relative
}

.portfolio-btn {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgb(98 68 197 / .9);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 30px;
    padding-bottom: 100px !important;
    opacity: 0;
    transition: .5s
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
    padding-bottom: 30px !important
}

.team-item img {
    transition: .5s
}

.team-item:hover img {
    opacity: .7
}

.team-item .team-text {
    position: absolute;
    left: 0;
    right: 60px;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transition: .5s
}

.team-item:hover .team-text {
    right: 30px;
    opacity: 1
}

.team-item .team-text div {
    transition: .5s
}

.team-item:hover .team-text div {
    margin-left: 30px
}