:root {
    --mainText: #ffffff;
    --pinkText: #e44ce2;
    --greenText: #40c5d0;
    --LgreenText: #2e868d;
    --purpleText: #6a42f5;
    --LpurpleText: #4527ae;
    --greyT: #e7e7e7;
    --bodybg: #000000;
    --lightText: white;
    --navHeight: 100px;
    --easing: cubic-bezier(0.645,0.045,0.355,1);
    --transition: all 0.25s cubic-bezier(0.645,0.045,0.355,1);
    --font-xxs: 12px;
    --font-xs: 13px;
    --font-s: 14px;
    --font-m: 16px;
    --font-l: 18px;
    --font-xl: 20px;
    --font-xxl: 22px;
    --font-contact: 24px;
    --font-heading: 32px;
    --font-bigheading: 40px;
    --greenT: #64e8dd;
    --pinkT: #64e8dd;
    
}

#root {
    min-height: 100vh;
    display: grid;
    grid-template-rows: 1fr auto;
    grid-template-columns: 100%;
    
}

h1, h2, h3, h4, h5, h5 {
    margin: 0px;
}

._dgreen_text {
    color: var(--greenText);
    font-size: inherit;
    font-weight: inherit;
}
.green_text {
    color: var(--greenT); 
    font-size: inherit;
    font-weight: inherit;
}

.pink_text {
    color: var(--pinkT); 
    font-size: inherit;
    font-weight: inherit;
}

.reveal{
  position: relative;
  transform: translateY(20px);
  opacity: 0;
  transition: 1.5s all ease;
}

.reveal.active{
  transform: translateY(0);
  opacity: 1;
}

.external--lnk {
    color: var(--mainText); 
    font-size: var(--font-m);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    background-color: var(--bodybg);
    font-family: 'Fira Code', monospace;
    color: var(--mainText);
    font-size: var(--font-s);
    font-weight: 400;
    scroll-behavior: smooth;
    text-decoration: none;
}

/*----- TRANSITIONS AND ANIMATIONS --------*/

@keyframes fadedown {
    0% { opacity: 0; transform: translateY(-20px); }
    100% 
    { opacity: 1; transform: translateY(0px); }
}

@keyframes fadeup {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0px); }
}

@keyframes showup {
    0% { opacity: 0; }
    100% { opacity: 1;}
}

/*------ NAVBAR STYLE ------*/
header {
    height: var(--navHeight);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0px;
    z-index: 11;
    padding: 0px 50px;
    width: 100%;
/*    background-color: rgba(10, 25, 47, 0.85);*/
    transition: var(--transition);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
}

.logo {
    width: 40px;
    height: 40px;
    opacity: 0;
    animation: fadedown linear 0.25s;
    animation-delay: 500ms;
	animation-iteration-count: 1;
	animation-fill-mode: forwards;
/*    display: none;*/
}

.tabs_box {
    display: flex;
    align-items: center;
    font-size: var(--font-m);
}
.tabs_box ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    margin: 0px;
    list-style: none;
}

.tabs_box ul li {
    margin: 5px;
    opacity: 0;
    animation: fadedown linear 0.25s;
    animation-delay: 500ms;
	animation-iteration-count: 1;
	animation-fill-mode: forwards;
}

.sec1 div, .sec1 hr {
    opacity: 0;
    animation: fadeup linear 0.25s;
	animation-iteration-count: 1;
	animation-fill-mode: forwards;
}

.tabs_box ul li a {
    padding: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.tabs_box a::before {
    content: '<\205F';
    word-spacing: 1px;
    color: var(--pinkT); 
    font-size: var(--font-m);
    font-weight: 500;
}
.tabs_box a::after {
    content: '\205F>';
    color: var(--pinkT); 
    font-size: var(--font-m);
    font-weight: 500;
}

.tabs_box a:hover {
    color: var(--greenT); 
    font-size: inherit;
    font-weight: inherit;
}

.tabs_box ul li a:active {
    color: var(--greenT); 
    font-size: inherit;
    font-weight: inherit;
}

.active {
    color: var(--greenT);  
}


/*------ ORIENTATION LEFT & RIGHT-------*/
.orientation_left {
    width: 40px;
    position: fixed;
    bottom: 0px;
    left: 40px;
    right: auto;
    z-index: 10;
    color: var(--light-slate);
    left: 20px;
    right: auto;
}
.orientation_right {
    width: 40px;
    position: fixed;
    bottom: 0px;
    right: 40px;
    left: auto;
    z-index: 10;
    color: var(--light-slate);
    right: 20px;
    left: auto;
    
}
.orientation_right li {
    writing-mode: vertical-rl;
    height: auto;
    margin-bottom: 40px;
    color: var(--mainText);
    letter-spacing: 2px;
}
.orientation_right li a:hover {
    transition: var(--transition);
    color: var(--greenT);
}

.icons_list {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px;
    padding: 0px;
    list-style: none;  
    opacity: 0;
    animation: showup ease 300ms;
    animation-fill-mode: forwards;
}

.orientation_left .icons_list li{
    height: 40px;
}

.orientation_left .icons_list li span {
    color: var(--greyT);
    cursor: pointer;
    font-size: var(--font-l);
}
.orientation_left .icons_list li span:hover {
    color: var(--greenT);
    font-size: var(--font-s);
    height: inherit;
    transition: var(--transition);
    transition-timing-function: linear;
}

.icons_list::after {
    content: "";
    display: flex;
    width: 1px;
    height: 100px;
    margin: 0px auto;
    background-color: var(--pinkT);
}


/*------ BODY STYLE ------*/
.body_content {
    display: block;
    width: 100%;
    margin: 0px auto;
    width: 100%;
    max-width: 1600px;
    min-height: 100vh;
   
}

/*SEC1 INTRO*/
.main_content {
    padding: 0px 150px;
    width: 100%;
}
section {
    margin: 0px auto;
    padding: 100px 0px;
    max-width: 1000px;
}
.sec1, .sec2, .sec3, .sec4, .sec5, .sec6 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    min-height: 100vh;
    height: auto;
    padding-top: var(--navHeight);
/*    padding: 0px;*/
}
.greet_text {
    margin: 0px 0px 30px 6px;
/*    color: var(--mainText);*/
    font-size: clamp(var(--font-s),5vw,var(--font-m))
}

