@import url('https://fonts.googleapis.com/css2?family=Karla:wght@500&family=Quicksand:wght@500&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #161515;
    color: #fff;
    font-family: 'Quicksand';
    /* font-family: monospace; */
    /* overflow-x: hidden; */
}

a{
    text-decoration: none;
    color: #FFF;
}


nav{
    z-index: 2;
    /* position: fixed;
    top: 0;
    right: 0;
    left: 0; */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1em 3em;
    font-weight: 500;
    /* background-color: #3838386f;
    backdrop-filter: blur(3px);
    filter: drop-shadow(6px 10px 16px #000); */
}

ul{
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 7em;
}


.hero-section-container{
    display: grid;
    place-content: center;
    height: 100vh;
    /* margin: 0 auto; */
}
.hero-section{
    /* position: absolute; */
    /* top: 40%; */
    /* left: 45%; */
    font-family: 'karla';
    padding: 1em 3em;
    /* margin-left: 20px; */
    
    /* transform: translateX(-50%); */
    /* transform: translateY(-50%); */

    
}

.hero-section h1{
    transform: translateY(35px);
  opacity: 0;
}

.hero-section p{
    transform: translateY(18px);
    opacity: 0;
}

.blob{
    opacity: 0;
}

#blobSvg{
    display: grid;
    place-content: center;
   
}
.elements-3d{
    position: relative;
    top: 60%;  
    margin-top: 30px;
    display: none;
}

.triangle-3d{
    position: absolute;
    bottom: 60%;
    left: 40%;
}
.square-3d{
    position: absolute;
    
}


/* .red-circle{
    position: absolute;
    top: 80%;
    left: 90%;
    width: 250px;
    height: 250px;
    border-radius: 100%;
    background-color: #E3452F;
    
} */



/* li a::before {
    content: '';
    background-color: #d77c29;
    position: absolute;
    left: 0;
    bottom: 3px;
    width: 100%;
    height: 8px;
    z-index: -1;
    transition: all .3s ease-in-out;
}


li a:hover::before {
    bottom: 0;
    height: 100%;
  } */

#blobSvg{
    position: absolute;
    top: 20%;
    /* right: 30%; */
    left: 30%;
    max-width: 500px;
    z-index: -1;
    transform: translateX(-30%);

}
.hero-section>*{
    padding: 10px;
    filter: drop-shadow(6px 10px 16px #000);
    
}
.hero-section>h1{
    font-size: clamp(2.4rem,4vw, 5rem);
    /* font-size: 2.4rem; */
}

.hero-section-subheading>p{
    font-size: 1.2rem;
    font-weight: 500;
    display: inline-block;
    max-width: 70%;
    /* padding:0 3em; */
    /* color: transparent; */
    
}
.flex{
    display: flex;
   gap: 1em; 
}

.sidebar{
    display: flex;
    flex-direction: column;
    gap: 4em;
    position: absolute;
    top: 60%;
    left: 4%;
}

.grain {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    pointer-events: none;
    z-index: -1;
    transform: translateZ(0);
}

.grain::before{
    content: "";
    top: -10rem;
    left: -10rem;
    width: calc(100% + 20rem);
    height: calc(100% + 20rem);
    z-index: 9999;
    position: fixed;
    background-image: url('./images/Image_gaussian_noise_example.png');
    opacity: 0.1800;
    pointer-events: none;
    -webkit-animation: noise 1s steps(2) infinite;
    animation: noise 1s steps(2) infinite;
  
}

@-webkit-keyframes noise {
    to { transform: translate3d(-7rem,0,0) }
  }

  @keyframes noise {
    0% { transform: translate3d(0,9rem,0) }
    10% { transform: translate3d(-1rem,-4rem,0) }
    20% { transform: translate3d(-8rem,2rem,0) }
    30% { transform: translate3d(9rem,-9rem,0) }
    40% { transform: translate3d(-2rem,7rem,0) }
    50% { transform: translate3d(-9rem,-4rem,0) }
    60% { transform: translate3d(2rem,6rem,0) }
    70% { transform: translate3d(7rem,-8rem,0) }
    80% { transform: translate3d(-9rem,1rem,0) }
    90% { transform: translate3d(6rem,-5rem,0) }
    to { transform: translate3d(-7rem,0,0) }
  }

  .dash{
    width: 15%;
    padding: 0;
    height: 4px;
    background-color: #733B6E;
    display: inline-block;
  }

  #twittericon :hover  {
    fill: #1DA1F2;
    transition: all 100ms ease-in;
  }
#github-icon:hover{
    fill: rgb(255, 0, 0);
    transition: all 100ms ease-in;
}

section{
    /* min-height: 100vh; */
}

.section-title{
    position: relative;
    display: inline-block;
    font-size: 24px;

}
.section-title::after{
    content: '';
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 12px;
  z-index: -1;
  transition: all 200ms ease-in-out;
  /* background: url(https://s2.svgbox.net/pen-brushes.svg?ic=brush-10&color=b65640); */
  background-color: #D77C29;
  
  margin: -2px -6px;
  padding:  2px  6px;
}
.section-title:hover::after{
    height: 24px;
}


