*{
     padding: 0 ;
     margin: 0 ;
     box-sizing: border-box;
     font-family: 'Josefin Sans', sans-serif;
     text-decoration: none;
     scroll-behavior: smooth;
     scroll-padding-top: 3.5rem;
     list-style: none;
     /* border: 1px solid blue; */
}

:root{
     --bg-color: #000000;
     --secondary-bg-color: #191919;
     --text-color: #ffffff;
     --second-color: #c6c9d8bf;
     --main-color: #f9004d;
     --big-font: 5.3rem;
     --h2-font: 4.2rem;
     --p-font: 1.1rem;
}

body{
     background: var(--bg-color);
     color: var(--text-color);
     position: relative;
}
body::-webkit-scrollbar{
     width: 12px;
}
body::-webkit-scrollbar-track{
     background-color: var(--bg-color);
}
body::-webkit-scrollbar-thumb{
     background-color: var(--main-color);
}

header{
     position: fixed;
     width: 100%;
     top: 0;
     left: 0;
     right: 0;
     z-index: 1000;
     display: flex;
     justify-content: space-between;
     align-items: center;
     background: transparent;
     padding: 25px 15%;
     transition-duration: .3s;
}
header.sticky{
     padding: 20px 15%;
     background-color: var(--main-color);
     transition: all 250ms cubic-bezier(0.25, 0.45, 0.45, 0.94) 0s;

}
.showFloat{
     display: flex !important;
}

.logo{
     background: linear-gradient(45deg, var(--main-color), var(--text-color));
     background-clip: text;
     -webkit-background-clip: text;
     color: transparent;
     font-size: 30px;
     font-weight: bold;
     letter-spacing: 1px;
}
.sticky .logo{
     color: var(--text-color);
     font-size: 30px;
     font-weight: bold;
     letter-spacing: 1px;
}
.navbar{
     display: flex;
}
.navbar li {
     position: relative;
}
.navbar a{
     color: var(--text-color);
     font-weight: bold;
     font-size: 1rem;
     padding: 10px 20px;
}
.navbar a::after{
     position: absolute;
     content: '';
     width: 0%;
     height: 2px;
     background-color: var(--main-color);
     left: 0;
     bottom: -4px;
     /* transition: all 250ms cubic-bezier(0.25, 0.45, 0.45, 0.94) 0s; */
     transition: ease .40s;
}
.sticky .navbar a::after{
     background-color: var(--text-color);
}
.navbar a:hover::after{
     width: 100%;  
}
#menu-icon{
     font-size: 32px;
     color: var(--text-color);
     z-index: 10001;
     display: none;
}
.h-btn{
     padding: 0 20px;
     height: 40px;
     display: inline-block;
     line-height: 42px;
     background: var(--main-color);
     color: var(--text-color);
     border: none;
     border-radius: 30px;
     font-size: 14px;
     font-weight: 500;
     letter-spacing: 1px;
     transition: all 250ms cubic-bezier(0.25, 0.45, 0.45, 0.94) 0s;
}
.sticky .h-btn{
     background-color: var(--text-color);
     color: #000;
}
.h-btn:hover{
     transform: translateY(-5%);
}
.float-button{
     position: fixed;
     bottom: 10%;
     right:5%;
     display: flex;
     justify-content: center;
     align-items: center;
     width: 60px;
     height: 60px;
     background-color: var(--main-color);
     color: #ffffff;
     border-radius: 50%;
     text-decoration: none;
     z-index: 100;
     display: none;
}
.float-button i{
     font-size: 20px;
}
section{
     padding: 120px 15%;    
}
.home{
     height: 100vh;
     width: 100%;
     background: url(../Images/profile2.png);
     background-color: rgba(0, 0, 0, 0.7);
     background-blend-mode: soft-light;
     background-size: contain;
     background-position: right;
     background-repeat: no-repeat;
     position: relative;
     display: grid;
     grid-template-columns: repeat(1, 1fr);
     align-items: center;
}
.home-text h1{
     margin: 20px 0px;
     font-size: var(--big-font);
}
span{
     color: var(--main-color);
}
.home-text h3{
     font-size: 25px;
     margin-bottom: 55px;
}
.home-text h4{
     color: #585c63;
     font-size: 20px;
     letter-spacing: 2px;
}
.newsletter form {
     max-width: 380px;
     width: 100%;
     position: relative;
}
.newsletter form input:first-child{
     display: inline-block;
     width: 100%;
     outline: none;
     padding: 16px 140px 16px 15px;
     border: 2px solid var(--main-color);
     border-radius: 30px;
}
.newsletter form input:last-child{
     position: absolute;
     display: inline-block;
     outline: none;
     border: none;
     background: var(--main-color);
     color: var(--text-color);
     padding: 12px 30px;
     border-radius: 30px;
     box-shadow: 0px 0px 6px #000, 0px 0px 14px #868686;
     cursor: pointer;
     top: 6px;
     right: 6px;
}
.about {
     background: var(--secondary-bg-color);
     display: grid;
     grid-template-columns: repeat(2, 2fr);
     align-items: center;
     gap: 2rem;
}
/* .about-img{
     width: 300px;
     height: 500px;
} */
.about-img img{
     width: 500px;
     max-width: 100%;
     height: 100%;
     /* object-fit: cover; */
     border-radius: 10px;
}