.big_name {
    font-size: clamp(20px, 8vw, 82px);
    font-weight: 500;
    margin: 0px;
    color: var(--mainText);
    transition: var(--transition);
    cursor: default;
}

.tagline {
    font-size: var(--font-bigheading);
    margin: 20px 0px;
    font-weight: 500;
    color: var(--greyT);
}
.sec_desc {
    max-width: 60%;
    word-wrap: normal;
    color: var(--greyT);
    font-size: var(--font-m);
    font-weight: 400;
    line-height: 1.5;
    text-align: justify;
}
.sec1 hr {
    width: 60%;
    border: none;
    border-top: 0.1px solid var(--pinkT);
    margin: 24px 0px 12px;
}

/*SEC2 ABOUT*/
/*
.about_content {
    display: inline-block;
}
*/

._heading_ {
    font-size: var(--font-heading);
    margin-bottom: 40px;
}
._heading_::after {
    content: "";
    border-top: 0.1px solid var(--pinkT);
    display: inline-block;
    position: relative;
    top: -5px;
    width: 300px;
    margin-left: 20px;
}
.sec2 .sec_desc {
    vertical-align: top;
    display: inline-block;
/*    max-width: 60%;*/
}

/*SEC2 Profile pic*/
.profile_box {
    vertical-align: top;
    display: inline-flex;
    max-width: 40%;
    min-width: 38%;
    height: 300px;
    justify-content: right;
}
.profile {
    filter: grayscale(70%);
    width: 260px;
    height: 260px;
    border: 0px;
    vertical-align: top;
    display: inline-block;
    margin-right: 0px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    padding: 4px;
    border: 2px solid var(--greyT);
    transition: width 0.25s, height 0.25s;
    transition-timing-function: ease-out;
}

.profile:hover {
    filter: grayscale(0%);
    width: 270px;
    border: 2px solid var(--pinkT);
    height: 270px;
}
/*SEC 3 EXPERIENCE*/
.exp_content {
    flex-wrap: wrap;
    align-content: center;
}
.exp_box {
    width: fit-content;
    display: contents;
}
.sec3 .sec_desc {
    max-width: 80%;
}

/*SEC 4 EXPERIENCE*/
.skill_content {
    flex-wrap: wrap;
    align-content: center;
}
.skill_box {
    width: fit-content;
    display: contents;
}
.sec4 .sec_desc {
    max-width: 80%;
}
.skillset {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}
.skill {
    font-size: var(--font-m);
}
.skillset_box {
    margin: 40px 0px;
}
.skillset li {
    padding: 10px;
    font-size: var(--font-s);
}

.skillset li .external--lnk {
     font-size: var(--font-s);
}

