@import url('https://fonts.googleapis.com/css2?family=Cairo+Play:wght@700&family=Share+Tech+Mono&family=Vazirmatn:wght@200&display=swap');
:root{
    --dark-color:#7b5327;
    --font-light:#ffffff;
    --font-dark:#e3dfdf;
    --light-color:rgba(216, 149, 115, 0.55);
}

*{

    padding: 0;
    margin: 0;
    font-family: 'Share Tech Mono', monospace;
}
p{
    text-align: justify;
}
body{
    background-color: black;
    height: 1500px;
}
h1 {
    font-size: 50px;
}


#Navbar{
    background-color: #784141;
    border-radius: 5px;
    z-index: 99;
}

#Profile{
    /* background-color: var(--light-color); */
    background-color: #a25a5a;
}

#Profile:hover{
    /* background-color: var(--light-color); */
    background-color: #a25a5a;
}

#About{
    /* background-color: var(--light-color); */
}


#About:hover{
    /* background-color: var(--light-color); */
    background-color: #a25a5a;
}

#Experience{
    background-color: var(--light-color);
}

#Experience:hover{
    /* background-color: var(--light-color); */
    background-color: #a25a5a;
}

#Education{
    background-color: var(--light-color);
}

#Education:hover{
    /* background-color: var(--light-color); */
    background-color: #a25a5a;
}

#Skill{
    background-color: #a25a5a;
}

#Skill:hover{
    /* background-color: var(--light-color); */
    background-color: #a25a5a;
}

#Achivement{
    background-color: #a25a5a;
}

#Projects{
    background-color: #a25a5a;
}
#Projects:hover{
    /* background-color: var(--light-color); */
    background-color: #a25a5a;
}

#Portfolio{
    background-color: var(--light-color);
}

#Portfolio:hover{
    background-color: #a25a5a;
}


#Navbar a {
    color :var(--font-dark);
    font-size: 25px;
    margin-left: 38px;
}
#Navbar a:hover {
    transform: scale(101%);
    color: var(--font-light);
}
#Profile {
    /* background-color: var(--light-color); */
    color: var(--font-light);
    border-radius: 5px;
    transition: 666ms;
}
#Profile img {
    height: 250px;
    margin: auto;
    display: block;
    border: 1px solid black;
    border-radius: 5px;
}
#Profile h1 {
    color: var(--font-dark);
}
@media only screen and (max-width: 575px) {
    .skill button {
        display:  block;
        width: 200px;
        margin: auto;
    }
    .skill a {
        text-decoration: none;
    }
}

canvas {
    display:block;
    position: fixed;
    z-index: -100;
    background-repeat: repeat-y;

}

.section-box{
    background-color: var(--light-color);
    color: var(--font-light) ;
    border-radius: 5px;
    transition: 666ms;
}
.section-box p {
    font-size: 21px;
    line-height: 1.6;
}
.section-box h1 {
    color: var(--font-dark);
}
.val{
    float: right;
}
.section-box:hover{
    background-color: var(--dark-color);
    color: var(--font-light) ;
    border-radius: 5px;
}


.backtop-btn {
    --green: #1BFD9C;
    font-size: 15px;
    padding: 0.7em 2.7em;
    letter-spacing: 0.08em;
    position: relative;
    border-radius: 0.6em;
    overflow: hidden;
    transition: all 0.4s;
    line-height: 1.4em;
    border: 2px solid var(--green);
    background: linear-gradient(to right, rgba(27, 253, 156, 0.1) 1%, transparent 40%,transparent 60% , rgba(27, 253, 156, 0.1) 100%);
    color: var(--green);
    box-shadow: inset 0 0 10px rgba(27, 253, 156, 0.4), 0 0 9px 3px rgba(27, 253, 156, 0.1);
}

.backtop-btn:hover {
    color: #82ffc9;
    box-shadow: inset 0 0 10px rgba(27, 253, 156, 0.6), 0 0 9px 3px rgba(27, 253, 156, 0.2);
}

