@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    --main-color: #cc8111;
    --main-bgc: #cc8111;
}

* {
    padding: 0;
    margin: 0;
    font-family: 'Poppins' , sans-serif ;
    box-sizing: border-box;
    scroll-behavior: smooth;
    text-decoration: none;

}

body {
    color: #fff;
}

h2 {
    font-weight: 100;
    margin-bottom: 30px;
    margin-top: 40px;
}

/* scroller line */
.scroller-index {
    background-color:var(--main-bgc);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99999;
    width: 0;
    height: 3px;   
}
/* ====================  custamize start animation  =================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px 5%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.527);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}
.header nav {
    position: relative;
} 
.header nav::before {
    animation-delay: .8s;
} 
.logo {
    position: relative;
    color: #fff;
    text-decoration: none;
    font-size: 25px;
    font-weight: 600;
    cursor: pointer;

}
.logo::before {
    animation-delay: .5s;

}
.logo span {
    color:var(--main-color);
    font-size: 30px;
}
.navbar { 
    display: flex;
    justify-content: space-between;
    align-items: center;

} 

.navbar a {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 30px;
    transition: .3s;
}

.navbar a:hover,
.navbar .active {
    color: var(--main-color);
   
}
.navbar a:hover{
    transform: scale(1.2);
}

/* start home section */
.home{
    min-height: 100vh; 
    background-image: url(images/122.jpg);
    background-size: cover;  /*to cover full screan */
    background-repeat: no-repeat;
    background-position: 50%;
    position: relative;
    width: 100%;
}

.home .overlay{
    background-color: rgba(0, 0, 0, 0.432);;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 2;
}

/* Start introduction-text Style */
.introduction{
    position: absolute;
    left: 50%;
    top: 70%;
    transform: translate(-50%, -50%);
    z-index: 3;
    color: #fff;
    text-align: center;   
    width:100%;                                                                                                                                                                                            
}
.introduction h1{
    font-size: 34px;
    margin: 0 0 12px ;
    text-shadow: 1px 1px 0 #000;
}
.introduction h1 span{
    color:var(--main-color) ;
    font-size: 50px;
}
.introduction p{
    line-height: 1.6;
    font-size: 20px;
    margin: auto 3%;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 2px 1px 0 #000;
    
}

/* End Landing Page */

