
:root{
  --color-neutral-light: white;
  --color-main-light: #F1DADA;
  --color-main-medium: #E3B5B5;
}

body{
  font-family: poppins;
  background-color: var(--color-neutral-light);
}


img{
  width: 100%;
  border: none;
  outline: none;
}

.logo_text{
  color: white;
}

nav ul li a{
  color: white;
}

.nav_mobile{
  background-color: var(--color-main-medium);
}

.logo_mobile a{
  color: white;
}

.checkbtn{
  color: white;
}

.hero_bg{
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 34vw;
  overflow: hidden;
  pointer-events: none;
  background-image: url(../img/projects/lightoff.png);
  background-size: cover;
  object-fit: cover;
  background-repeat: no-repeat;
  transition: 0.6s;
  z-index: -999;
}

.light_control{
  display: flex;
  position: absolute;
  left: 10vw;
  top: 15vw;
  height:80px;
  justify-content: center;
  align-items: center;
}

.light_control p{
  color: rgba(255, 255, 255, 0.5);
  padding-left: 1em;
  font-size: 3rem;
  font-family: 'Permanent Marker', cursive;
  transition: 0.5s;
}

.light_button{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;  
  background: var(--color-main-medium);
  box-shadow: -1px -1px 3px rgba(255, 255, 255, 0.1), 2px 2px 6px rgba(0, 0, 0, 0.2);
  border-radius: 30px;
  cursor: pointer;
  transition: 0.5s;
}


.light_button ion-icon{
 color: rgba(255, 255, 255, 0.5);
 font-size: 1.8rem;
 transition: 0.5s;
}

.on .hero_bg{
  background-image: url(../img/projects/lighton.png);
}

.on .light_button{
  box-shadow:inset -1px -1px 3px rgba(255, 255, 255, 0.1), inset 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.on .light_button ion-icon{
  color: rgba(255, 255, 255, 1);
  filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 10px #fff) drop-shadow(0 0 15px #fff);
}

.on .light_control p{
   color: rgba(255, 255, 255, 1);
  filter: drop-shadow(0 0 5px #fff);
}


/*PROJECT PAGE*/

.projects{
  position: relative;
  width: 100vw;
  margin-top: 34vw;
  padding: 0 10vw;
  padding-bottom: 120px;
  font-family: sans-serif;
  background-color: white;

}

.projects h1{
  font-size: 3rem;
  padding-bottom: 1em;
  color: #dcdcdc;
  font-family: 'Permanent Marker', cursive;
  text-align: center;
}

.projects section{
  margin-bottom: 100px;
}

footer{
  margin-top: 50px;
}


.project_card{
  position: relative;
  aspect-ratio: 8/6;
  overflow: hidden;
  background-color: white;
  border-radius: 25px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
  transition: 0.4s;
}


.project_card a{
  color: black;
  text-decoration: none;
}

.project_card img{
  border-radius: 25px 25px 0 0;
  transition: 0.8s;
}

.project_text{
  background-color: white;
  font-family: poppins;
  border-radius: 0 0 25px 25px;
  position: absolute;
  height: 100px;
  bottom: 0;
  padding: 0 2em;
  transition: 0.4s;
}

.project_title{
  height: 60px;
  display: flex;
  align-items: center;
  transition: 0.4s;

}

.project_role{
  height: 40px;
  transition: 0.4s;
}

.project_text h3{
  font-size: 1.2rem;
}

.project_text h5{
  color: var(--color-main-medium);
  font-weight: 700;
  
}

.project_text p{
  font-size: 0.8rem;
  line-height: 2em;
  opacity: 0.6;
}


.project_card:hover.project_card .project_text{
  height: 170px;
}

.project_card:hover.project_card .project_role{
  height: 30px;
}

.project_card:hover.project_card img{
  transform: scale(1.1) rotate(-3deg);
}



@media (max-width:500px) {

.hero_bg{
  width: 100vw;
  height: 75vw;
  background-image: url(../img/projects/lightoff_m.png);
  background-size: cover;
}

.projects{
  margin-top: 75vw;
}

.on .hero_bg{
  background-image: url(../img/projects/lighton_m.png);
}

.light_control{

  top: 35vw;
}

.light_control p{
  display: none;
}

.projects h1{
  font-size: 2rem;
}

#ux{
  padding-top: 4rem;
}

.project_text{
  padding: 0 1em;
  height: 60px;
}

.project_title h3{
  font-size: 1rem;
}

.project_role {

}
.project_role h5{
  font-size: 0.8rem;
  line-height: 2em;
}

.project_card:hover.project_card .project_title{
  height: 40px;
  padding-top: 10px;

}

}