.about-text h2{
     font-size: var(--h2-font);
     margin-bottom: 20px;
}
.about-text h5{
     font-size: 28px;
     margin-bottom: 25px;
     letter-spacing: 2px;
}
.about-text p{
     color: var(--second-color);
     letter-spacing: 1px;
     line-height: 30px;
     max-width: 590px;
     font-size: var(--p-font);
     margin-bottom: 45px;
}
.about-text .tabs{
     line-height: 40px !important;
}
.about-text .tabs b{
     background-color: var(--main-color);
     padding: 10px;
     border-radius: 30px;
     color: var(--text-color) !important;
     margin: 10px 5px;
}
.skills{
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 2rem;
     align-items: center;
     margin-top: 2rem;
}
.skill{
     position: relative;
     width: 100px;
     height: 100px;
     border-radius: 50%;
     cursor: pointer;
}

.skill:hover .skill-details{
     display: flex;
}
.skill img{
     width: 100%;
     height: 100%;
     border-radius: 50%;
     object-fit: cover;
     border: 0.2px solid var(--secondary-bg-color);
}
.skill-details{
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     position: absolute;
     top: 0;
     bottom: 0;
     left: 0;
     right: 0;
     background-color: rgba(0, 0, 0, 0.7);
     border-radius: 50%;
     display: none;
}
.skill-details h3, .skill-details p{
     margin: 0 !important;
     padding: 0 !important;
}
.skill-details h3{
     color: var(--main-color);
}
.skill-details p{
     background: linear-gradient(45deg, var(--main-color), var(--text-color));
     background-clip: text;
     -webkit-background-clip: text;
     color: transparent;
     font-size: 10px;
     font-weight: 900;
     text-transform: uppercase;
}
.btn{
     display: inline-block;
     background: var(--main-color);
     color: var(--text-color);
     border: 2px solid transparent;
     font-weight: 600;
     padding: 13px 30px;
     border-radius: 30px;
     transition: all 250ms cubic-bezier(0.25, 0.45, 0.45, 0.94) 0s;
     margin-top: 40px;
}
.mt-10{
     margin-top: 10px; 
}
.btn:hover{
     transform: translateY(-8px);
     background: transparent;
     border-color: var(--main-color);
}
.services{
     background: var(--bg-color);

}
.center{
     text-align: center;
}
.center h2{
     font-size: var(--h2-font);
     background: linear-gradient(25deg, var(--main-color), var(--text-color));
     background-clip: text;
     -webkit-background-clip: text;
     color: transparent;
     margin-bottom: 15px;
}
.center p {
     color: var(--second-color);
     letter-spacing: 1px;
     line-height: 28px;
     font-size: var(--p-font);
}
.service-content{
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(370px, auto));
     gap: 2rem;
     align-items: center;
     margin-top: 4.5rem;
}
.row{
     background: var(--secondary-bg-color);
     padding: 55px 30px;
     border-radius: 10px;
     cursor: pointer;
     transition: all 250ms cubic-bezier(0.25, 0.45, 0.45, 0.94) 0s;
}
.row i{
   color: var(--main-color);
     margin-bottom: 20px;
     font-size: 2.7rem;
}
.row h3{
     color: var(--text-color);
     font-size: 22px;
     font-weight: 700;
     margin-bottom: 15px;
}
.row p{
     color: var(--second-color);
     line-height: 30px;
     font-size: var(--p-font);
}
.row:hover{
     transform: translateY(-8px);
}
.portfolio{
     background-color: var(--secondary-bg-color);
}
.portfolio-content{
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(370px, auto));
     /* grid-template-columns: repeat(2, 1fr); */
     gap: 2rem;
     align-items: center;
     margin-top: 4.5rem;
     cursor: pointer;
}

