/* natural box model */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
    UTILITIES
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/* hides an element on screen, but not from screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* no break */
.nobr {
  white-space: nowrap;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
    COLORS
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

:root {
  --navbar: #ffcdcd;
  --dropdown: #f9bcbc;
  --links-hover: rgb(219, 107, 127);
  --beige: #FFECC1;
  --light-green:#baca81;
  --orange: #FFB067;
  --dark-green:rgb(1, 84, 1);
}

.material-symbols-outlined {
  font-size: 36px;
  font-variation-settings:
    'FILL' 1,
    'wght' 600,
    'GRAD' 0,
    'opsz' 48
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
    GENERAL
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

body {
  background-color: var(--light-green);
  /* This background image is from Adobe Stock it is file number 780320501/ I added a green tint above it */
  background-image: url(../images/green.jpeg); 
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

.container {
  display: block;
  max-width: 960px;
  margin: 0 auto;
}

main {
  margin: 1.7em 0;
}

a{
  color: var(--links-hover);
}
a:hover{
  color: var(--dark-green);
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
    FOOTER
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
footer{
  margin: 0;
  padding: 4em 4em;
  background-color: var(--navbar);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0em;
  border-top: 4px var(--links-hover) dashed;
}

.leaf {
  width: 220px;
  height: auto;
}

footer a{
  color: black;
  text-decoration: none;
}

footer a:hover {
  color: var(--links-hover);
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
    TYPOGRAPHY
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

h1, h2{
  font-family: "Henny Penny";
}

h3, h4, h5, p, a, figcaption, li, td, th, table, .accordion-body {
  font-family: "Dekko";
}

.subtitle{
  font-family: "Dekko";
}

h2 {
  font-size: 35px;
}

h5, p, a, figcaption, .accordion-body {
  font-size: 25px;
}

li, td, th, table {
  font-size: 20px;
}

.footer-links h1{
font-size: 35px;
}

.footer-links h2{
  font-family: "Dekko";
  font-size: 30px;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
    IMAGES
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
img{
  display: block;
  max-width: 100%; 
  height: auto;
  border-radius: 1.5%;
}

figure {
  margin: 2rem 0;
}

figcaption{
  text-align: center;
  padding-top: 1.5em;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
    MODALS 
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
.digital-journals {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 2em;
  padding: 1em 4em;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  background-color: var(--dropdown);
  border: 3px var(--links-hover) solid;
  gap: 1em;
}
.card-img {
  border-radius: 1rem 1rem 0 0;
  max-width: 100%;
}

.card-body {
  flex: 1 1 auto;
  padding: 1em;
}

.modal-content {
  background-color: var(--navbar); 
  color: #333; 
}

.modal-header {
  background-color: var(--light-green);
  border-bottom: none;
}

.modal-body img {
  margin-bottom: 1.5em;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

/* *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
    TABLES
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ 

table{
    border: 2px solid black;
    max-width: 100%;
    table-layout: auto;
    border-collapse: collapse;
}

th{
    text-align: left;
    padding: 1em;
    padding-right: 1.5em;
    border: 3px solid var(--light-green);
    background-color: #b0d875cf;
}

td{
    text-align: left;
    padding: 1em;
    border: 3px solid var(--light-green);
    background-color: rgb(255, 246, 219);
}

.types{
  margin: 1em 1em;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
    NAVIGATION
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

nav {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  background-color: var(--navbar);
  box-shadow: 0 2px 5px rgba(128, 128, 128, 0.3);
  border: 3.5px dashed var(--links-hover);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  
}

.branding {
  position: absolute;
  top: 0;
  left: 23px;
  display: flex;
  align-items: center;
}

.logo {
  padding: 0 1.0rem;
}

nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

nav li {
  /* remove bullet points */
  list-style-type: none;
  padding: 1.5rem 3em;
}

nav a{
  /* remove underline */
  color: black;
  font-size: 30px;
  text-decoration: none;
}

nav a:hover {
  /* menu items need to act like links */
  color: var(--links-hover);
}

.menu-button {
  /* menu bars hidden to start */
  display: none;
  padding: 1.5rem;
}

.menu-button:hover {
  /* menu bars need to act like a button */
  color: var(--links-hover);
  cursor: pointer;
}

/* in mobile view... */
@media (max-width: 1190px) {
  nav ul {
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
  }

  .menu-button {
    /* turn on */
    display: block;
    visibility: visible;
  }

  .menu-item {
    /* turn off */
    /* display: none; */

    /* turn off in another way in order to add transition */
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s linear;

    /* some styling when in dropdown mode */
    background-color: var(--dropdown);
    text-align: right;
    width: 100%;
  }
}

nav .menu-item{
  border-left: 3.5px dashed var(--links-hover);
}

li.menu-item.dropdown{
  border-left: none;
  border-top: 3.5px dashed var(--links-hover);
}

.dropdown {
  /* class to add to show hidden menu items on click */
  display: block;
  /* add transition */
  position: static;
  visibility: visible;
  opacity: 1;
}

.menu-button .material-symbols-outlined {
  font-size: 40px;
  display: inline-block;
  vertical-align: middle;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
    INDEX PAGE
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.branding p{
  font-family: "Henny Penny";
  font-size:50px;
  margin: 0.40em 0 0 0.1em;
}

header h1{
  font-size: 70px;
  margin: 0;
  padding: 0;
  color: var(--dark-green);
}

header h2{
  font-size: 35px;
  margin: 1em 0.5em;
  color: black;
}

.title{
  background-color: var(--beige);
  padding: 0.5em;
  text-align: center;
  margin: 0em 1em;
  border: 4.5px #619303 dashed;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

.web-name h2{
  margin-top: 0.4em;
}

.ladybug{
  /* learned how to rotate from https://www.w3schools.com/cssref/css3_pr_transform-style.php */
  /* transform: rotate(220deg); */
  width: 280px;
  position: static;
}

/* from https://animate.style/ */
.animate__animated.animate__tada {
  --animate-duration: 10s;
}

section{
  margin: 1em;
  padding: 1.5em;
  padding-bottom: 0.4em;
  border: 3px var(--light-green) solid;
  background-color: rgb(255, 246, 219);
  border-radius: 1em;
  text-align: left;
}

.make-your-own {
  display: inline-block;
  margin: 1em;
  padding: 0.9em 2em;
  border-radius: 2em;
  background-color: #96A756;
  font-size: 27px;
  border: 2px solid var(--dark-green);
  text-decoration: none;
  color: black;
}

.make-your-own:hover {
  background-color: var(--dark-green);
  color: var(--beige);
}

.button-wrapper {
  display: flex;
  justify-content: center;
  margin: 0em;
  padding-bottom: 0;
}

.professional{
  color: var(--links-hover)
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  GALLERY
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
 .gallery {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}

.gallery figure {
  margin: 1.2em;
  width: 200px;
  padding: 0.5em;
  background: var(--dropdown);
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.gallery figcaption{
  font-size: 18px;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
    WHO PAGE
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.embed-container { 
  position: relative; 
  padding-bottom: 56.25%; 
  height: 0; 
  overflow: hidden; 
  max-width: 100%; 
} 

.embed-container iframe, .embed-container object, .embed-container embed { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
}

#journaling-video {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background-color: transparent;
}

.vid{
  padding: 0;
  background-color: transparent;
}

iframe{
  border: 3px var(--links-hover) solid;
}

.headings{
  margin: 0;
  margin-top: 2em;
  margin-bottom: 0em;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.headings h2{
  display: inline;
  background-color: rgba(255, 192, 203, 0.732);
  border-radius: 1.9rem;
}

.cat img{
  max-width: 60%;
  height: auto;
}

figure.cat {
  display: flex;
  flex-direction: column;
  align-items: center; 
}

figure img {
  max-width: 100%;
  height: auto;
  display: block;
}

.cat figcaption {
  max-width: 90%;
  font-size: 20px;
  font-weight: 900;
  padding: 0.7em;
  margin-top: 0.5em;
  background-color: var(--light-green);

}

p.card-text{
  font-size: 20px;
}

.wrapper{
  position: relative;
}

.star{
  position: absolute;
  top: -90px; 
  right: 40px;
  width: 150px;
  /* learned how to rotate from https://www.w3schools.com/cssref/css3_pr_transform-style.php */
  transform: rotate(20deg);
}

.card-body h2{
  font-size: 22px;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  WHAT PAGE
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
.carousel-item h5{
  color: black;
  background-color: #f9bcbc;
  padding: 1em;
  border-radius: 1rem;
}

.topics {
  display: flex;
  justify-content: center;
  align-items: center;
}

.topics ul{
  background-color: rgb(255, 246, 219);
  border: 4px var(--light-green) solid;
  padding: 1em 3em;
  margin: 1em 3em;
  border-radius: 1rem;
  margin-top: 0;
}

.slideshow{
  max-width: 80%;
  height: auto;
  margin: 0 auto;
}

.intro{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.carousel-caption {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1em;
  border-radius: 0.5em;
  bottom: 1em;
}

.slideshow{
  margin-top: 2em;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  WHERE PAGE
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.container-loc{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.location{
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: none;
}

.spot{
  display: flex;
  margin: 0;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
}

.spot p{
  margin-top: 1em;
  padding: 1.0em;
  border: 3px var(--light-green) solid;
  background-color: rgb(255, 246, 219);
  border-radius: 1em;
  text-align: left;
}

.shop{
  width: auto;
  height: 240px;
  position: static;
}

.painting{
  flex-direction: column;
  justify-content: center;
}

.coffee{
  width: 200px;
  height: fit-content;
}

.headings h3{
  font-size: 30px;
  font-family: "Henny Penny";
  background-color: rgba(255, 192, 203, 0.732);
  margin-bottom: 0em;
  padding: 0.3em;
  border: 3px var(--light-green) solid;
  border-radius: 1em;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  WHY PAGE
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
.photobooth{
  display: block;
  width: auto;
  height: 360px;
  position: static;
}

.benefits{
  text-align: center;
  background-color: transparent;
  margin: 0;
  padding: 0;
  border: none;
}

.accordion-button.collapsed{
  font-size: 25px;
  font-family: "Dekko";
}

.accordion-item{
  margin: 1em 2.0em;
  background-color: rgb(255, 246, 219);
  
}

.accordion-button.collapsed{
  background-color: var(--navbar);
}

.accordion-button:not(.collapsed) {
  background-color: var(--beige); 
  color: #000; 
  box-shadow: none;
  font-family: "Dekko";
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.whys{
  margin-top: 1em;
  padding: 1.0em;
  border: 3px var(--light-green) solid;
  background-color: rgb(255, 246, 219);
  border-radius: 1em;
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
}

.my-reason {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 1em;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.my-reason img {
  order: 2; 
  max-width: 300px;
  height: auto;
}

article.headings{
  margin-bottom: 0em;
}
/* MEDIA QUERIES FROM SMALLEST TO LARGEST = MOBILE FIRST */
/* Extra small devices (portrait phones, less than 576px)
No media query for `xs` since this is the default */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { 
  .star{
    top: -80px; 
    right: 70px;
    width: 160px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .gallery {
    flex-flow: row;
    flex-wrap: wrap;
  }
    
  h2 {
    font-size: 40px;
  }
  
  h5, p, a, figcaption, .accordion-body {
    font-size: 30px;
  }
  
  li, td, th, table {
    font-size: 25px;
  }
  
  .footer-links h1{
  font-size: 35px;
  }
  
  .footer-links h2{
    font-size: 35px;
  }

  header h1{
    font-size: 80px;
  }
  
  header h2{
    font-size: 40px;
  }
  
  .make-your-own {
    font-size: 30px;
  }

  .cat figcaption {
    font-size: 25px;

  }

  #journaling-video {
    max-width: 700px;
  }

  .star{
    top: -80px; 
    right: 100px;
    width: 180px;
  }

  .slideshow{
    max-width: 70%;}

  .my-reason img {
    order:0;
    gap: 0;
  }

  h5{
    font-size: 20px;
  }

  section.intro{
    max-width: 600px;
    text-align: center;
  }

  table{
    max-width: 900px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container {
    max-width: 1290px;
  }

  div.gallery{
    max-width: 1290px;
  }

  .footer-links h1{
    font-size: 40px;
    }
    
  .footer-links h2{
    font-size: 35px;
  }

  .star{
    top: -70px; 
    right: 230px;
  }

  section{
    margin: 1em 3em 1em 3em;}

  .slideshow{
    max-width: 60%;}

  .cat img{
    max-width: 40%;
    height: auto;
  }

  p.whys.words{
    margin-left: 0;
  }

  img.shop{
    width: 240px;
    height: auto;
    position: static;
  }

  .spot{
    max-width: 60%;
  }

  .painting{
    flex-direction: row;
    justify-content: center;
  }

  section.intro{
    max-width: 700px;
    text-align: center;
  }

  .slideshow{
    max-width: 40%;}

  .headings h3{
    font-size: 35px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  p.card-text{
    font-size: 25px;
  }

  .gallery figcaption{
    font-size: 20px;
  }

  .star{
    top: -50px; 
    right: 340px;
  }

  section{
    margin: 1em 4em 1em 4em;}

  .slideshow{
    max-width: 40%;}

  .cat img{
    max-width: 35%;
    height: auto;
  }

  .photobooth{
    height: 500px;
  }
 
  .my-reason img {
    max-width: 250px;
  }
}