.section-highlights{
    /* background: url(https://s2.svgbox.net/pen-brushes.svg?ic=brush-10&color=b65640); */
    color:#b65640 ;
    font-size: 18px;
    font-weight: bold;
}
.about-container{
    padding: 6em 4em 3em 4em;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    /* align-items: center; */
}



.about-text{
    max-width: 37em;
    width: 100%;
    /* padding: 0em 1.5em; */
    font-size: 20px;
    padding-right: 2.5em;
    /* padding-inline: 7em; */
}
.about-main-line, .about-secondary-line{
    opacity: 0;
    transform: translateY(40px);
}
.about-image>img{
    width: 100%;
    max-width:300px;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    
}

html {
    scroll-behavior: smooth;
  }



.cta{
    padding: 5em 0 ;
    text-align: center;
}



/* cta button custom */


.cta-btn{
    padding: 10px 20px;
    /* background: linear-gradient(96.99deg, #994a2d 7.57%, #7b511e 103.3%); */
    color: #FFFF;
    background-color: #E9D985;
    text-decoration: none;
    position: relative;
    /* border: 1px transparent #FFF; */
    border: transparent;
    border-radius: 7px;
    /* bottom: 3em; */
    /* left: 1em; */
     cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), box-shadow 150ms cubic-bezier(0, 0, 0.58, 1);

}

.cta-btn::before{
    content: '';
    z-index: -1;
    position: absolute;
    border: 1px transparent #fff;
    background-color: #693023;
    /* height: 20px; */
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translate3d(-0.1em, 0.65em, -1em);
    border-radius: 7px;
    transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), box-shadow 150ms cubic-bezier(0, 0, 0.58, 1);
}

.cta-btn:hover{
    transform: translate(0, 0.25em);
}

.cta-btn:hover::before {
    /* display: none; */
    /* background-color: red;    */
   /* display: none; */
   transform: translate3d(-0.1em, 0.5em, -1em);
    
}

.cta-btn:active{
    transform: translate(0em, 0.75em);
}

.cta-btn:active::before{
    transform: translate3d(-0.1em, 0.1em, -1em);
}

.skills-section{
    display: flex;
   
    /* justify-content: center; */
    /* align-items: center; */
    /* flex-wrap: wrap; */
    width: 100%;
    /* gap: 11em; */
    text-align: center;
    
    
}

#skills-section{
    /* min-height:fit-content; */
    padding: 3em 0 9em 0;
}

.skills-section > *{
    flex-basis: 100% ;
    padding: 2em 5em;
    /* text-align: left; */
    /* margin: 0 auto; */
}

.skills-subtitle{
    padding:0.5em;
    font-size: 1.2rem;
}

.skills-head-title{
    /* text-align: center; */
    padding: 2em 3em;
    
}

.skills-section > div> p{
    padding: 0.4em;
    font-size: 1.2rem;
}

.project-section{
    padding: 0 3em;
}

.section-head-container{
    text-align: center;

}
.section-head-container>p{
    padding:0.6em 0 ;
    color: rgb(199, 199, 199);
    font-size: 18px;
    
}


.project-container{
    /* background-color: red; */
    padding: 1em;
    transition: all 100ms ease-in-out;
}

.project-container:hover{
    background-color: rgba(136, 136, 136, 0.468);
}

.project-links{
    /* justify-content: center; */
    padding: 1em 0.9em ;
}
.flex-container{
    display: flex;
    gap: 5em;
    flex-direction: row;
    justify-content: center;
    /* align-items: center; */
    flex-wrap: wrap;  
    padding: 8em 0;  
}

.project-text{
    width:100%;
    max-width: 27em;
    word-spacing: 1px;
    line-height: 1.5em;
}


.project-text h1{
    padding: 0.4em 0 0.1em;

}

.project-text p{
    padding-top: 0.6em;
  padding-inline-end: 0.5em;
}

.project-img{
    width: 100%;
    max-width: 27em;
}

.contact-cta{
    padding: 10em 0;
    display: flex;
    
   flex-wrap: wrap;
    /* gap: 4em; */
    text-align: center;
}

.contact-cta > *{
    flex: 1 1 100%;
    padding: 1em;
}

.contact-cta h2{
    font-size: clamp(1.7rem, 3.4vw, 4rem); 
}

.contact-cta p{
    font-size: clamp(1rem, 2vw, 4rem); 
  text-decoration: underline;
  text-underline-offset: 10px;
  /* word-break: break-all; */
  align-self: center;

  
}



@media (max-width:50em) {
    #arrow{
        display: none;
    }
    .nav-elements{
        display: none;
    }

    .skills-section{
        flex-direction: column;
    }

    .hero-section-container{
        padding-bottom: 10em;
        text-align: center;
    }

    .elements-3d{
        /* display: block; */
    }

    .about-container{
        padding: 2em 1.5em;

    }
    .about-text{
        /* padding: 0; */
        padding: 0em 1.5em;

    }
   
}





.UI-grid{
    margin: 0 auto;
    /* padding: 0 25em; */
    max-width: 600px;
    text-align: center;
    display: flex;
    flex-wrap:wrap ;
    gap: 1em;

}

.UI-grid>*{
    padding: 12px;
    flex: 1 1 10em;
    background-color: red;
}