.box{
     position: relative;
     /* border: 1px solid red; */
     width: 100%;
     height: 250px;
     box-shadow: rgba(150, 149, 149, 0.24) 0px 3px 8px;
}

.box:hover .overlay{
     display: flex;
}
.box img{
     max-width: 100%;
     width: 100%;
     height: 100%;
     object-fit: cover;
     overflow: hidden;
     transition: all 250ms cubic-bezier(0.25, 0.45, 0.45, 0.94) 0s;
}
.box p{
     color: var(--second-color);
     font-size: var(--p-font);
     margin-bottom: 15px;
}
.box h5{
     color: var(--text-color);
     font-size: 18px;
     font-weight: 700;
     margin-bottom: 15px;
}

.overlay{
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     position: absolute;
     top: 0;
     bottom: 0;
     left: 0;
     right: 0;
     background-color: rgba(0, 0, 0, 0.7);
     display: none;
}
.overlay h2{
     color: var(--text-color);
     font-size: 25px;
     font-weight: 700;
     margin-bottom: 15px;
}
.overlay a{
     display: inline-block;
     background: var(--main-color);
     color: var(--text-color);
     border: 2px solid transparent;
     font-weight: 600;
     padding: 10px 30px;
     border-radius: 30px;
     transition: all 250ms cubic-bezier(0.25, 0.45, 0.45, 0.94) 0s;
}
.overlay p{
     color: var(--second-color);
     font-size: var(--p-font);
     margin-bottom: 15px;
}
.overlay::before{
     display: block;
    content: "";
    width: 48px;
    height: 48px;
    position: absolute;
    top: 35px;
    left: 35px;
    border-top: 3px solid #ffffff;
    border-left: 3px solid #ffffff;
    transition: all 0.5s ease 0s;
    z-index: 100;
}
.overlay::after{
     display: block;
    content: "";
    width: 48px;
    height: 48px;
    position: absolute;
    bottom: 35px;
    right: 35px;
    border-bottom: 3px solid #ffffff;
    border-right: 3px solid #ffffff;
    transition: all 0.5s ease 0s;
    z-index: 100;
}
.contact{
     background: var(--bg-color);
     display: grid;
     grid-template-columns: repeat(2, 2fr);
     /* align-items: flex-end; */
     gap: 3rem;
}
.contact-img{
     display: flex;
     justify-content: center;
     align-items: center;
     /* border: 1px solid red; */
}
.contact-img img{
     max-width: 100%;
     width: 700px;
     height: 100%;
     border-radius: 10px;
}
.contact-form h2{
     font-size: var(--h2-font);
     margin-bottom: 15px;
}
.contact-form p{
     color: var(--second-color);
     letter-spacing: 1px;
     line-height: 28px;
     font-size: var(--p-font);
     margin-bottom: 4.1rem;
}
.contact-form form{
     position: relative;
}
.contact-form form input, form textarea {
     width: 100%;
     padding: 20px;
     border: none;
     outline: none;
     background: var(--secondary-bg-color);
     color: var(--text-color);
     font-size: 1rem;
     margin-bottom: .5rem;
     border-radius: 10px;
}
.contact-form  textarea{
     resize: none;
     height: 200px;
}
.contact-form form .send{
     background: var(--main-color);
     color: var(--text-color);
     font-size: 18px;
     font-weight: 600;
     border-radius: 30px;
     width: 200px;
     text-transform: uppercase;
     transition: all 250ms cubic-bezier(0.25, 0.45, 0.45, 0.94) 0s;
     cursor: pointer;
}
.contact-form form .send:hover{
     transform: translateY(-8px);
}
.footer{
     text-align: center;
     background: var(--secondary-bg-color);
     padding: 34px;
}
.footer p{
     font-size: 17px;
     color: var(--second-color);
     letter-spacing: 1px;
}

