@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

 *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;  
}

:root {
    --bg-color: #fdfdfd;
    --text-color: #333;
    --main-color: #754ef9;
    --white-color: #fdfdfd;
    --shadow-color: rgba(0, 0, 0, .2);
}

.dark-mode  {
    --bg-color: #0b061f;
    --text-color: #fdfdfd;
    --shadow-color: rgba(0, 0, 0, .7);
}

html {
    font-size: 90.5%;
    overflow-x: hidden;

}

body{
    background: var(--bg-color);
    color: var(--text-color);
    
}
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 7%;
    background: transparent;
    display: flex;
    align-items: center;
    z-index: 100;
    transition: .5s;

}








.header.sticky {
    background: var(--bg-color);
    box-shadow: 0, 1rem 1rem var(--shadow-color);
}

.logo {
    font-size: 2.5rem;
    color: var(--main-color);
    font-weight: 600;
    cursor: default;
    margin-right: auto;

}

.navbar a {
    position: relative;
    font-size: 1.7rem;
    color: var(--white-color);
    font-weight:  500;
    margin-right: 3.5rem;

}

.header.sticky .navbar a {
    color: var(--text-color);
}

.header.sticky .navbar a.active {
    color: var(--main-color);
}

.navbar a.active::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: .2rem;
    background: var(--white-color);


}

.navbar a.active::before {
    background: var(--main-color);
    opacity: .7;
}

#darkMode-icon {
    font-size: 2.4rem;
    color: var(--white-color);
    cursor: pointer;

}

.header.sticky #darkMode-icon {
    color: var(--text-color); 
    opacity: .9;
}

#menu-icon {
    font-size: 3.5rem;
    color: var(--text-color);
    display: none;
}
section {
    min-height: 100vh;
    padding: 10rem 7% 2rem;

}

.home {
    display: flex;
    align-items: center;

}

.home .home-content {
   max-width: 60rem;


}

.home-content h3 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: .3;
}

.home-content h1 {
    font-size: 5.6rem;
    font-weight: 700;
    margin-bottom: .3rem;

}

.home-content p {
    font-size: 1.5rem;
    width: 480px;
    
    

}

.home-content .social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    box-shadow: 0 .2rem .5rem var(--shadow-color);
    font-size: 2rem;
    color: var(--main-color);
    margin: 2.5rem 1.5rem 3rem 0;
    transition: .5s ease;

}

.home-content .social-media a:hover {
    background: var(--main-color);
    color: var(--white-color);
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.3rem;
    background: var(--main-color);
    border-radius: .6rem;
    box-shadow: 0 .2 .5rem var(--shadow-color);
    font-size: 1.6rem;
    color: var(--white-color);
    letter-spacing: .1rem;
    font-weight: 600;
    border: .2rem solid transparent;
    transition: .5s ease;

}

.btn:hover {
    background: transparent;
    color: var(--main-color);
    border-color: var(--main-color);
}

.home .profession-container {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 960px;
    height: 960px;
   
    overflow: hidden;
    pointer-events: none;
}

.home .profession-container .profession-box {
    position: absolute;
    top: 0;
    right: 0;
    width: 960px;
    height: 960px;
    border-radius: 50%;
    justify-content: center;
    display: flex;
    align-items: center;
    animation: professionRotate 13s ease-out infinite;
}

@keyframes professionRotate {
    0%,25% {
        transform: rotate(0deg);
    }
    30%,50% {
        transform: rotate(-120deg);
    }
    55%,75% {
        transform: rotate(-240deg);
    }
    80%,100% {
        transform: rotate(-360deg);
    }
    
}

.home .profession-box .profession {
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    color: var(--main-color);
    transform: rotate(calc(360deg / 3 * var(--i)));
    transform-origin: 480px;
    background: var(--bg-color);
    padding: 13px 0;
}

.home .profession-box .profession:nth-child(1) i {
    margin-right: 15px;
}

.home .profession-box .profession:nth-child(2),
.home .profession-box .profession:nth-child(3) {
    padding-bottom: 20px;
}

.home .profession i {
    font-size: 3.8rem;
}

.home .profession h3 {
    font-size: 2.2rem;
    line-height: 1;
    font-weight: 600;
}
.home .profession h4 {
    font-size: 2.8rem;
    line-height: 1;
    font-weight: 450;
}

