* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}




/*----N A V I G A T I O N-----B A R------*/

.scroll-background {
    background-color: rgba(0, 0, 0, 0.5);
}

.icon-color {
    color: #ff305b;
}

.red-1 {
    color: red;
}

.red {
    transition: .5s;
}

.red:hover {
    color: #ff305b !important;
}

@media (max-width: 992px) {
    ul {
        text-align: center !important;
    }
}

/* ------H E A D E R------ */

header {
    background-position: center center;
    background-size: cover;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url(./img/slider/slider-01.jpg);
    height: 100vh;
}

.home-title {
    text-align: center;
    color: white;
}

.home-title h1 {
    font-weight: 600;
    font-size: 4.5rem;
    color: #ff305b;
    text-transform: uppercase;
}

.home-title p {
    font-size: 1.5rem;
}

.home-title p::after {
    content: " | ";
    animation: movements 10s infinite steps(77);
}

@media (max-width: 766px) {
    .home-title h1 {
        font-size: 2rem;
    }
}

@keyframes movements {
    1.3% {
        content: "D|";
    }

    2.6% {
        content: "De|";
    }

    3.9% {
        content: "Des|";
    }

    5.2% {
        content: "Desi|";
    }

    6.5% {
        content: "Desig|";
    }

    6.8% {
        content: "Design|";
    }

    8.1% {
        content: "Designe|";
    }

    9.4% {
        content: "Designer|";
    }

    10.7% {
        content: "Designe|";
    }

    12% {
        content: "Design|";
    }

    13.3% {
        content: "Desig|";
    }

    14.6% {
        content: "Desi|";
    }

    15.9% {
        content: "Des|";
    }

    17.2% {
        content: "De|";
    }

    18.5% {
        content: "D|";
    }

    19.8% {
        content: "|";
    }

    21.1% {
        content: "D|";
    }

    22.4% {
        content: "De|";
    }

    23.7% {
        content: "Dev|";
    }

    25% {
        content: "Deve|";
    }

    26.3% {
        content: "Devel|";
    }

    27.6% {
        content: "Develo|";
    }

    28.9% {
        content: "Develop|";
    }

    30.2% {
        content: "Develope|";
    }

    30.5% {
        content: "Developer|";
    }

    31.8% {
        content: "Develope|";
    }

    33.1% {
        content: "Develop|";
    }

    34.4% {
        content: "Develo|";
    }

    34.7% {
        content: "Devel|";
    }

    36% {
        content: "Deve|";
    }

    37.3% {
        content: "Dev|";
    }

    38.6% {
        content: "De|";
    }

    39.9% {
        content: "D|";
    }

    41.2% {
        content: "|";
    }

    42.5% {
        content: "P|";
    }

    43.8% {
        content: "Ph|";
    }

    45.1% {
        content: "Pho|";
    }

    46.4% {
        content: "Phot|";
    }

    47.7% {
        content: "Photo|";
    }

    48.9% {
        content: "Photog|";
    }

    50.2% {
        content: "Photogr|";
    }

    51.5% {
        content: "Photogra|";
    }

    52.8% {
        content: "Photograp|";
    }

    54.1% {
        content: "Photograph";
    }

    55.3% {
        content: "Photographe|";
    }

    56.6% {
        content: "Photographer|";
    }

    57.9% {
        content: "Photographe|";
    }

    59.2% {
        content: "Photograph|";
    }

    60.5% {
        content: "Photograp|";
    }

    61.8% {
        content: "Photogra|";
    }

    63.1% {
        content: "Photogr|";
    }

    64.4% {
        content: "Photog|";
    }

    65.7% {
        content: "Photo|";
    }

    67% {
        content: "Phot|";
    }

    68.3% {
        content: "Pho|";
    }

    69.6% {
        content: "Ph|";
    }

    70.9% {
        content: "P|";
    }

    72% {
        content: "|";
    }

    73.3% {
        content: "F|";
    }

    74.6% {
        content: "Fr|";
    }

    75.9% {
        content: "Fre|";
    }

    77.2% {
        content: "Free|";
    }

    78.5% {
        content: "Freel|";
    }

    79.8% {
        content: "Freela|";
    }

    81.1% {
        content: "Freelan|";
    }

    82.3% {
        content: "Freelanc|";
    }

    83.5% {
        content: "Freelance|";
    }

    84.8% {
        content: "Freelancer|";
    }

    86.1% {
        content: "Freelance|";
    }

    87.4% {
        content: "Freelanc|";
    }

    88.7% {
        content: "Freelan|";
    }

    90% {
        content: "Freel|";
    }

    91.3% {
        content: "Free|";
    }

    92.6% {
        content: "Fre|";
    }

    93.9% {
        content: "Fr|";
    }

    96% {
        content: "F|";
    }

    100% {
        content: "|";
    }
}


