@import url('https://fonts.googleapis.com/css2?family=Tapestry&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap');
*{
          margin: 0;
          padding: 0;
          box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
    overflow-x: hidden;
}
.landing{
    width: 100vw;
    height: 100vh;
    background-image: url("earth.webp");
    background-size: cover;
    background-position: center;
    background-color: #4ad;
    overflow: hidden;
    position: relative;
    background-blend-mode: multiply;
}
.ins{
    color: white;
    font-size: 3rem;
    margin: 0 10% 0 0;
    letter-spacing: 5px;
    position: absolute;
    top: 35%;
    left: 55%;
}
.auto-type{
   padding: 20px;
   position: absolute;
   top: 8rem;
   left: 4%;
   height: 52px;
   overflow: hidden;
   width: 59ch;
   line-height: 20px;
}
.auto-type div{
   overflow: hidden;
   margin-bottom: 20px;
   border-right: 2px solid red;
   animation: left-right 5000ms infinite  steps(17);
   animation-delay: 0ms;
   width: 0ch;

}
.auto-type .c1 {animation: up 15s infinite steps(3),left-right 5000ms infinite  steps(17);}

h3{
    font-size: 25px;
    min-width: 210px;
    display: inline-block;
    color: white;
    text-shadow: 0px 1px 1px black, 
                 0px 1px 0px black, 
                 2px 0px 3px black;
}
@keyframes left-right{
   0%{
     width: 0ch;
   }
   50%{
     width: 28ch;
   }
    100%{
     width: 0ch;
   }
}
@keyframes up{
   0%{
     margin-botom: 0ch;
   }
   100%{
     margin-top: -137.5px;
   }
}
.main-support{
    position: absolute;
    top: 20%;
    left: 12%;
    width: clamp(20rem, 3vw, 30rem);
    height: 32%;
    border-radius: 10px;
    overflow: hidden;
    padding: 10px 0 5px 0;
    box-shadow: inset 13px 2px 20px 2px #5a5a57, 
                12px 2px 7px 0px #00000096;
}
.main-support-sub{
	position: relative;
}
.i1,.i2,.i3{
   width: 20px;
   height: 20px;
   background-color: white;
   border-radius: 50%;
   display: inline-flex;
   flex-direction: row;
   margin: 0 0 0 .1rem;
   justify-content: center;
   align-items: center;
   box-shadow: inset -2px -2px 11px 0px #5a5a57, 
                     -1px 1px 3px 0px #000000f5;
}
.i1{
    margin: 0 0 0 15rem;
    background-color: rgb(255, 189, 46);
}
.i2{background-color: rgb(39, 201, 63);
    }
