*{
   font-family: cursive;
}
body{
   background: linear-gradient(to right, #FFD6FF ,#BBD0FF ); 
}
.hero {
   background: radial-gradient(circle, white ,black);
    position: relative;
    width: 100%;
    height: 100dvh; /* full screen */
   overflow: hidden;
}

.hero-img {
   width: 100%;
   height: 100%;
   object-fit: cover; /* image stretch nahi hogi */
}

a{ text-decoration: none;}
a .fa-instagram {
    color: crimson;
    transition: 0.3s;
    font-size: 11dvw;
}
a .fa-instagram:active{
   color: green; 
   font-size: 13dvw;
}
a .fa-square-github {
   font-size: 11dvw ;
   color: black;
   transition: 0.3s;
}
a .fa-square-github:active{
   color: green;
   font-size: 13dvw;
}
a .fa-linkedin{
   color: blue;
   font-size: 11dvw;
   transition: 0.3s;
}
a .fa-linkedin:active{
    font-size: 13dvw;
    color: green;
}
#tribar{
   color: blue;
   position: fixed;
   right: 0;
   z-index: 2;
   font-size: 10dvw;
   transform: translate(-1.5dvw,-2dvh);
   transition: transform 0.3s ease;
}
#onscrolltribar{
    color: blue;
    position: fixed;
    right:0;
    z-index: 2;
    font-size: 10dvw;
    transform: translate(10dvw,-2dvh);
    transition: transform 0.3s ease;
}
.navbar{
    position: fixed;
    right: 0;
    z-index: 2;
    display: flex;
    color: #ADE8F4;
    justify-content: center;
    font-size: 60%;
    width: 30dvw;
    height: 40dvh;
    border: 2px solid dodgerblue;
    background: linear-gradient(to top,#023E8A ,#03045E);
    visibility: hidden;
    opacity: 0;
   transition: opacity 0.5s linear;
}
.navbar ul{
    list-style: none ;
    margin: 0;
    padding: 0;
    margin-top: 20px;
}

.navbar li {
    margin-bottom: 20px;
    color: #ADE8F4 ;

}
.navbar li a {
    margin-bottom: 20px;
    color: #ADE8F4 ;

}

#socialbox{
   margin: none;
   padding: none;
   position: relative;
   z-index:2;
   transform: translate(3dvw,-95dvh);
    display: flex; 
    width: 16dvw;
    height: 32dvh;
    justify-content: space-evenly;
    align-content: center;
   align-items: center;
   flex-direction: column;
   box-shadow: 2px 2px 5px 1px;
}
#headingsection{
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}
#name1{
   padding: 15px;
   box-shadow:2px 3px 5px  darkblue , 2px 3px 5px;
   font-size: clamp(3rem,7dvw,5rem);
   position: absolute;
   bottom: 0;
   transform: translate(13dvw,-4dvh);
   color:  #023E8A;
   width: fit-content;
   display: flex;
   justify-content: center;
   align-content: center;
   align-items: center;
}
.headingbox{
   color: #7547FF;
   position: relative;
   font-size: clamp(2.5rem,3.5dvw,3rem);
   font-weight:bolder;
   text-align: center; 
   border-bottom: 2px solid blue;
   margin-top: 40px;}

.myinfo{
   position: relative;
   margin: auto;
   margin-top: 5px;
   padding: 60px;
   font-family: Caveat;
   font-size:clamp(1.5rem,2.5dvw,1.7rem)
   text-align: center;
   line-height: 1.6;
   color: #541388;
   font-weight: bold;
}
#line {
   margin-top: 30px;
}
#icon{
   color: crimson;
   text-align: center;
   margin-top: 10px;
   transform: translateY(20px);
}
.skillbox{ 
   
   position: relative;
   display: flex;
   justify-content: space-evenly;
   align-content: center;
   align-items: center;
   flex-direction: row;
   margin-top: 40px;
}
#Html5{
   width:100px ;
   height: 100px;
   background-image: url('Html5.png');
   background-size: cover;
   box-shadow: 3px 3px 5px red,2px 2px 6px; }
#Css3{
   width:100px ;
   height: 100px;
   background-image: url('Css3.png');
   background-size: cover;
   box-shadow: 3px 3px 5px blue,2px 2px 6px; }

#Js{
   width:100px ;
   height: 100px;
   background-image: url('Js.png');
   background-size: cover;
   box-shadow: 3px 3px 5px gold,2px 2px 6px; }

#Python{
   width:100px ;
   height: 100px;
   background-image: url('Python.png');
   background-size: cover;
   box-shadow: 3px 3px 5px #1805eb,2px 2px 6px; }

