*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html{
  scroll-behavior: smooth;
}
a{
  text-decoration: none;
  color: #7FA1C3;
}
a:hover{
  color: #7FA1C3;
  cursor: pointer;
}
p, a, i{
  font-size: .9rem;
  line-height: normal;
}
h1, h2, h3{
  line-height: 1.2;
  font-family: 'Bricolage Grotesque', sans-serif;
}
ul{
  list-style: none;
}
hr{
  border: 2px solid #7FA1C3;
  margin: .5rem;
}
button{
  font-family: 'Changa', sans-serif;
  background-color: #7FA1C3;
  color: #333333;
  border: 2px solid #7FA1C3;
  box-shadow: 0 5px 5px rgba(0, 102, 204, 0.1);
  outline: none;
  border-radius: .7rem;
  padding: .45rem;
  margin: .5rem 0;
  font-size: .9rem;
  cursor: pointer;
}
button:hover{
  color: #F5EDED;
  background-color: #20806B;
  border-color: #20806B;
  box-shadow: 0 5px 5px rgba(0, 102, 204, 0.75);
}
button:focus{
  transform: scale(0.95);
}
body{
  font-family: 'Changa', sans-serif;
  line-height: normal;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #333333;
  background-color: #F5EDED;
  font-size: .9rem;
}
header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.63rem 1.25rem;
  background-color: #E1E4E6;
  color: #F5EDED;
  position: relative;
  z-index: 10;
  transition: background-color 0.01s ease-in;
}

.logo{
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 80px;
  margin: .5rem 0 0 0;
}
.logo img{
  width: 80%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
/* Hamburger Menu Styles */
.hamburger{
  display: flex;
  flex-direction: column;
  cursor: pointer;
  width: 25px;
  height: 20px;
  justify-content: space-between;
  position: relative;
}
.hamburger div{
  width: 100%;
  height: 3px;
  background-color: #7FA1C3;
  transition: all 0.4s ease-in-out;
  transform-origin: center;
}
.hamburger.active div:nth-child(1){
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active div:nth-child(2){
  opacity: 0;
}
.hamburger.active div:nth-child(3){
  transform: translateY(-8px) rotate(-45deg);
}
.hamburger.active div{
  background-color: #20806B;
}
/* Navigation Styles */
.nav-links{
  list-style: none;
  display: none;
  flex-direction: column;
  align-items: center;
  background-color: #7FA1C3;
  position: absolute;
  top: 80px;
  right: 0;
  width: 100%;
  text-align: center;
}
.nav-links li{
  margin: 1rem 0;
}
.nav-links a{
  color: #333333;
  text-decoration: none;
  font-size: 1.3rem;
}
.nav-links a:hover{
  text-decoration: underline;
  text-decoration-color: #7FA1C3;
}
.nav-links.open{
  display: flex;
}
.social-links a{
  margin: 0 1rem;
}
.social-links i{
  color: #F5EDED;
  padding: .2rem;
  font-size: 1.25rem;
  border-radius: .4rem;
}
.social-links i:hover{
  color: #333333;
  background-color: #7FA1C3;
}
.dropdown{
  display: none;
}
/* Scroll Up Styles */
#scrollTopBtn{
  display: none;
  position: fixed;
  bottom: 60px;
  right: 25px;
  z-index: 99;
  font-size: 1.35rem;
  color: #7FA1C3;
  background-color: #E1E4E6;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  border-radius: 7rem;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  transition: opacity 0.3s;
  text-align: center;
  line-height: 24px;
}
#scrollTopBtn:hover{
  background-color: #20806B;
  border-color: #20806B;
  color: #E1E4E6;
}

.reveal{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.active{
  opacity: 1;
  transform: translateY(0);
}

@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);
  }
}

.PawlyProjectHero{
  background-color: #E1E4E6;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}
.PawlyProjectTitle{
  margin: auto;
  width: fit-content;
  align-items: center;
}
.PawlyProjectTitle h1{
  font-size: 1.25rem;
}
.PawlyProjectTitle h2{
  font-size: 2.5rem;
  color: #7FA1C3;
}

.PawlyProjectHeroImg{
  width: 100%;
  height: auto;
}
.PawlyProjectHeroImg img{
  width: 80%;
  height: auto;
}

.PawlyProjectHero hr{
  margin: 0 2rem;
  border: 2px solid #7FA1C3;
}
.PawlyProjectHero p{
  font-size: 1rem;
  width: 90%;
  margin: auto;
}
.PawlyProjectTags{
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  width: 90%;
  margin: auto;
}
.PawlyProjectTags 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 */
}
.PawlyProjectTags dt {
  font-size: 0.75rem;
  color: #20806B;
  text-transform: uppercase;
}
.PawlyProjectTags dd {
  margin: 0;
  font-weight: 500;
}

