/* Place your CSS styles in this file */

/*  This is to reverse any default perameters and set for a new project!  */
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  /*  Setting initial body perameters!  */
  body{
      position: relative;
      padding: 0px;
      background: #ccc;
      font-family: Varanda, Times New Roman, Georgia, Serif;
      font-size: 1rem;
  }
  
  header{
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #98dbc6;
    z-index: 2;
  }

  /*  Each of these tags consistantly are assigned the parameters listed below!  */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: "Playfair Display";
      letter-spacing: 5px;
  }
  
  .container{
    width: 1600px;
    margin: auto;
  }

  /* The width set to 85% is directly related to the parent .container width!   */
  .subcontainer{
    width: 85%;
    margin: auto;
  }
  
  .navbar{
    
    width: 100%;
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  li{
    list-style: none;
  }

  li:hover{
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 5px;
    background-color: rgb(141, 145, 142);
  }
  
  a{
    color: black;
    text-decoration: none;
  }
  
  /*  This is directly related to the bars which make-up the Three-Bar menu!  */
  .bar{
    display: block;  /*  "block" means, to stack vertically  */
    width: 25px;
    height: 3px;
    margin: 5px 0;
    transition: all 0.3s ease;
    background-color: black;
  }

  /*  This is related to the header-image!  */
  #home{
    margin-top: -100;   /*  This value must be the same as the navbar height or part of the image or the navbar will be hidden!  */
  }

  /*  This is directly related to the "Order Now" button!  */
  .cart-button{
    position: relative;
  }
  
  .cart-button-item{ 
    position: absolute;
    box-sizing: border-box;
    display: block;
    width: 200px;
    height: 2.5rem;
    color: red;
    left: 0;
    right: 0;
    margin: 0 auto;  
  }

  /* This removes the underline below the text on the "order now" buttons! */
  .cart-button-item a:link,
  .cart-button-item a:visited{
    text-decoration: none;
  }
 
  /*  This is directly related to the Three-Bar nav menu!  */
  .hamburger{
    display: none;
    cursor: pointer;
  }

  /*  This is the top border radius on the individual product div and image! */
  .mrt-brd-top-rad {
    border: "none";
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
  }
  
  /*  This is generally used to round the end of a boardered element!  */
  .mrt-circle {
    border-radius: 50%;
  }
  
  .mrt-codespan {
    color: green;
    font-size: 125%;
    font-weight: bold;
  }
  
  /*  This is related to the header image!  */
  .mrt-hdr_image {
    width: 100%;
    height: 35rem;
    object-fit: cover;
  }
  
  /*  This is related to the section headings with background color of green!  */
  .mrtbkggrn {
     color: white; 
     background: green;
     border: solid 10px;
     border-radius: 20px;
     text-align: center;
  }

  /*  This is related to the section sub-headings with background color of linen!  */
  .mrtbkggrn2 {
     color: black; 
     background: linen;
     border: solid 2px;
     border-radius: 20px;
     border-color: green;
     text-align: center;
     padding: 5px;
  }
  
  .mrtbkggrn2 a {
    text-decoration-line: none;
  }
  
  /*  This is directly related to the "Order Now" buttons!  */
  .mrtbkggrn3{
    color: white; 
     background: green;
     border: solid 5px;
     border-radius: 20px;
     text-align: center;
  }
  
  /*  This is related to Company Name on navbar!  */
  .nav-branding{
    font-size: 1.5rem;
    letter-spacing: 4px;
    line-height: 0.9rem;
  }

  .nav-branding:hover{
    color: white;
    border: none;
    border-radius: 8px;
    /*  padding: 5px 20px;
    background-color: rgb(141, 145, 142);  */

  }

  .nav-branding2{
    font-size: 0.75rem;
    letter-spacing: 3px;
  }

  /*  This is related to Section Menu on navbar!  */
  .nav-menu{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px; 
  }

  .nav-item{
    letter-spacing: 4px;
  }
  
div.gallery {
  border: 1px solid #bbb;
  background-color: "none";
  height: 600px;
  resizing: none;
}

div.gallery:hover {
  border: 1px solid #999;
  background-color: #ddd;
}

div.gallery img {
  width: 100%;
  height: 225px;
  transition: 0.3s;
}

div.gallery img:hover {
  transform: scaleX(1.05);
}

div.desc {
  width: 100%;
  height: 21rem;
  padding: 10px;
  font-size: 1.0em;
  text-align: center;
}

  .responsive {
    padding: 0 6px;
    float: left;
    width: 24.99999%;
  }
    
  @media(max-width: 1600px){
    .container{
      width: 100%;
    }
  }

  @media(max-width: 1024px){
    .responsive{
      width: 33.33333%;
    }

    li:hover{
      padding: 0 20px;
    }

    .hamburger{
      display: block;  /*  "block" means to stack vertically!  */
    }

    /*  These next three items automate the hamburger menu Three-Bar icon!  */
    .hamburger.active .bar:nth-child(2){
      opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1){
      transform: translateY(8px) rotate(45deg);
    }
  
    .hamburger.active .bar:nth-child(3){
      transform: translateY(-8px) rotate(-45deg);
    }

    /*  This is to create the actual hamburger drop-down menu!  */
    .nav-menu{
      position: fixed;
      left: -100%;   /*  The negative value will hide the hamburger menu by default!  */
      padding: 10px 0;
      top: 70px;   /*  This value must be the same as the navbar height or part of the hamburger menu or the navbar will be hidden!  */
      border: 1px solid #999;
      border-bottom-right-radius: 50px;
      gap: 0;
      flex-direction: column;
      background-color: #999;
      width: 40%;
      align-items: inherit;
      transition: 0.3s;
    }
  
    /*  This will give the items on the hamburger menu a little space!  */
    .nav-item{
      margin: 10px 0;
    }
  
    /*  This unhides the hamburger menu when active!  */
    .nav-menu.active{
      left: 0;
      letter-spacing: 4px; 
    }
    
    footer{
      padding-left: 20px;
      padding-right: 20px;
    }
  }
  
  @media only screen and (max-width: 800px) and (min-width: 501px) {
    .responsive {
      width: 49.99999%;
      margin: 6px 0;
    }
  
    
  }
  
  
  @media only screen and (max-width: 500px) {
    .responsive {
      width: 100%;
      
      letter-spacing: 1px; 
    }
    .cart-button-item{
      height: 3.5rem;
    }
    div.desc{
      height: 20.5rem;
    }
  }
  
  .clearfix:after {
    content: "";
    display: table;
    clear: both;
  }
  
  
  
  
  

