:root {
    --bg: black;
    --bgl: rgba(255, 255, 255, 0.278);
    --fg: white;
    --accent: coral;
}
:root.light {
    --bg: white;
    --bgl: rgba(255, 255, 255, 0.278);
    --fg: black;
    --accent: coral;
}

@font-face {
    font-family: "General Sans Light";
    src: url('gensans/generalsans-light-webfont.woff')  format('woff'),
    url('gensans/generalsans-light-webfont.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: "General Sans Medium";
    src: url('gensans/generalsans-medium-webfont.woff') format('woff'),
    url('gensans/generalsans-medium-webfont.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: "General Sans semibold";
    src: url('gensans/generalsans-semibold-webfont.woff') format('woff'),
    url('gensans/generalsans-semibold-webfont.woff2') format('woff2');
    font-display: swap;
}








html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    font-family: "General Sans Medium", serif;
    box-sizing: border-box;
    font-weight: 400;
    user-select: none;
    transition: background-color 0.25s ease, color 0.25s ease;

}

html, body {
    width: 100%;
    height: 100%;
    background-color: var(--bg);
}

.boxes{
    overflow: hidden;
    width: fit-content;
    height: fit-content;
    padding: 5px;
}
.r{float: right;}

.boxelem{
    transform: translateY(200%);
}
.boxelema{
    animation: upa 1.3s ease;
}
@keyframes upa {
    0%{
        opacity: 0;
    }
    80%{
        opacity: 0%;
    }
    100%{
        opacity: 1;
}
}

#container {
    background-color: var(--bg);
    color: var(--fg);
}

#hero {
    position: relative;
    color: var(--fg);
    width: 100%;
    height: 100vh;
    background-color: var(--bg);
}

.navbot {
    display: flex;
    position: relative;
    justify-content: space-between;
    width: 100%;
    padding: 30px 3vw;
    align-items: center;
}

.navbot a {
    text-decoration: none;
    font-size: 17px;
    color: var(--fg);
    font-family: "General Sans Medium";
    font-weight: 900;
}

.navbot .contact {
    text-decoration: none;
    font-size: 15px;
    transition: 75ms ease-in-out;
}
.navbot .contact:hover {
    color: var(--accent);
}

#themeToggle{
    margin-block:20px;
    background-color: var(--fg);
    padding: 5px;
    color: var(--bg);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
#themeToggle:active{
    transform: scale(0.96);
}
/*//////////////////////////////////*/
#torso {
    /* background-color: rgb(176, 55, 55); */
    line-height: 1;
    margin-top: 70px;
}


/* #torso .h2hi {
   color: var(--fg);
   margin-inline: 52px;
   font-size: 4vw;
} */


#torso h1 {
    font-family: "General Sans Medium", serif;
    font-weight: 900;
    margin-left: 3vw;
    opacity: .6;
    line-height: .8;
    font-size: 10vw;
    text-transform: uppercase;;
}
#block{
    display: flex;
    flex-direction: column;
    align-items: end;
    width: fit-content;;
    line-height: 1.5;
}

#torso .engg {
    margin-left: 20vw;
}

#torso h4 {
    margin: 10px;
    margin-right: 0px;
    font-size: 17px;
    font-family: "General Sans Light", serif;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.cool {
    font-weight: 600;
    font-size: 17px;
}

/*availability*/
#availability {
    margin-top: 150px;
    text-align: right;
    margin-right: 5vh;

}

/*footer*/
.footer {
    position: absolute;
    bottom: 5vh;
    font-size: 15px;
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding-inline: 3vw;
    background-color: var(--fg);
    font-family: "Poppins";
}

.und::after {
    content: "";
    display: block;
    height: 1px;
    background: var(--bg);
    transition: 100ms ease-in-out;
    transform: scale(0);
}

.und:hover::after {
    transform: scale(1);
}
.und{transition: .3s ease;}
.und:hover{
    transform: scale(110%);
}
.links {
    text-decoration: none;
    color: var(--bg);
}