.PawlyProjectImgGrid{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding: 1rem;
}
.PawlyProjectIntroImage{
  width: 100%;
  height: auto;
}
.PawlyProjectIntroImage img{
  width: 100%;
  height: auto;
}

.PawlyProjectContent{
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin: 1rem 2rem;
}
.PawlyProjectContent h3{
  color: #20806B;
  font-size: 1rem;
  text-align: center;
}
.PawlyProjectContent h4{
  font-size: 1.2rem;
  text-align: center;
}
.PawlyProjectContent h5{
  font-size: 1rem;
  letter-spacing: .5px;
  line-height: normal;
  text-align: center;
}

.PawlyChallenge, .PawlyApproach, .PawlyKeyFeatures, .PawlySolution, .PawlyOutcome, .PawlyReflection{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: .5rem;
}
.PawlyChallenge p, .PawlyApproach p, .PawlyKeyFeatures p, .PawlySolution p, .PawlyOutcome p, .PawlyReflection p{
  font-size: .95rem;
}
.PawlyApproach, .PawlySolution, .PawlyReflection{
  background-color: #E1E4E6;
  padding: 1rem;
  border-radius: 10px;
  margin: 0 .5rem;
  box-shadow: 0 2px 6px rgba(0, 102, 204, 0.25);
}

.pawlyWireframes{
  margin: 0 .5rem;
  padding: .75rem .25rem;
  border-radius: .7rem;
  box-shadow: 0 0 10px rgb(127, 161, 195, 0.75); 
}
.pawlyWireframes h3{
  font-size: .9rem;
}
.pawlyWireframes 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);
}

.pawlyWireframesContent{
  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;
}
.pawlyFrameImgContainer{
  width: 100%;
  height: auto;
}
.pawlyFrameImgContainer img{
  width: 175px;
  max-height: auto;
  display: block;
  margin: auto;
}

.challengeContent{
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: justify;
  padding: .5rem;
}
.challenges, .features{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#challengeTab, #keyFeaturesTab, #outcomeTab{
  text-align: center;
  box-shadow: 0px 0px 3px .5px #20806B;
  border-radius: 5px;
  padding: .25rem;
  margin: .25rem;
}
#challengeTab:hover, #keyFeaturesTab:hover, #outcomeTab:hover{
  box-shadow: 0px 0px 4px 1px #7FA1C3;
}
#challengeTab p, #keyFeaturesTab p, #outcomeTab p{
  font-size: .9rem;
}

.keyFeaturesContent, .solutionContent, .reflectionContent, .outcomeContent, .approachContent{
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: justify;
  padding: .5rem;
}
.solutionContent{
  gap: 20px;
}
.solutionContent hr{
  border: 1px solid #7FA1C3;
  margin: .5rem;
}
.dashboard, .pets, .calendar, .profile{
  width: 100%;
  border-radius: 10px;
  padding: .5rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.dashboardImgCon, .petsImgCon, .calendarImgCon, .profileImgCon{
  width: 100%;
  height: auto;
  text-align: center;
}
.dashboardImgCon img, .petsImgCon img, .calendarImgCon img, .profileImgCon img{
  width: 40%;
  height: auto;
  margin: auto;
}

.backPortfolio{
  width: fit-content;
  padding: .25rem 1rem;
  background-color: #20806B;
  border-color: #20806B;
  color: #E1E4E6;
}
.backPortfolio:hover{
  background-color: #7FA1C3;
  border-color: #7FA1C3;
  color: #E1E4E6;
}

/*Footer Styles*/
footer{
  background-color: #7FA1C3;
  color: #F5EDED;
  text-align: center;
  padding: 1rem 1rem 0 1rem;
}
.footerSections{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 10px;
  margin-bottom: .5rem;
}
.footerLogo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}
.footerLogo img{
  width: 75px;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.footerLinks{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.footerNav{
  display: flex;
  justify-content: space-around;
  padding: 1rem auto;
  margin: auto;
  width: fit-content;
  gap: 10px;
}
.footerNav a{
  color: #333333;
  font-size: 1.15rem;
}
.footerNav a:hover{
  color: #20806B;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: #333333;
}
.footerSocials{
  display: flex;
  justify-content: space-evenly;
  margin: auto;
  width: fit-content;
  gap: 5px;
}
.footerSocials a{
  font-size: 1rem;
  color: #333333;
}
.footerSocials a:hover{
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: #20806B;
}
footer small{
  font-size: .65rem;
}