.i3{background-color: rgb(255, 95, 86);}
hr{
    border: none;
    height: 2px;
    background-color: gray;
}
svg{
    margin-top: 425px;
}
.or-btn{
    position: absolute;
    top: 55%;
    left: 16%;
}
.or-btn button{
    background-color: transparent;
    color: white;
    text-shadow: 0px 0px 0px white;
    font-size: 29px;
    border-radius: 17px;
    padding: 20px;
    font-family: monospace;
    border: 2px solid;
    outline: none;
    transition: 3s;
    cursor: pointer;
}
 .or-btn button:hover{
    text-shadow: 0px 0px 10px white;
}
 .or-btn button:active{
      background-color: white;
 }
 .landing span{
    position: absolute;
    color: yellow;
}
.landing span:nth-of-type(1){
    left: 10rem;
    top: 65px;
}
.landing span:nth-of-type(2){
    left: 40rem;
    top: 26rem;
}
.landing span:nth-of-type(3){
    top: 36rem;
    left: 5rem;
}
.landing span:nth-of-type(4){
       top: 5px;
    right: 20rem;
}
.landing span:nth-of-type(5){
    top: 50.42px;
    right: 50rem;
}
.landing span:nth-of-type(6){
    top: 73%;
    right: 25%;
}
.landing span:nth-of-type(7){
    top: 83%;
    right: 50%;
}
.landing span:nth-of-type(8){
    right: 20%;
    top: 26rem;
}
.landing span:nth-of-type(9){
    top: 30%;
    right: 95%;
}
.landing span:nth-of-type(10){
    top: 23%;
    right: 85%;
}
.landing span:nth-of-type(11){
    top: 3%;
    right: 55%;
}
.landing span:nth-of-type(12){
    top: 20%;
    right: 15%;
}
.landing span:nth-of-type(13){
    top: 2%;
    right: 5%;
}
.p1{
     position: absolute;
     top: 3rem;
     left: 1rem;
    font-family: monospace;
    font-size: larger;
}
.p1 h1{
   border-bottom: 2px solid #3ffdf4;
   color: white;
}
.p1 h2{
   color: #3ffdf4;
   margin-top: -10px;
   font-size:1.3em;
}
.main-about{
    padding: 2rem;
    position: relative;
}
.main-about h1, .more-ABTM h2,  .skills-para h1, h4{
    font-family: 'Tapestry', cursive;
    margin: 2rem 0;
}
.main-about h1::after{
    content: "-------";
    border-bottom: 2px solid blue;
    border-radius: 2px;
    color: transparent;
    position: absolute;
    left: 1.5rem;
}
.main-about p, .skills-para p{
    font-size: 1.5rem;
    line-height: 44px;
    padding: 15px;
    font-family: 'Quicksand', sans-serif;
}
.main-about img[alt="freelancer"]{  
    display: inline-block;
}
.more-ABTM{
    display: flex;
    padding: 1rem;
    position: relative;
}
.more-ABTM h2{
 border-bottom: 2px solid blue;
 max-height: 1.8rem;
 max-width: 12rem;
 display: inline-table;
 border-radius: 2px;
}
.MAM-spans div span{
    position: static;
    color: #00b5ac;
    font-size: 2rem;
    margin-right: 10px;
}
.MAM-spans{
    top: 4rem;
    left: 43rem;
    position: absolute;
    padding: 0.2rem;
}
.MAM-spans div {
    word-break: break-word;
    font-size: 2rem;
    font-family: monospace;
    letter-spacing: 4px;
}
.MAM-spans div a{
     text-decoration: none;
    color: black;
}
.MAM-spans div:last-child span{
    color: #2aff2a;
}
.skills{
    width: 100vw;
    padding: 2rem;
    margin: 1rem 0;
    background-color: lightcyan;
    filter: drop-shadow(0px 9px 25px black);
}
.skills div{
    margin: .5rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    font-family: 'Quicksand';
}
.outter{
    width: clamp(8rem, 50vw, 30rem);
    min-width: 12rem;
    outline: 2px solid;
    border-radius: 5px;
    position: relative;
    height: 1rem;
    box-shadow: inset -3px 0px 4px 0px #333232;
    margin-left: 0px;
}
.inner-html, .inner-css, .inner-JavaScript, .inner-PHP{
    position: absolute;
    height: 1rem;
    top: -12px;
    left: -1rem;
    box-shadow: 3px 1px 9px 0px #333232,
                inset 3px 1px 9px 1px #333232f5;
    border-radius: 0 10px 10px 0;
}
.inner-html{
    width: 95%;
    background-color: #7ea950;
}
.inner-css{
    width: 80%;
    background-color: #f0e15e;
}
.inner-JavaScript{
    width: 70%;
    background-color: #ecb638;
}
.inner-PHP{
    width: 50%;
    background-color: rgb(255 96 0 / 1);
}
.skills .skills-para{
    display: flex;
    flex-direction: column;
}
#HTML:before{
    content: "95%";
    position: absolute;
    top: -4px;
    color: #c5e0e0;
    font-size: 22px;
    z-index: 1;
}
#CSS:before{
    content: "80%";
    position: absolute;
    top: -4px;
    color: #c5e0e0;
    font-size: 22px;
    z-index: 1;
}
#JS:before{
    content: "70%";
    position: absolute;
    top: -4px;
    color: #c5e0e0;
    font-size: 22px;
    z-index: 1;
}
#PHP:BEFORE{
       content: "50%";
    position: absolute;
    top: -4px;
    left: 40px;
    color: #c5e0e0;
    font-size: 22px;
    z-index: 1; 
}
.projects{
    width: 100vw;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: 21rem;
    overflow: hidden;
}
.main-pro-container{
    margin: 1rem;
    background-color: #7acfc7;
    color: white;
    display: flex;
    align-items: center;
    flex-direction: column;
    border-radius: 5px;
    position: relative;
    border: 2px solid black;
    overflow: hidden;
}
.main-pro-container img{
    background-color: white;
    margin: 1rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20rem;
    height: 15rem;
}
.pro-pra{
    width: 20rem;
    height: 15rem;
    background-color: #000000d9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1rem;
    margin-top: -50rem;
    border-radius: 5px;
    transition: 2s;
    pointer-events: none;
    font-size: 1.3rem;
    color: lightcyan;
}
.main-pro-container img:hover  + .pro-pra{
   margin-top: 0px;
}

.pro-link a{
      font-size: 2rem;

}
.more-text{z-index: 999;
display: inline-block;
}
.more-text, .back{
    font-size: 20px;
    background-color: #8d8686;
    color: white;
    display: inline-block;
    position: absolute;
    width: 100px;
    padding: 5px;
    border-radius: 5px;
    left: 15px;
    cursor: pointer;
}
h4,  .skills-para h1{
    border-bottom: 2px solid blue;
    border-bottom-width: medium;
    }