.home .profession h5 {
    font-size: 1.75rem;
    line-height: 1;
    font-weight: 600;
}

.home .profession-box .circle {
    width: 720px;
    height: 720px;
    border: 3px solid var(--main-color);
    border-radius: 50%;
}

.home .profession-container .overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 480px solid var(--main-color);
    border-right: 480px solid var(--main-color);
    border-bottom: 480px solid var(--main-color);
    border-left: 480px solid transparent;
}

.home-img img {
    position: absolute;
    bottom: 0;
    right: 100px;
    width: 25%;
    pointer-events: none;
    align-items: center;
}

span {
    color: var(--main-color);
}

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem;
   
}

.about-img img {
    width: 40vw;
    
}

.heading {
    font-size:  4.5rem;
    text-align: center;

}

.about-content h2 {
    text-align: left;
    line-height: 1.2;
}

.about-content h3 {
    font-size: 2rem;
}

.about-content p {
    font-size: 1.5rem;
    margin: 2rem 0 3rem;
    width: 670px;
}



.about .service-items .read-more-cont{
    display: none;
}



.btn {
    cursor: pointer;
}
.popup-box{
	position: fixed;
	height: 100%;
	width: 100%;
	left: 0;
	top:0;
	background-color: rgba(0,0,0,0.5);
	z-index: 500;
	visibility: hidden;
	opacity:0;
	transition: all 0.5s ease-in-out;
    
}
.popup-box.open{
  visibility: visible;
	opacity:1;	
}
.popup-box .popup-content{
	background-color: var(--bg-color);
    
	width: 650px;
	position: absolute;
	left: 50%;
	top:50%;
	transform: translate(-50%,-50%);
	border-radius: 8px;
}

.popup-box .popup-header{
	padding: 15px 40px 15px 15px;
	border-bottom: 1px solid #dddddd;
}
.popup-box .popup-header h2 {
	margin:0;
	font-size: 34px;
}
.popup-box .popup-header .popup-close-icon{
	position: absolute;
    height: 30px;
    width: 30px;
    text-align: center;
    color: var(--text-color);
    font-size: 28px;
    line-height: 30px;
    right: 5px;
    top: 5px;
    cursor: pointer;
}
.popup-box .popup-body{
	padding: 15px;
	max-height: 300px;
	overflow-y: auto;
    
}

.popup-box .popup-body p{
	font-size: 18px;
	color: var(--text-color);
	margin:0 0 15px;
  
}
.popup-box .popup-footer{
	padding: 15px;
	border-top:1px solid #dddddd;
	text-align: right;
}
.popup-box .popup-footer .btn{
	padding: 8px 15px;
	border:1px solid var(--text-color);
	color:var(--text-color);
	font-size: 16px;
	background-color: transparent;
	cursor: pointer;
	border-radius: 4px;
}
.popup-box .popup-footer .btn:focus{
	outline: none;
}


.services {
    min-height: auto;
    padding-bottom: 7rem;
}

.services h2 {
    margin-bottom: 5rem;
}

.services .services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
   
   
    gap: 3rem;
}