.backtop-btn:before {
    content: "";
    position: absolute;
    left: -4em;
    width: 4em;
    height: 100%;
    top: 0;
    transition: transform .4s ease-in-out;
    background: linear-gradient(to right, transparent 1%, rgba(27, 253, 156, 0.1) 40%,rgba(27, 253, 156, 0.1) 60% , transparent 100%);
}

.backtop-btn:hover:before {
    transform: translateX(15em);
}

#Education span {
    color: white;

}
a{
    text-decoration: none;
}
#bgLinks {
    width: 100%;
    background-color: black;
    height: 300px;
}

/*--------------------------------------------------------------
# my works
--------------------------------------------------------------*/
#Projects a {
    text-decoration: none;
    color: var(--font-light);
}
#Projects .img-box {
    position: relative;
    width: 300px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: block;
    color: white;
    height: 256px;
}
#Projects .img-box .text-title {
    font-weight: bolder;
    text-align: center;
    font-size: 18px;
    color: #ddd;
    text-shadow: 3px 3px 5px #14181B;
    cursor: default;
}
#Projects .img-box .text-desc {
    text-align: center;
    font-size: 15px;
    color: var(--font-dark);
    text-shadow: 5px 5px 5px #1D2429;
    cursor: default;
}
#Projects .img-box button {
    cursor: pointer;
    margin: 12px auto;
    /* z-index: 2; */
    display: block;
    width: fit-content;
    height: auto;
    outline: none;
    border: none;
    background-color: inherit;
    font-size: 15px;
    font-weight: bold;
    padding: 3px 8px;
    position: relative;
    color: var(--font-dark);
}
#Projects .img-box button::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    z-index: 3;
    position: absolute;
    top: 0;
    left: 0;
    transform: scaleX(0.2) scaleY(0.5) translate(250%, 100%);
    border-top: solid 2px wheat;
    border-left: solid 4px wheat;
    transition: all .4s ease-in-out;
}
#Projects .img-box button::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    z-index: 3;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%) scaleX(0.2) scaleY(0.5);
    border-bottom: solid 2px wheat;
    border-right: solid 4px wheat;
    transition: all .4s ease-in-out;
}
#Projects .img-box button:hover::before {
    transform: translate(0%, 0%) scaleX(1) scaleY(1);
    border-top: solid 1px rgba(216, 149, 115, 0.55);
    border-left: solid 1px rgba(216, 149, 115, 0.55);
}
#Projects .img-box button:hover::after {
    transform: scaleX(1) scaleY(1) translate(0%, 0%);
    border-bottom: solid 1px rgba(216, 149, 115, 0.55);
    border-right: solid 1px rgba(216, 149, 115, 0.55);
}
#Projects .img-box:hover .overlay {
    opacity: 1;
}
#Projects img {
    display: block;
    width: 100%;
    height: 100%;
}
#Projects .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background: #14181b;
    /* background: linear-gradient(165deg, rgba(20, 24, 27, 0.646078) 20%, wheat 55%, rgba(29, 36, 41, 0.587255) 73%); */
}
#Projects .center-box {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
}
#Projects .works-pagination #app {
    width: 180px;
    height: 20px;
    margin: 0 auto;
    transform: translateY(-50%);
    overflow: hidden;
    z-index: 1;
}
#Projects .works-pagination .button {
    width: 15px;
    height: 15px;
    float: left;
    margin-right: 20px;
    background-color: var(--dark-color);
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s ease width;
}
#Projects .works-pagination .button:last-child {
    margin-right: 0;
}
#Projects .works-pagination .button.active {
    width: 60px;
    cursor: auto;
}

