
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.projectHero{
  background-color: #E1E4E6;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}
.ProjectTitle{
  margin: auto;
  width: fit-content;
  align-items: center;
}
.ProjectTitle h1{
  font-size: 1.25rem;
}
.ProjectTitle h2{
  font-size: 2.5rem;
  color: #7FA1C3;
}
.projectHero hr{
  margin: 0 2rem;
  border: 2px solid #7FA1C3;
}
.projectHero p{
  font-size: 1rem;
  width: 90%;
  margin: auto;
}
.ProjectTags{
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  width: 90%;
  margin: auto;
}
.ProjectTags dl{
  opacity: .75;
  display: flex;
  flex-direction: column;   /* Stack dt and dd */
  min-width: 150px;         /* Prevents squishing */
  flex: 1 1 calc(50% - 1rem);         /* Grow | Shrink | Base width */
}
.ProjectTags dt {
  font-size: 0.75rem;
  color: #20806B;
  text-transform: uppercase;
}
.ProjectTags dd {
  margin: 0;
  font-weight: 500;
}

.imageGrid{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding: 1rem;
  margin-top: 1rem;
}
.mobileImgCon, .tabletImgCon, .laptopImgCon{
  width: 100%;
  height: auto;
}
.mobileImgCon img, .tabletImgCon img, .laptopImgCon img{
  width: 100%;
  height: auto;
}

.ProjectContent{
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin: 1rem 2rem;
}
.ProjectContent h3{
  color: #7FA1C3;
  font-size: 1rem;
  text-align: center;
}
.ProjectContent h4{
  font-size: 1.2rem;
  text-align: center;
}
 .approach,  .changes, .reflection{
  background-color: #E1E4E6;
  padding: 2rem 1rem;
  border-radius: 10px;
  margin: 0 .5rem;
  box-shadow: 0 2px 6px rgba(0, 102, 204, 0.25);
}
.challenge, .beforeAndafter, .result{
  padding: 1rem;
  border-radius: 10px;
}

.challengeContent, .approachContent, .changesContent, .resultContent, .reflectionContent{
  padding: .5rem;
}
.challengeContent p, .approachContent p, .resultContent p, .reflectionContent p{
  padding: .5rem;
  font-size: .9rem;
  text-align: justify;
}

.designaCarsWireframes{
  margin: 0 .5rem;
  padding: .75rem .25rem;
  border-radius: .7rem;
  box-shadow: 0 0 10px rgb(127, 161, 195, 0.75); 
}
.designaCarsWireframes h3{
  font-size: .9rem;
}
.designaCarsWireframes h4{
  font-size: 1.1rem;
}

.frameTabs{
  display: flex;
  gap: 20px;
  width: fit-content;
  margin: 1rem auto;
  margin-top: .5rem;
}
.frameTabs button{
  font-size: .75rem;
}
.frameTabs button.active{
  color: #F5EDED;
  background-color: #20806B;
  border-color: #20806B;
  box-shadow: 0 5px 5px rgba(0, 102, 204, 0.75);
}
.designaCarsWireframesContent{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.frameContent {
  display: none;
  border-radius: .7rem;
}
.frameContent.active {
  display: flex;
  flex-direction: column;
}

.frameText{
  margin-bottom: .5rem;
}
.frameText h5{
  font-size: 1rem;
  margin-left: .75rem;
}
.frameText p{
  text-align: justify;
  margin: .25rem .8rem .5rem .8rem;
  font-size: .9rem;
}
.frameImgContainer{
  width: 100%;
  height: auto;
}
.frameImgContainer img{
  width: 275px;
  max-height: auto;
  display: block;
  margin: auto;
}

.beforeAndafterContent{
  padding: .5rem;
  text-align: center;
}
.toggleButtons{
  margin-bottom: 1.5rem;
}
.toggleButtons button{
  width: fit-content;
  padding: .5rem 1rem;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 5px 5px #20806B;
}
.toggleButtons button:hover{
  transition: 0.5s ease;
  box-shadow: 0 5px 5px #0066ccbf;
}
.containerToggle{
  width: 100%;
}
.containerToggle div{
  margin-bottom: 1.5rem;
}
.imgContainerBefore, .imgContainerAfter {
  width: 100%;
  height: auto;
  display: none;
}
.imgContainerBefore.active, .imgContainerAfter.active {
  display: block;
}
.imgContainerBefore img, .imgContainerAfter img{
  width: 300px;
  max-height: auto;
  display: block;
  margin: auto;
}
.beforeAndafterContent p{
  opacity: .75;
  line-height: 1.5;
  padding-top: .5rem;
  font-size: .7rem;
  margin-bottom: 1rem;
}

.changesContent ol{
  list-style-type: none;
  padding: 0;
  counter-reset: change-counter;
}
.changesContent li{
  padding: .5rem;
  counter-increment: change-counter;
}
.changesContent li::before {
  content: "0" counter(change-counter);
}
.changesContent h5{
  font-size: 1rem;
  color: #20806B;
}
.changesContent p{
  font-size: .9rem;
  padding: 0 .2rem;
  text-align: justify;
}
.resultContent{
  text-align: center;
}
.backPortfolio{
  width: fit-content;
  padding: .25rem 1rem;
}