@charset "UTF-8";

/* Google Fonts - DCN  */
@import url('https://fonts.googleapis.com/css2?family=BioRhyme:wght@300;400;700;800&family=Sacramento&family=Sora:wght@300;400;600&display=swap');

/* ! Common Style */
:root {
    /* colors */
    --primary: #e3f9ff;
    --dark: #11739e;
    --body-color: #40514E;
    --hover: #f47e52;
    --active: #91d604;
    --shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
    /* Fonts */
    --heading: 'BioRhyme', serif;
    --body: 'Sora', sans-serif;
    --fancy: 'Sacramento', cursive;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #40514E;
    font-family: var(--body);
    line-height: 1.4;
}

ul {
    list-style: none;
}

a {
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--dark);
    padding: 10px;
    margin: 0px 5px;
    cursor: pointer;
}

a:hover {
    color: var(--hover);
    text-transform: uppercase;
    font-weight: bold;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--heading);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 10px;
}

p {
    font-family: var(--body);
    color: var(--body-color);
    font-weight: 300;
    line-height: 1.6;
    margin: 10px 0px;
    /* disable Text Copy */
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.img-responsive {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 85rem;
    margin: 0 auto;
    padding: 0 40px;
    height: auto;
}



/* ! utility class */

#closeBtn {
    width: 3em;
    height: 3em;
    border-radius: 50%;
    background-color: #f2f2f2;
    box-shadow: var(--shadow);
    position: fixed;
    top: 35px;
    right: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 6;
}

.close {
    color: var(--body-color);
    font-size: 1.4rem;
    font-weight: bolder;
    padding: 1em;
}


.Btn_link {
    font-weight: 400;
    letter-spacing: 1px;
    display: inline-block;
    padding-left: 0;
    margin: 1rem auto;
}

.Btn_link:hover {
    text-transform: none;
}

.Btn_btn {
    font-size: 1rem;
    font-weight: 400;
    border-radius: 6px;
    border: 2px solid var(--hover);
    color: var(--hover);
    padding: 10px 30px 10px 30px;
    letter-spacing: 1px;
    margin: 25px auto;
    display: inline-block;
}

.Btn_btn:hover {
    color: #f2f2f2;
    background-color: var(--hover);
    text-transform: none;
}

#main_H {
    color: var(--dark);
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 4px;
    padding-top: 6rem;
    padding-bottom: 1rem;
}




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


#portfolio_page {
    background-color: var(--primary);
    min-height: 100vh;
}



/* ! *------------------------ Hero / Landing Page ------------------------ */
#hero_page {
    width: 100%;
    height: 80vh;
    position: relative;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: var(--primary);
}
#projectImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero_title {
    z-index: 2;
    position: absolute;
    left: 10%;
    bottom: 50%;

    font-family: var(--heading);
    color: var(--hover);
    font-size: 5vw;
    letter-spacing: 1;
    font-weight: 600;
    line-height: 1.2;
}
.hero_launch {
    z-index: 2;
    position: absolute;
    left: 10%;
    bottom: 20%;
}
#teared {
    position: absolute;
    bottom: -30px;
    z-index: 2;
    object-fit: cover;
    object-position: center;
}




/* ! *------------------------ Project Showcase Section ------------------------ */
/* *------------------- Common ------------------- */
section {
    height: auto;
    margin-top: 1.5rem;
    padding: 1rem;
    overflow: hidden;
    /* min-height: 100vh; */
}

.center_Flex {
    display: flex;
    align-content: space-evenly;
    justify-content: space-evenly;
    flex-direction: row;
}

.project_illustration,
.project_description {
    padding: 1rem;
    width: 50%;
}

/* *------------------- Overview ------------------- */
#overview > h4 {
    font-family: var(--body);
    font-size: 2rem;
    font-weight: 600;
    color: var(--hover);
    text-align: left;
    padding: 10px auto;
}
#overview > p {
    font-size: 1.1rem;
    text-align: left;
}

/* *--------- Project Illustration/Diagram/Video --------- */
.project_illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sec_img {
    width: 70%;
    object-fit: cover;
}

.youTube_Vid {
    width: 90%;
    /* height: 80%; */
    aspect-ratio: 16/9;
}

/* *--------- Project text description --------- */
.project_description:nth-child(odd) {
    margin: 3rem 1rem 0rem 0rem;
}
.project_description:nth-child(even) {
    margin: 3rem 0rem 0rem 1rem;
}
.project_description h4 {
    font-family: var(--body);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--hover);
    text-align: left;
    padding: 10px auto;
}

.project_description h5 {
    font-family: var(--body);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--dark);
    padding: 15px 0px 5px;
}

.project_description p {
    text-align: justify;
}

#H_tool {
    font-family: var(--heading);
    color: var(--hover);
    font-size: 2rem;
    font-weight: 600;
    text-align: left;
    padding: 10px auto;
}
#softwares {
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
}
.tool {
    padding: 1rem;
    width: 8rem;
}

/* *------------------- footer ------------------- */
footer {
    background-color: #f2f2f2;
}


/* ! *------------------------ Resume Page (it's in Home page) ------------------------ */
#resume_SVG {
    display: flex;
    justify-content: center;
    /* transform-origin: center top; */
    /* transform: scale(0.8); */
    margin: 1.5rem 10rem;
    border: 0.8rem solid var(--hover);
    box-shadow: var(--shadow);
}

#resume_dnld {
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
}

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





/*! ------------------------------------------------------------------------------- */
/* **************************** Tablet (to desktop) ***************************** */
/*! ------------------------------------------------------------------------------- */

@media (min-width: 768px) and (max-width: 992px) {

    .center_Flex {
        /* flex-direction: column; */
    }

    #resume_SVG {
        margin: 0.8rem 0.2rem 0.2rem 0.2rem;
    }
}

/* --------------------------------Tablet ends------------------------------------- */




/*! ------------------------------------------------------------------------------- */
/* **************************** Mobile (to tablet) ***************************** */
/*! ------------------------------------------------------------------------------- */

@media (min-width: 320px) and (max-width: 767px) {

    /* ! utility class */
    #closeBtn {
        width: 2.2em;
        height: 2.2em;
        right: 35px;
    }
    .close {
        font-size: 1.1rem;
    }
    .hero_title {
        font-size: 12vw;
    }
    #main_H {
        font-size: 2.1rem;
        letter-spacing: 3px;
        padding-top: 2rem;
        padding-bottom: 1rem;
    }
    
    /* ! Hero Page */
    #hero_page {
        height: 65vh;
    }
    #teared {
        bottom: -10px;
    }
    /* ! Project Showcase */
    section {
        padding: 0;
    }
    .center_Flex {
        flex-direction: column;
        padding: 0;
    }
    .project_illustration,
    .project_description {
        padding: 0;
        width: 100%;
    }
    /* Project Illustration */
    .project_illustration {
        order: 0;
        margin: 1rem 0rem 2rem;
    }
    /* Project description */
    .project_description:nth-child(odd) {
        margin: 0;
    }
    .project_description:nth-child(even) {
        margin: 0;
    }
    .project_description {
        order: 1;
        margin: 1rem 0rem;
    }
    .project_description h4 {
        font-size: 1.8rem;
    }
    .project_description h5 {
        font-size: 1.4rem;
    }
    .project_description p {
        text-align: left;
    }
    .tool {
        width: 6rem;
    }
    /* ! Resume Page */
    #resume_SVG {
        margin: 0.2rem;
    }
}

/* --------------------------------Mobile ends------------------------------------- */