html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Proxima', sans-serif;
    scroll-behavior: smooth;

}


/* header Style */

header {
    width: 100%;
    height: 100vh;
    background-image: url(../img/home-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

header .flex {
    position: relative;
    top: 25%;
}

.header-content {
    width: 100%;
    overflow: hidden;
}

.header-content h1 {
    font-size: 5rem;
    color: #5f5f5f;
    text-transform: uppercase;
}

.header-content h3 {
    font-size: 4rem;
    color: var(--primary-color);
}

.header-content p {
    width: 80%;
    margin: auto;
}

.header-content button {
    font-size: 2rem;
    border-radius: 0;
    text-transform: uppercase;
}

.header-content button:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    transition: all .5s ease;
}


/* Heaser Animations */

header #my-name {
    animation: slideInFromLeft 1s ease;
}

header #my-work,
#my-content {
    animation: slideInFromRight 1s ease;
}

header #my-cv-btn {
    animation: slideInFromTop 1s ease;
}


/* Navbar */

.nav {
    position: sticky;
    top: 0;
    left: 0;
    color: #5f5f5f;
    background-color: #f8f8f8;
    z-index: 99;
    text-transform: uppercase;
}

.nav h2 {
    color: var(--primary-color);
}

.nav .flex {
    justify-content: space-between;
    align-content: center;
}

.nav ul {
    list-style: none;
}

.nav ul li {
    display: inline-block;
    padding: 1.5rem;
    font-size: 2rem;
}

.nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
}

.nav ul li:hover {
    background-color: var(--primary-color);
    transition: all .5s ease;
}

.nav ul li:hover,
.nav ul li a:hover {
    color: var(--light-color);
}

.nav ul .active,
.nav ul .active a {
    background-color: var(--primary-color);
    color: #f8f8f8 !important;
}


/* Intro */

.intro {
    width: 100%;
    height: 100vh;
    position: relative;
}

.intro-content {
    width: 100%;
}

.intro-content h4 {
    font-weight: bold;
    color: #5f5f5f;
}

.intro-content h1 {
    font-size: 5rem;
}

.intro-content hr {
    width: 15%;
    height: 1px;
}

.intro-content p {
    width: 90%;
    margin: auto;
    font-size: 2rem;
    line-height: 2;
}


/* serves */

.serves {
    width: 100%;
    position: relative;
    background-color: #F9F9F9;
}

.serves-content {
    width: 100%;
}

.serves-content .serves-paragraph {
    width: 50rem;
    margin: auto;
    font-size: 1.5rem;
}

.serves-content .card div {
    width: 100px;
    height: 100px;
    text-align: center;
    margin: auto;
    background-color: var(--primary-color);
    color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;

}

.serves-content .card:hover {
    box-shadow: 1px 1px 10px #5f5f5f, -1px -1px 5px #5f5f5f;
    transition: all 0.5s ease;
}

.serves-content .card div i {
    font-size: 2.5rem;
    transition: all 0.5s ease;
}

.serves-content .card:hover div i {
    transform: rotate(360deg);
    transition: all 0.5s ease;

}

.serves-content .card:hover div {
    background-color: var(--dark-color);
    transition: all 0.5s ease;

}




/* Resume */

.resume {
    width: 100%;
    position: relative;
    background-color: #fff;
}

.resume .resume-content div:last-child {
    margin-top: auto;
}

.resume .resume-content div img {
    width: 100%;
}

.resume-content h1 {
    font-size: 5rem;
}

.resume-content .per-info td {
    padding: 1rem 0;
    padding-right: 2rem;
    font-size: 2rem;
}

.resume-content .per-info td:nth-child(odd) {
    font-family: 'Proxima Bold';
}

.resume-content .skils-info .div1 p {
    justify-content: space-between;
}

.resume-content .skils-info .div1 {
    padding: 1rem;
}

.resume-content .skils-info .div1 div {
    height: 5px;
    background-color: var(--primary-color);
    border-radius: 10px;
}


/* My Work */

.my-work {
    width: 100%;
    background-color: #f0f0f0;
}

.my-work .work-content div img {
    width: 100%;
   
}

.work-content div {
    position: relative;
    overflow: hidden;
    min-height: 25rem;
}

.work-content div .slider {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0;
    /* transform: translateX(-100%); */
    transition: all 0.5s ease;
    flex-direction: column;
    justify-content: space-between;
}
.work-content div .slider p {
    padding: 2rem;
    text-align: center;
    color: var(--light-color);
}
.work-content div .slider button{
   width: 20rem;
   display: block;
   margin: 2rem auto;
   padding: 1rem;
}

.work-content div .slider:hover {
   opacity: 1;
}


/* Contact Us */

.contact {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/contact-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    color: var(--light-color);
    overflow: hidden;
}

.con-content p,
.con-content form {
    width: 50%;
    margin: auto;
}

.con-content form {
    border-radius: 15px;
}

.con-content form input,
textarea {
    padding: 1rem;
}


/* Footer */

footer {
    background-color: var(--dark-color);
    color: var(--light-color);
}

footer ul {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    list-style: none;
}

footer ul li {
    background-color: var(--light-color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

footer ul li a {
    font-size: 40px;
    color: var(--primary-color);
}

footer ul li:hover {
    background-color: var(--dark-color);
    color: var(--primary-color);
    border: 1px solid #5f5f5f;
    transition: all .5s ease;
}

footer ul li a:hover {
    color: var(--primary-color) !important;
}

#arrow a {
    color: var(--light-color) !important;
}

#arrow a i {
    font-size: 2.5rem;
}

#arrow {
    cursor: pointer;
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.serv-heade {
    padding-top: 10rem;
}