*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}

@font-face {
    font-family: "Peosa";
    src: url(./images/Peosa.ttf);
}

html{
    scroll-behavior: smooth;
  }



body{
    --primaryColor: #fefef3;
    --accentColor:#bd244b;;
    --purple: rgb(153, 167, 255);
    overflow-x: hidden;
    background-color: var(--primaryColor);

}



p, a{
    font-family: 'Comfortaa';
    font-size: 16px;
    text-decoration: none;
    color: var(--accentColor);
    line-height: 1.75rem;
}

.heading{
    font-family: 'Peosa';
    font-size: 2.25rem;
    letter-spacing: 2px;
}


.mobile{
    display:none;
}


/* Navbar */

.container{
    width:1200px;
    margin: 0 auto;
}

.navbar{
   
    width:100%;
    height:75px;
    display:flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primaryColor);
    padding:0 calc(50% - 600px);
    z-index: 1111;
    top: 0;
    position: fixed;
    border-bottom: 0.5px solid rgba(189,37,75,0.075);

    
}

.logo{
    height:50px;
   margin-top:3px;
}

.menu{
    display:flex;
    align-items: center;
    justify-content: flex-end;
    list-style: none;
}


.menu a{
    color:var(--accentColor);
    margin-left:30px;
    transition: all 0.5s;
    position: relative;
    font-family: "peosa";
    letter-spacing: 1px;
    font-weight: bold;

    
}

.menu a::before{
    content:'';
    position: absolute;
    width:0%;
    height:2px;
    background: var(--accentColor);
    border-radius: 5px;
    bottom:-5px;
    left:0;
    transition: all 0.5s;
    opacity: 0;
    visibility: hidden;
        
}

.menu a:hover::before {
    width: 100%;
    transition: all 0.5s;
    opacity: 1;
    visibility: visible;
    
}

.active::after{
    content:'';
    position: absolute;
    width:100%;
    height:2px;
    background: var(--accentColor);
    border-radius: 5px;
    bottom:-5px;
    left:0;
  
}







/* showcase Section */

.showcaseSection{
    width:1200px;
    margin: 100px auto 0 auto;


}

.HeroSectionHeading{
    font-family: 'Peosa';
    letter-spacing: 2px;
    font-size: 30px;
    color: var(--accentColor);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 50px;
}

.big{
    font-size: 120px;
    letter-spacing: 5px;
}

.videoSection{
    border-radius: 50px;
}

.showcaseVideo{
    width: 100%;
    border-radius: 50px;
}



/* About Section */

.aboutSection{
    margin-top:10rem;
    padding:5rem 0;
}

.aboutGrid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap:2rem;
}

.gridImage{
    width:100%;
    height:100%;
    background-image: url(./images/About-Kinza-Nazim.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
}


.gridText{
    color:var(--accentColor);
    display: flex;
    flex-direction: column;
    gap:3rem;

}


/* Project section */

.projectSection{
    margin-top:10rem;
    padding:5rem 0;
}


.projectGrid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 0.5fr);
}

.projectGrid *{
    display: flex;
    align-items: center;
    justify-content: center;

}

.projectGridItem2{
    grid-column: 2/3;
    grid-row: 1/3;
}


.projectGridItem3{
    grid-column: 1/2;
    grid-row: 2/4;
}


.projectGridItem4{
    grid-column: 2/3;
    grid-row: 3/5;
}

.projectGridItem5{
    grid-column: 1/2;
    grid-row: 4/6;

}


.projectGridImage{
    width:100%;
    height: 100%;
    
}

.ProjectText{
    color: var(--accentColor);
    font-size: 2rem;
    font-weight: 700;
}

.projectImage{
    overflow: hidden;
    position: relative;
}
.projectMockup{
    transform: scale(1);
    transition: all ease-in-out 1s;
}

.projectMockup:hover{
    transform: scale(1.1);
    transition: all ease-in-out 1s;
}