#projectsec{
    /* padding-top:150px ; */
    /* border-bottom: .5px solid ; */
    margin-inline: 3vw;
    padding: 0;
    display: flex;
    flex-direction: column-reverse;
    /* margin-right: 11vw; */
}

.projex{
    position: relative;
    cursor: pointer;
    display: flex;
    border-bottom: .5px solid ;
    padding-block: 4vw;
    align-items: center;
}
.projex:nth-child(1){
    border-bottom: 0px;
}
.projex .projvis{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-transform: uppercase;
}
.projex .projvis h1{
    font-size: 6vw;
    opacity: 0.7;
    transition: .4s ease-out;
    font-family: "Poppins";
    font-weight: 400;
}

.projex:hover > .projvis h1 {
    padding-left: 15vw;
    opacity: 0.07;
}

.projex h6{
    font-size: 15px;
}


#projectsec .projex .hovered{
    position: absolute;
    display: flex;
    align-items: center;
    width: 100%;
    /* background-color: #ff5f1f; */
}
.projex .hovered h5{
    opacity: 0;
    /* background-color: #ff5f1f; */
    font-size: 3vw;
    transition: .3s ease-in;
    position: absolute;
    text-transform: uppercase;
    font-weight: 100;
}

.aiml:hover  .hovered h5{
    opacity: .6;
}
.retroport:hover .hovered h5{
    opacity: .6;
}
.personalDashb:hover .hovered h5{
    opacity: .6;
}
.micro:hover .hovered h5{
    opacity: .6;
}


.projex .details{
    width: 50vw;
    font-size: 1.2vw;
    transition: .5s ease;
    opacity: 0;
    transform: translateX(20vw);
}
.projex .details ul{
    list-style: none;;
}
.projex .details ul li{
    font-family: "Poppins";
    font-weight: 400;
    padding: 1vw;
}
.micro:hover .details, 
.aiml:hover .details,
.retroport:hover .details,
.personalDashb:hover .details {
    opacity: 1;
    transform: translateX(35vw);
}
.projex .hovered .details ul li span{
    text-transform: uppercase;
    font-size: 1.2vw;
    color:var(--accent)
}








#sklsec{
    background-color: var(--bg);
    width: 100vw;
    overflow: hidden;
    margin-top: 3vw;
}
.blk > h2{
    padding-inline: 3vw;
    /* margin-block: 3vw 0vw; */
    text-transform: uppercase;
    font-family: "Poppins";
    font-weight: 900;
    font-size: 1em;
    background-color: var(--fg);
    color: var(--bg);

}
.blk ul{
    list-style: none;
    border-bottom: .05px var(--bgl) solid ;
}
.blk ul li{
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* font-weight: 400; */
    /* font-size: 2em; */
    border-bottom: .05px var(--bgl) solid ;
    text-transform: capitalize;
    font-family: "Poppins";
    overflow: hidden;
}
.blk ul li:last-child{
    border-bottom: 0;
}
.blk ul li h2{
    font-weight: 400;
    font-size: 2vw;
    padding: 40px 3vw;
}

.blk ul li> i{
    padding: 4px 3vw;
    font-size: 5px;
}

.hoversec{
    background-color: var(--fg);
    color: var(--bg);
    position: absolute;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    transition: .2s ease-in-out;
    height: 0px;
    width: 100vw;
}
.blk ul li:hover .hoversec{
    height: 120px;
}
.skillhover{
    position: relative;
    height: inherit;
    display: flex;
    align-items: center;
    animation: slide 7s infinite linear;
}
.skillhover span{
    white-space: nowrap;
    padding-inline: 3vw;
    font-family: "Poppins";
    font-weight: 400;
    font-size: 2vw;
    display: flex;
    align-items: center;
}

.blk ul li > i{
    font-size: 2vw;
    padding: 40px  5vw;
}




