*{
    padding:0;
    margin:0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;
}
:root{
    --bg-color:#ffffff;
    --text-color:#000;
    --second-color:#76747e;
    --main-color:#f75023;
    --big-font: 5rem;
    --h2-font:3rem;
    --p-font:1.1rem;
}
body{
    background: var(--bg-color);
    color: var(--text-color);
}
header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index:1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    padding: 30px 18%;
    transition: .3s;
}
.logo img{
    max-width: 100%;
    width: 55px;
    height: auto;
}
.navlist{
    display:flex;
}
.navlist li{
    position: relative;
}
.navlist a{
    font-size: var(--p-font);
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 27px;
}
.navlist a::after{
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--main-color);
    bottom: -3px;
    left: 0;
    transition: ease .40s;
}
.navlist a:hover::after{
    width: 100%;
}
#menu-icon{
    font-size: 35px;
    color: var(--text-color);
    z-index: 10001;
    cursor: pointer;
    display: none;
}
.resume{
    display: inline-block;
    background:transparent;
    border:2px solid var(--main-color);
    border-radius: 30px;
    padding: 9px 30px;
    color: var(--text-color);
    font-size: var(--p-font);
    font-weight: 500;
    letter-spacing: 1px;
    transition: ease 0.50s;
}
.resume:hover{
    transform: scale(1.1);
    background: var(--main-color);
    border: 2px solid var(--main-color);
    color: var(--bg-color);
}

section{
    padding: 100px 18%;
}

