/* google fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Coming+Soon&family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&family=Press+Start+2P&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scroll-padding-top: 3rem;
    /* font-family: 'Montserrat', sans-serif; */
    /* color: #E4E4E4 ; */
}

#code-snippet{
    font-family: "Courier Prime", monospace;
    font-weight: 500;
    font-size: 16px;
    color: #E4E4E4;
    background-color: #262c36;
    padding: 10px;
    border-radius: 10px;
    overflow-x: auto;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #E4E4E4 ;
    background-color: #1C1C1C;
    padding-top: 35px; 
    /* adjust value according to header height 
        and takes .container styles*/
}


a{
    color: black; 
    font-weight: 700;
    text-decoration: none;
}

img{
    width: 100%;
}

section{
    padding: 3rem 0 2rem;
}

.container {
    margin: auto ;
    padding: 25px 0px;  
    max-width: 1080px;
    width: 100%;
}


header{
    font-family: 'Montserrat', sans-serif;
    color: #E4E4E4 ;
    position: static;
    top: 0px;
    left: auto;
    right: auto;
    width: 100%;
    /* z-index: 100; */
    /* border-radius: 2rem; not needed but i wanted to see what is actually happening*/
    /* margin-top: 20px; */
}

.nav{
    font-family: 'Montserrat', sans-serif;
    color: #E4E4E4 ;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #E4E4E4;
    padding: 17px 20px;
    border-radius: 2rem;
}

.logo{
    /* color: #E4E4E4; */
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

#footerlogocolor{
    color: #E4E4E4;

}

.navbar{
    display: flex;
    align-items: center;
    column-gap: 1rem;
}
.nav-link{
    font-size: .9rem;
    transition: all 0.2s ease;
}

.nav-link:hover{
    opacity: .63;
    transition: all 0.2s ease;
}

.nav-icons{
    display: flex;
    align-items: center;
    column-gap: 2rem;
}
/* menu icons here ------------------------------*/
.menu-icon{
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 5px;
    cursor: pointer;
    z-index: 200;
    transform: 0.3s;
}
.menu-icon div{
    display: block;
    background-color: #000;
    height: 2px;
    width: 23px;
    transition: 0.3s;
}
.move .line1{
    transform: rotate(-45deg) translate(-5px, 5px);
}
.move .line2{
    opacity: 0;
}
.move .line3{
    transform: rotate(45deg) translate(-5px, -5px);
}

/* -------------------------------------------- */


.nav-icons .bxl{
    color: #000;
    font-size: 25px;
}
.nav-icons .bxl:hover{
    color: #414141;
    opacity: 0.63;
    transition: all 0.2s ease;
}

/* <!--home------------------------------------------> */

.home{
    min-height: 650px;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    gap: 1.5rem;
    margin-top: -5rem;
    margin-bottom: 0;
}  

.home-text{
    color: #E4E4E4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.home-text h1{
    color: #E4E4E4;
    font-size: 3.5rem;
    font-weight: 800;

}
.home-text p{
    max-width: 300px;
    font-size: 0.95rem;
    margin: 0 0 1rem 0; /*top/btm - right - left == if has 4 value then
                                    top - right - btm - left*/
}

.btn{
    max-width: 160px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
    border-radius: 2rem;
    background-color: #fff;
    margin: 0;
}

.btn span{
    color: #000;
    text-transform: uppercase;
    font-size: .8rem;
}

.btn .bx{
    color: #000;
    font-size: 20px;
    padding: 1px;
    border-radius: 50%;
    transform: rotate(180deg);
}
.btn:hover{
    opacity: 0.63;
} 

.home-vid{
    max-width: 560px;
    width: 100%;
    border-radius: 1rem;
}

.home-vid img{
    width: 100%;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
    /* object-position: center; */
}

/* .home-vid img:hover{
    opacity: .63;
} */

/* <!--current------------------------------------------> */

/* .current{
    margin-top: 2rem;
} */

.heading{
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
}


.heading h2{
    color: #E4E4E4;
    font-size: 2.3rem;
    font-weight: 700;
}

