@import url('https://fonts.googleapis.com/css2?family=Montez&family=Montserrat+Alternates:wght@400;500;700;900&family=Montserrat:wght@100;500;700&display=swap');

@import url(animation.css);

:root {
    --purple-500: #845EC2;
    --blue-500: #2C73D2;
    --blue-100: #11002e;
    --blue-dark-200: #0081CF;
    --text-dark: #0d0245;
    --green-100: #27DBC3;
    --green-300: #008F7A;
    --white-color: #FBEAFF;
    --nav-bg: #5E28A7;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    /* font-family: 'Montserrat Alternates', sans-serif; */
    /* font-family: 'Montez', cursive; */
}

html {
    scroll-behavior: smooth;
}

/* utility class starts */

.wrapper{
    max-width: 1300px;
    margin: 0 auto;
}

.txt-heading{
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 2rem;
    padding: 0.5rem;
    border-bottom: 0.5rem solid var(--green-100);
    display: inline-block;
}

/* utility class ends */

body{
    background: var(--blue-100);
    min-height: 100vh;
    max-width: 100vw;
    color: var(--white-color);
    overflow-x: hidden;
}

/* navigation  */
.top-nav{
    background: var(--nav-bg);
    position: fixed;
    width: 100vw;
    /* right: 0;
    left: 0; */
    z-index: 100;
}
.navigation{
    /* border: 1px solid white; */
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    flex: 1 100%;
    height: 8vh;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

.navigation h3 a{
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1.4rem;
    text-transform: uppercase;
    text-decoration: none;
    color: #FBEAFF;
}

.navigation ul{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    list-style: none;
    padding: 0.2rem;
}
.navigation ul li a{
    text-decoration: none;
    color: var(--white-color);
    display: inline-block;
    padding: 0.5rem 0.7rem;
}

.navigation ul li a:hover{
    background: #7030c5;
    border-radius: 0.5rem;
}
.top-nav .navigation svg{
    display: none;
}
/* main home section starts */

.home{
    position: relative;
    display: flex;
    flex-direction: row;
    /* border: 1px solid red; */
}

.home .home-background{
    position: absolute;
    height: 90vh;
    max-width: 100vw;
    /* height: 92vh; */
}
.home .left-side{
    display: flex;
    flex: 1 1 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    /* border: 1px solid rgb(255, 255, 255); */
}

.home .left-side h3{
    font-size: 2.2rem;
    font-weight: 400;
}

.home .left-side h3 span{
    color: var(--green-100);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Montez', cursive;
}

.home .left-side p{
    font-weight: 400;
    font-size: 1.3rem;
}

.home .right-side{
    /* border: 1px solid rgb(0, 132, 255); */
    flex: 1 1 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home .right-side .image{
    position: relative;
    transition: 0.5s ease;
}

.home .right-side .image .message{
    transform: translateX(-1.3rem) translateY(-0.5rem) rotateZ(-10deg);
    width: 25rem;
    overflow: hidden;
}

.home .right-side .image.active{
    transform: rotateX(360deg);
}

.home .right-side .image img{
    border: 1px solid white;
    height: 15rem;
    width: 25rem;
    border-radius: 1rem;
    transform: rotateZ(-10deg);
    position: relative;
}

.home .right-side .image::before{
    content: "";
    position: absolute;
    top: -3.5rem;
    right: -0.5rem;
    border-top: 0.7rem solid var(--green-100);
    border-right: 0.7rem solid var(--green-100);
    border-radius: 0.5rem;
    /* background: red; */
    height: 5rem;
    width: 5rem;
    transition: 1s ease-in-out;
    transform: rotateZ(-10deg);
}

.home .right-side .image::after{
    content: "";
    position: absolute;
    bottom: -3.5rem;
    left: -0.5rem;
    border-bottom: 0.7rem solid var(--green-100);
    border-left: 0.7rem solid var(--green-100);
    border-radius: 0.5rem;
    /* background: red; */
    height: 5rem;
    width: 5rem;
    transform: rotateZ(-10deg);
    transition: 1s ease-in-out;
}

/* about section starts */

.about{
    /* border: 1px solid red; */
    height: 100vh;
    display: flex;
    flex-direction: row;
}
.about .left-side{
    flex: 1 1 70%;
    /* border: 1px solid green; */
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    text-align: justify;
    padding: 2rem;
}
.about .left-side h3{
    margin-bottom: 2rem;
}
.about .right-side{
    flex: 1 1 30%;
    /* border: 1px solid yellow; */
    text-align: justify;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    /* overflow-x: hidden; */
}
.about .right-side .myPicImg{
    height: 15rem;
    width: 15rem;
    background: #038161;
    border-radius: 50%;
    position: relative;
    /* border: 0.7rem solid #5E28A7; */
}
.about .right-side .blob1{
    position: absolute;
    top: 5vh;
    right: 0rem;
    height: 12rem;
    width: 12rem;
    
}
.about .right-side .blob2{
    position: absolute;
    bottom: 5vh;
    left: 0rem;
    height: 12rem;
    width: 12rem;
}


/* resume section begins*/


.resume{
    /* border: 1px solid red; */
    height: 100vh;
    padding-top: 8vh;
}

.resume h3{
    margin-bottom: 2rem;
}

.resume .content{
    display: flex;
}

.resume .right-side{
    padding: 0rem 1rem;
    flex: 1 1 100%;
}

.resume .left-side{
    padding: 0rem 1rem;
    flex: 1 1 100%;
}


.containerStack{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    background: linear-gradient(0deg, #5E28A7, #A76DE5);
    border-radius: 2rem;
    padding: 0.2rem;
    padding-right: 0.7rem;
    transition: 0.5s ease-in-out;
    color: inherit;
    text-decoration: none;
    margin: 0.5rem 0.7rem;
    height: 2.5rem;
    cursor: pointer;
}
.containerStack:hover{
    transform: translateY(-0.3rem);
    transition: 0.5s ease-in-out;
    background: linear-gradient(45deg, #5E28A7, #A76DE5);
}
.containerStack img{
    height: 2rem;
    width: 2rem;
    border: 1px solid #008F7A;
    border-radius: 50%;
}

#containers{
    width: 30rem;
    height: 20rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0.5rem;
    /* background: #002618; */
    background: linear-gradient(180deg, #002618, #00543A);
    border-radius: 0.5rem;
}

/* mistakely exchanges left and right here */
.resume .content .left-side .container {
    width: 90%;
    height: 20rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* flex-wrap: wrap; */
    background: linear-gradient(180deg, #002618, #00543A);
    border-radius: 0.5rem;
    padding: 2rem 0rem;
}

.resume .content .left-side .container img{
    width: 19.23rem;
    height: 11.54rem;
    border: 2px solid white;
    border-radius: 0.5rem;
}
.resume .content .left-side .container h3{
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    /* border: 1px solid red; */
}

.resume .content .left-side .container a{
    /* border: 1px solid red; */
    padding: 0.5rem 2rem;
    color: inherit;
    text-decoration: none;
    background: #008F7A;
    border-radius: 2rem;
    transition: 0.5s ease-in-out;
}

.resume .content .left-side .container a:hover{
    background: #00543A;
    border: 1px solid #FBEAFF;
    transition: 0.5s ease-in-out;
}


/* portfolio starts here */
.portfolio{
    padding-top: 8vh;
    height: 100vh;
}
.portfolio small{
    font-size: 0.6rem;
}

.portfolio small a{
    font-size: inherit;
    color: inherit;
}

.portfolio .project-display{
    margin-top: 3rem;
    height: 70vh;
    display: flex;
    flex-direction: row;
}

.project-display .topics{
    border-right: 0.1rem solid #FBEAFF;
    list-style: none;
    flex: 1 1 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.project-display .topics li{
    width: 80%;
    text-align: center;
    padding: 0.7rem 0rem;
    border-bottom: 1px solid #FBEAFF;
    margin-top: 0.5rem;
    cursor: pointer;
}

.project-display .topics li:hover{
    background: #0d0245;
}

.project-display .projects{
    list-style: none;
    flex: 1 1 70%;
    /* padding: 1rem; */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}

.project-display .projects .one-proj{
    border: 1px solid #FBEAFF;
    display: flex;
    flex-direction: column;
    width: 15rem;
    /* height: 13.5rem; */
    padding: 1rem;
    border-radius: 0.5rem;
    transition: 0.5s ease-in-out;
}

.project-display .projects .one-proj img{
    height: 7.5rem;
    width: 12.5rem;
    border: 1px solid #FBEAFF;
    border-radius: 0.5rem;
}

.project-display .projects .one-proj h2{
    font-size: 0.8rem;
    margin-top: 1rem;
    /* margin-bottom: 1rem; */
}

.project-display .projects .one-proj p{
    font-size: 0.7rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    line-height: 1rem;
    text-align: justify;
}

.project-display .projects .one-proj a{
    font-size: 0.8rem;
    text-decoration: none;
    color: inherit;
    padding: 0.3rem 0.7rem;
    border: 1px solid #FBEAFF;
    border-radius: 5rem;
    text-align: center;
    width: 100%;
    transition: 0.5s ease-in-out;
}

.project-display .projects .one-proj a:hover{
    background: #5E28A7;
    transition: 0.5s ease-in-out;
}

/* contact section as well as footer */

.contact{
    /* display: flex; */
    height: 100vh;
    padding-top: 8vh;
    padding-bottom: 0.5rem;
}

.contact .contents{
    display: flex;
    margin-top: 2rem;
}

.contact .inputForm{
    flex: 1 1 40%;
    border: 1px solid white;
    border-radius: 0.5rem;
    display: flex;
    gap: 0.7rem;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    padding: 1rem;
    height: fit-content;
}
.contact .inputForm input{
    border-radius: 0.5rem;
    height: 2rem;
    transition: 0.3s ease-in;
    padding-left: 1rem;
}

.contact .inputForm input[type="submit"]{
    margin-top: 1rem;
}

.contact .inputForm input[type="submit"]:hover{
    background-color: #11002e;
    color: #FBEAFF;
    outline: 1px solid #FBEAFF;
    transition: 0.3s ease-in;
}


.contact .inputForm textarea{
    border-radius: 0.5rem;
    height: 8rem;
    resize: none;
    padding-left: 1rem;
    padding-top: 0.5rem;
}

.contact .footer{
    flex: 1 1 50%;
    display: flex;
    height: 75vh;
    justify-content: center;
    align-items: flex-start;
}

.contact .footer .main-box{
    border: 1px solid #FBEAFF;
    border-radius: 0.7rem;
    width: 70%;
    height: 70%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    
}

.contact .footer .main-box .made-text span{
    font-weight: bold;
    font-family: 'Montserrat Alternates', sans-serif;
    text-transform: uppercase;
    /* font-family: 'Montez', cursive; */
}

.contact .footer .main-box .follow a{
    text-decoration: none;
    margin-right: 1rem;
}


/* media queries */
@media screen and (min-width: 1400px) {
    .home, .about, .resume, .contact{
        height: 60vh;
        width: 100vw;
        /* border: 1px solid red; */
    }

    .home .home-background,
    .home .left-side,
    .home .right-side{
        height: 60vh;
    }

    .portfolio{
        margin-top: 4rem;
    }

    .contact .footer{
        height: 50vh;
    }
}

@media screen and (max-width: 1150px) {

    /* .home .left-side,
    .home .right-side{
        height: 50vh;
    } */
    .navigation{
        
    }
    .home, .about, 
    .resume .content, 
    .portfolio .project-display,
    .contact .contents{
        display: flex;
        flex-direction: column;
    }
    .home .left-side{
        padding: 10vh 0vh;
    }
    .home .right-side .image img{
        height: 10rem;
        width: 20rem;
    }
    .home .right-side .image::before{
        top: -3rem;
        right: 3rem;
    }
    .home .right-side .image::after{
        bottom: -4.5rem;
        left: -1.5rem;
    }
    #containers
    {
        width: fit-content;
        height: fit-content;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .resume .left-side .container{
        margin: 0 auto;
    }
    .resume, .portfolio .projects{
        height: fit-content;
    }
    .about{
        margin-top: 10vh;
        height: fit-content;
    }
    .portfolio ,.resume{
        height: fit-content;
    }
    .portfolio .project-display .topics{
        /* flex: 1 1 100%; */
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .portfolio .project-display .topics li{
        flex: 1;
        padding: 5px 0;
        border-right: 1px solid white;
    }
    .portfolio .project-display,
    .contact{
        height: fit-content;
    }
    .portfolio .project-display .projects{
        padding: 1rem 0rem;
    }
    .portfolio .project-display .one-proj{
        margin: 1rem 0rem;
    }
    .contact .contents .footer .main-box{
        height: 30vh;
        margin: 1rem 0rem;
    }
}

@media screen and (max-width: 600px) {
    *{
        font-size: 0.8rem;
    }

    .txt-heading{
        font-size: 1.2rem;
        border-bottom: 0.3rem solid var(--green-100);
    }

    .top-nav .navigation svg{
        display: block;
        z-index: 10;
    }

    .top-nav .navigation #hamCross{
        display: none;
    }

    .top-nav .navigation #mainNav.active {
        position: fixed;
        height: 100vh;
        width: 100vw;
        background: #7030c5;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        top: 0;
        left: 0;
        right: 0;
        transition: 1s;
    }
    .top-nav .navigation ul
    {
        /* bottom: 0; */
        display: none;
        transition: 1s;
    }

    .top-nav .navigation ul li a{
        width: 80vw;
        font-size: 1.3rem;
        margin: 0.5rem 0;
        text-align: center;
        background: #5E28A7;
    }

    .home .left-side h3, 
    .home .left-side h3 span{
        margin-top: 1rem;
        font-size: 2rem;
    }

    .home .right-side .image img{
        height: 12rem;
        width: 19rem;
    }
    .home .right-side .image .message{
        width: 12.5rem;
    }
    .home .right-side .image::before{
        border-top: 0.3rem solid var(--green-100);
        border-right: 0.3rem solid var(--green-100);
        height: 5rem;
        width: 5rem;
        top: -2rem;
        right: -0.5rem;
    }
    .home .right-side .image::after{
        border-bottom: 0.3rem solid var(--green-100);
        border-left: 0.3rem solid var(--green-100);
        height: 5rem;
        width: 5rem;
        bottom: -2.5rem;
        left: -0.5rem;
    }

    .resume .content .left-side .container img{
        width: 12.5rem;
        height: 7.5rem;
    }
    .resume .content .left-side .container h3{
        font-size: 1.3rem;
    }
    .resume .content .left-side .container {
        width: 80%;
        height: 15rem;
        padding: 0rem;
    }
    .about .right-side .myPicImg{
        height: 10rem;
        width: 10rem;
    }
    .about .right-side .blob1{
        height: 7rem;
        width: 7rem;
    }
    .about .right-side .blob2{
        height: 7rem;
        width: 7rem;
    }
}










/* one static must be in last */
.containerStack:nth-child(1){
    background: #5E28A7;
}
.onePortfolio:nth-child(1){
    background: #0d0245;

}