/* ------A B O U T------- */

#about {
    padding-top: 7rem;
    margin-bottom: 6rem;
}

.font-weight {
    font-family: initial;
}

th {
    padding-bottom: 1rem;
}

.th_1 {
    padding-left: 5rem;
}

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

.col-md-4 {
    position: relative;
}

.about-pic {
    position: relative;
}

.fw {
    font-weight: 400;
}

.pic-layout {
    border-radius: 5px;
    -webkit-box-shadow: 0 0 0 8px #555555 inset;
    box-shadow: 0 0 0 8px #555555 inset;
    width: 77%;
    padding-top: 26rem;
    margin-left: -2rem;
    margin-top: -2rem;
    position: absolute;
    z-index: -1;
}

.cust {
    position: absolute;
}

@media (max-width: 1200px) {
    .pic-layout {
        display: none;
    }
    .cust {
        position: static;
    }
}

@media (max-width: 988px) {
    th {
        display: block;
        padding-left: 0 !important;
    }
    .col-md-6 h2::before {
        content: "";
        position: absolute;
        width: .3rem;
        height: 1.4rem;
        background-color: red;
        top: 6px !important;
        left: 5px;
    }
}

.col-md-6 h2 {
    padding-left: 1rem;
    position: relative;
}

.col-md-6 h2::before {
    content: "";
    position: absolute;
    width: .3rem;
    height: 1.4rem;
    background-color: red;
    top: 10px;
    left: 5px;
}

.col-md-6 p {
    border-bottom: 1px dashed #999999;
    padding-bottom: 2rem;
}

.btn {
    margin-top: .5rem;
    background-color: #ff305b;
    margin-right: .5rem;
    border: none;
}

.btn a {
    text-decoration: none;
    color: white;
    padding: 0 .5rem;
}

.btn:hover {
    background-color: red !important;
}

/* --------S E R V I C E S----------- */

#service {
    background-color: #ededed;
    padding-top: 4rem;
    padding-bottom: 3rem;
}

.title h2 {
    text-align: center;
    font-weight: bolder;
    font-size: 2.2rem;
    position: relative;
    margin-bottom: 5rem;
}

.title h2::after {
    content: "";
    position: absolute;
    width: 25px;
    height: 5px;
    bottom: 0;
    background-color: #ff305b;
}

.title h2::before {
    content: "";
    left: 0;
    right: 0;
    bottom: -25px;
    width: 70px;
    margin: 0 auto;
    position: absolute;
    border-color: #ff305b;
    border-style: solid;
    border-width: 1px 0;
    padding: 4px 0 5px;
}

.title h2::after {
    content: "";
    left: 0;
    right: 0;
    bottom: -20px;
    height: 1px;
    width: 180px;
    margin: 0 auto;
    position: absolute;
    background-color: #ff305b;
}

.col-content {
    padding: 2rem .7rem;
}

.col-md-3:hover .col-content {
    background-color: white;
    box-shadow: 0 15px 20px rgb(0 0 0 / 10%);
}

.col-md-3:hover .icon-font{
    background-color: transparent;
    transform: scale(1.5);
}

.col-content h3 {
    font-size: 1.5rem;
}


.icon-font {
    font-size: 2rem;
    color: #ff305b;
    margin-bottom: 1rem;
}

@media (min-width: 767px) {
    .col-md-3 {
        width: 50%;
    }
}

@media (min-width: 995px) {
    .col-md-3 {
        width: 25%;
    }
    .col-content h3 {
        font-size: 1.3rem;
        font-weight: 600;
    }
}


/* ----------P O R T F O L I O---------- */

#portfolio {
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.buttons {
    text-align: center;
    margin-bottom: 4rem;
}

.buttons a {
    text-decoration: none;
    margin: 0 .7rem;
    color: #333333;
}