.current-content{
    display: grid;
    grid-template-columns: repeat(3, minmax(auto,200px));
    justify-items: center;
    gap: 3.16rem;
    
}
.current-content p{
    font-size: 1.3rem;
    /*display: flex;*/
    align-items: center;
    text-align: center;
    font-weight: bold;
    color: #E4E4E4;
}

.current-content h2{
    /*display: flex;*/
    align-items: center;
    text-align: center;
    font-weight: 300;
    color: #E4E4E4;
    font-size: 0.88rem;
    
}

.pjt-box{
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* row-gap: 1rem; */
    padding: 35px 20px;
    border-radius: 2rem;
    width: 325px;
}

.pjt-box:hover {
    background-color: #333;
}

.pjt-box img{
    width: 200px;
    height: 250px;
    object-fit: contain;
}

.pjt-price span {
    text-align: center;
    color: #E4E4E4;
    font-weight: 500;

}

.pjt-price .bx{ 
    top: 10px;
    padding: 8px;
    background-color: #fff ;
    border-radius: 50%;
    cursor: pointer;
    color: #000;
    margin: 0 10px;
}

/*.pjt-price .bx:hover{*/
/*    opacity: 0.63;*/
/*} */

/* <!--experience------------------------------------------> */

.experience-heading{
    font-size: 2.3rem;
    font-weight: 700;
}








/* <!--for slideshow------------------------------------------> */
/* there will be a bunch of comments here, just playing around with animation */

.slides-frame {
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    border-radius: 1rem;
}

.lang-container .bxl{
    display: flex;
    font-size: 10rem;
}

.slides-images {
    display: flex; /* Use flexbox to lay images in a row */
    flex-wrap: nowrap; /* Prevent wrapping of items */
    position: relative;
    animation-name: slide_animation; /* Apply the continuous sliding animation */
    animation-duration: 60s; /* Adjust duration to control the speed of the slide */
    animation-iteration-count: infinite;
    animation-timing-function: linear; /* Make the animation proceed at a constant pace */
}

/* Define the keyframes for the slide animation */
@keyframes slide_animation {
    0% { transform: translateX(0); }
    100% { transform: translateX(-500%); } /* Translate by the combined width of all images except the first one */
}

.img-container {
    position: relative;
    flex: 0 0 100%; /* Set the width of each .img-container to be 100% of .slides-frame */
    /* Make sure images fill the container */
    width: 100%;
}

/* Adjust the size of images if needed to ensure they cover the container */
.img-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* <!--for project------------------------------------------> */

/* #project{
    margin-top: 4rem;
} */

.project-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px,auto));
    gap: 1.5rem;
}

.project-box {
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    height: 300px;
}

.project-box:hover {
    background-color: #333; 
    transition: background-color 0.3s ease;
}

.project-box img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 10px 10px 0 0;
}

.project-box h2 {
    color: #E4E4E4;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1rem 0 0.5rem;
    text-align: center; 
}

.project-box span {
    color: #B0B0B0;
    font-size: 0.85rem; 
    text-align: center; 
}

.project-box p {
    color: #E4E4E4;
    font-size: 0.88rem;
    margin-top: 10px;
    text-align: center; 
}

/* 
.project-box ul {
    list-style-type: squ; 
    padding-left: 20px; 
    margin: 10px 0; 
    color: #E4E4E4; 
}

.project-box li {
    margin-bottom: 5px; 
    font-size: 0.85rem; 
}

<ul>
    <li>Developed and maintained responsive user interfaces using HTML/CSS.
    </li>
    <li>Designed and implemented visually appealing and user-friendly web layouts, focusing on enhancing user experience.
    </li>
    <li>Created detailed wireframes, mockups, and interactive prototypes using Figma, incorporating stakeholder feedback to iteratively refine and design concepts.
    </li>
    <li>Published a responsive static website on GitHub Pages, making it accessible to users worldwide.                            
    </li>
</ul>
 */



/* <!--education------------------------------------------> */