/*SEC 5 PERSONAL PROJECTS*/
.prsnl-projects {
    flex-wrap: wrap;
    align-content: center;
}
.projects_box {
    width: fit-content;
    display: contents;
}
#projects .p0 {
    background: url(../images/vanlife.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#projects .p1 {
    background: url(../images/p4pops.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#projects .p2 {
    background: url(../images/pm.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#projects .p3 {
    background: url(../images/salonbook.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#projects .p4 {
    background: url(../images/tenzies.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#projects .p5 {
    background: url(../images/AnimeList.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project_cards {
    display: grid;
    grid-template: auto auto /1fr 1fr;
    width: 100%;
    gap: 40px;
    margin: 60px 0px;
}
.project_card {
    min-width: 280px;
    height: 240px;
    background: transparent;
    border: 2px solid white;
    padding: 8px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    position: relative;
    line-height: 1.6;
}

.overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    padding: 40px;
    background-color: rgb(0,0,0);
    background-color: pink;
    overflow-y: hidden;
    transition: 250ms;
}

.overlay-content {
    width: 80%;
    height: 100%;
    margin: 0 auto;
    border-radius: 4px;
    padding: 40px;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 8px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
     z-index: 0;
}

.overlay-text {
    padding: 16px;
    line-height: 2;
    font-size: 20px;
    color: var(--greenT);
    background: transparent;
}
.card-desc {
    background-color: transparent;
    line-height: 2;
}
.view-btn {
    display: block;
    background-color: #8BC34A;
    color: white;
    padding: 16px;
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 0;
    font-size: 18px;
    font-weight: 500;
}

.project_card:hover {
    cursor: pointer;
    transition: transform 250ms;
    transform: translateY(-5px);
    border: 2px solid var(--greenT);
}

.project_card:hover .card-overlay {
  display: grid;
  opacity: 1;
    z-index: 0;
}

.project-data {
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

/*SEC 6 CONTACT ME*/
.sec6 .sec_desc {
    font-size: var(--font-m);
}
.sec6 .contact {
    font-size: var(--font-l);
    margin: 20px 0px;
}
._wmae {
    padding: 14px 22px;
    
    margin: 16px auto;
    border: 1px solid var(--pinkT);
    border-radius: 2px;
    transition: var(--transition);
}
._wmae a {
    color: var(--mainText);
    font-size: var(--font-m);
}

._wmae a:hover {
    color: var(--greenT);
    font-size: var(--font-m);
    cursor: pointer;
    transition: var(--transition);
}

/*----- FOOTER -----*/

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: auto;
    min-height: 80px;
    font-size: 12px;
    color: var(--greyT);
    font-weight: 100;
    padding: 15px;
    text-align: center;
}

/*---- MEDIA QUERIES -----*/

@media screen and (max-width: 1100px) and (min-width: 900px) {
    .main_content {
        padding: 0px 100px;
    }
    .big_name, .tagline {
        font-size: clamp(20px, 4vw, 40px);
    }
    .profile {
        width: 220px;
        height: 220px;
    }
    .profile:hover {
        filter: grayscale(0%);
        width: 230px;
        border: 1px solid var(--pinkT);
        height: 230px;
    }
    .sec_desc {
        font-size: var(--font-s);
    }
}

@media screen and (max-width: 899px) and (min-width: 600px) {
    .main_content {
        padding: 0px 100px;
    }
    .tabs_box {
        display: none;
    }
    .big_name, .tagline {
        font-size: clamp(20px, 4vw, 30px);
    }
    .profile {
        width: 220px;
        height: 220px;
    }
    .profile:hover {
        filter: grayscale(0%);
        width: 230px;
        border: 1px solid var(--pinkT);
        height: 230px;
    }
    .sec_desc {
        font-size: var(--font-s);
    }
    .orientation_left .icons_list li span {
        font-size: var(--font-s);
    }
    .orientation_left .icons_list li {
        height: 30px;
    }
    .orientation_right li {
        margin-bottom: 16px;
        letter-spacing: 1px;
    }
    .sec_desc {
        max-width: 100%;
    }
    .profile_box {
        margin: 20px 0px;
        max-width: 100%;
        min-width: 100%;
        height: 300px;
        justify-content: center;
    }
    .sec1, .sec2, .sec3, .sec4, .sec5, .sec6 {
        display: flex;
    }
    ._heading_ {
        margin-bottom: 20px;
        font-size: var(--font-xl);
    }
    .skill, .skillset {
        font-size: var(--font-s);
    }
    .skillset li {
        padding: 6px;
    }
    ._heading_::after {
        display: none;
    }
    .logo {
        width: 30px;
        height: 30px;
    }
    header {
        padding: 0px 20px;
    }
    .project_cards {
        grid-template: none;
    }
}

@media screen and (max-width: 599px) {
    .tabs_box {
        display: none;
    }
    .skillset {
        display: block;
        margin: 0px;
    }
    .skillset li {
        padding: 0px;
        display: inline;
    }
    
    header {
        padding: 0px 20px;
        height: 40px;
    }
    ._heading_::after {
        display: none;
    }
    .logo {
        width: 20px;
        height: 20px;
    }
    .main_content {
        padding: 0px 60px;
    }
    .orientation_left .icons_list li span {
        font-size: var(--font-s);
    }
    .orientation_left .icons_list li {
        height: 30px;
    }
    .big_name, .tagline {
        font-size: clamp(20px, 4vw, 52px);
    }
    .profile {
        width: 180px;
        height: 180px;
    }
    .profile:hover {
        filter: grayscale(0%);
        width: 230px;
        border: 1px solid var(--pinkT);
        height: 230px;
    }
    .sec_desc {
        font-size: var(--font-s);
        max-width: 100% !important;
    }
    .sec1, .sec2, .sec3, .sec4, .sec5, .sec6 {
        justify-content: center;
        align-items: center;
    }
    .sec4 .sec_desc {
        max-width: 100%;
    }
    .skillset_box {
        margin: 20px 0px;
        font-size: var(--font-xxs);
    }
    .profile_box {
        vertical-align: top;
        display: inline-flex;
        min-width: 100%;
        height: auto;
        margin: 20px auto;
        justify-content: center;
    }
    .project_cards {
        grid-template: none;
    }
}