.secondskill{
    display: flex;
    flex-direction: column-reverse;
}
.secondskill .plheading{
    background-color: var(--fg);
    color: var(--bg);
    text-transform: uppercase;
    padding: 0px 3vw;
    font-size: 1em;
    font-family: "Poppins";
    font-weight: 900;
}


#sklsec .lg{
    position: relative;
    width: 100%;
    display: flex;
    white-space: nowrap;
}
.lg:before,.lg:after
{
position: absolute;
  top: 0;
  width: 20%;
  height: 100%;
  content: "";
  z-index: 2;
}
.lg:before {
    left: 0;
    background: linear-gradient(to left, transparent, var(--bg));
}

.lg:after {
    right: 0;
    background: linear-gradient(to right, transparent, var(--bg));
}


#sklsec .lg ul{
    display: flex;
    list-style: none;
    animation: listslide 10s infinite linear;
    /* border-block: 1px rgba(255, 255, 255, 0.278) solid; */
}

#sklsec .lg ul li{
    padding: 20px 90px;
    font-family: "Poppins";
    font-weight: 200;
    font-size: 3em;
    display: flex;
    flex-direction:row-reverse ;
    align-items: center;
}
#sklsec .lg ul li i{
    margin-inline-end: 10px ;
    font-size: 2vw;
}
@keyframes slide {
    from {
        transform: translateX(0);
      }
      to {
        transform: translateX(-100%);
      }
}
@keyframes listslide {
    from {
        transform: translateX(-100%);
      }
      to {
        transform: translateX(0);
      }
}






#aboutsec{
    /* margin-top: 15vw; */
    width: 100%;
    padding: 10vw;
    padding-right: 18vw;
    display: flex;
    flex-direction: row;
    justify-content: right;
    flex-wrap: wrap;
    gap: 70px;
}

#aboutsec .aboutp{
    line-height: 1.6;
    width: 34rem;
}
 #aboutsec h3{
    font-size: 14px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom:10px
}
#aboutsec p{
    font-size: 20px;
    font-family: "General Sans light";
    margin-bottom: 20px;
}
#aboutsec img{
    width: 230px;
    height: 230px;;
    border-radius: 50%;
    float: left;
}
#aboutsec .aboutp a{
    text-decoration: none;
    font-family: "Poppins";
    font-weight: 400;
    color: var(--fg);
    border: 1px solid;
    border-radius: 20px;
    padding:5px 20px;
    transition: .3s ease;
}
#aboutsec .aboutp a:hover{
    background-color: var(--fg);
    color: var(--bg);
}







#resume{
    /* background-color: rgb(176, 55, 55); */
    text-transform: uppercase;
    padding-top: 4vh;
    padding-inline: 3vw;
    padding-bottom: 100px;
    line-height: 1.5;
}
#resume h5{
    opacity: 0.6;
}
#resume a{
    color:var(--fg);
    font-size:17px ;
}
#resume .res_und{
    width: fit-content;
}
#resume a::after{
    content: "";
    display: block;
    height: 1px;
    background: var(--fg);
    transition: 100ms ease-in-out;
    transform: scale(0);
}
#resume a:hover::after{
    transform: scale(1);
}
#bottom{
    /* background-color: rgb(176, 55, 55); */
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    padding: 30px 3vw;
}
#bottom .left{
    display: flex;
    gap: 40px;
    text-transform: uppercase;
    font-size: 20px;
}
#bottom .right{
    display: flex;
    gap: 46px;
}
#bottom a{
    color: var(--fg);
    text-transform: uppercase;
    text-decoration: none;
}
#bottom .righta .hr{
    display: none;
}










@media (max-width: 1100px) {

    #aboutsec{
        padding-inline: 5vw;
        justify-content: left;
    }
    #aboutsec img{
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
        margin: 0px;
    }
    #aboutsec .aboutp{
        width: 50rem;
        line-height: 1.5;
    }
    #aboutsec .aboutp h3{
        margin-bottom: 0;
        opacity: 0.4;
        font-size: 15px;
    }
    #aboutsec .aboutp p{
        /* text-align: justify; */
        font-size: 2vw;
    }
}




