* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
}

:root {
    --text-color: #fff;
    --bg-color:#1b1f24;
    --second-bg-color: #22282f;
    --main-color: #13bbff;
    --other-color: #c3cad5;

    --h1-font:4.5rem;
    --h2-font:2.9rem;
    --p-font:1rem;
}

body {
    color:var(--text-color);
    background: var(--bg-color);
}

/* --------------------header - home page----------------------- */
header {
    position: fixed;
    width: 100%;
    top:0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 16%;
    background: transparent;
    transition: all .50s ease;
    
}
.logo {
    font-size: 36px;
    color: var(--text-color);
    font-weight: 600;
}
span {
    color: var(--main-color)
}
.navlist {
    display: flex;
}
.navlist a {
    font-size: var(--p-font);
    font-weight: 500;
    color: var(--other-color);
    margin-left: 40px;
    transition: all .50s ease;

}
.navlist a:hover {
    color: var(--main-color);
    text-shadow: 3px 3px 20px var(--main-color), -2px 1px 30px var(--text-color);
}
#menu-icon {
    font-size: 30px;
    z-index: 10001;
    cursor: pointer;
    display: none;

}
.h-btn {
    display: inline-block;
    padding: 11px 26px;
    background: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all .50s ease;

}

.h-btn:hover {
    background: var(--main-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--main-color);
    transform: scale(1.1);
}

section {
    padding: 110px 16% 90px;
}
.hero {
    height: 100vh;
    width: 100%;
    background: url(/img/background.png);
    background-position: top right;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-start;

}
.main-content {
    padding-top: 100px;
}
.main-content h4{
    font-size: 2rem;
}
.main-content h1{
    font-size: var (--h1-font);
    font-weight: 900;
    margin: 30px 0px 20px;
    line-height: 1.2;
}
.main-content p {
    font-size: var(--p-font);
    font-weight: 400;
    width: 620px;
    max-width: 100%;
    color: var(--other-color);
    line-height: 30px;
    margin-bottom: 15px;
}
.social {
    margin-bottom: 40px;
}
.social i{ 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--main-color);
    border-radius: 50%;
    backdrop-filter: brightness(88%);
    font-size: 20px;
    margin-right: 17px;
    box-shadow: 0 0 20px transparent;
    cursor: pointer;
    transition: all .50s ease;
}
.social i:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px var(--main-color);
}
.btn {
    display: inline-block;
    padding: 11px 26px;
    background: var(--main-color);
    color: var(--bg-color);
    border: 2px solid var (--main-color);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all .50s ease;
}
.btn:hover {
    background: transparent;
    color: var(--main-color);
    box-shadow: 0 0 20px var(--main-color);
}

.btn2 {
    background: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    margin-left: 15px;
    transition: all .50s ease;

}
.btn2:hover {
    background: var(--main-color);
    color: var(--bg-color);
}
header.sticky {
    background: var(--bg-color);
    box-shadow: 0 1rem 1rem rgba(0, 0, 0, 2);
    padding: 16px 16%;
}

/* --------------------about----------------------- */
.about{
    background: var (--second-bg-color);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 1rem;
}
.about-img img{ 
    width: 100%;
    height: 400px;
    max-width: 400px;
    border-radius: 50%;
    object-fit: cover;
    border:7px solid var(--main-color);
    box-shadow: 0 0 20px var(--main-color);
    margin-top: 1px;

}
.about-text h2{
    font-size: var(--h2-font);
    line-height: 1.3;
    margin-bottom: 20px;
}
.about-area {
    margin: 8px 0;
    padding-top: 5px ;
}
.about-area span{
    color: var(--other-color);
    font-size: var(--p-font);
    font-weight: 300;
    margin-left: 8px;
}
.exp-area {
    margin: 10px 0 20px;
}
.exp-area p{
    color: var(--text-color);
    font-weight: 600;
    font-size: 16px;
    line-height: 30px;
}
.exp-area p span{
    color: var(--other-color);
    font-size: var(--p-font);
    font-weight: 400;
    margin-left: 8px;
}
.center-text {
    text-align: center;
}
.center-text h2{
    font-size: var(--h2-font);
}