/* =================  page content style  =====================*/
.page-content {
    background: linear-gradient(50deg, #141311 ,#47300a);
    width: 100%;
    display: block;
    flex-direction: column;
    align-items: center;
    padding: 20px 5%;
}


.home .go-down i {
    animation: bouncing 1.2s infinite;
}



.page-content , .footer-section p {
    line-height: 25px;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.box div{
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: transparent;
    border: 6px solid rgba(255,255,255,0.8);
    z-index: 2;
}
.box div:nth-child(1) {
    top: 12%;
    left: 90%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(2) {
    top: 25%;
    left: 8%;
    animation: animate 7s linear infinite;
}
.box div:nth-child(3) {
    top: 38%;
    left: 10%;
    animation: animate 5s linear infinite;
}
.box div:nth-child(4) {
    top: 36%;
    left: 30%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(5) {
    top: 34%;
    left: 90%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(6) {
    top: 5%;
    left: 15%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(7) {
    top: 3%;
    left: 42%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(8) {
    top: 4%;
    left: 80%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(9) {
    top: 15%;
    left: 5%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(10) {
    top: 36%;
    left: 75%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(11) {
    top: 45%;
    left: 1%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(12) {
    top: 45%;
    left: 96%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(13) {
    top: 55%;
    left: 95%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(14) {
    top: 65%;
    left: 96%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(15) {
    top: 75%;
    left: 94%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(16) {
    top: 65%;
    left: 2%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(17) {
    top: 75%;
    left: 1%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(18) {
    top: 85%;
    left: 2%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(19) {
    top: 55%;
    left: 1%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(20) {
    top: 83%;
    left: 70%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(21) {
    top: 94%;
    left: 1%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(22) {
    top: 97%;
    left: 20%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(23) {
    top: 98%;
    left: 40%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(24) {
    top: 99%;
    left: 80%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(25) {
    top: 83%;
    left: 70%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(26) {
    top: 55%;
    left: 25%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(27) {
    top: 70%;
    left: 70%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(28) {
    top: 60%;
    left: 70%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(29) {
    top: 80%;
    left: 25%;
    animation: animate 10s linear infinite;
}
.box div:nth-child(30) {
    top: 89%;
    left: 47%;
    animation: animate 10s linear infinite;
}

/* style About section */
.cover-about-section{
    width: 100%;
    display: block;
    padding-top: 150px;
}
.about-section {
    background-color: #633f08;
    list-style: none;
    text-transform: uppercase;
    width: 80% ;
    margin: 60px auto;
    padding: 20px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}
.main-title {
    margin: 0 auto 80px;
    border: 2px solid black;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 30px;
    font-weight: 700;
    width: fit-content;
    position: relative;
    z-index: 3;
    transition: var(--main-transition);
    text-transform: uppercase;
    background-color: #000;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.main-title::before,
.main-title::after {
    content: "";
    width: 12px;
    height: 12px;
    background-color: var(--main-color);
    position: absolute;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.main-title::before {
    content: "";
    left: -30px;
}

.main-title::after {
    content: "";
    right: -30px;
}

.main-title:hover::before {
    z-index: -1;
    animation: left-move 0.5s linear forwards;
}

.main-title:hover::after {
    z-index: -1;
    animation: right-move 0.5s linear forwards;
}

.main-title:hover {
    color: #000;
    border: 1px solid rgba(26, 25, 25, 0.342);
    transition-delay: 0.5s;
}
.about-section h3 {
    margin: 5px;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-shadow: 2px 2px #000;
}
.about-section li {
    margin: 20px 0;
    padding: 10px;
}
.bar {
    background: #353b48;
    display: block;
    height: 20px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}
.bar:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}
.bar span{
    height: 20px;
    float: left;
    background: linear-gradient(5deg , #000,#cc8111 );
}
.bar .Photoshop{
    width: 95%;
}
.bar .illustrator{
    width: 90%;
}
.bar .Adope{
    width: 85%;
}
/*------------  contact & project section style  ----------*/

.projects {
    padding-top: 120px;
    width: 100%;

}
.projects .content{
    /* margin-top: 30px; */
    width: 99%;
    margin: 100px auto 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
}

.projects .content img {
    width: 100%;
    cursor: pointer;
    transition: 0.5s;
    z-index: 3;
}
.projects .content img:hover {
    transform: scale(0.8) rotate(-15deg);
    border-radius: 20px;
    box-shadow: 0 32px 75px rgba(68,77,136, 0.2);
}
.full-img {
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 110;
}
.full-img img {
    width: 90%;
    max-width: 500px;
    z-index: 120;
}
.full-img span {
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 30px;
    color: white;
    cursor: pointer;
}
.title-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    transition: 0.7s ease;
}

.title-foot .btn-box {
    /* margin-left: 40%; */
    border-radius: 10px;
    background-color: #7a4e0b;
    width: 30%;
    text-align: center;
    padding: 10px;
    box-shadow: 0 14px 28px rgba(26, 25, 25, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}
.title-foot a {
    color: #fff;
    font-size: 30px;
    font-weight: 500;
    text-decoration: none;
    width: 200px;
    text-shadow: 1px 1px rgb(20, 18, 18);
    transition: 0.7s ease;
}
.title-foot:hover {
    transform:scale(1.1);
}

/* style contact section */
.contact {

    padding: 50px 0;
    margin: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 10%;
}
.contact-card {
    padding: 30px 0;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    background-color: #4d3107;
    border-radius: 20px;
    text-shadow: 2px 3px #000;
    transition: .5s;
    cursor: pointer;
    z-index: 3;
}
.contact-card:hover {
    transform: scale(1.1);
}
.contact-card a {
    color: #fff;
}
.contact-card i {
    text-shadow: 3px 3px #000;
    font-size: 80px;
}
.contact-card h2 {
    font-size: 40px;
    font-weight: 700;
    
}
/* style footer section */


.footer-section {
    background-color: rgb(10, 37, 48);
    padding: 45px 0;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.footer-section i {
    font-size: 27px;
    margin-bottom: 20px;
    color: #fff;
    margin: 5px;
}
.footer-section i:hover {
    color:var(--main-color);

}
.cop {
    margin: 30px 0;
}
.cop  span {
    color: var(--main-color);
}
.cop a {
    color: var(--main-color);
    text-decoration: none;
    margin: 0 8px;
}
.cop a:hover {
    color: #fff;
}


/*========= scroll-up style =========*/
.scroll-up:hover {
    background-color: #a86808;
}
.scroll-up{
    background-color:var(--main-color);
    border: none;
    color: #000;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    z-index: 10;
}
/*===================  rsponsive project  ========================*/

@media only screen and (max-width: 950px) {

    .about-section {
        padding-top: 50px;
    }
}

@media only screen and (max-width: 950px) {
    .title-foot .btn-box{
        width: 40%;
    }
    .title-foot a {
        font-size: 25px;
        width: 150px;
    }
}



@media only screen and (max-width: 600px) {

    .introduction h1 {
        font-size: 30px;
    }
    
    .introduction h1 span {
        font-size: 40px;
    }
    
    .introduction p {
        line-height: 1.6;
        font-size: 17px;
        letter-spacing: 2px;
    }
    .about-section .skills-title {
        font-size: 35px;
    }
    .about-section h3 {
        font-size: 15px;
        letter-spacing: 2px;
        text-shadow: 2px 2px #000;
    }
    /* resit header */
    .header {
        padding: 15px 6%;
    }   
    .navbar a {
        font-size: 14px;
        font-weight: 500;
        margin-left: 15px;
    }
    .logo {
        font-size: 20px;
        font-weight: 500;
    }
    .logo span {
        font-size: 25px;
    }
    /* resit main section */
    .page-content {
        padding: 15px 6%;
        padding-top: 100px;

    }
   
    .title-foot a {
        font-size: 16px;
        width: 150px;
    }

    .footer-section i {
        font-size: 27px;
        margin-bottom: 15px;
        color: #fff;
        margin: 5px;
    }
    .footer-section {
        padding: 40px 0;
    }
    .footer-section p {
        line-height: 20px;
        
    }
    .scroll-up {
        width: 25px;
        height: 25px;
        font-size: 10px;
        right: 5px;
    }
   
}


@media only screen and (max-width: 450px) {

    .navbar a {
        font-size: 9px;
        font-weight: 500;
        margin-left: 9px;
    }
    .introduction h1 {
        font-size: 28px;
        margin: 0 0 12px;
        text-shadow: 1px 1px 0 #000;
    }

    .introduction h1 span {
        color: var(--main-color);
        font-size: 35px;
    }
    .introduction p {
        line-height: 1.4;
        font-size: 14px;
        letter-spacing: 2px;

    }
    

    
}

@media only screen and (max-width: 350px) {

    /* .introduction {
        position: absolute;
        left: 50%;
        top: 80%;
        transform: translate(-50%, -50%);
    } */

    
}


/* KEYFRAMES ANIMATION  */
@keyframes left-move {
    50% {
        left: 0;
        width: 12px;
        height: 12px;
    }

    100% {
        left: 0;
        border-radius: 0;
        width: 100%;
        height: 100%;
        border-radius: 30px;
    }
}

@keyframes right-move {
    50% {
        right: 0;
        width: 12px;
        height: 12px;
    }

    100% {
        right: 0;
        border-radius: 0;
        width: 100%;
        height: 100%;
        border-radius: 30px;
    }
}
@keyframes bouncing {

    0%,
    10%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40%,
    60% {
        transform: translateY(-15px);
    }
}

@keyframes animate {
    0%{
        transform: scale(0) translateY(0) rotate(0);
        opacity: 1;
    }
    100%{
        transform: scale(1.3) translateY(-90px) rotate(360deg);
        opacity: 0;
    }
}