@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700;800&family=Roboto:wght@100;300;400&display=swap');

:root {
    --primary-color: #f9532d;
    --primary-dark: #0d1021;
    --primary-font: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
}
/* Genral */
.container {
    padding: 0 8.4rem;
}

.img-w {
    width: 100%;
}

.text-color {
    background: #0870f7;
background: linear-gradient(to right, #17a8c6 0%, #3c1ea8 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
/* Nav */
header {
    position: relative;
    box-shadow: 0 4px 17px rgb(80 80 80 / 31%);
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 1;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    opacity: 0;
    animation: leftSideAni 1s ease forwards;
}

.logo a {
    color: #000;
    text-decoration: none;
}

ul {
    display: flex;
    gap: .6rem;
    list-style-type: none;
    background-color: transparent;
    overflow: hidden;
}

li a {
    display: inline-block;
    padding: .3rem 1rem;
    color: var(--nav-text);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: .7px;
    border-radius: 36px;
    line-height: 2;
    transition: .3s;
    opacity: 0;
    animation: navani .3s ease forwards;
    animation-delay: calc(.15s * var(--navAni));
}
ul li a {
    position: relative;
}

ul li a::before {
    content: "";
    position: sticky;
    bottom: 0;
    width: calc(100% - 2rem);
    height: 3px;
    background: linear-gradient(to right, #0d9dcc 0%, #5118d6 100%);
}
ul li a::before {
    transform: scale(0, 1);
    transition: transform .3s ease;
}

ul li a:hover::before {
    transform: scale(1, 1);
}

li a.active,
li a:hover {
    background: #F7086C;
    background: linear-gradient(to right, #11a1c2 0%, #3012db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.menu {
    display: none;
}

/* Nav End */

/* Section 1 */
.mode i {
    font-size: 1.4rem;
    cursor: pointer;
    background: #F7086C;
    background: linear-gradient(to right, #19bcd2 0%, #320fe2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: rightSideAni 1.5s ease forwards;
}

.main {
    display: grid;
    grid-template-columns: 6% repeat(auto-fit, minmax(277px, 1fr));
    row-gap: 2rem;
    align-items: center;
}
.main h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: rightSideAni 1s ease forwards;
}
.main h1 {
    font-size: 3.5rem;
    font-weight: 600;
    opacity: 0;
    animation: topSideAni 1s ease forwards;
}

.main p {
    line-height: 1.7;
    font-size: 1.15rem;
    opacity: 0;
    animation: btn-ani 1s ease forwards;
    animation-delay: .2s;
}

.social {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
}

.social a {
    background: linear-gradient(to right, #1091d1 0%, #260ac4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border: 1.6px solid;
    display: grid;
    place-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: 50%;
    padding: 0.39rem;
    text-align: center;
    opacity: 0;
    animation: SocialAni 1s ease forwards;
    animation-delay: calc(.2s * var(--socialAni));

}
span
{
    
    background: #F7086C;
    background: linear-gradient(to right, #0a8bba 0%, #1419c0 100%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}
.social a:hover {
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--primary-dark);
    background: linear-gradient(90deg, rgb(14, 139, 185) 0%, rgb(28, 23, 176) 100%);
    box-shadow: 0 0 20px;
    transition: all .3s ease-in-out;
}
.detail span {
    background: #F7086C;
    background: linear-gradient(to right, #1c98da 0%, #2416c4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.images {
    width: 80%;
    margin-left: auto;
    position: relative;
    z-index: -1;
}
.images {
    opacity: 0;
    animation: imageAni 1s ease backwards;
    animation-delay: .8s;
    position: relative;
}
.images::before {
    content: "";
    position: absolute;
    width: 27vw;
    height: 21vh;
    background: linear-gradient(to right, #13a0d3 0%, #1a0bb6 100%);
    border-radius: 200px;
    top: 22%;
}
.images img {
    position: relative;
    object-fit: cover;
}
.image
{
    margin-top: 50px;
    width: 35vw;
    height: 50vh;
    border-radius: 50px;
    opacity: 0;
    animation: imageAni 1s ease forwards;
    animation-delay: .8s;
    position: relative;   
    -webkit-filter: blur(3px);
	filter: blur(3px);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out; 
}
image::before {
    content: "";
    position: absolute;
    width: 27vw;
    height: 21vh;
}
.image:hover
{
    cursor: pointer;
    box-shadow: 0 4px 17px blue,0 -4px 17px blue;

    -webkit-filter: blur(0);
	filter: blur(0);
}
/*About Section*/
#about_section
{
    background-color: blueviolet;
    color: black;
    margin-top: 30px;
}
.main2
{
    display: flex;
    margin-top: 30px;
}
.left_side
{
    margin-top: 50px;
    margin-right: auto;
    animation: leftSideAni 2s ease-in-out;
}
.right_side
{
    margin-left: auto;
    animation: rightSideAni 2s ease-in-out;
}

table
{
    border-collapse: collapse;
}
tr td
{
    padding: 15px;
}
.space
{
    font-size: 1.5rem;
    font-weight: bold;
}
.detail1
{
    margin-right: auto;
  
}

.tex
{
    text-justify: auto;
    font-weight: 400;
    margin-left: 20px;
    font-size: 0.9rem;
    margin-bottom: 5px;
}
.ele
{
    margin-top: 19px;
    align-items: center;
    text-align: center;
    display: inline-block;
    opacity: 0.7;
    border: 1px solid white;
    border-radius: 30%;
    padding: 15px;
    margin-left: 120px;
}
.val
{
    font-size: 1.2rem;
    
    background: #F7086C;
    background: linear-gradient(to right, #189dbe 0%, #2815d6 100%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    margin-top: 4px;
}
.main .btn {
    height: 42px;
    width: 132px;
    border-radius: 36px;
    background: linear-gradient(to right, #0ed1df 0%, #2311c6 100%);
    margin-top: 2rem;
    padding: 1px;
    opacity: 0;
    animation: btn-ani 1s ease forwards;
    animation-delay: .4s;
}
.detail button {
    display: inline-block;
    height: 42px;
    width: 132px;
    border-radius: 36px;
    border: 0;
    background-color: #d813c5;
    font-family: var(--primary-font);
    font-weight: 600;
    font-size: 1.01rem;
    cursor: pointer;
    text-align: center;
}
.detail button:hover {
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--primary-dark);
    background: linear-gradient(90deg, rgb(12, 156, 222) 0%, rgb(21, 28, 224) 100%);
    transition: all .3s ease-in-out;
}
/*Skills Section*/
.main3
{
    display: flex;
    margin-top: 30px;
}
.left_side1
{
   align-self: center;
    width: 50%;
    margin-top: 50px;
    margin-right: auto;
    animation: leftSideAni 1s ease-in-out;
}
.right_side1
{
    width: auto;
    margin-left: auto;
    animation: rightSideAni 2s ease-in-out;
}
.skills {
    position: relative;
    -webkit-box-reflect: below -20px linear-gradient(transparent, rgba(0,0,0,.2));
    font-size: 60px;
  }
  .skills span {
    font-family: 'Alfa Slab One', cursive;
    position: relative;
    display: inline-block;
    color: #fff;
    text-transform: uppercase;
    animation: waviy 1s infinite;
    animation-delay: calc(.1s * var(--i));
    
  }

  .skillsImages div
  {
    display: inline-block;
    
  }
  .skillsImages img
  {
        
        width: 90px;
        height: 120px;
        margin-left: 30px;
        margin-right: 30px;
        margin-bottom: 30px;
  }
  .skillsImages img:hover
  {
    cursor: pointer;

    animation: rotate 3s ease-in-out ;
  }
  
/* Projects*/
.wrapper.five {
    background-color: #99bec8;
    font-size: 3rem;
    font-family: "Play", sans-serif;
}
.float-box {
    margin: auto;
    transform-style: preserve-3d;
    transform-origin: left;
    transform: perspective(100px) rotateY(10deg);
}
.float {
    animation: floating 2s linear infinite;
    margin: 3.5rem auto;
    padding: 1rem;
    background: #5a9bad;
    color: #ffffff;
    box-shadow: -20px -17px 8px 0px #5a9bad63;
}

.projects_class
{
    background-color: blanchedalmond;
}
#projects
{
    padding: 50px 0;

}
.projects-list
{
    padding-left: 100px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    column-gap: 75px;
    margin-top: 50px;
}
.projects-list div
{
    background: #262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-right: 10px;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}
.projects-list div i
{
    font-size: 50px;
    margin-bottom: 60px;
}
.projects-list div h2
{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}
.projects-list div a
{
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}
.projects-list div p
{
    font-size: 20px;
}
.projects-list div:hover
{
    background: #2F52E0;
    transform: translateY(-10px);
    color: white;
}
.container2
{
    min-height: 120vh;
}
/*Contact Section*/


.container1 {
	background-color: white;
	border-radius: 5px;
  	box-shadow: 0 14px 28px rgba(0,0,0,0.25), 
		0 10px 10px rgba(0,0,0,0.22);
	position: relative;
	overflow: hidden;
	width: 768px;
	max-width: 100%;
    min-height: 99vh;
    min-width:370px;
    margin-top: 90px;
    margin-left: auto;
    margin-right: auto;
}
svg
{
    margin-top: 30px;
    width: 300px;
}

.form-container {
  display:flex;
}

.left-container {
  flex:1;
  height:480px;
  background-color:teal;
}
.right-container {
  display:flex;
  flex:1;
  height:460px;
  background-color: white;
  justify-content:center;
  align-items:center;
}

.left-container {
  display:flex;
  flex:1;
  height:480px;
  justify-content:center;
  align-items:center;
    color:white;
}

.left-container p {
  font-size:0.9rem;
}

.right-inner-container {
  width:70%;
  height:80%;
  text-align:center;
}

.left-inner-container {
  height:50%;
  width:80%;
  text-align:center;
  line-height:22px;
}

input, textarea {
	background-color: #eee;
	border: none;
	padding: 12px 15px;
	margin: 8px 0;
	width: 100%;
  font-size:0.8rem;
}

input:focus, textarea:focus{
  outline:1px solid teal;
}
.container1 .btn {
    height: 42px;
    width: 132px;
    border-radius: 36px;
    background: linear-gradient(to right, #11a6d3 0%, #0e24d0 100%);
    margin-top: 2rem;
    padding: 1px;
    opacity: 0;
    animation: btn-ani 1s ease forwards;
    animation-delay: .4s;
}
.container1 a:link
{
    text-decoration: none;
}
.foot
{
    display: block;
    position: relative;
    bottom: 0;
    background-color: #0d1021;
    color: white;
    text-align: center;
    align-items: center;
}
@media only screen and (max-width: 600px) {
  .left-container{
    display: none;
  }
  .lg-view {
    display:none;  
  }
}

@media only screen and (min-width: 600px) {
  .sm-view {
    display:none;  
  }
}

form p {
  text-align:left;
}
/* Animation */

@keyframes rotate
{
    50% {transform: rotate(360deg);}
}
@keyframes waviy {
    0%,40%,100% {
      transform: translateY(0)
    }
    20% {
      transform: translateY(-20px)
    }
  }
@keyframes leftSideAni {
    0% {
        transform: translateX(-200px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes navani {
    0% {
        transform: translateY(200px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes rightSideAni {
    0% {
        transform: translateX(200px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes topSideAni {
    0% {
        transform: translateY(-200px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes SocialAni {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes btn-ani {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes imageAni {
    0% {
        opacity: 0;
        transform: scale(-1);
       
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
@media (zoom: 1.2)
{
    :root
    {
        font-size: 19.2px ;
    }
    html {
        font-size: 80%;
    }
    .container {
        padding: 0 4.4rem;
    }
    .container1
    {
        width : 120%;
    }
    .images {
        width: 120%;
        margin: auto;
    }

}

@media screen and (max-width: 1024px) {
    html {
        font-size: 80%;
    }
    .container {
        padding: 0 4.4rem;
    }
    .images {
        width: 40%;
        margin: auto;
    }

}
@media screen and (max-width: 600px) {
    /* About Section */
    #about_section {
      padding: 2rem 1rem;
    }
  
    .main2 {
      flex-direction: column;
    }
  
    .left_side {
      margin-right: 0;
      margin-bottom: 2rem;
    }
  
    .right_side {
      margin-left: 0;
    }
  
    /* Contact Section */
    .container1 {
      width: 100%;
      padding: 2rem 1rem;
    }
  
    .left-container {
      display: none;
    }
  
    .right-container {
      width: 100%;
      padding: 2rem 1rem;
    }
  
    /* Projects Section */
    .projects-list {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
  
    .projects-list div {
      padding: 1rem;
      border-radius: 10px;
    }
  
    /* Skills Section */
    .main3 {
      flex-direction: column;
    }
  
    .left_side1 {
      margin-right: 0;
      margin-bottom: 2rem;
    }
  
    .right_side1 {
      margin-left: 0;
    }
  
    .skillsImages {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }
  
    .skillsImages img {
      width: 50%;
      margin: 1rem;
    }
  }

@media screen and (max-width: 768px) {
    html {
        font-size: 80%;
    }
    .container {
        padding: 0 1.6rem;
    }
    .main {
        margin-top: 2rem;
        grid-template-columns: 1fr;
    }
    .images {
        width: 50%;
        margin: auto;
    }
}

@media screen and (max-width:600px) {
    html {
        font-size: 100%;
    }
    header {
        height: auto;
    }

    ul {
        background: #fff;
        width: 100%;
        height: 100vh;
        position: absolute;
        display: flex;
        flex-direction: column;
        text-align: center;
        top: 3.4rem;
        left: -100%;
        z-index: 111111;
    }

    .menu {
        display: block;
        font-size: 1.5rem;
        font-weight: bold;
        color: #244D61;
    }

    .images {
        width: 88%;
        margin: auto;
    }
}