/*   17 AUG 2025   */
/*  This will be the style sheet for ALL of the NEW pabriles webpages */
/*  EXCEPT for the wwbydesign website which is an EXTERNAL website */

body,
h1,
h2,
h3,
ul,
li,
a {
  /* 14AUG2025 - a is new */
  /*font-family: Cormorant, serif;*/
  margin: 0; /* I added this line */
  padding: 0; /* I added this line */
  border: 0; /* I added this line */
  outline: 0; /* I added this line */
  font-size: 100%; /* I added this line */
}

/* === UNIVERSAL box-border settings === */
/* ===  24 AUG 2025  just added  === */
html {
  box-sizing: border-box;
}
*,
*:after,
*:before {
  box-sizing: inherit;
}

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

.container {
  /*  This creates the black border to the webpage */
  background: rgb(116, 116, 116);
  border: 2px solid greenyellow;
}

.sub-container {
  /* max-width: 80%;
  margin: 0 auto;
  padding: 0 16px;
  background-color: #d8d8d8;
  border: 2px solid red; */

  font-size: 1em;
  font-style: normal;
  font-weight: 300;
  word-spacing: 0.1em;
  letter-spacing: 1px;
  line-height: 1.3em;
  color: #585858;
  width: 90%;
  max-width: 900px;
  background-color: #d8d8d8;
  margin: 0 auto;
  margin-top: 5%;
  padding: 2% 5% 5% 5%;
  text-align: justify;
  border: 10px solid #c0c0c0;
}

.page-title a {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 2rem 0; /* top rt btm lft */
  font-size: 32px;
  font-weight: 300;
  color: black; /* 14AUG25 change this worked */
  text-decoration: none;
}

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

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

.navbar .left {
  /* font-size: 32px; */
  font-size: 2rem;
  font-weight: 300;
  /*border: 1px solid blue;*/
  color: black; /* 14AUG25 change this worked */
}

.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;
  font-size: 1rem;
  font-weight: 300;
  color: black; /* 14AUG25 change this worked */
}

/*  14 AUG 2025  - my code follows ...*/
.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 .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;
}

.sub-container h3 {
  /* display: inline-block; */
  max-width: 80%;
  color: black;
  padding-left: 10%;
  margin-top: 1rem;
  /* following code used to pull <h3> down closer to <p> element below */
  margin-bottom: -1rem;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 400; /* orig was 600 */
  letter-spacing: 0rem;
  /* border: 1px solid green; */
}

/* ===  BEGIN IMAGE STYLES ======================= */

img {
  max-width: 100%;
}

figure .topFigure {
  max-width: 100%; /* -- was 100%-- */
  padding: 2%; /*   18 / 900   */
  margin-left: 13.1111111%; /*   orig was 100px > 100 / 900      */
  margin-right: 5.555555%; /*  50 / 900  */
  margin-top: 1em; /* testing to see if this rule affects ALL <figure> tags??  */
  margin-bottom: 2em;
  background-color: #ffffff;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.75);
}

/* figure {
  display: block;
  max-width: 80%;
  background-color: white;
  /* background-color: #ffffff; */
/* margin: 2em 2em; */
/* margin: 3% auto;
  border: 1px solid black;
}*/

/*
figure img {
  display: block;
  max-width: 90%;
  margin: 2% auto;
  /* margin: 1em 1em; */
/* background-color: #ffffff; */
/* border: 2px solid rgb(86, 245, 12); */
/* } */

figcaption {
  /* max-width: 85%;
  margin: 2% auto; */
  /*color: black;
  font-style: italic;
  text-align: center;
  font-size: 1rem;
  font-weight: 300;
  padding: 0.5rem;
  border: thin black solid; */
  /* padding: 1em 1em;
  background-color: #d8d8d8; */
  padding-top: 1em;
  padding-bottom: 1em;
  padding-left: 0.5em;
  padding-right: 0.5em;
  color: black; /* darker shade of black */
  background-color: #d3d3d3; /* was #D3D3D3   */
  font-family: "Poppins", sans-serif;
  font-style: normal;
}

p {
  margin: 1em 10%;
  word-spacing: 0.1em;
  letter-spacing: 1px;
  font-size: 1rem;
  font-weight: 300;
  color: #252525;
}

/* ===  Begin OVERALY styles  ===  */

.img-overlay {
  position: relative;
}

.img-overlay img {
  width: 100%; /* was 100% */
  object-fit: cover;
  height: 100%; /* was 100% */
  border: 4px solid #b0bec5;
}

.img-overlay img:hover {
  text-decoration: none;
}

.img-overlay .overlay {
  background-color: rgba(87, 153, 101, 0.8);
  /* background-color: rgba(32, 111, 230, 0.8); */
  position: absolute;
  top: -3%; /*  was 0  */
  left: 0;
  width: 80%; /* was 100% */
  height: 100%; /* was 100% */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  font-size: 25px; /*  was 36px  */
  color: #ffffff; /*  text color */
  transition: all 0.5s ease;
}

.img-overlay .overlay:hover {
  opacity: 1;
  cursor: pointer; /* hand finger pointer */
}

.plain-list {
  text-decoration: none;
  list-style-type: disc;
  max-width: 60%;
  margin: 0 0 0 10%;
  font-size: 1rem;
  font-weight: 300;
  color: #1b1b1b;
  /* margin-left: 5.1111111%; New   28 MAR 2021. changed from 13.11111%  */
  /* padding-left: 5%; */ /* New   5 AUG 2020  want to change veneering.php webpage */
  /* border: thin green solid; */
}

a.up-arrow {
  padding-left: 90%; /* this works to position hoarizongtally */
  padding-top: 0%;
  margin-top: -5%; /* this worked to move icon up */
  /*border: 1px solid black;*/
  display: inline-block;
}

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

@media only screen and (max-width: 1100px) {
  .container {
    max-width: 100%;
  }
  .project-grid {
    max-width: 100%; /*  was 100%  */
    background: purple;
    grid-template-areas:
      "woodworking electronics"
      "flyfishing photography";
    /* "esp32-wroom-32 oled"; */
  }
}

@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 {
    /*max-width: 100%;*/
    background: orange;
    grid-template-areas:
      "woodworking woodworking"
      "electronics electronics"
      "flyfishing flyfishing"
      "photography photography";
  }
  .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);
  }
}