/* --------------------skills----------------------- */
.skills{
     background: var (--second-bg-color);
     margin-bottom: 20%; 
}

.reveal {
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: all 0.7s ease;
}
.reveal.active {
  transform: translateY(0px);
  opacity: 1;
}

.skill-container {
margin-top: 5vh;
display: flex;
flex-direction: column;
justify-content: space-bet;
gap: 5vh;
align-items: center;
height: 80%;


}
.end {
width: 54vw;
height: 20vh;
padding: 5px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: space-around;
gap: 5px;
overflow: hidden;

padding: 15px 20px 15px;
background: #2d343f;
border-radius: 28px;
border: 1px solid transparent;
box-shadow: 0 0 5px var(--main-color);
transition: all .50s ease;
cursor: pointer;
}

.end:hover{
    border: 2px solid var(--main-color);
    transform: translateY(-5px) scale(1.03);
    color: var(--bg-color);

    background: hsla(210, 91%, 39%, 1);
    background: linear-gradient(90deg, hsla(210, 91%, 39%, 1) 0%, hsla(321, 55%, 50%, 1) 100%);
    background: -moz-linear-gradient(90deg, hsla(210, 91%, 39%, 1) 0%, hsla(321, 55%, 50%, 1) 100%);
    background: -webkit-linear-gradient(90deg, hsla(210, 91%, 39%, 1) 0%, hsla(321, 55%, 50%, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#0965C0", endColorstr="#C53A94", GradientType=1 );
}


.end h1 {
font-size: 1.1rem;
/* color: gray; */
width: 5%;
text-align: center;
rotate: 180deg;
height: auto;
writing-mode: vertical-lr;
text-decoration: underline;
vertical-align: middle;
padding: 10px 0;
border-bottom-right-radius: 10px;
border-top-right-radius: 10px;
z-index: -1;
}
.mobh1 {
display: none;
}
.skills-box {
height: 130px;
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
border-bottom-right-radius: 10px;
border-top-right-radius: 10px;

}
.skill {
width: 110px;
height: 110px;
display: flex;
align-items: center;
flex-direction: column;
border-radius: 8px;
padding: 5px;
z-index: -1;
box-shadow: 0 0 1000px var(--uiclr);
}
.skill img {
width: 70px;
height: 70px;
}
.skill h2 {
margin-top: 5px;
font-size: 15px;
}
.outline {
background-color: white;
border-radius: 50%;
}



/* --------------------portfolio----------------------- */
.portfolio {
    background: var(--second-bg-color);
}
.Portfolio-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, auto));
    align-items: center;
    gap: 2rem;
    margin-top: 4.2rem; 
}

.row img {
    height: auto;
    width: 100%;
    border-radius: 28px;
    margin-bottom: 1.4rem;
}
.row {
    background: #2d343f;
    border-radius: 28px;
    border: 1px solid transparent;
    box-shadow: 0 0 5px var(--main-color);
    padding: 20px;
    transition: all .50s ease;
    cursor: pointer;
}
.main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.row h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--other-color);
}
.row i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    font-size: 27px;
    border-radius: 50%;
    color: var(--text-color);
    background: #075fe4;

}
.row i:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--main-color);
    background:  hsla(321, 55%, 50%, 1) 100%;
}
.row h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}
.row:hover {
    border: 1px solid var(--main-color);
    transform: translateY(-5px) scale(1.03);
    cursor: pointer;
    color: var(--bg-color);
         background: hsla(210, 91%, 39%, 1);
         background: linear-gradient(90deg, hsla(210, 91%, 39%, 1) 0%, hsla(321, 55%, 50%, 1) 100%);
         background: -moz-linear-gradient(90deg, hsla(210, 91%, 39%, 1) 0%, hsla(321, 55%, 50%, 1) 100%);
         background: -webkit-linear-gradient(90deg, hsla(210, 91%, 39%, 1) 0%, hsla(321, 55%, 50%, 1) 100%);
        filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#0965C0", endColorstr="#C53A94", GradientType=1 );
}

