@font-face {
    font-family: poppins;
    src: url(./assets/fonts/Poppins-Regular.ttf);
}

@font-face {
    font-family: poppinsSemi;
    src: url(./assets/fonts/Poppins-SemiBold.ttf);
}

@font-face {
    font-family: poppinsMid;
    src: url(./assets/fonts/Poppins-Medium.ttf);
}

@font-face {
    font-family: poppinsXBold;
    src: url(./assets/fonts/Poppins-ExtraBold.ttf);
}

@font-face {
    font-family: poppinsBold;
    src: url(./assets/fonts/Poppins-Bold.ttf);
}

*{
    margin: 0;
    padding: 0;
    appearance: none;
    outline: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    transition: all 0.5s ease-out;
}

html{
    font-size: 16px;
    z-index: 1;
}

body::-webkit-scrollbar {
    display: none;
}

a{
    text-decoration: none;
    color: #1e1e1e;
}

.container{
    min-height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(234, 234, 234, 1);
    /* gap: 5rem; */
}

.navbar{
    width: 100vw;
    border-bottom: 1px solid rgba(206, 206, 206, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.0rem 7rem;
    height: 100px;
}

.logo{
    display: flex;
    align-items: baseline;
}
.logo-name{
    font-family: poppinsXBold;
    font-size: 1.4rem;
}

.logo-dot, .footer-logo-dot{
    font-size: 3rem;
    position: relative;
    animation: bounce 3s linear infinite;
    font-family: poppinsXBold;
}

.footer-logo-dot{
    animation: none;
}

@keyframes bounce{
    20%,50%,80%,to{
        transform: translateY(0);
    }
    40%{
        transform: translateY(-30px);
    }
    70%{
        transform: translateY(-15px);
    }
    90%{
        transform: translateY(-10px);
    }
}

.nav-links{
    display: flex;
    width: 25vw;
    align-items: center;
    justify-content: space-between;
}

.nav-links p, .footer-links p{
    font-family: poppinsSemi;
    font-size: 1.0rem;
    color: rgba(62, 62, 62, 1);
    text-transform: capitalize;
}

.hero{
    display: flex;
    align-items: center;
    gap: 5rem;
    /* justify-content: space-between; */
    width: 100%;
    padding: 1.0rem 7rem;
    padding-bottom: 5rem;
    background: url(./assets/images/hero-bg.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 5rem;
    /* margin-top: 5rem; */
}

.hero-left{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero-left a svg{
    width: 1.9rem;
}

.hero-left a svg:hover{
    /* fill: black; */
    /* stroke: black; */
    opacity: 50%;
}

.hero-middle{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    /* width: 55vw; */
}

.mamba-picture{
    background: #1e1e1e;
    height: 100px;
    width: 100px;
    animation: mamba 5s linear infinite;
}


@keyframes mamba {
    0%{
        border-radius: 200%;
    }
    25%{
        border-radius: 50px;
    }
    50%{
        border-radius: 20px;
    }
    75%{
        border-radius: 50px;
    }
    100%{
        border-radius: 100%
    }
    
}


.mamba-name{
    font-family: poppinsXBold;
    font-size: 5rem;
    color: #1e1e1e;
    text-transform: capitalize;
}

.hero-right img{
    width: 18vw;
    height: 50vh;
}

.role{
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}

.role img{
    height: 3px;
    width: 18.5rem;
}

.role-names{
    line-height: 2.55rem;
    height: 2.55rem;
    overflow: hidden;
}

.role-names li{
    font-family: poppinsSemi;
    text-transform: capitalize;
    font-size: 1.7rem;
    color: #3e3e3e;
    position: relative;
    top: 0;
    animation: slide 28s steps(7) infinite;
}

@keyframes slide{
    100%{
        top:  -17.85rem;
    }
}

.role-names li::after{
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background: rgba(234, 234, 234, 1);
    border-left: 2px solid #3e3e3e;
    left: 0;
    animation: typing 4s steps(17) infinite;
}

@keyframes typing{
    40%,60%{
        left: calc(100% + 1.2rem);
    }
    100%{
        left: 0;
    }
}


.roles{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.role-row{
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.role-box{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #b7b7b7;
    padding: 0.6rem;
    border-radius: 0.6rem;
}

.role-name{
    font-family: poppins;
    color: #5c5c5c;
    text-transform: capitalize;
}

.intro-text{
    color: #414141;
    font-family: poppins;
    font-size: 1.2rem;
    width: 58%;
}

.hero-middle button{
    width: 17rem;
    height: 7rem;
    border: none;
    border-radius: 10px;
    color: white;
    background: #4F4F4F;
    cursor: pointer;
    outline: none;
    margin-top: 1rem;
}

.hero-middle button a{
    color: white;
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    font-family: poppinsSemi;
    font-size: 1.5rem;
    text-transform: capitalize;
}

.hero-middle button a img{
    width: 4.2rem;
}

.scroll{
    display: flex;
    align-items: center;
    gap: 1.0rem;
    padding: 1.2rem 7rem;
    margin-bottom: 5rem;
    width: 100%;
    cursor: default;
}

.scroll:hover,.mouse:hover,.scroll-text img{
    opacity: 80%;
}

.scroll-text{
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mouse{
    width: 4rem;
}

.scroll-text img{
    width: 1.4rem;
}

.scroller{
    font-size: 1.2rem;
    font-family: poppins;
    color: #414141;
    text-transform: capitalize;
    
}

.about{
    padding: 2.0rem 7rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}

.section-heading{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.heading-main{
    font-family: poppinsXBold;
    font-size: 5rem;
    color: #1e1e1e;
    text-transform: capitalize;
}

.heading-sub{
    color: #6B6B6B;
    font-size: 1.6rem;
    text-transform: capitalize;
    font-family: poppinsSemi;
}

.about-content{
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
}

.about-left img{
    width: 32vw;
    height: 75vh;
}

.about-right{
    width: 40vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
}

.facts{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.fact{
    width: 12vw;
    background: white;
    border: 1.6px solid #B7B7B7;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    height: 20vh;
}

.fact img{
    width: 1.9rem;
}

.fact-title{
    font-family: poppinsSemi;
    color: #5C5C5C;
    font-size: 1.2rem;
    text-transform: capitalize;
}

.fact-sub{
    font-family: poppins;
    color: #9B9B9B;
    font-size: 1;
    text-transform: capitalize;
}

.about-text{
    font-family: poppins;
    font-size: 1.4rem;
    color: #717171;
}

.about-right button{
    width: 20rem;
    height: 7rem;
    border: none;
    border-radius: 10px;
    color: white;
    background: #4F4F4F;
    cursor: pointer;
    outline: none;
}

.about-right button a{
    color: white;
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    font-family: poppinsSemi;
    font-size: 1.5rem;
    text-transform: capitalize;
}

.about-right button a img{
    width: 4.2rem;
}

.skills{
    padding: 2.0rem 7rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}

.skills-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    width: 80%;
}

.box-group{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.skill-box{
    border: 1.7px solid #B7B7B7;
    background: white;
    border-radius: 10px;
    padding: 1.5rem 1.8rem;
    width: 30vw;
    /* height: 40vh; */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.8rem;
}

.box-heading{
    font-family: poppinsSemi;
    color: #4F4F4F;
    text-transform: capitalize;
    font-size: 1.4rem;
}

.skillsets{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 1.7rem;
}

.skill-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.skill{
    display: flex;
    align-items: flex-start;
    gap: 0.2rem;
}

.skill img{
    width: 1.3rem;
}

.skill-content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
}

.skill-name{
    font-family: poppinsSemi;
    color: #717171;
    text-transform: capitalize;
    font-size: 1.3rem;
}

.skill-level{
    font-family: poppins;
    color: #A8A8A8;
    text-transform: capitalize;
    font-size: 1.1rem;
}

.services{
    padding: 2.0rem 7rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}

.services-sets{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

.service{
    width: 20%;
    height: 50vh;
    border: 1px solid #B7B7B7;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.service:nth-child(1){
    background: url(./assets/images/web-bg.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.service:nth-child(2){
    background: url(./assets/images/ui-bg.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.service:nth-child(3){
    background: url(./assets/images/writer-bg.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.service:nth-child(4){
    background: url(./assets/images/brand-bg.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.service-content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.service-content img{
    width: 3rem;
}

.service-name{
    font-size: 2.2rem;
    font-family: poppinsSemi;
    color: #3E3E3E;
    text-transform: capitalize;
    line-height: 2.5rem;
}

.service a{
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.link-name{
    font-family: poppins;
    color: #9B9B9B;
    font-size: 1rem;
    text-transform: capitalize;
}

.service a img{
    width: 1.8rem;
}

.service a:hover{
    gap: 0.8rem;
}

.portfolio{
    padding: 2.0rem 7rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}

.tabs{
    display: flex;
    align-items: center;
    gap: 2rem;
}


.tab{
    font-family: poppinsSemi;
    font-size: 1rem;
    color: #414141;
    text-transform: capitalize;
    background: transparent;
    cursor: pointer;
    padding: 10px;
    border: 1px solid transparent;
}

.tab:hover{
    color: #000000;
    border: 1px solid #000000;
    padding: 10px;
    border-radius: 5px;
}

.active-tab{
    background: #000000;
    border-radius: 5px;
    color: #ffffff;
    font-family: poppinsSemi;
    font-size: 1rem;
    text-transform: capitalize;
    padding: 10px;
    border: none;
}

.works{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.work-card{
    width: 28%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #ffffff;
    border: 2px solid #b7b7b7;
    border-radius: 0.8rem;
    margin-bottom: 5rem;
}

.work-card img{
    width: 100%;
}

.work-name{
    font-family: poppinsSemi;
    font-size: 1.8rem;
    color: #3e3e3e;
    text-transform: capitalize;
}

.work-ad{
    font-family: poppins;
    font-size: 1.1rem;
    color: #5b5b5b;
}

.work-card a{
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.work-card a img{
    width: 1.8rem;
}

.work-card a:hover{
    gap: 0.8rem;
}

.testimonial{
    padding: 2.0rem 7rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}

.monials{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

.monial{
    width: 40%;
    background: #ffffff;
    border: 2px solid #B7B7B7;
    padding: 2rem;
    border-radius: 10px;
    flex-direction: column;
    display: flex;
    gap: 1rem;
}

.comment{
    font-family: poppinsXBold;
    font-size: 10rem;
    color: rgba(0, 0, 0, 0.1);
    margin-bottom: -8rem;
}

.test-words{
    font-family: poppins;
    font-size: 1rem;
    color: #5b5b5b;
}

.monial img{
    width: 80px;
}

.client-name{
    font-family: poppinsSemi;
    font-size: 1.5rem;
    text-transform: capitalize;
    color: #3e3e3e;
}

.client-work{
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-family: poppinsMid;
    color: #303030;
    text-transform: capitalize;
    font-style: italic;
    font-size: 1rem;
}

.client-company{
    color: #9b9b9b;
    font-size: 0.8rem;
}

.test-tabs{
    display: flex;
    align-items: center;
    gap: 1rem;
}

.test-tabs >div{
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background: #BCBCBC;
    cursor: pointer;
}

.contact-me{
    padding: 2.0rem 7rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}

.contact-content{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.contact-left{
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.contact-heading{
    font-family: poppinsSemi;
    color: #434343;
    text-transform: capitalize;
    font-size: 1.3rem;
}

.contact-left-boxes{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    width: 100%;
}

.contact-box{
    width: 100%;
    background: #ffffff;
    border: 2px solid #b7b7b7;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    border-radius: 10px;
    padding: 2rem;
}

.contact-box-top{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.contact-text{
    font-size: 1.1rem;
    font-family: poppins;
    color: #7d7d7d;
}

.contact-title{
    color: #313131;
    font-family: poppinsSemi;
    text-transform: capitalize;
    font-size: 1rem;
}

.contact-box-top img{
    width: 3rem;
}

.contact-box a{
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.contact-box a img{
    width: 1.8rem;
}

.contact-box a:hover{
    gap: 0.8rem;
}

.contact-right{
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.form{
    width: 100%;
}

form{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4rem;
}

.form-top{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
    width: 100%;
}

.input{
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: flex-start;
}

.label{
    font-family: poppinsSemi;
    font-size: 1rem;
    text-transform: capitalize;
    color: #5b5b5b;
}

.input{
    width: 100%;
}

.input input, textarea{
    width: 100%;
    border: 1px solid #9B9B9B;
    padding: 2rem;
    border-radius: 15px;
    font-family: poppins;
    font-size: 1.1rem;
    color: #2b2b2b;
    background: transparent;

}

::placeholder{
    font-family: poppins;
    font-size: 1.1rem;
    color: #848484;
}

.input input{
    height: 10rem;
}

.input textarea{
    height: 15rem;
}

form button{
    width: 22rem;
    height: 7rem;
    border: none;
    border-radius: 10px;
    color: white;
    background: #4F4F4F;
    cursor: pointer;
    outline: none;
    margin-top: 1rem;
}

form button a{
    color: white;
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    font-family: poppinsSemi;
    font-size: 1.5rem;
    text-transform: capitalize;
}

.footer{
    padding: 2.0rem 7rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    background: #ffffff;
}

.footer .logo{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo{
    display: flex;
    align-items: baseline;
}

.footer .logo img{
    width: 7rem;
    margin-bottom: -2rem;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
    
}

.footer-links{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.socials{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.socials img{
    width: 2rem;
}

.copyright{
    font-family: poppins;
    font-size: 1.1rem;
    color: #717171;
}

@media screen and (max-width: 1370px){
    html{
        font-size: 80%;
    }
}

@media screen and (max-width: 1300px){
    .nav-links{
        width: 25vw;
    }
    .contact-left{
        width: 40%;
    }
    
}

@media screen and (max-width: 1100px){
    .nav-links{
        width: 30vw;
    }
    .service{
        width: 45%;
    }
    .skill-box{
        width: 40vw;
    }
    .skills-content{
        width: 100%;
    }
    .container > div{
        padding: 2.0rem 4rem;
    }
    .work-card{
        width: 45%;
    }
    
}

@media screen and (max-width: 850px){
    html{
        font-size: 70%;
    }
    .navbar{
        border: 1px solid red;
    }
    .about-text{
        font-size: 1.2rem;
    }
    .monial{
        width: 45%;
    }
}


@media screen and (max-width: 756px){
    .nav-links{
        display: none;
    }
    .hero{
        flex-direction: column;
        align-items: flex-start;
        background-position: left;
    }
    .hero-left a svg{
        width: 2.2rem;
    }
    .mamba-name{
        font-size: 3.2rem;
    }
    .intro-text{
        width: 100%;
    }
    /* .container > div{
        padding: 1rem 4rem;
    } */

    .heading-main{
        font-size: 4rem;
    }
    .heading-sub{
        font-size: 1.4rem;
    }
    .about-content{
        flex-direction: column;
        gap: 2rem;
    }
    .about-content div{
        width: 100%;
    }
    .about-left img{
        width: 100%;
        height: 60vh;
    }
    .about-right{
        width: 100%;
        align-items: center;
    }
    .facts{
        gap: 1rem;
    }
    .fact{
        width: 100%;
        height: 15vh;
    }
    .about-text{
        font-size: 1.6rem;
        text-align: center;
    }
    .skills-content{
        width: 100%;
        gap: 2rem;
    }
    .box-group{
        flex-direction: column;
        gap: 2rem;
    }
    .skill-box{
        width: 100%;
    }
    .box-heading{
        font-size: 1.7rem;
    }
    .skill-name{
        font-size: 1.5rem;
    }
    .skill-level{
        font-size: 1.3rem;
    }
    .services-sets{
        flex-direction: column;
    }
    .service{
        width: 100%;
        height: 40vh;
    }
    .service-name{
        width: 100%;
        display: inline-block;
    }
    .service-name br{
        display: none;
    }
    .link-name{
        font-size: 1.3rem;
    }
    .tabs{
        width: 100%;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
    .tab{
        font-size: 1.3rem;
    }
    .works{
        flex-direction: column;
    }
    .work-card{
        width: 100%;
    }
    .monials{
        flex-direction: column;
    }
    .monial{
        width: 100%;
    }
    .contact-content{
        flex-direction: column;
        gap: 2.4rem;
    }

    .contact-content div{
        width: 100%;
    }
    .contact-heading{
        font-size: 1.5rem;
        text-align: center;
    }
    .input{
        gap: 0.5rem;
    }
    .label{
        font-size: 1.3rem;
    }
    .input input, textarea{
        font-size: 1.3rem;
    }
    form button{
        width: 100%;
    }
    .socials img{
     width: 3.4rem;
    }
    .footer .logo img{
        width: 8rem;
    }
    .nav-links p, .footer-links p{
        font-size: 1.3rem;
    }
    .copyright{
        font-size: 1.2rem;
        text-align: center;
    }
}