#editing{
   width:100px ;
   height: 100px;
   background-image: url('kinemaster.png');
   background-size: cover;
   box-shadow: 3px 3px 5px #ec1d33,2px 2px 6px; }

#poem{
   width:100px ;
   height: 100px;
   background-image: url('Poem.png');
   background-size: cover;
   box-shadow: 3px 3px 5px #f15323,2px 2px 6px; }

.active{
   border-bottom: 1px solid blue;
   margin: auto;
   margin-top: 6dvh;
   margin-bottom: 50px;
   width: fit-content;
   max-width: 90%;
   padding: 20px;
   text-align: center;
   line-height: 1.6;
   font-size:clamp(1rem,2dvw,1.3rem);
}

.poemhead{
   margin:0;
   padding: 0;
   position: relative;
   text-align: center;
   margin-bottom: 25px;
   display: inline-block;
   color: #541388;
   border-bottom: 2px solid dodgerblue;
}
#poem1,#poem2,#poem3,#poem4{
    color: #541388;
}
.inactive{
   display: none;
 }
.arrowpoem{
   display: flex;
  justify-content: space-evenly;
   align-content: center;
   text-align: center;
   flex-direction: row-reverse;
    transform: translateY(-95px);
}
#rightArrow{
   display: inline-block;
   position: relative;
   font-size: clamp(2.2rem ,2dvw,2.5rem);
   color: darkblue;
}
#rightArrow:active{
   transform: translateX(12px);
   transition: transform 0.4s linear;
}
#leftArrow{
   display: inline-block;
   position: relative;
   font-size: clamp(2.2rem ,2dvw,2.5rem);
    color: darkblue;
}
#leftArrow:active{
   transform: translateX(-12px);
   transition: transform 0.4s linear;
}
.projectBoxActive{ 
    transform: translateY(35px);
    display: flex;
    justify-content: center;
    align-content: center;
}
.projectBoxActive pre{
   padding-left: 30px ;
   padding-right: 30px ;
   padding-bottom: 25px;
   font-size: clamp(1.2rem ,2dvw,1.5rem);
    font-family: Caveat;
   justify-self: center;
   box-shadow: 1px 2px 2px blue , 1px  1px 2px;
   margin-bottom: 10dvh;
   color: #541388;
}
.projectBoxActive pre p {
   font-size: clamp(1.8rem , 2.5dvw,2.2rem);
   display: inline-block;
} 

.projectBoxInActive{ 
display :none;
}

#goalArrow{
   display: inline-block;
   position:relative;
   left: 50%;
   font-size: clamp(1.8rem,7dvw,2.1rem);
   transform: translateY(-7dvh);
   color: darkblue;
}

#goalArrow:active{
   left: 51%;
   transition: position 0.5s linear;
}
#abtprojectlink{ 
   position: relative;
   left: 36%;
   border: 1px solid dodgerblue;
   padding: 6px ;
   width: fit-content;
   text-align: center;
   transform: translate(-4dvh,-3dvh);
   font-family: Caveat;
   font-size : clamp(1.4rem,2.5dvw,1.8rem);
   color:  #541388;
}
#contactbox{ 
   display: flex;
   justify-content: center;
   align-items: center;
   align-content: center;
}
#email{ 
    color: #541388;
    display: block;
    margin-top: 80px;
    margin-bottom: 30px;
   font-family: Caveat;
   font-size: 1.6rem;
}
#message{
   color: #541388;
   display: inline-block;
    font-size: 1.6rem;
   font-family: Caveat;
 }
#fillsection{
   display: block;
   resize: none;
   font-family: Serif;
   color: #541388;
   background: lightblue;
   font-size: 1.3rem;
   transform: translateY(10px);
}

#sendbutton{
   margin-top: 25px;
   font-size: 1.5rem;
   display: block;
   border-radius: .7rem;
   color: grey;
   background-color: lightblue;
   transform: translateX(-30px);
   justify-self: flex-end;
   margin-bottom: 80px;
 }
#sendbutton:active{
    font-size: 1.4rem;
    background: green;
}
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
   #socialbox{
     transform: translate(45vw,-98vh);
     width: 40vw;
     height: 8vh;
    flex-direction: row;
     box-shadow: none;
}
a .fa-instagram {
    font-size: 4.5vw;
}
a .fa-instagram:active{
   font-size: 4.3vw;
}
a .fa-square-github {
   font-size: 4.5vw ;
}
a .fa-square-github:hover{
   border: 1.5px solid dodgerblue;
}
a .fa-instagram:hover{
   border: 1.5px solid dodgerblue;
}
a .fa-linkedin:hover{
   border: 1.5px solid dodgerblue;
}