.services-container .services-box {
    flex: 1 1 30rem;
    background: var(--bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    box-shadow: 0 .1rem .5rem var(--shadow-color);
    text-align: center;

    border-top: .6rem solid var(--main-color);
    border-bottom: .6rem solid var(--main-color);
    transition: .5s ease;
}

.services-container .services-box:hover {
    box-shadow: 0 .1rem 2rem var(--shadow-color);
    transform: scale(1.02);
}

.services-box i {
    font-size:  7rem;
    color: var(--main-color);
}

.services-box h3 {
    font-size: 2.6rem;
    transition: .5s ease;
}

.services-box:hover h3 {
    color: var(--main-color);
}

.services-box:hover p {
    color: var(--main-color);
}

.services-box p{
    font-size: 1.3rem;
    transition: .5s ease;
    margin: 1rem 0 3rem;
}

.video-player{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
    grid-gap: 30px;
    margin-top: 50px;
    position: relative;
    top: -10rem;
    
}


.work{
    border-radius: 15px;
    position: relative;
    overflow: hidden;
  
    transition: .5s ease;
}


.work:hover{
    box-shadow:  height 100% 0 .1rem 3rem var(--shadow-color);
   
    transform: scale(1.05);
}



.work video {

    width: 100%;
    border-radius: 10px;
    display: block;
}







.work1{
    border-radius: 15px;
    position: relative;
    right: 0rem;
    top: 11rem;
    overflow: hidden;
    transition: .5s ease;
}

.work1:hover{
    box-shadow:  height 100% 0 .1rem 3rem var(--shadow-color);
   
    transform: scale(1.05);
}


.work1 video {

    width: 100%;
    border-radius: 10px;
    display: block;

}




.work2{
    border-radius: 15px;
    position: relative;
    right: -15rem;
    top: 11rem;
    overflow: hidden;
    transition: .5s ease;
}

.work2:hover{
    box-shadow:  height 100% 0 .1rem 3rem var(--shadow-color);
   
    transform: scale(1.05);
}


.work2 video {

    width: 40%;
    border-radius: 10px;
    display: block;

}




.work3{
    border-radius: 15px;
    position: relative;
    right: -18rem;
    top: 11rem;
    overflow: hidden;
    transition: .5s ease;
}

.work3:hover{
    box-shadow:  height 100% 0 .1rem 3rem var(--shadow-color);
   
    transform: scale(1.05);
}


.work3 video {

    width: 40%;
    border-radius: 10px;
    display: block;

}


.work4{
    border-radius: 15px;
    position: relative;
    right: -15rem;
    top: 11rem;
    overflow: hidden;
    transition: .5s ease;
}

.work4:hover{
    box-shadow:  height 100% 0 .1rem 3rem var(--shadow-color);
   
    transform: scale(1.05);
}


.work4 video {

    width: 40%;
    border-radius: 10px;
    display: block;

}



.work5{
    border-radius: 15px;
    position: relative;
    right: -18rem;
    top: 11rem;
    overflow: hidden;
    transition: .5s ease;
}

.work5:hover{
    box-shadow:  height 100% 0 .1rem 3rem var(--shadow-color);
   
    transform: scale(1.05);
}


.work5 video {

    width: 40%;
    border-radius: 10px;
    display: block;

}









.work6{
    border-radius: 15px;
    position: relative;
    right: -9rem;
    top: 19rem;
    overflow: hidden;
    transition: .5s ease;
}

.work6:hover{
    box-shadow:  height 100% 0 .1rem 3rem var(--shadow-color);
   
    transform: scale(1.05);
}


.work6 video {

    width: 60%;
    border-radius: 10px;
    display: block;

}






.work7{
    border-radius: 15px;
    position: relative;
    right: -9rem;
    top: 19rem;
    overflow: hidden;
    transition: .5s ease;
}

.work7:hover{
    box-shadow:  height 100% 0 .1rem 3rem var(--shadow-color);
   
    transform: scale(1.02);
}


.work7 video {

    width: 80%;
    border-radius: 10px;
    display: block;

}





.work8{
    border-radius: 15px;
    position: relative;
    right: -15rem;
    top: 19rem;
    overflow: hidden;
    transition: .5s ease;
}

.work8:hover{
    box-shadow:  height 100% 0 .1rem 3rem var(--shadow-color);
   
    transform: scale(1.05);
}


.work8 video {

    width: 60%;
    border-radius: 10px;
    display: block;

}







.portfolio h2{
    position: relative;
    top: -2rem;
}

.portfolio h3{
    font-size: 1.7rem;
    
}


.portfolio-container {
    position: relative;
    display: flex;

    justify-content: center;
    align-items: center;
    max-width: 1200px;
    flex-wrap: wrap;
    z-index: 1;
}

.portfolio-container .portfolio-box{
    position: relative;
    left: 15rem;
    top: 4.5rem;
    width: 240px;
    height: 40px;
    margin: 30px;
    text-align: center;
    box-shadow: 20px 20px 50px rgba(0,0,0,0.5);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 4px solid var(--main-color);
    border-left: 1px solid var(--main-color);
    border-right: 1px solid var(--main-color);
    backdrop-filter: blur(5px);
}





.portfolio h4{
    font-size: 1.7rem;
    
}

.portfolio-container1{
position: relative;
display: flex;

justify-content: center;
align-items: center;

flex-wrap: wrap;
z-index: 1;
}



.portfolio-container1 .portfolio-box1{
    position: relative;
    left: -0.5rem;
    top: 144rem;
    width: 240px;
    height: 40px;
    margin: 30px;
    text-align: center;
    box-shadow: 20px 20px 50px rgba(0,0,0,0.5);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 4px solid var(--main-color);
    border-left: 1px solid var(--main-color);
    border-right: 1px solid var(--main-color);
    backdrop-filter: blur(5px);

    
}

 



.portfolio h5{
    font-size: 1.7rem;
    
}

.portfolio-container2{
position: relative;
display: flex;

justify-content: center;
align-items: center;

flex-wrap: wrap;
z-index: 1;
}



.portfolio-container2 .portfolio-box2{
    position: relative;
    left: -0.5rem;
    top: 365rem;
    width: 240px;
    height: 40px;
    margin: 30px;
    text-align: center;
    box-shadow: 20px 20px 50px rgba(0,0,0,0.5);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 4px solid var(--main-color);
    border-left: 1px solid var(--main-color);
    border-right: 1px solid var(--main-color);
    backdrop-filter: blur(5px);

    
}

















.contact h2 {
    margin-bottom: 3rem;
}

.contact form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}

.contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--bg-color);
    border-radius: .8rem;
    margin: .7rem 0;
    box-shadow: 0 .1rem .5rem var(--shadow-color);

}

.contact form .input-box input {
    width: 49%;
}
.contact form textarea {
    resize: none;
}

.contact form .btn {
    margin-top: 2rem;
    cursor: pointer;
    position: relative;
    left: 25rem;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 7%;
    background: var(--main-color);
}

.footer-text {
    font-size: 1.1rem;
    color: var(--white-color);
}

.footer-iconTop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--white-color);
    border-radius: .8rem;
    border: .2rem solid var(--main-color);
    outline: .2rem solid transparent;
    transition: .5s ease;
}

.footer-iconTop a:hover {
    outline-color: var(--white-color);
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: #333;
}



/* BREAKPOINTS */  

@media (max-width:1431px ) {
    html {
        font-size: 65%;
    }
    

    @keyframes professionRotate {
        0%,25% {
            transform: rotate(0deg);
        }
 
        
    }
    

    .hpme .profession-container{
        height: 85.8rem;
    }

    .home .profession-container .profession-box {
        right: -12rem;
        height: 85.8rem;
    }

    .home .profession-container .overlay {
        right: -9rem;
    }


    .about-img img {
        position: relative;
        left: 3rem;
        width: 30%;
        height: 30%;
        
    }


    


    .portfolio-container{
        position: relative;
        right: 15rem;
    }

    .portfolio-container .portfolio-box{
        position: relative;
        right: 70rem;
    }

    .portfolio-container1 .portfolio-box1{
        position: relative;
       top:  157rem;
    }

    .portfolio-container2 .portfolio-box2{
        position: relative;
       top:  382rem;
    }


    #darkMode-icon {
        position: absolute;
        right: 10rem;
        font-size: 2.6rem;
        color: var(--text-color);
        margin-bottom: .1rem;
     }



    @media (max-width:1024px) {
        .header{
            padding: 2rem 3%;
        }

        section{
            padding: 10rem 3% 2rem;
        }

        .home .profession-container .profession-box {
            right: -22rem;
        }

        .home .profession-container .overlay {
            right: -15rem;
        }

    }








    @media (max-width: 991px) {
        .navbar a:nth-child(1),
        .navbar a:nth-child(2) {
            color: var(--main-color);
        }
    }

        .navbar a.active::before {
            background: var(--main-color);
            opacity: .7;
        }

        .home .home-content {
            max-width: 120rem;
        }

        .home .profession-container .profession-box {
            right: -45rem;
        }

        .home .profession-container .overlay {
            right: -39.5rem;
        }

        .home-img img {
            display: none;
        }
        .services,
        .portfolio {
            padding-bottom: 7rem;
        }

        .contact {
            min-height: auto;
        }

        .footer {
            padding: 2rem 3%;
        }

        @media (max-width: 768px) {

            body{
    
                overflow-x: hidden;
            }
        #darkMode-icon {
            position: absolute;
            right: 13rem;
            font-size: 2.6rem;
            color: var(--text-color);
            margin-bottom: .1rem;
         }

        }


 
        .navbar {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            padding: 1rem 10%;
            background: var(--bg-color);
            border-top: .1rem solid rgba(0, 0, 0, .2);
            box-shadow: 0 .5rem qrem rgba(0, 0, 0, .1);
            display: none;

        }

        .navbar.active {
            display: block;
        }

        .navbar a {
            display: block;
            font-size: 2rem;
            margin: 3rem 0;
            color: var(--text-color);

        }

        .navbar a:nth-child(1),
        .navbar a:nth-child(2) {
            color: var(--text-color);
        }

        .navbar a.active {
            color: var(--main-color);
        }

        .navbar a ::before {
            display: none;
        }

        .home {
            padding: 0 3% 23rem;
            justify-content: center;
            text-align: center;

        }

        .home-content h3 {
            font-size: 2.6rem;
        }

        .home-content h1 {
            font-size: 5rem;
        }

        .home-content .social-media a {
            margin: 2.5rem .75rem 3rem;
        }

        .home .profession-container {
            left: 0;
            width: 100%;
            height: 100%;
        }

        .home .profession-container .profession-box {
            position: absolute;
            top: 52%;
            left: 0;
            border-radius: 0;
            width: 100%;
        }

      

        .home  .profession-box .profession h3 {
            font-size: 2.3rem;
            line-height: 1;
            font-weight: 600;
           
         
        }
        .home .profession h4 {
            font-size: 2.8rem;
            line-height: 1;
            font-weight: 450;
        }
        
        .home .profession h5 {
            font-size: 2rem;
            line-height: 1;
            font-weight: 600;
        }
        
      

        .home .profession-box .profession {
            padding: 0 13px;
            left: auto;
            transform-origin: 0;
        }

        .home .profession-box .profession:nth-child(1) {
            transform: rotate(-120deg) translate(-120px, -210px);
        }

        .home .profession-box .profession:nth-child(1) {
            margin-right: 0;
        }

        .home .profession-box .profession:nth-child(2) {
            transform: rotate(0deg) translate(0px, -335px);
        }

        .home .profession-box .profession:nth-child(3) {
            transform: rotate(120deg) translate(-115px, -450px);
        }

    

        .home .profession-box .circle {
            position: fixed;
            width: 670px;
            height: 670px;
            z-index: -1;
        }

        .about {
            flex-direction: column-reverse;
            text-align: center;
        }

        .about-content h2 {
            text-align: center;
        }

        .about-img img {
            width: 70vw;
            margin-top: -2rem;
        }

        .services h2,
        .portfolio h2 {
            margin-bottom: 2rem;
        }

        .portfolio .portfolio-conteiner {
            grid-template-columns: repeat(2. 1fr);
        }

   
        .home .profession-container .overlay {
            position: fixed;
            top: 70rem;
            left: 50%;
            right: 0;
            transform: rotate(90deg) translate(-50%, 50%) scaleY(3);
            border-width: 23.9rem;
        }



        


    




        

        @media (max-width: 430px) {
            html {
                font-size: 60%;

            }
            body{
               
          
                overflow-x: hidden;
            }
        }

        #menu-icon {
            position: absolute;
            right: 1rem;
            display: block;
        }

        .navbar {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            padding: 1rem 10%;
            background: var(--bg-color);
            border-top: .1rem solid rgba(0, 0, 0, .2);
            box-shadow: 0 .5rem qrem rgba(0, 0, 0, .1);
            display: none;



        }

        .home-content p {
            font-size: 1.5rem;
            width: 380px;
            
            
        
        }

        .about-img img {
            position: relative;
            margin-left: -3rem;
            width: 100vw;
        }

        .popup-box .popup-content{
            width: calc(90%);
        }

        .work{
            width: 60%;
            position: relative;
            left: 11.5rem;
        }


        .work1{
            width: 60%;
            position: relative;
            left: 11.5rem;
        }


        .work2{
            width: 90%;
            position: relative;
            left: 18.5rem;
        }

        .work3{
            width: 90%;
            position: relative;
            left: 18.5rem;
        }



        .work4{
            width: 90%;
            position: relative;
            left: 18.5rem;
        }

        .work5{
            width: 90%;
            position: relative;
            left: 18.5rem;
        }


        .work6{
            width: 80%;
            position: relative;
            left: 15rem;
        }
        
        .work7{
            width: 70%;
            position: relative;
            left: 12.5rem;
        }

        
        .work8{
            width: 80%;
            position: relative;
            left: 15rem;
        }




        

        #darkMode-icon {
            right: 5rem;
        }


        .about-content p {
            font-size: 1.5rem;
            margin: 2rem 0 3rem;
            width: 90%;
           text-align: center;
           position: relative;
           left: 2rem;
        }



        .portfolio-container1 .portfolio-box1{
            position: relative;
            top: 197rem;
        }

        .portfolio-container2 .portfolio-box2{
            position: relative;
            top: 535rem;
            left: 0.3rem;
        }

  
     .buton{
        position: relative;
        right: 15rem;
     }

      
        
        

        .home {
            padding: 0 3% 30rem;
        }

        .home .profession-box .profession:nth-child(1) {
            transform: rotate(-120deg) translate(-110px, -220px);
        }

        .home .profession-box .profession:nth-child(2) {
            transform: rotate(0deg) translate( 5px, -335px);
        }

        .home .profession-box .profession:nth-child(3) {
            transform: rotate(120deg) translate(-105px, -440px);
        }

        .contact form .input-box input {
            width: 100%;
        }





        .footer {
            flex-direction: column-reverse;
            margin-left: 0rem;
            width: 100%;
        }
        
        
        .footer p {
            text-align: center;
            margin-top: 2rem;
        }

            }
        
 
        @media (max-width: 390px) {
            html {
                font-size: 60%;

            }
            body{
               
          
                overflow-x: hidden;
            }
        

        #menu-icon {
            position: absolute;
            right: 1rem;
            display: block;
        }

        .navbar {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            padding: 1rem 10%;
            background: var(--bg-color);
            border-top: .1rem solid rgba(0, 0, 0, .2);
            box-shadow: 0 .5rem qrem rgba(0, 0, 0, .1);
            display: none;



        }

        .home-content p {
            font-size: 1.5rem;
            width: 380px;
            
            
        
        }

        .about-img img {
            position: relative;
            margin-left: -3rem;
            width: 100vw;
        }

        .popup-box .popup-content{
            width: calc(90%);
        }

        .work{
            width: 60%;
            position: relative;
            left: 11.5rem;
        }


        .work1{
            width: 60%;
            position: relative;
            left: 11.5rem;
        }


        .work2{
            width: 90%;
            position: relative;
            left: 18.5rem;
        }

        .work3{
            width: 90%;
            position: relative;
            left: 18.5rem;
        }



        .work4{
            width: 90%;
            position: relative;
            left: 18.5rem;
        }

        .work5{
            width: 90%;
            position: relative;
            left: 18.5rem;
        }


        .work6{
            width: 80%;
            position: relative;
            left: 15rem;
        }
        
        .work7{
            width: 70%;
            position: relative;
            left: 12.5rem;
        }

        
        .work8{
            width: 80%;
            position: relative;
            left: 15rem;
        }




        

        #darkMode-icon {
            right: 5rem;
        }


        .about-content p {
            font-size: 1.5rem;
            margin: 2rem 0 3rem;
            width: 90%;
           text-align: center;
           position: relative;
           left: 2rem;
        }



        .portfolio-container1 .portfolio-box1{
            position: relative;
            top: 197rem;
        }

        .portfolio-container2 .portfolio-box2{
            position: relative;
            top: 535rem;
            left: 0.3rem;
        }

  
     .buton{
        position: relative;
        right: 15rem;
     }

      
        
        

        .home {
            padding: 0 3% 30rem;
        }

        .home .profession-box .profession:nth-child(1) {
            transform: rotate(-120deg) translate(-110px, -220px);
        }

        .home .profession-box .profession:nth-child(2) {
            transform: rotate(0deg) translate( 5px, -335px);
        }

        .home .profession-box .profession:nth-child(3) {
            transform: rotate(120deg) translate(-105px, -440px);
        }

        .contact form .input-box input {
            width: 100%;
        }





        .footer {
            flex-direction: column-reverse;
            margin-left: 0rem;
            width: 100%;
        }
        
        
        .footer p {
            text-align: center;
            margin-top: 2rem;
        }

}

@media (max-width: 360px) {


    .home-content p {
        font-size: 1.5rem;
        width: 340px;
        
        
    
    }


    .about-img img {
        position: relative;
        margin-left: -4rem;
        width: 100vw;
    }


    .buton{
        position: relative;
        right: 16.5rem;
     }
}







