/*  My nav bar code follows */

/* body,
h1,
h2,
h3,
ul,
li,
a {
  margin: 0; 
  padding: 0; 
  border: 0; 
  outline: 0;
  font-size: 100%; 
} */

body {
  font-family: "Roboto", sans-serif;
  background-color: black;
}

/* ===  BEGIN CONTAINER  ======================= */

.container {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* 15AUG2025 - following used to put space between welcome title words */
/*  word-spacing did not work because it put space beteween the spanish welcome */
.space {
  margin: 0 10px;
}

/* ===  WELCOME CLASS ======================= */
.welcome-title h2 {
  /* font-family: "Roboto", sans-serif; */
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 5px 0; /* top rt btm lft */
  /* word-spacing: 1rem; */
  font-size: 32px;
  font-weight: 100;
  /* font-style: thin 100; */
  color: white; /* 14AUG25 change this worked */
}

.welcome-content {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px 0 10px 0; /* top rt btm lft */
  text-transform: uppercase;
  word-spacing: 1px;
  font-weight: 100;
  font-size: 15px;
  color: white; /* 14AUG25 change this worked */
}

/* ===  BEGIN NAVBAR ======================= */

.navbar {
  display: flex;
  justify-content: space-between;
  padding: 64px 0;
  /*border: 1px solid red;*/
}

.navbar .left {
  font-size: 2rem;
  color: white; /* 14AUG25 change this worked */
  font-size: 2rem;
  font-weight: 200;
}

.navbar .right {
  width: 450px;
  /* border: 1px solid red; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 10px 0 10px;
}

.navbar .right a {
  text-decoration: none;
  color: white; /* 14AUG25 change this worked */
}

.navbar .right a.active {
  border-bottom: 1px solid rgb(236, 22, 7);
}

.navbar .right a:hover {
  border-bottom: 1px solid rgb(236, 22, 7);
}

/* .navbar .bar {
  background-color: black;
  height: 4px;
  width: 36px;
  margin: 3px;
  border-radius: 10px;
} */

.navbar .hamburger {
  height: 50px;
  width: 50px;
}

/*.navbar .bar1, .bar2, .bar3 { */
/*background-color: black;*/ /* this line was causing a 
      big blob over the H1 'PA' text */
.bar1,
.bar2,
.bar3 {
  background-color: white; /*  was black */
  height: 4px;
  width: 36px;
  margin: 3px;
  border-radius: 10px;
}

.navbar .hamburger {
  display: none;
}

/* following css turns cursor into a pointer */
.navbar .hamburger:hover {
  cursor: pointer;
}

/*   ==================================================== */
/*   ===  BEGIN MOBILE NAV BAR ========================== */

.mobileNav {
  width: 100px;
  background-color: black; /* was white ...*/
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 2;
  top: 0;
  right: -160px;
  padding: 16px;
  transition: transform 0.3s; /* 0.7 seemed too slow */
}

/* following animates/opens the mobileNav when the 
    hamburger menu is clicked    */
.openDrawer {
  transform: translateX(-160px);
}

/* ===  FOLLOWING CSS STYLES THE LINKS  === */
.mobileNav a {
  text-decoration: none;
  color: white; /* 14AUG25 - was black ...*/
  margin: 16px 0; /* this puts space between links */
}

.mobileNav a:hover {
  /* text-decoration: underline; */
  border-bottom: 1px solid rgb(236, 22, 7);
}

/*  want to keep this style for now 
a.active {
  border-bottom: 1px solid black;
}
*/



/*  ==================================================  */
/*  ===   BEGIN GRID  ================================   */

.project {
  width: 100%;
  position: relative;
  margin: 0 auto;
}

.project img {
  width: 100%; /* was 100% */
  height: 100%;
  object-fit: cover;
  border: 2px solid #b0bec5;
  padding: 0.5rem;
  box-sizing: border-box;
}

.project-grid {
  height: 800px;
  width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-areas:
    "tennis-ball garden-watering"
    "send-text ."; 
  grid-gap: 1rem;
}

#tennis-ball {
  grid-area: tennis-ball;
}

#garden-watering {
  grid-area: garden-watering;
}

#send-text {
  grid-area: send-text;
}

/* #photography {
  grid-area: photography;
} */



/*   I added this CSS style to hide the link underline    */
.project img:hover {
  text-decoration: none;
  color: white;
}

.project .overlay {
  background-color: rgba(32, 111, 230, 0.8);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; 
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  opacity: 0;
  font-size: 25px; 
  color: #ffffff; 
  transition: all 0.5s ease;
  box-sizing: border-box;
}

.project .overlay:hover {
  opacity: 1;
  cursor: pointer; /* hand finger pointer */
  color: white;
}

/* ========================================  */
/* ===   BEGIN FOOTER   ===================  */


.footer {
  text-align: center;
  padding: 30px 0 15px 0; /*   was 32px   */
  font-weight: 100;
  font-size: 1rem;
  color: white;
}



/* ========================================  */
/* ===   MEDIA QUERIES BEGIN   ============  */

@media only screen and (max-width: 1100px) {
  .container {
    max-width: 100%;
  }
  .project-grid {
    max-width: 100%;
    background: purple;
    grid-template-areas:
      "tennis-ball garden-watering"
      "send-text . ";
  }
}

@media only screen and (max-width: 768px) {

  .project-grid {
    margin-top: 100px;
  }

  .navbar {
    padding: 16px 24px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    background-color: black; /*  was white */
    width: 100%;
  }
  .navbar .left {
    /* font-size: 32px; */
    /*border: 1px solid blue;*/
    color: white; /*  was black 14AUG25 change this worked */
  }
  .navbar .right {
    display: none;
  }
  .navbar .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*border: 1px solid green;*/
  }
  .footer {
    font-size: 14px;
    padding: 32px;
  }
  .project-grid {
    /* margin-top: 100px; */
    background: orange;
    grid-template-areas:
      "tennis-ball" 
      "garden-watering"
      "send-text";
  }
  .project .overlay {
    font-size: 24px;
  }
}

/* ===  BEGIN @keyframes ANIMATIONS  ================= */

.animateBar1 {
  animation: flipBar1 0.5s; /* was 1s  */
  animation-fill-mode: forwards;
}
.animateBar2 {
  animation: fadeBar2 0.5s; /* was 1s  */
  animation-fill-mode: forwards;
}
.animateBar3 {
  animation: flipBar3 0.5s; /* was 1s  */
  animation-fill-mode: forwards;
}

@keyframes flipBar1 {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(45deg) translate(4px, 10px);
  }
}

@keyframes fadeBar2 {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(0);
    opacity: 0;
  }
}

@keyframes flipBar3 {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(-45deg) translate(4px, -10px);
  }
}

/*  ===   BEGIN JAVASCRIPT  ================== */

/*
.purple {
  background-color: purple;
  transform: scale(2);
}    */