h4{
  width: 7rem;
  font-size: 3rem;
  margin: 50px 0 0 20px;
}
.noProjects{
    margin: 50px auto;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.noProjects p{
    font-size: 2.5rem;
    color: #9E9E9E;
    margin: 22px 32px 41px 32px;
    text-align: center;
}
.noProjects button{
    padding: 10px;
    font-size: 2rem;
    margin: 3% 0%;
    background: none;
    border-radius: 6px;
    min-width: 10rem;
}
.noProjects button:hover{
   color: #9e9e9e;
   border: 2px solid #c1c1c1;
   transition: .5s;
}
.noProjects button:active{
    background-color: #9cffef;
}
.TimeTable{
    background-color: black;
    color: white;
    filter: drop-shadow(0px 9px 25px black);
    margin: 80px 0;
    padding: 20px;
}
.TimeTable h1{
    color: #3ffdf4;
}
.TimeTable h1::after{
content: "....................";
color: transparent;
border-bottom: 2px solid white;
margin: 0 0 0 -208px;
}
.TimeTable span{
    font-size: 2rem;
    color: #2aff2a;
    background-color: #4ad;
    display: flex;
    border-radius: 7px;
    text-align: center;
    font-family: monospace;
    padding: 13px;
}

.TimeTable .TT-container{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;

}
.TT-container ul{
    list-style: none;
    width: -webkit-fill-available;
}
.TT-container ul li{
    font-size: 4vw;
    letter-spacing: 1px;
    margin: 15px 0;
    font-family: monospace;
    color: rgba(0,212,255,1);
    border: 2px solid;
    padding: 15px;
    border-radius: 10px;
}
.TT-container ul #active{
   color: #2aff2a;
}
.content{
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 10px;
}
form{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 25px;
}
.form a{
    font-size: 2rem;
    text-decoration: underline;
    margin: 10px 0 0 30px;
}
.content form fieldset{
    padding: 10px;
    display: flex;
    max-width:20rem;
    align-content: flex-end;
    flex-direction: column;
    border-radius: 5px;
}
.content form input{
    margin: 0 0 10px 0;
    padding: 10px;
    border-radius: 10px;
}
.content form textarea{
    padding: 10px;
    border-radius: 5px;
    min-height: 7rem;
    resize: vertical;
}
form fieldset button{
    padding: 10px;
    font-size: 1rem;
    background-color: transparent;
    border-radius: 5px;
    color: #5a5a57;
    margin: 10px  0 0 0;
}
pre{
    display: flex;
    justify-content: space-around;
}
::placeholder{
    font-size: 1.1rem;
    font-family: monospace;
}
input:focus, textarea:focus{
    font-size: 1.1rem;
    font-family: monospace;
}
button[type="sumbit"]{
    background: rgb(66 174 82);
    color: white;
    border: none;
}
button[type="reset"]{
    color: gray;
    background: #eee9e9;
    border: none;
    padding: 0 20px;
}
footer{
    background-color: black;
    color: #9e9e9e;
    display: flex;
    align-items: center;
    padding: 10px;
    flex-direction: column;
}
footer div{
    margin: 10px;
    padding: 10px;
    flex: 1;
}
footer  .Links a{
    color: #9e9e9e;
    margin: 0 10px;
    font-size: 2rem;
    transition: .5s;
}
footer .Links a:hover{
    text-decoration-color: #2aff2a;
    color: #00d4ff;
}
.soMi a
.profile{
    position: relative;
    flex: 1;
}
.profilePic{
    display: flex;
    justify-content: center;
}
.profilePic img{
    width: 5rem;
    border-radius: 50%;
}
.card
    {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 999999;
    top: 0px;
    left: 0px;
    background: cyan;
    font-size: 2rem;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.card span{
    line-height: 50px;
}
.bacBtn{
    padding: 10px 55px;
    font-size: 2rem;
    border-radius: 22px;
    background: transparent;
}
.soMi a{
    font-size: 100px;
    text-decoration: none;
    color: darkslategray;
    margin: 10px;
}
.soMi a img{
 width: 2rem;
}





@media(max-width:1169px){
  .MAM-spans{
    position: static;
  }
  .more-ABTM{
    flex-direction: column;
  }
  .projects{
    justify-content: center;
  }
  .content{
    flex-direction: column;
  }
  .profile{
    margin: 15px 0 0 -222px;
  }
}
@media(max-width: 800px){
    .ins{
    display: none;
  }
  .skills{
    padding: 0;	 
}
}
@media(min-width: 1024px) {
    footer{
        display: block;
    }
    .footersub{
        display: flex;
    }
  .footersub div{
    flex: 1;
  }
  .Links{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
  }
  .soMi{
    display: flex;
    align-items: center;
    justify-content: space-around;
    
  }
  .info{
    text-align: center;
  }
}