.red-1 {
    color: #ff305b !important;
}

.portfolio-pic {
    position: relative;
    margin: 1rem 0;
}

.over-lay {
    position: absolute;
    top: 0;
    background-color: #333333;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all .5s;
}

.over-lay:hover {
    background-color: #333333;
    opacity: .7;
}

.over-lay-icon {
    position: absolute;
    color: red;
    bottom: 20px;
    right: 20px;
}

.over-lay-icon .fa-file-image {
    font-size: 1.5rem;
}

@media (min-width: 767px) {
    .col-md-4 {
        width: 50%;
    }
}

@media (min-width: 995px) {
    .col-md-4 {
        width: 33.33333%;
    }
}

/* -------S T A T S--------- */

.stats {
    background-color: #ededed;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* --------T E S T I M O N E L--------- */

#testimonial {
    padding-top: 4rem;
    padding-bottom: 7rem;
}

.testimonel-card {
    background-color: #f1f1f1;
    padding: 2rem 2rem;
    position: relative;
}

.testimonel-card::after {
    border-color: #ff305b rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
    border-style: solid;
    border-width: 191px;
    content: "";
    height: 72px;
    width: 77px;
    left: -199px;
    position: absolute;
    top: 0;
    z-index: 1;
}

.testimonel-pic {
    position: relative;
    z-index: 2;
}

.testimonel-pic img {
    border-radius: 50%;
    width: 120px;
    margin-right: 1.5rem;
}

.testimonel-card h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.testimonel-card a {
    text-decoration: none;
    color: #555555;
}

.testimonel-card p {
    color: #555555;
}

.testimonel-review {
    color: #f1c30d;
}

.carousel-indicators [data-bs-target] {
    background-color: red;
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.carousel-indicators {
    bottom: -55px;
}

@media (max-width: 988px) {
    .col-md-8 {
        width: 100%;
    }
    .offset-md-2 {
        margin-left: 0;
    }
}

@media (max-width: 766px) {
    .testimonel-card {
        display: block !important;
    }
    .testimonel-pic {
        width: 85%;
        margin-left: auto;
    }
}

/* ------B L O G--------- */

#blog {
    background-color: #ededed;
    padding-top: 5rem;
    padding-bottom: 3rem;
}

.blog-card {
    background-color: white;
    padding-bottom: 2rem;
}

.blog-card p {
    padding-left: 1rem;
    padding-top: 1rem;
}

.blog-card h2 {
    padding-left: 1rem;
    font-size: 1.5rem;
    transition: all .5s;
}

.blog-card h2:hover {
    color: #ff305b;
}

.blog-card a {
    text-decoration: none;
    color: #333333;
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.blog-btn {
    transition: all .5s;
}

.blog-btn:hover {
    color: #ff305b;
}

@media (min-width: 767px) {
    .col-md-4 {
        width: 33%;
    }
    .blog-card h2 {
        font-size: 1rem;
        font-weight: bolder;
    }
    .blog-card p {
        color: #555555;
    }
}

@media (min-width: 995px) {
    .col-md-4 {
        width: 33.33%;
    }
}

/* ----C O N T A C T----- */

#contact {
    padding-top: 5rem;
    padding-bottom: 3rem;
}

input {
    margin: 1rem 0;
    padding: .5rem .5rem;
    outline: none;
}

input:focus {
    border: 1px solid #ff305b;
}

textarea {
    margin: 1rem 0;
    padding: 0 .5rem;
    outline: none;
}

textarea:focus {
    border: 1px solid #ff305b;
}

.form-btn {
    background-color: #ff305b;
    border: none;
    color: white;
    border-radius: 4px;
    padding: .5rem 1rem;
    transition: all .5s;
}

.form-btn:hover {
    background-color: red;
}

/* -------F O O T E R-------- */

footer {
    text-align: center;
    color: white;
    background-color: #333333;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.footer-social ul {
    list-style-type: none;
}

.footer-social li {
    display: inline-block;
    margin: 0 .7rem;
}

.footer-social a {
    color: white;
    transition: all .5s;
}

.footer-social a:hover {
    color: #ff305b;
}

.footer-name {
    text-decoration: none;
    color: red;
}

.footer-name:hover {
    color: red;
    text-decoration: underline;
}