/* #education{
    margin-top: 4rem;
} */
.heading p{
    max-width: 550px;
    width: 100%;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.education-content{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-between;
    gap: 1rem;
    /* background-color: #E4E4E4; */
    border-radius: 1.5rem;
    padding: 70px 90px;
    color: #000;

}

.education-box{
    background: #E4E4E4;
    padding: 10px 10px;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; 
    height: 100%; /* set height to occupy full container height */
}

.education-box img {
    margin-top: 1.5rem;
    width: 250px;
    height: 250px;
    border: 50%;
    object-fit: cover;
    border-radius: 1rem;
    align-content: center;
}

.education-box h2{
    padding: 1px 29px;
    text-align: center;
    margin: 1rem 0 0 ;
}

.education-box p{
    font-size: .8rem;
    padding: 5px 29px;
    border: 1px solid;
    border-radius: 1rem;
    text-align: center;
    margin: 1rem 0 0 ;
    font-weight: 500;
}

/* <!--certifications-----------------------------------------> */

/* #certifications{
    margin-top: 4rem;
} */


/* .certifications{
    max-width: 550px;
    margin: auto;
    width: 100%;
} */

.certifications-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3.5rem !important;
}

.cert-pic{
    width: 25%;
    object-fit: contain;
    height: auto;
    border-radius: 50%;
    /* border: 5px solid #000; */
    object-position: center;
    display: block;
    margin: 0 auto;
    /* box-shadow: 0 4px 16px hsla(hue, saturation, lightness, alpha);
    box-shadow: 0 4px 16px hsla(355, 25%, 15%, 0.1); */
    
}

.certifications-box h2{
    font-size: 1rem;
    font-weight: 500;
    margin: 1rem 0;
}

.certifications-box span{
    font-size: 1.4rem;
    font-weight: 700;
}

.certifications-box p{
    font-size: 0.9rem;
    margin: 1rem;
}

.swiper-pagination-bullet{
    margin-top: 1rem !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 0.2rem !important;
    background-color: #663399 !important;
    opacity: 1 !important;
}
.swiper-pagination-bullet-active{
    width: 1.5rem !important;
    background-color: #663399 !important;
}

/* <!--Footer-----------------------------------------> */

#footer{
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 1rem;
    margin-top: 3rem !important;
}

.footgrid{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

.social{
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.social a{
    font-size: 24px;
    margin-right: 1rem;

}

.social a:hover{
    opacity: .63;
}

.footer-box{
    display: flex;
    flex-direction: column;
}

.footer-box h3{
    color: #E4E4E4;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1rem;


}

.footer-box a{
    color: #E4E4E4;
    margin-bottom: 10px;
    font-weight: 500;
}

.footer-box a:hover{
    opacity: .63;
} 

.copyright{
    color: #E4E4E4;
    padding: 30px;
    text-align: center;
}

/* <!--responsive-----------------------------------------> */
@media(max-width: 1080px){
    .header{
        position: static;
    }

    .container{
        margin: 0 auto;
    }
    .home {
        min-height: 650px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        /* occupies all available pixels and thats why it when adjusting.
        the vid/img goes out of bounds */
        align-items: center;
        gap: 1.5rem;
        margin-top: -5rem;
        margin-bottom: 3rem;
        padding: 0px 50px;
    }   

    #current{
        
        padding: 0px 50px;
    }
    
    #experience{
        margin-top: 4rem;
        padding: 0px 50px;
    }

    #project{
        margin-top: 4rem;
        padding: 0px 50px;
    }

    #education{
        margin-top: 4rem;
        padding: 0px 50px;
    }

    #certifications{
        margin-top: 4rem;
        padding: 0px 50px;
    }
    .home-text h1{
        color: #E4E4E4;
        font-size: 3rem;
    }

    .menu-icon{
        display: flex;
    }
    .navbar{
        position: absolute;
        top: 110%;
        left: 50%;
        transform: translate(-50%);
        width: 90vw;
        background-color: #E4E4E4;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        border-radius: 1rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);

    }
    .open-menu{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
    }

    .nav-link{
        display: block;
        margin: 1rem 0;
    }

    .current-content{
        display: grid;
        grid-template-columns: repeat(2, minmax(auto, 200px));
        gap: 5rem;
        
    }
    
    .education-content {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px;
    }

    #footer {
        padding: 0px 50px;
    }
}

