*{
    margin : 0;
    padding: 0;
    box-sizing: border-box;
  --primary-color: #151515;
  --default-font-family: "Space Grotesk", sans-serif;
    --icon-hover: #6f42c1;
    list-style-type: none;
    --border-color: rgb(164, 152, 233);
    --dark-gray:#242424;
    color:white;
    --green : #4EE1A0;
  }

i{
  display: block;
  margin-bottom:5px;
}

a{
  text-decoration: none;
}

html{
  scroll-behavior: smooth;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

body{
  background-color: var(--primary-color);
  font-family: var(--default-font-family);
}

div{
  display:block;
  
}
.container{
  display:block;
}

.heroname,.skills-bar{
  border-bottom:4px solid var(--green);
}

.headercontainer{
  margin: 2.2rem 8rem;
  display: flex;
  flex-flow:row;
  justify-content: space-around;
  align-items: center;
 
}

.headercontainer>p{
  margin: 0;
  padding: 0;
  font-weight: 700;
  font-size: 1.5rem;
}

.headericon{
  font-size: 1.3rem;
  display: flex;
}

.nav-icon{
  margin-left:2.5rem;
}

.nav-icon:hover{
  color:var(--green);
}

.herocontainer{
  display:flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 20px;
  height:100vh;
}

.skills-bar{
 margin:0rem 8rem;
 border-top: 2px solid white;
 border-bottom: 2px solid white;
 min-height:100vh;
 /* background-color:rgb(44, 31, 113); */
}

.skillheader{
  padding-top:2rem;
  font-size: 2.6rem;
  border-bottom: 4px solid var(--green);
  display:inline-block;
}


.skillsrow{
  padding:7rem 0rem 5rem;
  display:flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height:inherit;
  
}

.skill-icon{
  margin-bottom: 3rem !important;
  width:150px;
  display:block;
}



.language{
  text-align: center !important;
}

.icon{
  color:#34cffe;
  font-size: 80px;
  filter: drop-shadow(6px 6px 10px rgba(254, 243, 236, 0.158));
}

.languagename{
  flex: 0 0 auto;
  margin-top:5px;
}

.icon:hover{
  color: var(--green);
}

.projectscontainer{
  margin: 2rem 8rem;
  padding-top: 8rem;
  flex:1;
}

.projectheader{
  font-size: 2.6rem;
  margin-bottom:4rem;
  border-bottom: 4px solid var(--green);
  display:inline-block;

}

.project {
  margin-bottom: 3rem !important;
  flex:  0 auto;
  overflow: hidden;
  width:100%;
  transition: all 0.4s ease-in-out;
  padding-bottom:2rem;
}

.proeject>*{
  overflow:clip;
}

.viewproject{
margin-top: 1rem !important; 
}

.view{
  text-decoration: none;
  text-transform : uppercase; 
  font-weight : 500;
  letter-spacing :2px;
  margin-right: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom : 2px solid var(--green);
  
}

.view:hover{
  color:var(--green);
}

img{
  vertical-align: center;
  overflow:clip;
}

.project-img{
  transform-origin: center;
  transition: transform 0.5s ease-in-out;
max-width: 100%;
width:fit-content;
/* overflow:hidden; */

}

@media screen and (max-wdith:1024px) {
.project-img{
  
  max-width:fit-content;
}
}

@media screen and (max-width: 775px){
  .skills-bar{
    margin:3rem;
    gap: 50px;
  }
.project-img {
    width: 100%;
    max-width: fit-content;
}
}

.projecttitle{
  font-weight: 400;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

@media screen and (max-width: 775px){
  .projcetscontainer{
    margin:2rem;
    padding-top:2rem;
  }
.projecttitle {
    font-size: 1.5rem;
    overflow:clip;
  }
  .projectcards{
    padding:5rem 0rem 0rem;
  }
  .project {
    padding-bottom:2rem;
    width:100% !important
  }
  .img-container{
    overflow:hidden;
  }
}
  
.project-img:hover{
 transform:scale(1.05);
}


.img-container{
  padding-bottom:0;
  overflow:hidden;
}


@media screen and (prefers-reduced-motion: reduce){
  /* *{
    transition:0.4s !important;
  } */
}


.contactcontainer{
  padding: 6rem 8rem;
  background-color: var(--dark-gray);
  flex:1;
}

.row{
  display:flex;
  flex-wrap: wrap;
  /* add margins */
}

.row>*{
  flex-shrink: 0;
  width : 100%;
  max-width: 100%;
}

.contacttext{
  margin-top: 1.3rem !important;
  font-size: 2.7rem;
  font-weight: 600;
}

.contactsubtext{
  font-size: 1rem;
  line-height: 2;;
  margin-bottom: 0;
  color: var(--lightgray);
}

form{
  display: block;
}

.formgroup{
  margin:1rem 0rem !important;
}

.inputcontainer{
 width:100%; 
}

input[type=text],input[type=email]{
  width:100%;
  padding: 0.8rem 1rem;
  box-sizing:border-box;
  border-radius:0;
  background-color: var(--dark-gray);
  color:white;
  border:solid transparent;
  outline: none;
  border-bottom: 1px solid #ffff;
}

button,input,textarea{
  margin: 0;
  font-family: inherit;
  font-size: inherit;
}

textarea{
  width: 100%;
  border-radius: 0;
  background-color: var(--dark-gray);
}

.contactbtn{
  font-family: var(--default-font-family);
  font-size:1rem;
  font-weight: 600;
  background-color: var(--dark-gray);
  color: white;
  display:inline-block;
  text-transform: uppercase;
  outline:none;
  border: solid transparent;
  border-bottom: 2px solid #34cffe;
  padding-bottom:0.5rem;
}

.contactbtn:hover{
  color:var(--green);
  cursor: pointer;
}



.footercontainer {
  padding: 2rem 8rem;
  background-color: var(--dark-grey);
  border-top: 1px solid var(--white-color);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.footericons{
  display: flex;

}

/* animation */

@media(prefers-reduced-motion){
  .hidden{
    transition: none;
  }
}

.hidden{
  opacity: 0;
  transition: all 1s;
}

.show{
  opacity: 1;
  filter:blur(0);
}

.intro{
	position: fixed;
	z-index: 1;
	left: 0%;
	top: 0%;
	width: 100%;
	height: 100vh;
	background-color: #2B2D42;
	transition: 1s;
}

.logo-header{
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #D9DCD6;
}

.logo{
	position: relative;
	display: inline-block;
	bottom: -20px;
	opacity: 0;
}

.logo.active{
	bottom: 0;
	opacity: 1;
	transition: ease-in-out 0.5s;
}

.logo.fade{
	bottom: 0;
	opacity: 0;
	transition: ease-in-out 0.5s;
}