/*--------------------------------------------------------------
# my works finish
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    background: rgba(36,39,52,0.5);
    color: #fff;
    font-size: 14px;
    text-align: center;
    padding: 30px 0;
    border-radius: 5px;
}

#footer h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--font-light);
    position: relative;
    font-family: "Poppins", sans-serif;
    padding: 0;
    margin: 0 0 15px 0;
}

#footer p {
    font-size: 15px;
    font-style: italic;
    padding: 0;
    margin: 0 0 40px 0;
}

#footer .social-links {
    margin: 0 0 40px 0;
}

#footer .social-links a {
    font-size: 18px;
    display: inline-block;
    background: var(--light-color);
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}

#footer .social-links a:hover {
    background: var(--dark-color);
    color: #fff;
    text-decoration: none;
}

#footer .copyright {
    margin: 0 0 5px 0;
}

#footer .credits {
    font-size: 13px;
}


.Pcontainer {
    width: 80%;
    padding: 50px 0;
    margin: 50px auto;
    position: relative;
    overflow: hidden;
}

.Pcontainer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -1px;
    width: 2px;
    height: 100%;
    background: #CCD1D9;

}

.timeline-block {
    width: -webkit-calc(50% + 8px);
    width: -moz-calc(50% + 8px);
    width: calc(50% + 8px);
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    justify-content: space-between;
    clear: both;
}

.timeline-block-right {
    float: right;
}

.timeline-block-left {
    float: left;
    direction: rtl
}

.marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #F5F7FA;
    background: black;
    margin-top: 10px;
    z-index: 10;
}

.timeline-content {
    width: 95%;
    padding: 0 15px;
    color: var(--font-light);
}

.timeline-content h3 {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 25px;
    font-weight: 500
}

.timeline-content span {
    font-size: 15px;
    color: var(--font-dark);
}

.timeline-content p {
    font-size: 14px;
    line-height: 1.5em;
    word-spacing: 1px;
    color: var(--font-light);
}


@media screen and (max-width: 768px) {
    .Pcontainer:before {
        width: 2px;
    }
    .timeline-block {
        width: 100%;
        margin-bottom: 30px;
    }
    .timeline-block-right {
        float: none;
    }

    .timeline-block-left {
        float: none;
        direction: ltr;
    }
}
@media screen and (max-width: 768px) {
   h1{
       font-size: 22px;
   }
    .section-title p{
        font-size: 14px;
        line-height: 1.4;
    }
}


/*!* Lazy Load Styles *!*/
/*.card-image {*/
/*    display: block;*/
/*    min-height: 20rem; !* layout hack *!*/
/*    background: #fff center center no-repeat;*/
/*    background-size: cover;*/
/*    filter: blur(3px); !* blur the lowres image *!*/
/*}*/

/*.card-image > img {*/
/*    display: block;*/
/*    width: 100%;*/
/*    opacity: 0; !* visually hide the img element *!*/
/*}*/

/*.card-image.is-loaded {*/
/*    filter: none; !* remove the blur on fullres image *!*/
/*    transition: filter 1s;*/
/*}*/

/*!* Layout Styles *!*/
/*.card-list {*/
/*    display: block;*/
/*    margin: 1rem auto;*/
/*    padding: 0;*/
/*    font-size: 0;*/
/*    text-align: center;*/
/*    list-style: none;*/
/*}*/

/*.card {*/
/*    display: inline-block;*/
/*    width: 90%;*/
/*    max-width: 20rem;*/
/*    margin: 1rem;*/
/*    font-size: 1rem;*/
/*    text-decoration: none;*/
/*    overflow: hidden;*/
/*    background-color: #223322;*/
/*    color: white;*/
/*    box-shadow: 0 0 3rem -1rem rgba(0,0,0,0.5);*/
/*    transition: transform 0.1s ease-in-out, box-shadow 0.1s;*/
/*}*/

/*.card:hover {*/
/*    transform: translateY(-0.5rem) scale(1.0125);*/
/*    box-shadow: 0 0.5em 3rem -1rem rgba(0,0,0,0.5);*/
/*    color: #9d9d9d;*/
/*}*/

/*.card-description {*/
/*    display: block;*/
/*    padding: 1em 0.5em;*/
/*    color: #515151;*/
/*    text-decoration: none;*/
/*}*/

/*.card-description > h2 {*/
/*    margin: 0 0 0.5em;*/
/*}*/

/*.card-description > p {*/
/*    margin: 0;*/
/*}*/