.projectGridTextBox{
    width:100%;
    height: 20%;
    background: linear-gradient(180deg, rgba(133, 2, 37, 0) 0%, rgba(110, 1, 30, 0.75) 50%, rgba(86, 0, 34, 0.75) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 11;


}

 .projectGridTextBox{
    display: flex;
    align-items: end;
    justify-content: space-between;
    color: var(--primaryColor);
    padding: 2rem 3rem;

}

.projectName{
    display: flex;
    flex-direction: column;
    align-items: start;
}

.companyName, .viewmore, .ProjectDescription{
    color:var(--primaryColor);
}

.companyName{
    font-family: 'comfortaa';
    font-size: 1.25rem;
}

.ProjectDescription{
    font-size: 1rem;
}

.viewMoreArrow{
    width: 1rem;
    margin-left: 1rem;
}

.viewmore{
    position: relative;
} 


/* funProjectSection */

.funProjectSection{
    margin-top:10rem;
    padding:5rem 0;
}

.funFlexBox{
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.funProjectImage{
    width:30%;
    border-radius: 10px;
    margin: 5rem 0;

}

.funProjectSection,
.seemore{
    text-align: center;
    color: var(--accentColor);
    font-size: 30px;
    position: relative;
    font-family: "peosa";
    letter-spacing: 2px;

}

.footerLink::before,
.contact::before,
.seemore::before,
.viewmore::before{
    content: "";
    position: absolute;
    width:0%;
    height: 3px;
    border-radius: 5px;
    background-color: var(--accentColor);
    bottom: -5px;
    left:0;
    transition: all 0.5s ease-in-out;

}

.footerLink:hover::before,
.contact:hover::before,
.seemore:hover::before,
.viewmore:hover::before{
    width:100%;
    transition: all 0.5s ease-in-out;
}

.footerLink::before,
.viewmore::before{
    height: 2px;
    background-color: var(--primaryColor);


}

/* footer */

.footer{
    padding:5rem 0 1rem 0;
    background: linear-gradient(180deg,rgba(255, 48, 100, 1) 0%, rgba(107, 0, 21, 1) 100%);
}

.CTABox{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5rem;
}

.CTAHeading{
    font-size: 3rem;
    font-weight: 700;
    color:var(--primaryColor);
    font-family: "peosa";
    letter-spacing: 2px;
}



.contact{
    padding:1rem 2rem;
    background-color: var(--primaryColor);
    border-radius: 50px;
    margin-left: 2rem;
    font-weight: bold;
    position: relative;

}

.contact::before{
      left:2rem;
    height: 2px;
    bottom: 0.9rem;
}

.contact:hover::before{
    width: calc(100% - 4rem); 
    
}

.footerLogo{
    display: flex;
    justify-content: center;
}

.footerLogoImage{
    height:50px;
}


.footerLinkList{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    
}


.footerLink{
    color: var(--primaryColor);
    margin: 0 1rem;
    position: relative;
    font-family: "peosa";
    letter-spacing: 2px;
    font-weight: 400;
}

.socialLink{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:2rem;
    transform: scale(1);
    transition: all ease-in-out 0.5s;
}

.socialIcon{
    border-radius: 5px;
    transform: scale(1);
    transition: all ease-in-out 0.5s;
}

.socialIcon:hover{
    transform: scale(1.05);
    transition: all ease-in-out 0.5s;
}


.footerTextBox{
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
   
}

.footerText, .designerLink{
    color: var(--primaryColor);
    font-size: 1rem;
    display: flex;
    font-family: "peosa";
    letter-spacing: 2px;
    font-weight: 400;
}

.left{
    justify-content:left;
}

.center{
    justify-content: center;
}

.right{
    justify-content: right;
}





/* Fun Project Page */

.funProjectModal{
    margin: 10rem 0;
}

.modalImageGrid{
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(350px, 1fr) );
    gap: 3rem;
}

.modalImage{
    width:350px;
    cursor: zoom-in;
    border-radius: 10px;
    transform: scale(1);
    transition: all ease-in-out 0.5s;
}

.modalImage:hover{
    transform: scale(1.05);
    transition: all ease-in-out 0.5s;
}


.modal {
    z-index: 111111;
    display: none;
    padding-top: 10px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(24, 0, 6, 0.9);
    
  }
  
  .modal-content {
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .modal-hover-opacity {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-backface-visibility: hidden;
  }
  
  .modal-hover-opacity:hover {
    opacity: 0.8;
    filter: alpha(opacity=60);
    -webkit-backface-visibility: hidden;
  }
  
.img01{
    width:100%;
    cursor: none;
}

.modal{
    cursor: zoom-out;
}
  .modal-content,
  #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.5s;
    animation-name: zoom;
    animation-duration: 0.5s;
    cursor: default;
  }
  
  @-webkit-keyframes zoom {
    from {
      -webkit-transform: scale(0);
    }
    to {
      -webkit-transform: scale(1);
    }
  }
  
  @keyframes zoom {
    from {
      transform: scale(0);
    }
    to {
      transform: scale(1);
    }
  }
  


  /* project page */

  .projectShowcase{
    width:100%;
    height: 90vh;
    color: var(--primaryColor);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;


  }


  .projectPageHeading{
    font-family: 'Peosa';
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 2px 2px 1px var(--accentColor);
  }

  .projectPageTitle{
    font-family: 'Peosa';
    font-size: 2rem;
  }


  .aboutProjectSection{
    margin: 5rem 0 ;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap:3rem;
  }

  .projectImage{
    width:100%;


  }

  .heading{
    color: var(--accentColor);
    margin-bottom: 2rem;
    font-size: 40px;
  }

  .ProjectDescriptionSection{
    margin: 5rem 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:3rem;
  }

  .projectDescItem{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(226, 205, 172, 0.5);

  }

  .ProjectDescHeading{
    font-family: 'Peosa';
    font-size: 2rem;
    color: var(--accentColor);
    margin-bottom: 2rem;
    letter-spacing: 2px;
  }

.typography{
    margin: 5rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap:3rem;
}

.colorImage{
    width:100%;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(226, 205, 172, 0.5);

}

.projectMockups{
    margin: 5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap:3rem 0;

}

.mockups{
    width:100%;

}

.otherProjectSection{
    margin: 5rem 0;
}


.otherProject{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:3rem;
}

.otherProject1, 
.otherProject2,
.otherProject3{
    position: relative;

}

.projectShowcase1{
    background-image: url(./images/Kinza-Nazim-Cover-Picture.webp);

}

.projectShowcase2{
    background-image: url(./images/Rehab-&-Strength-Cover-Picture.webp);
}

.projectShowcase3{
    background-image: url(./images/AMB-Cover-Picture.webp);
}

.projectShowcase4{
    background-image: url(./images/ZBR-background.jpg);
}



.mockupgrid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap:30px;
    align-items: start;

}