@media(max-width: 875px){
    section{
        padding: 2rem 0;
    }
    .home-text h1{
        font-size: 2.5rem;
    }

    #footer {
        grid-template-columns: repeat(1, 1fr);
        padding: 0px 50px;
    }

    .footgrid{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media(max-width: 700px){
    .home {
        min-height: 500px;
        grid-template-columns: 1fr;
        margin-top: 3rem !important;
        padding: 0px 1rem;
    }
    
    .home-text{
        order: 1;
    }

    header{
        top: 15px;
    }
    .nav{
        padding: 14px 20px;
    }

    .logo{
        font-size: 1.25rem ;
    }

    .menu-icon{
        display: flex;
    }
    .navbar{
        position: absolute;
        top: 110%;
        left: 50%;
        transform: translate(-50%);
        width: 90vw;
        background-color: #E4E4E4;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        border-radius: 1rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
    }
    
    .open-menu{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
    }

    .nav-link{
        display: block;
        margin: 1rem 0;
    }

    .current-content{
        display: grid;
        grid-template-columns: repeat(1, minmax(auto, 200px));
        gap: 5rem;
    }

    .education-content{
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .home-img{
        max-width: 150px;
        width: 100%;
        margin-top: 2rem;
    }

    .home a{
        justify-content: center;
    }

    .footer-box-name{
        display: none;
    }
    #footer {
        grid-template-columns: repeat(1, 1fr);
        padding: 0px 1rem;
    }

    .footgrid{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}


@media(max-width: 500px){
    .home {
        min-height: 500px;
        grid-template-columns: 1fr;
        margin-top: 3rem !important;
        padding: 0px 16px;
    }

    .education-content{
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .current-content {
        display: flex; /* Use flexbox for layout */
        flex-direction: row; /* Arrange items in a single line */
        justify-content: center; /* Center items horizontally */
        align-items: center; /* Center items vertically */
        flex-wrap: wrap; /* Allow items to wrap if necessary */
        text-align: center; /* Center text */
    }
    .project-content {
        display: grid;
        grid-template-columns: 1fr;
        padding-left: 0px;
        gap: 1.5rem;
    }
    .heading{
        margin-left: -34px;
    }

    .heading h2 {
        font-size: 2.3rem;
        font-weight: 700;
        padding-left: 29px;
    }
    
    .education-content {
        display: grid;
        grid-template-columns: 1fr;
        right: 50px;
        transform: translate( 3px);
    }
    .heading p {
        padding-left: 30px;
    }
    .certifications-box {
        padding-left: -4px;
    }
    .swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction{
        padding-left: 4px;
    }
    #footer {
        grid-template-columns: repeat(1, 1fr);
        padding: 0px 1rem;
    }

    .footgrid{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}


@media(max-width: 431px){
    #code-snippet{
    font-size: 11px;
    }
    
    .logo{
        font-size: 13px;
    }

    body{
        margin-top: -35px;
    }

    .home{
        padding: 0px 1rem;
    }

    .img{
        overflow: hidden;
    }

    .education-content{
        grid-template-columns: 1fr;
        padding: 20px;
    }

    #current h2{
        align-items: center;
    }

    #experience{
        margin-top: 4rem;
        padding: 0 1rem
    }

    #project{
        margin-top: 4rem;
        padding: 0 1rem;
    }

    #education{
        margin-top: 4rem;
        padding: 0 1rem;
    }

    #certifications{
        margin-top: 4rem;
        padding: 0 1rem;
    }

    .project-box{
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 2rem;
        width: 100%;
    }

    .project-box img{
        height: 200px;
        width: 50%;
    }

    .project-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        /* padding: 0px 60px 0px 60px ; */
    }
    .heading h2 {
        font-size: 2.3rem;
        font-weight: 700;
        padding-left: -50px;
        right: 20px;
        transform: translate( -5px);
    }

    .heading p {
        padding-left: -25px;
    }
    .certifications-box {
        padding-left: 10px;
    }
    .swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction{
        padding-left: 10px;
    }
    .footer-box-name{
        display: none;
    }
    #footer {
        grid-template-columns: repeat(1, 1fr);
        padding: 0px 1rem;
    }

    .footgrid{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

}

@media(max-width: 321px){
    .nav .menu-icon{
        display: none !important;   
    }

    .nav .nav-icons a {
        display: none !important;
    }
}

@media(min-width: 319px){
    .nav .menu-icon{
        display: none !important;   
    }
}