.btn3{
    align-items: center;
    justify-content: center;
    display: inline-block;
    padding: 11px 26px;
    background: var(--main-color);
    color: var(--bg-color);
    border: 2px solid var (--main-color);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all .50s ease;
    margin-left: 120px;
}

.btn3:hover {
    background: transparent;
    color: var(--main-color);
    box-shadow: 0 0 20px var(--main-color);
}

/* --------------------contact----------------------- */
.contact-form {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4.2rem;
}
.contact-form form {
    position: relative;
    width: 600px;
}
form input, 
form textarea{
    width: 100%;
    padding: 20px;
    border: none;
    outline: none;
    box-shadow: 0 0 5px var(--main-color);
    background: #2d343f;
    color: var(--text-color);
    margin-bottom: 20px;
    border-radius: 8px;
}
form input::placeholder, 
form textarea::placeholder{
    color: var(--other-color);
    font-size: 15px;
}   
form .send-btn{
    display: inline-block;
    padding: 11px 26px;
    background: var(--main-color);
    color: var(--bg-color);
    border: 2px solid var (--main-color);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all .50s ease;
    width: 30%;
    
}
form .send-btn:hover{
    background: transparent;
    color: var(--main-color);
    box-shadow: 0 0 20px var(--main-color);
    cursor: pointer;
}