.mockups{
    width: 100%;
    height: 80vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.mockup1{
    grid-column: 1/3;
    grid-row: 1/2;
    background-image: url(./images/zbr4.jpg);

}


.mockup2{
    grid-column: 3/4;
    grid-row: 1/2;
}

.mockup3{
    grid-column: 1/2;
    grid-row: 2/3;
    background-image: url(./images/zbr6.jpg);
}

.mockup4{
    grid-column: 2/4;
    grid-row: 2/3;
    background-image: url(./images/zbr7.jpg);
}

.mockup5{
    grid-column: 1/2;
    grid-row: 3/4;
    background-image: url(./images/zbr2.jpg);
    height: 70%;
}

.mockup6{
    grid-column: 2/3;
    grid-row: 3/4;
    background-image: url(./images/zbr3.jpg);
    height: 70%;
}

.mockup7{
    grid-column: 3/4;
    grid-row: 3/4;
    background-image: url(./images/zbr5.jpg);
    height: 70%;
}



/* Responsive Design */

@media only screen and (max-width:1024px) {


    p, a{
        font-size: 1rem;
        line-height: 1.5rem;
    }
    
    .heading{
        font-family: 'Peosa';
        font-size: 2rem;
        text-transform: capitalize;
    }
    

    .mobile{
        display:block;
    }

    .desktop{
        display: none;
    }
        
.container{
    width: calc(100% - 30px);
}

p{
    font-size: 1.2rem;
}
.navbar{
    width:100%;
    padding:0 15px;
    height:70px;

}

.logo{
    height:45px;
}
    .menuBox{
    width:100%;
    padding:0;
    background-color: var(--primaryColor);
    min-height: calc(100vh - 70px);
    padding:0 50px;
    position: fixed;
    z-index: 1000;
    top:70px;
    right:-500px;
    overflow: hidden; 
    opacity: 0;
    visibility: hidden;
    transition: all ease-in-out 0.5s;
   
    
    }

    .menuBox.open{
        right:0;
        opacity: 1;
        visibility: visible;
    }

    .menu{
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        width:100%;
        height:80%;
        padding-top:40px;
    }
    .menu li{
        width: 100%;  
        text-align: center;
        


    
    }
    .menu  a{
        color:var(--accentColor);
        font-size: 24px;
        font-weight: 500;
        padding:24px 0;
        width: 100%;
        margin: 0 auto;
        display: inline-block;
 
    }

    .menu  a::before{
        display: none;
    }

    .active::after{
        display: none;
    }
    .active {
        background-color: var(--primaryColor);
        color:var(--accentColor);

    }

/*  */

    .navbar-toggler{
        display: block;
        background-color: transparent;
        border: 3px solid transparent;
        outline: none;
        padding: 0 5px;
        cursor: pointer;
    
    }
    
    .navbar-toggler span,
    .navbar-toggler span::before, 
    .navbar-toggler span::after{
    display: block;
    content: '';
    background-color: var(--accentColor);
    height: 3px;
    width: 30px;
    border-radius: 10px;
    transition: all ease-in-out 0.3s;
    }
    .navbar-toggler span::before{
        transform: translateY(-8px);
    
    }
    .navbar-toggler span::after{
        transform: translateY(5px);
    }

    .navbar-toggler.open-navbar-toggler span
{
    background-color: transparent;
}
    .navbar-toggler.open-navbar-toggler span::before{
    transform: translateY(0px) rotate(45deg);
}
    .navbar-toggler.open-navbar-toggler span::after{
    transform: translateY(-3px) rotate(-45deg);
}

}

/* showcase Section */



@media only screen and (max-width:768px)

{


/* About Section */

.aboutSection{
    margin-top:5rem;
}

.aboutGrid{
    
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 0.5fr;
    column-gap:0rem;
    row-gap: 2rem;
}

.gridImage{
    grid-row: 2/3;
    height:80%;

}


.gridText{
    gap:1rem;

}


/* Project section */

.projectSection{
    margin: 0 0;
    margin-top:0rem;
    padding:0 0;
}


.projectGrid{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}


.seemore{
    line-height: 3rem;

}

.ProjectText{
    font-size: 1rem;

}

.projectGridTextBox{
    height: 40%;


}

 .projectGridTextBox{
    padding: .75rem 1.5rem;

}



.companyName{
    font-size: 1rem;
}

.ProjectDescription{
    font-size: 0.75rem;
}

.viewMoreArrow{
    width: 0.5rem;
    margin-left: 5px;
}

.viewmore{

    font-size: 0.75rem;
} 


/* funProjectSection */

.funProjectSection{
    margin-top:0;
    padding:5rem 0;
}

.funFlexBox{
    display: flex;
    flex-direction: column;


}

.funProjectImage{
    width:100%;
    margin: 1rem 0;

}

.funProjectSection .heading,
.seemore{
    font-size: 2rem;

}

/* footer */



.CTABox{
    flex-direction: column;
    margin-bottom: 2rem;

}

.CTAHeading{
    font-size: 1.5rem;
    margin-bottom: 1rem;

}


.seemore{
    display: flex;
    flex-direction: column;
}



.contact{
    padding:.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 0;
    margin-bottom: 1rem;


}



.socialLink{

    gap:1rem;

}


.footerTextBox{
    margin-top: 2rem;
    display: flex;
    flex-direction: column;


   
}

.footerText, .designerLink{
    color: var(--primaryColor);
    font-size: 1rem;
    display: flex;
}

.left{
    justify-content:left;
}

.center{
    justify-content: center;
}

.right{
    justify-content: right;
}



.CTABox{
    flex-direction: column;
}



 .projectShowcase{
    height: 40vh;
    background-size: contain;
    

  }



  .aboutProjectSection,
  .otherProject,
  .ProjectDescriptionSection,
  .typography
  {
    display: flex;
    flex-direction: column;

  }

.mockupgrid{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(8, 400px);


}

.mockups{
    width: 100%;
    height: 100%;

}

.mockup1{
    grid-column: 1/2;
    grid-row: 1/2;
    height: 100%;


}


.mockup2{
    grid-column: 1/2;
    grid-row: 2/4;
     height: 100%;
}

.mockup3{
    grid-column: 1/2;
    grid-row: 4/5;
     height: 100%;
}

.mockup4{
    grid-column: 1/2;
    grid-row: 5/6;
     height: 100%;
}

.mockup5{
    grid-column: 1/2;
    grid-row:6/7;
    height: 100%;
}

.mockup6{
    grid-column: 1/2;
    grid-row: 7/8;
    height: 100%;
}

.mockup7{
    grid-column: 1/2;
    grid-row: 8/9;
    height: 100%;
}


.showcaseVideo {
    width: 100vw;
    border-radius: 20px;
    margin-top: 200px;
}


.showcaseSection {
    width: 100%;
    margin: 200px auto;
}

.HeroSectionHeading {
    font-size: 16px;
}


.big {
    font-size: 36px;
    letter-spacing: 5px;
}


}