@media (max-width: 1024px) {
    #navbar{
        height: 50px;
        display: flex;
        flex-direction: column-reverse;
    }
    .navbot {
        display: flex;
        justify-content: space-between;
        width: auto;
        margin-inline: 3vw;
        border-radius: 5px;
        padding: 0px 2vw;
        background-color: var(--fg);
    }
    .navbot a {
        text-decoration: none;
        font-size: 17px;
        color: var(--bg);
        font-weight: 900;
        font-family: "General Sans Medium";
    }
    .navbot .contact:hover {
        color: var(--fg);
    }
    #torso{
        text-align: center;
        justify-content: center;
    }
    #torso h1{
        margin: 0;
        font-size: 13vw;
    }
    #torso .boxes{
        width: 100%;
    }
    #torso .engg{
        margin: 0;
    }
    #block{
        width: 100%;
    }
    #block h4{
        justify-content: center;
        display: block;
    }
    #availability{
        margin-right: 2vh;
    }
    .footer {
        background-color: var(--fg);
        font-size: 15px;
        width: 58vw;
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        padding-inline: 3vw;
        width: 100%;
        bottom: 8vh;
    }
    .und::after {
    display: none;
    }
    .und{
        transition: .3s ease;
    }
    .und a{
        /* border: 1px var(--fg) solid; */
        color: var(--bg);
    }
    .und:hover{
    transform: scale(100%);
    }




    #resume{
        display: flex;
        justify-content: center;
        text-align: center;
        padding-top: 25vw;
        padding-inline: 5vw;
        padding-bottom: 0;
    }


    #bottom{
        display: block;
        padding-inline: 5vw;
        padding-block: 0;
    }
    #bottom .righta{
        display: block;
    }
    #bottom .right{
        background-color: var(--fg);
        gap: 0;
        justify-content: space-between;
        margin-block: 3vw;
        border-radius: 5px;
        padding: 2vw;
        border: 4px var(--fg);
        font-size: 15px;
    }
    #bottom .right a{
        color: var(--bg);
    }
    #bottom .right i{
        font-size: 15px ;
    }
    #bottom .righta .hr {
        display: block;
        background-color: var(--fg);
        opacity: 0.5;
    }
    #bottom .left{
        justify-content: space-between;
        margin-block: 3vw;
        padding-bottom: 8vw;
        font-size: 20px;
    }


    /************************/
    #projectsec{
        border-bottom: 0px solid ;
        margin: 5vw;
        margin-top: 0vw ;
        padding-top: 0;
    }

    .projex{
        position: relative;
        cursor: pointer;
        display: block;
        border-top: .5px solid ;
        padding-block: 4vw;
        align-items: center;
    }
    .projex .projvis{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%
    }
    .projex .projvis h1{
        /* background-color: #ff5f1f; */
        width:100%;
        font-size: 9vw;
        opacity: 0.7;
        transition: .4s ease-out;
    }
    .micro:hover > .projvis h1{
        padding-left: 0vw;
        opacity: .7;
    }
    .aiml:hover > .projvis  h1{
        padding-left: 0vw;
        opacity: .7;
    }
    .projex h6{
        font-size: 15px;
        display: none;
    }


    #projectsec .projex .hovered{
        /* background-color: #ff5f1f; */
        position: relative;
        display: block;
        align-items: start;
        width: 100%;
    }
    .projex .hovered h5{
        /* text-align: center; */
        /* background-color: #ff5f1f; */
        opacity: .7;
        font-size: 2.5vw;
        position: relative;
    }


    .projex .details{
        width: 100%;
        font-size: 3vw;
        font-family: "General Sans Light";
        transition: .5s ease;
        opacity: 1;
        transform: translateX(0vw);
    }
    .projex .details ul{
        list-style: none;
        padding-block: 3vw;
        /* text-align: justify; */
    }
    .projex .details ul li{
        font-family: "General sans light";
        padding-block: 2vw;
        padding-inline: 0;
        opacity: 0.7;
    }
    .micro:hover .details{
        opacity: 1;
        transform: translateX(0vw);
    }
    .aiml:hover .details{
        opacity: 1;
        transform: translateX(0vw);
    }
    .projex .hovered .details ul li span{
        text-transform: uppercase;
        font-size: 3vw;
        color:var(--accent);
    }

    /*****************************************/

    #sklsec{
        background-color: var(--bg);
        width: 100vw;
        overflow: hidden;
        margin-top: 3vw;
    }
    .blk > h2{
        padding-inline: 3vw;
        /* margin-block: 3vw 0vw; */
        text-transform: uppercase;
        font-family: "Poppins";
        font-weight: 900;
        font-size: 1em;
        background-color: var(--fg);
        color: var(--bg);
    }
    .blk ul{
        list-style: none;
        border-bottom: .05px var(--bgl) solid ;
    }
    .blk ul li{
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: .05px var(--bgl) solid ;
        text-transform: capitalize;
        font-family: "Poppins";
        overflow: hidden;
    }
    .blk ul li:last-child{
        border-bottom: 0;
    }
    .blk ul li h2{
        font-weight: 400;
        font-size: 2em;
        padding: 40px 3vw;
    }

    .hoversec{
       display: none;
    }

    .blk ul li > i{
        font-size: 1.5em;
        padding: 40px  5vw;
    }




    .secondskill{
        display: flex;
        flex-direction: column-reverse;
    }
    .secondskill .plheading{
        background-color: var(--fg);
        color: var(--bg);
        text-transform: uppercase;
        padding: 0px 3vw;
        font-size: 1em;
        font-family: "Poppins";
        font-weight: 900;
    }


    #sklsec .lg{
        position: relative;
        width: 100%;
        display: flex;
        white-space: nowrap;
    }
    .lg:before,.lg:after
    {
    position: absolute;
      top: 0;
      width: 20%;
      height: 100%;
      content: "";
      z-index: 2;
    }
    .lg:before {
        left: 0;
        background: linear-gradient(to left, transparent, var(--bg));
    }

    .lg:after {
        right: 0;
        background: linear-gradient(to right, transparent, var(--bg));
    }


    #sklsec .lg ul{
        display: flex;
        list-style: none;
        animation: listslide 10s infinite linear;
        /* border-block: 1px rgba(255, 255, 255, 0.278) solid; */
    }

    #sklsec .lg ul li{
        padding: 20px 90px;
        font-family: "Poppins";
        font-weight: 200;
        font-size: 3em;
        display: flex;
        flex-direction:row-reverse ;
        align-items: center;
    }
    #sklsec .lg ul li i{
        margin-inline-end: 10px ;
        font-size: .7em;
    }
    @keyframes slide {
        from {
            transform: translateX(0);
          }
          to {
            transform: translateX(-100%);
          }
    }
    @keyframes listslide {
        from {
            transform: translateX(-100%);
          }
          to {
            transform: translateX(0);
          }
    }

    /************/
    #aboutsec{
        margin-top: 3vw;
        /* background-color: #ff5f1f; */
        padding-inline: 5vw;
        justify-content: left;
    }
    #aboutsec img{
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
        margin: 0px;
    }
    #aboutsec .aboutp{
        width: 50rem;
        line-height: 1.5;
    }
    #aboutsec .aboutp h3{
        margin-bottom: 0;
        opacity: 0.4;
        font-size: 15px;
    }
    #aboutsec .aboutp p{
        /* text-align: justify; */
        font-family: "Poppins";
        font-weight: 300;
        font-size: 17px;
    }
    #aboutsec .aboutp a{
        text-decoration: none;
        font-family: "Poppins";
        color: var(--fg);
        border: 1px solid;
        border-radius: 20px;
        padding:5px 20px;
        transition: .3s ease;
    }
    #aboutsec .aboutp a:hover{
        background-color: var(--fg);
        color: var(--bg);
    }
}