.home{
    min-height: 100vh;
    height: 100%;
    width: 100%;
    background: url(../images/background12.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    grid-gap: 4rem;
}
.home-text h1{
    margin: 10px 0px 25px;
    font-size: var(--big-font);
    line-height: 1;
    font-weight: 500;
}
.home-text h5{
    margin-bottom:23px;
    font-size:19px;
    font-weight: 500;
}
span{
    color:var(--main-color);
}
.home-text h3{
    font-size: 20px;
    font-weight: 500;
    color: var(--main-color)
}
.home-text p{
    font-size: var(--p-font);
    color: var(--second-color);
    line-height: 28px;
    margin-bottom: 20px;
}
.social a{
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: darkolivegreen;
    font-size: 17px;
    color: var(--bg-color);
    margin-right: 22px;
    margin-bottom: 30px;
    transition: .5s ease;
}
.social a:hover{
    transform: scale(1.1);
    background: var(--main-color);
}
.btn{
    display: inline-block;
    color: var(--bg-color);
    background: var(--main-color);
    font-size: var(--p-font);
    padding: 10px 40px;
    font-weight: 500;
    line-height: 24px;
    border-radius: 30px;
    transition: ease .40s;
}
.btn:hover{
    transform: scale(1.1);
}
.my-img img{
    max-width: 100%;
    width: 540px;
    height:auto;
}

header.sticky{
    background: var(--bg-color);
    padding: 13px 18%;
    box-shadow: 0px 0px 10px rgb(0 0 0 /10%);
    transition: .3s ease;
}
.items{
    display: grid;
    align-items: center;
    grid-gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(220px,auto));
    text-align:center;
}
.sub-box{
    padding: 45px;
    transition: .50s ease;
    cursor: pointer;
}
.about{
    display: grid;
    grid-template-columns: repeat(2,2fr);
    align-items: center;
    grid-gap: 2rem;
}
.about-img img{
    max-width: 100%;
    width: 540px;
    height: auto;
}
.about-text h2{
    font-size: var(--h2-font);
    font-weight: 500;
    margin: 8px 0px 25px;
    line-height: 1.1;
}
.about-text h3{
    color: var(--main-color);
    font-weight: 500;
    font-size: 20px;
}
.about-text p{
    max-width: 550px;
    font-size:var(--p-font);
    color: var(--second-color);
    line-height: 28px;
    margin-bottom: 45px;
}
.experience .box-container{
    display: flex;
    flex-wrap: wrap;
}
.experience .box-container .box{
    position: relative;
    flex: 1 1 33rem;
    border-left: .2rem solid darkolivegreen;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
}
.experience .box-container .box::before{
    content: '';
    position: absolute;
    top: 0;
    left: -1rem;
    height: 2rem;
    width: 2rem;
    border-radius:50% ;
    background:darkolivegreen;
}
.experience .box-container .box .content{
    background: #fff;
    padding: 1.5rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    border-radius: .5rem;
}
.experience .box-container .box .content span{
    color: #fff;
    font-size: 1.1rem;
    background: var(--main-color);
    border-radius: 50rem;
    padding: .4rem 1rem;
}
.experience .box-container .box .content h3{
    font-size: 1.5rem;
    padding: .9rem 0;
    color: #111;
}
.experience .box-container .box .content p{
    font-size: var(--p-font);
    color: #666;
}
.row-2{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}
.row-2 .skills{
    flex: 1 1 40rem;
}
.row-2 .skills .progress{
    padding: 1rem 0;
}
.row-2 .skills .progress h3{
    display: flex;
    justify-content: space-between;
    padding: .7rem 0;
    color: #111;
    font-size: 1.2rem;
    font-weight: 400;
}
.row-2 .skills .progress .bar{
    width: 100%;
    background:#ccc;
    overflow: hidden;
    height: 1rem;
    border-radius: 50rem;
}
.row-2 .skills .progress .bar span{
    display: block ;
    height: 100%;
    background: darkolivegreen;
}
.row-2 .skills .progress:nth-child(1) .bar span{
    width:80%;
}
.row-2 .skills .progress:nth-child(2) .bar span{
    width:50%;
}
.row-2 .skills .progress:nth-child(3) .bar span{
    width:75%;
}
.row-2 .skills .progress:nth-child(4) .bar span{
    width:75%;
}
.row-2 .skills .progress:nth-child(5) .bar span{
    width:50%;
}
.row-2 .skills .progress:nth-child(6) .bar span{
    width:80%;
}
.row-2 .box-container{
    flex: 1 1 40rem;
}
.heading{
    text-align: center;
}
.heading h2{
    font-size: var(--h2-font);
    font-weight: 500;
    margin: 7px 0px 20px;
    line-height: 1.1;
}
.heading h3{
    color: var(--main-color);
    font-size: 20px;
    font-weight: 500;
}
.heading p{
    font-size:var(--p-font);
    color: var(--second-color);
    line-height: 28px;
}
.portfolio-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, auto));
    grid-gap: 2rem;
    align-items: center;
    margin-top: 5rem;
    text-align:center;
    cursor:pointer;
}
.col{
    position:relative;
}
.col h3{
    padding-bottom: 10px;
}
.col h3:hover{
    color:#12e4a2;
}
.col h6{
    color: #111;
}
.col h6 a:hover{
    color:deepskyblue;
}
.col img{
    max-width: 100%;
    width: 550px;
    height:auto;
    object-fit: cover;
    border-radius: 12px;
}
.layer{
    background: transparent;
    height: 100%;
    width:100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 12px;
    transition: all .40s;
}
.layer:hover{
    background: linear-gradient(rgba(0,0,0,0.5) 0%, #191919);
}
.layer h3{
    position: absolute;
    width:100%;
    font-size: 25px;
    font-weight: 500;
    color: var(--bg-color);
    bottom:0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all .4s;
}
.layer h5 span{
    color:#e88e3f;
}
.layer:hover h3{
    bottom:52%;
    opacity: 1;
}
.layer h5{
    position: absolute;
    width:100%;
    font-size: 17px;
    font-weight: 500;
    color: var(--bg-color);
    bottom:0;
    left: 50%;
    opacity: 0;
    transform: translateX(-50%);
    transition: all .4s;
}
.layer:hover h5{
    bottom:48%;
    opacity: 1;
}
.layer h6 a{
    position: absolute;
    width:100%;
    font-size: 17px;
    font-weight: 500;
    color:rgb(52, 178, 67);
    bottom:0;
    left: 50%;
    opacity: 0;
    transform: translateX(-50%);
    transition: all .4s;
}
.layer:hover h6 a{
    bottom:40%;
    opacity: 1;
}
.contact{
    background: #8067f0eb;
    width: 64%;
    margin: 100px auto;
    padding: 70px 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 12px;
    background-image: url(../images/intro2.jpg);
    background-size: cover;
}
.center h3{
    font-size: 30px ;
    font-weight: 500;
    margin-bottom: 3px;
    color:rgb(1, 41, 1);
}
.center p{
    color: var(--bg-color);
    color:rgb(1, 41, 1);
    line-height: 26px;
    margin-bottom: 25px;
}
.contact .action form input[type="email"]{
    max-width: 100%;
    width: 470px;
    padding: 12px 15px;
    background: var(--bg-color);
    color: var(--text-color);
    border: none;
    outline: none;
    margin: 0 10px 20px 0;
    border-radius: 30px;
}
.contact .action form input[type="submit"]{
    padding: 12px 40px;
    background: var(--main-color);
    color: var(--bg-color);
    border: none;
    outline: none;
    margin: 0 10px 20px 0;
    border-radius: 30px;
    cursor: pointer;
    transition: .3s ease;
}
.contact .action form input[type="submit"]:hover{
    transform: scale(1.1);
}
.end{
    text-align: center;
    padding: 40px;
}
.end p{
    font-size: var(--p-font);
    letter-spacing: 1px;
}
@media(max-width:1425px){
    header{
        padding: 16px 3%;
        transition: .3s;
    }
    header.sticky{
        padding: 10px 3%;
        transition: .3s;
    }
    section{
        padding: 70px 3%;
        transition: .3s;
    }
    .contact{
        width: 95%;
        transition: .3s;
    }
    :root{
        --big-font: 4rem;
        --h2-font: 2.3rem;
        --p-font:1rem;
        transition: .3s;
    }
}

@media(max-width:970px){
    #menu-icon{
        display: block;
    }
    .home{
        min-height: 80vh;
    }
    .navlist{
        position: absolute;
        top: -700px;
        left: 0;
        right:0;
        flex-direction: column;
        background: var(--main-color);
        text-align: right;
        transition: all .40s;
    }
    .navlist a{
        display: block;
        padding: 1.2rem;
        margin: 1.2rem;
        border-right: 2px solid var(--bg-color);
        color: var(--bg-color);
    }
    .navlist a:hover{
        background: var(--bg-color);
        color: var(--main-color);
    }
    .my-image img{
        width: 475px;
        height: auto;
    }
    .navlist a::after{
        display: none;
    }
    .navlist.active{
        top: 100%;
    }
}
@media(max-width:800px){
    .home{
        grid-template-columns: 1fr;
        min-height: 130vh;
        grid-gap: 1rem;
    }
    .home-text{
        padding-top: 55px;
    }
    .my-image{
        text-align: center;
    }
    .my-image img{
        width: 440px;
        height: auto;
    }
    .about{
        grid-template-columns: 1fr;
    }
    .about-img{
        text-align: center;
        margin-bottom: 30px;
    }
    :root{
        --big-font: 3.4rem;
        --h2-font: 2rem;
    }
    section{
        padding: 65px 3%;
        transition: .3s;
    }
}
@media(max-width:540px){
    .contact .action form input[type="email"]{
        width: 310px;
    }
    .experience .box-container .box{
        padding-right: 0;
    }
    .my-image img{
        width: 350px;
        height: auto;
    }
    .experience .box-container .box{
        padding-left: 5px;
    }
    .layer:hover h3{
        bottom:62%;
        opacity: 1;
    }
}
