@media (min-width: 992px) {
    .about-section .skill-content.active{
        min-height: 50vh;
    }
    .skill-box span{      
        transform: rotateY(calc(var(--i) * 27deg)) translateZ(350px);
    }
    .skill-box span img{       
        width: 100px;
        height: 100px;   
    }
}
@media(max-width: 991px){
    .about-section .electro-skills .electro-skill-item,
    .portfolio-section .portfolio-item,
    .service-section .service-item{
        flex: 0 0 50%;
        max-width: 50%;
    }
    .menu-bar ul li a{
        font-size: 14px;
    }
    .menu-bar .logo{
        flex: 0 0 20%;
        max-width: 20%;
    }
    .menu-bar ul{
        flex: 0 0 80%;
        max-width: 80%;
    }
    .about-section .skill-content.active{
        min-height: 50vh;
    }
    .skill-box span{      
        transform: rotateY(calc(var(--i) * 28deg)) translateZ(330px);
    }
    .skill-box span img{  
        width: 95px;
        height: 95px;  
    } 
}
@media(max-width: 767px){
    .contact-section .w-50,
    .contact-section .contact-item,
    .portfolio-popup .description,
    .portfolio-popup .info,
    .portfolio-section .portfolio-item,
    .service-section .service-item,
    .about-section .electro-skills .electro-skill-item,
    .about-section .about-info,
    .about-section .about-img,
    .home-section .home-text,
    .home-section .home-img{
        flex: 0 0 100%;
        max-width: 100%;
    }
    .home-section,
    .about-section,
    .service-section,
    .portfolio-section,
    .contact-section{
        padding: 60px 0 20px;
    }
    .home-section .home-text{
        order: 2;
    }
    .menu-bar{
        display: none;
    }
    .header .hamburger-btn{
        display: flex;
    }
    .contact-section .submit-btn,
    .home-section .home-text{
        text-align: center;
    }
    
    .home-section .full-screen{
        padding: 50px 0 50px;
    }
    .home-section .home-img .img-box{
        margin-bottom: 40px;
        max-width: 350px;
    }
    .about-section .about-img .img-box img{
        width: 60%;
    }
    .about-section .about-img{
        padding-bottom: 30px;
    }
    .about-section .about-info p{
        margin-right: 0;
    }
    .skill-box span{      
        transform: rotateY(calc(var(--i) * 27deg)) translateZ(250px);
    }
    .skill-box span img{  
        width: 70px;
        height: 70px; 
    }
    .about-section .timeline .timeline-item:nth-child(odd){
        padding-right: 15px;
        text-align: left;
        padding-left: 75px;
    }
    .about-section .timeline .timeline-item:nth-child(even){
        padding-left: 75px;
    }
    .about-section .timeline:before{
        left: 35px;
    }
    .about-section .timeline .timeline-item:nth-child(odd) .icon{
        right: auto;
        left: -60px;
    }
    .about-section .timeline .timeline-item:nth-child(even) .icon{
        left: -60px;
    }
    .about-section .timeline .timeline-item{
        margin-bottom: 40px;
    }
    .about-section .timeline .timeline-item:last-child{
        margin-bottom: 0;
    }
    .about-section .timeline .timeline-item:nth-child(odd) .timeline-item-inner:before{
        left: -30px;
        right: auto;
    }
    .about-section .electro-skill-item-inner .side-b ul li,
    .about-section .electro-skill-item-inner .side-a h3{
        font-size: 20px;
    }
    .portfolio-popup .pp-img{
        max-width: 500px;
    }
    .portfolio-popup .pp-project-details-btn{
        font-size: 14px;
    }
}

@media (max-width: 574px) {
    
    .home-section .full-screen{
        min-height: 90vh;
    }
    .home-section .home-img .img-box{
        margin-bottom: 0;
        max-width: 260px;
    }
    .home-section .home-text h2{
        font-size: 40px;
    }
    .skill-box span{      
        transform: rotateY(calc(var(--i) * 27deg)) translateZ(200px);
    }
    .skill-box span img{   
        width: 60px;
        height: 60px;  
    }
    .about-section .skill-item-mehr img{
        height: 40px;
        width: 40px; 
    }
    .about-section .electro-skill-item-inner .side-b ul li,
    .about-section .electro-skill-item-inner .side-a h3{
        font-size: 20px;
    }
    .portfolio-popup .pp-img{
        max-width: 250px;
    }
    .portfolio-popup .pp-project-details-btn{
        font-size: 12px;
    }
}
@media (max-width: 375px) {
    .skill-box span{      
        transform: rotateY(calc(var(--i) * 27deg)) translateZ(150px);
    }
    .skill-box span img{   
        width: 40px;
        height: 40px;  
    }
}