/* --------------------footer----------------------- */
.footer {
    padding: 22px 16%;
    background: var(--second-bg-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.copyright p{
    font-size: 15px;
    font-weight: 400;
    color: var(--other-color);

}
.scroll-top i{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #075fe4;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: var(--text-color);
    font-size: 27px;

}

/* --------------------configuration of screen sizes----------------------- */
@media (max-width: 1700px){
    header {
        padding: 20px 8%;
    }
    header.sticky{
        padding: 14px 8%;
    }
    section {
        padding: 90px 8% 90px;
    }
    .footer {
        padding: 18px 8%;
    }
    .logo {
        font-size: 31px;
    }
}
@media (max-width: 1380px){
    header {
        padding: 20px 5%;
    }
    header.sticky{
        padding: 14px 5%;
    }
    section {
        padding: 90px 5% 90px;
    }
    .footer {
        padding: 18px 5%;
    }
    .hero {
        height: 100vh;
        background-position: center;
    }
}
@media (max-width: 1290px){
    .box{
        padding: 40px 40px 46px;
    }
    .box img{
        width: 100%;
        height: 60px;
        max-width: 60px;
    }
    .box h3{
        font-size:20px;
    }
}
@media (max-width: 1240px){
    .about{
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .about-img img{ 
        text-align: center;
        width: 100%;
        height: 300px;
        max-width: 300px;
        border-radius: 50%;
        object-fit: cover;
        margin: 0 auto;
    }
    :root {
    --h1-font:4rem;
    --h2-font:2.5rem;
    --p-font:14px;
    }
    
}
@media (max-width: 950px){
    :root {
        --h1-font:4rem;
    }
    .social {
        margin-bottom: 20px;
    }
    #menu-icon{
        display: block;
    }
    .navlist{
        position: absolute;
        top: 100%;
        right: -100%;
        width: 255px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        background: var(--bg-color);
        transition: all .50s ease;
    }
    .navlist a{
        display: block;
        padding: 17px;
        font-size: 22px;
    }
    .navlist.active{
        right: 0;
    }
    .exp-area{
        margin-bottom: 30px;
    }
    .hero {
        height: 100vh;
        background-position: center;
    }
    /* skills */
    #skills{
        margin-top: 10vh;
        /* height: 90vh; */
        height: auto;
        width: 90vw;
    }
    .skill-container{
        margin-top:5%;
        margin-left: 25px;
        display: flex;
        flex-direction: column;
        justify-content:center;
        gap: 3vh;;
        align-items: center;
        /* height: 30%; */
        height: auto;
    
        filter: blur(2);
    }
    .end{
        width: 90vw;
        /* height: 40vh; */
        height: auto;
        padding:10px;
        border-radius: 15px;

        
        border: 1px solid transparent;
        box-shadow: 0 0 5px var(--main-color);
        transition: all .50s ease;
        cursor: pointer;
    
        /* border: 2px solid var(--uiclr); */
    }
    .end h1{
        font-size: .5rem;
        margin-bottom: 0px;
        text-align: center;
        padding:10;
        color: var(--text-color);
        background-color: transparent;
        z-index: -1;
    }
    .end:hover{
        border: 2px solid var(--main-color);
        transform: translateY(-5px) scale(1.03);
        color: var(--bg-color);
    
        background: hsla(210, 91%, 39%, 1);
        background: linear-gradient(90deg, hsla(210, 91%, 39%, 1) 0%, hsla(321, 55%, 50%, 1) 100%);
        background: -moz-linear-gradient(90deg, hsla(210, 91%, 39%, 1) 0%, hsla(321, 55%, 50%, 1) 100%);
        background: -webkit-linear-gradient(90deg, hsla(210, 91%, 39%, 1) 0%, hsla(321, 55%, 50%, 1) 100%);
        filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#0965C0", endColorstr="#C53A94", GradientType=1 );
    }

    .pch1{
        display: none;
    }
    .mobh1{
        display: block;
    }
    .skills-box{
     background-color:transparent;
     /* height: max; */
     height: auto;
     width: 100%;
     display: flex;
     flex-direction: row;
     flex-wrap: wrap;
     gap: 2vh;
     justify-content: space-around;
     align-items: center;
     
    }
    .skill{
        /* box-shadow: 0px 0px 8px gray; */
        box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.174) ;
        margin: 0;
        width: 50px;
        height: 50px;
        padding: 5px 0;
        transition: .3s;
        animation: shake .5s infinite;
        border: 1px solid white;
    }
    .skill:hover{
        scale: 1.2;
        animation:  shake 0s;
    }
    .skill img{
        width: 30px;
        height: 30px;
    }
    .skill h2{
        font-size: .4rem;
    }
    @keyframes shake{
        0%{
            rotate: 2deg;
            
        }
        50%{
            rotate:-2deg;
           }
        100%{
            rotate: 2deg;
        }
    }
    
}
@media (max-width: 680px){
    .main-content p{
        width: 100%;
    }
    .exp-area{
        margin-bottom: 18px;
    }
    form .send-btn{
        padding: 11px 16px;
        font-size: 14px;
        font-weight: 600;
        transition: all .50s ease;
        width: 30%;    
    }
    .hero {
        height: 70vh;
        background-position: center;
    }
}
@media (max-width: 470px){
    :root {
        --h1-font:3rem;
        --h2-font:1.5rem;
    }
    .about-img img{ 
        text-align: center;
        width: 100%;
        height: 230px;
        max-width: 230px;
        border-radius: 50%;
        object-fit: cover;
        margin: 0 auto;
    }
    .btn {
        margin: auto;
        padding: 10px 10px;
        font-size: 14px;
    }
    form .send-btn{
        padding: 11px 13px;
        font-size: 12px;
        font-weight: 600;
        transition: all .50s ease;
        width: 30%;    
    }
    .exp-area{
        margin-bottom: 5px;
    }
    .h-btn {
         padding: 8px 13px;
         font-size: 13px;
    }

    /* .skill-container {
      en dis alan 
        margin-top: 7vh;
        display: flex;
        flex-direction: column;
        justify-content:center;
        gap: 3vh;
        align-items: center;
        height: 80%;

    }
    .end {  kutu 
    width: 70vw;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2px;
    overflow: hidden;
    padding: 5px 15px 5px;
    }

    .end h1 { frontend-other :texts 
    font-size: 10px;
    width: 5%;
    rotate: 180deg;
    height: auto;
    padding: 7px;
    }
     .skills-box {
    height: 200px;
    width: 100%;
            
    }
    .skill { text of pictures 
    padding: 2px;
    width: 12px;
    height: 12px;
    }
    .skill img { 
        margin: auto;
        padding: auto;
        width: 40px;
        height: 40px;
    }
    .skills h2 { my skills 
        padding-bottom: 2px;
        margin-top: 1px;
        font-size: 1.5rem;
        }  */
        
}