a .fa-square-github:active{
   font-size: 4.3vw;
}
a .fa-linkedin{
   font-size: 4.5vw;
}
a .fa-linkedin:active{
    font-size: 4.3vw;
}
.hero-img {
   display: inline-block;
   width: 50%;
   height: 100%;
}
#name1{
   padding: 0;
   box-shadow:none;
   font-size: clamp(3.8rem,7.5vw,5.3rem);
   transform: translate(48vw,-29vh);
   color: #023E8A;
   width: fit-content;
   font-weight: bolder;
}
.navbar{
    padding: auto;
    color: #ADE8F4;
    font-size: 34%;
    width: 13vw;
    height: 40.6vh;
    border: 2px solid dodgerblue;
    background: linear-gradient(to top,#023E8A ,#03045E);
}
#tribar{
   z-index: 2;
   font-size: 6vw;
   transform: translate(-2vw,-1vh);
   transition: transform 0.3s ease;
}
#onscrolltribar{
    font-size: 6vw;
    transform: translate(15vw,-1vh);
}
.projectBoxActive pre{
   font-size: clamp(2.1rem ,2.6vw,2.7rem);
}
#abtprojectlink{ 
   border: 1.5px solid dodgerblue;
   padding: 10px ;
   width: fit-content;
   font-family: Caveat;
   font-size : clamp(2rem,2.8dvw,2.4rem);
}

.headingbox{
   font-size: clamp(6rem,4.5vw,7rem);
}
#goalArrow{
   font-size: clamp(2.1rem,8vw,2.5rem);
}
.active{
   border-bottom: 2px solid blue;
   font-size:clamp(1.5rem,2.6vw,2rem);
}
#rightArrow{
   font-size: clamp(4.2rem ,3.3vw,4.5rem);
}
#leftArrow{
   font-size: clamp(4.2rem ,3.3vw,4.5rem);
}
.arrowpoem{
    transform: translateY(-145px);}
#Html5{
   width:250px ;
   height: 250px;
   margin-top: 70px;
   margin-bottom: 40px;
}
#Css3{
   width:250px ;
   height: 250px;
   margin-top: 70px;
   margin-bottom: 40px;
}

#Js{
   width:250px ;
   height: 250px;
   margin-top: 40px;
   margin-bottom: 40px;
 }

#Python{
   width:250px ;
   height: 250px;
   margin-top: 40px;
   margin-bottom: 40px;
 }

#editing{
   width:250px ;
   height: 250px;
   margin-top: 40px;
   margin-bottom: 70px;
 }
#poem{
   width:245px ;
   height: 245px;
   margin-top: 40px;
   margin-bottom: 70px;
 }
.myinfo{
   margin-left: 50px;
   margin-right: 50px;
   padding-left: 90px;
   padding-right:90px;
   padding-top: 30px;
   font-size:clamp(2rem,2.2vw,2.3rem);
}
#email{
    margin-top: 120px;
   font-size: 2.3rem;
}
#message{
    font-size: 2.3rem;
 }
#fillsection{
   font-family: Serif;
   font-size: 1.9rem;
}

#sendbutton{
   font-size: 2.5rem;
   margin-bottom: 120px;
   margin-top: 60px;
 }
#sendbutton:active{
    font-size: 2.1rem;
    cursor: pointer;
}
}


@media (orientation: landscape) and (pointer: coarse) {
.hero-img {
   object-fit: contain; 
   transform: translateX(-20dvw);
}

a .fa-instagram {
    font-size: 5dvw;
}
a .fa-instagram:active{
   font-size: 6dvw;
}
a .fa-square-github {
   font-size: 5dvw ;
}
a .fa-square-github:active{
   font-size: 6dvw;
}
a .fa-linkedin{
   font-size: 5dvw;
}
a .fa-linkedin:active{
    font-size: 6dvw;
}
#tribar{
   font-size: 4dvw;
}
#onscrolltribar{
    font-size: 4dvw;
}
.navbar{
    font-size: 33%;
    width: 8dvw;
    height: 67dvh;
  
}
.navbar ul{
    margin-top: 10px;
}

#socialbox{
    width: 7.5dvw;
    height: 60dvh;
}
#name1{
   box-shadow:2px 3px 4px  darkblue , 2px 3px 4px;
   font-size: clamp(2.6rem,6dvw,4.7rem);
   transform: translate(47dvw,-4dvh);
}
}