/* Reset and Common Styles */



* {
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
  text-decoration: none;
  list-style-type: none;
  font-family: "Jost", sans-serif;
  font-weight: 400;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;

  
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-heading {
  font-size: 5rem;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5rem;
  margin-bottom: 15rem;
  border-bottom: 0.3rem solid #333;
  text-shadow: 0.2rem 0.2rem 0.5rem #555;
}
/* End of Reset and Common Styles */

/* Section 3 */
.section-3 {
     overflow: auto;
  width: 100%;
  height: 100%;
  padding: 10rem 0;
 /* background-color: #eef;*/
 background-color:#0000ffff;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
	
	 width: 100%;
  height: 100vh;
  background: linear-gradient(
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.3)
    ),
   /* url(images/bg.jpg) center no-repeat; */
	   url(images/bg.jpg) center;
  background-size: cover;
  flex-direction: column;
	background-attachment: fixed;
	

	
}

.projects-wrapper {
position: sticky;
	top: 200px;
	left: 500px;
	width: 70%;
  flex-wrap: wrap;
	
}

.project {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 1rem;
 /* background-color: #fff; */
 /* box-shadow: 0.3rem 0.3rem 0.5rem #777; */
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.5s;

}

.project:hover {
  /* box-shadow: 1rem 1rem 1rem #777; */
}

.project-text {
  text-align: center;
  letter-spacing: 0.1rem;
  position: absolute;
  top: -10rem;
  z-index: 10;
  transition: top 0.3s;
}

.project:hover .project-text {
  top: 5rem;
  transition: top 0.3s 0.3s;
}

.project-name {
  font-size: 3rem;
  font-weight: 700;
  color: #333;
  text-transform: capitalize;
}



.project-img {
  /*width: 40rem; */
width: 30rem; 
	
  transition: opacity 0.3s;
}

.project:hover .project-img {
  opacity: 0.2;
}

.project-link {
  font-size: 2rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.1rem;
  border: 0.3rem solid #003399;
  padding: 0 1rem;
  background-color: #fff;
  position: absolute;
  bottom: -5rem;
  transition: bottom 0.3s;
}

.project:hover .project-link {
  bottom: 3rem; /*5 */
  transition: bottom 0.3s 0.3s;
}
/* End of Section 3 */

/* Responsive */


@media (max-width: 400px) {
 
  .project-img {
    width: 100%;
  }


}

@media (max-width: 500px) {
  html {
    font-size: 55%;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 45%;
  }


}
/* End of Responsive */