.icons{
     display: inline-flex;
     padding: 50px;
}
.icons a{
     margin: 0 25px;
     text-decoration: none;
     color: #fff !important;
     display: block;
     position: relative;
}
.icons a .layer{
     width: 55px;
     height: 55px;
     transition: transform 0.3s;
}
.icons a:hover .layer{
     transform: rotate(-35deg) skew(20deg);
}
.icons a .layer span{
     position: absolute;
     top: 0;
     left: 0;
     height: 100%;
     width: 100%;
     border: 1px solid #fff;
     border-radius: 5px;
     transition: all 0.3s;
}
.icons a .layer span.bx{
     font-size: 30px;
     line-height: 55px;
     text-align: center;
     color: #fff !important;
}
.icons a:hover .layer span:nth-child(1){
     opacity: 0.2;
}
.icons a:hover .layer span:nth-child(2){
     opacity: 0.4;
     transform: translate(5px, -5px);
}
.icons a:hover .layer span:nth-child(3){
     opacity: 0.6;
     transform: translate(10px, -10px);
}
.icons a:hover .layer span:nth-child(4){
     opacity: 0.8;
     transform: translate(15px, -15px);
}
.icons a:hover .layer span:nth-child(5){
     opacity: 1;
     transform: translate(20px, -20px);
}
.icons a:nth-child(1) .layer span,.icons a:nth-child(1) .text {
     color: #4267B2 !important;
     border-color: #4267B2 !important;
}
.icons a:nth-child(2) .layer span,.icons a:nth-child(2) .text {
     color: #1DA1F2 !important;
     border-color: #1DA1F2 !important;
}
.icons a:nth-child(3) .layer span,.icons a:nth-child(3) .text {
     color: #E1306c !important;
     border-color: #E1306c !important;
}
.icons a:nth-child(4) .layer span,.icons a:nth-child(4) .text {
     color: #2867B2 !important;
     border-color: #2867B2 !important;
}
.icons a:nth-child(5) .layer span,.icons a:nth-child(5) .text {
     color: #089206 !important;
     border-color: #089206 !important;
}
.icons a:hover:nth-child(1) .layer span{
     box-shadow: -1px 1px 3px #4267B2;
}
.icons a:hover:nth-child(2) .layer span{
     box-shadow: -1px 1px 3px #1DA1F2;
}
.icons a:hover:nth-child(3) .layer span{
     box-shadow: -1px 1px 3px #E1306c;
}
.icons a:hover:nth-child(4) .layer span{
     box-shadow: -1px 1px 3px #2867B2;
}
.icons a:hover:nth-child(5) .layer span{
     box-shadow: -1px 1px 3px #089206;
}
.icons a .text {
     position: absolute;
     left: 50%;
     bottom: -5px;
     opacity: 0;
     transform: translateX(-50%);
     transition: bottom 0.3s ease, opacity 0.3s ease;
}
.icons a:hover .text{
     bottom: -35px;
     opacity: 1;
}
@media (max-width: 1270px){
     header{
          padding: 18px 4%;
          transition: all 250ms cubic-bezier(0.25, 0.45, 0.45, 0.94) 0s;
     }
     header.sticky{
          padding: 10px 4%;
     }
     section{
          padding: 80px 4%;
          transition: all 250ms cubic-bezier(0.25, 0.45, 0.45, 0.94) 0s;
     }
     :root{
          --big-font: 4.8rem;
          --h2-font: 3.8rem;
          --p-font: 1rem;
          transition: all 250ms cubic-bezier(0.25, 0.45, 0.45, 0.94) 0s;
     }
}
@media (max-width: 990px){
     .home{
          height: 85vh;

     }
     #menu-icon{
          display: initial;
     }
     .navbar{
          position: absolute;
          top: -700px ;
          left: 0;
          right: 0;
          flex-direction: column;
          background: var(--bg-color);
          text-align: left;
          transition: all 250ms cubic-bezier(0.25, 0.45, 0.45, 0.94) 0s;
     }
     .navbar a{
          display: block;
          padding: 1.1rem;
          margin: 1.3rem;
          border-left: 2px solid var(--text-color);
     }
     .navbar a:hover{
          transition: all 250ms cubic-bezier(0.25, 0.45, 0.45, 0.94) 0s;
          background: var(--main-color);
     }
     .navbar a:hover::after{
          display: none;
     }
     .navbar.active{
          top: 100%;
     }
     .about{
          grid-template-columns: 1fr;
          justify-items: center;
     }
     .about-img img{
          width: 300px;
          height: 300px;
          object-fit: cover;
          border-radius: 50%;
     }
     .contact{
          grid-template-columns: 1fr;
     }
     .box{
          width: 100%;
          height: 300px;
     }

     .contact-img {
         display: flex;
         justify-content: center;
         align-items: center;
     }
     .contact-form{
          order: 2;
     }
     /* .service-content{
          grid-template-columns: repeat(auto-fit, minmax(100%, auto));
     } */
     .portfolio-content{
          grid-template-columns: repeat(auto-fit, minmax(100%, auto));
     }
}
@media (max-width: 767px){
     header{
          width: 100vw;
          padding: 18px 2%;
          transition: all 250ms cubic-bezier(0.25, 0.45, 0.45, 0.94) 0s;
     }
     header.sticky{
          padding: 10px 2%;
     }
     .logo,  .sticky .logo{
          font-size: 17px;
     }
     #menu-icon{
          font-size: 22px;
     }
     .home{
          height: 100vh;
     }
     .home-text h1{
          margin: 5px 0px;
     }
     
     .box{
          width: 100%;
          height: 250px;
     } 
     .h-btn{
          padding: 0px 15px;
     }
     .service-content{
          grid-template-columns: repeat(auto-fit, minmax(100%, auto));
     }

     .portfolio-content{
          grid-template-columns: repeat(auto-fit, minmax(100%, auto));
     }
     
     :root{
          --big-font: 3rem;
          --h2-font: 2rem;
          --p-font: .9rem;
     }
     .navbar a{
          display: block;
          padding: 1.1rem;
          margin: .6rem;
          border-left: 2px solid var(--text-color);
     }
     .skills{
          grid-template-columns: repeat(3, 1fr);
          gap: 1rem;
     }
     .skill{
          width: 80px;
          height: 80px;
     }
     .skill-details{
          display: flex;
     }
     .contact-img img {
          height: 300px;
          width: 300px;
          border-radius: 50%;
     }

}@media only screen and (min-width: 480px) and (max-width: 767px) {
     .logo,  .sticky .logo{
          font-size: 20px;
     }
     :root{
          --big-font: 2.4rem;
          --h2-font: 1.4rem;
          --p-font: .9rem;
     }
     .h-btn{
          padding: 0px 18px;
     }
     .home{
          height: 70vh;
     }
     .skills{
          grid-template-columns: repeat(4, 1fr);
          gap: 1rem;
     }
     .skill{
          width: 100px;
          height:100px;
     }

     .icons{
          display: flex;
          flex-wrap: wrap;
          justify-content: center;
          padding: 50px 20px;
          gap: 2rem;
     }
     .icons a{
          margin: 10px 20px 50px;
     }
     .icons a .layer{
          transform: rotate(-35deg) skew(20deg);
     }
     .icons a .layer span:nth-child(1){
          opacity: 0.2;
     }
     .icons a .layer span:nth-child(2){
          opacity: 0.4;
          transform: translate(5px, -5px);
     }
     .icons a .layer span:nth-child(3){
          opacity: 0.6;
          transform: translate(10px, -10px);
     }
     .icons a .layer span:nth-child(4){
          opacity: 0.8;
          transform: translate(15px, -15px);
     }
     .icons a .layer span:nth-child(5){
          opacity: 1;
          transform: translate(20px, -20px);
     }
     .icons a:nth-child(1) .layer span{
          box-shadow: -1px 1px 3px #4267B2;
     }
     .icons a:nth-child(2) .layer span{
          box-shadow: -1px 1px 3px #1DA1F2;
     }
     .icons a:nth-child(3) .layer span{
          box-shadow: -1px 1px 3px #E1306c;
     }
     .icons a:nth-child(4) .layer span{
          box-shadow: -1px 1px 3px #2867B2;
     }
     .icons a:nth-child(5) .layer span{
          box-shadow: -1px 1px 3px #089206;
     }
     .icons a .text{
          bottom: -35px;
          opacity: 1;
     }

     
}
@media screen and (min-width: 280px) and (max-width: 480px){
     :root{
          --big-font: 1.4rem;
          --h2-font: 1.2rem;
          --p-font: .7rem;
     }
     .home{
          height: 100vh;
     }
     .home-text h1{
          font-size: 35px;
          padding: 10px 0px;
     }
     .home-text h3{
          font-size: 18px;
     }
     .home-text h4{
          color: #585c63;
          font-size: 17px;
          letter-spacing: 2px;
     }
     .icons{
          display: flex;
          flex-wrap: wrap;
          padding: 30px 10px;
          gap: 1rem;

     }
     .icons a{
          margin: 10px 20px 50px;
     }
     .icons a .layer{
          transform: rotate(-35deg) skew(20deg);
     }
     .icons a .layer span:nth-child(1){
          opacity: 0.2;
     }
     .icons a .layer span:nth-child(2){
          opacity: 0.4;
          transform: translate(5px, -5px);
     }
     .icons a .layer span:nth-child(3){
          opacity: 0.6;
          transform: translate(10px, -10px);
     }
     .icons a .layer span:nth-child(4){
          opacity: 0.8;
          transform: translate(15px, -15px);
     }
     .icons a .layer span:nth-child(5){
          opacity: 1;
          transform: translate(20px, -20px);
     }
     .icons a:nth-child(1) .layer span{
          box-shadow: -1px 1px 3px #4267B2;
     }
     .icons a:nth-child(2) .layer span{
          box-shadow: -1px 1px 3px #1DA1F2;
     }
     .icons a:nth-child(3) .layer span{
          box-shadow: -1px 1px 3px #E1306c;
     }
     .icons a:nth-child(4) .layer span{
          box-shadow: -1px 1px 3px #2867B2;
     }
     .icons a:nth-child(5) .layer span{
          box-shadow: -1px 1px 3px #089206;
     }
     .icons a .text{
          bottom: -35px;
          opacity: 1;
     }

}
