/* == Typography == */

body {
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size: 1rem;
    line-height: 1.29rem;
}

h2 {
    font-size: 1.87rem;
    line-height: 1.87rem;
}

h3 {
    font-size: 1.1875rem;
    line-height: 1.1875rem;
}

nav {
    font-size: 1.1875rem;
    font-weight: bold;
}

footer div a {
    font-size: 1.1875rem;
    font-weight: bold;
}

#splash {
    text-align: center;
    font-size: 3.43rem;
    line-height: 4.29rem;
    color: white;
    text-shadow: 0rem 0rem 0.27rem #6e6e6e;
}


/* == Background == */

body {
    background-color: white;
}

header,
footer {
    /* background-color: #F5F5F5; */
    background-color: lightblue;
}

a {
    text-decoration: none;
}

#splash {
    background-image: url(images/fashion/FashionSale70percentSplash.png);
}



/* === Layout  === */
/* = Grid =*/
header {
    display: grid;
    /* grid-template-columns: repeat(3, 1fr); Adjust the number of columns as needed */
    grid-template-columns: 1fr 1fr 1fr;
    /* flex-basis:calc(100% / 3);  */
    align-items: center;
    justify-content: space-between;
    /*padding: 10px;*/
    padding: 0.625rem;   
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* background-color: #f9f9f9; */
    margin-bottom: 0.5rem;
    z-index: 100;
}

.products {
    display: grid;
    /* grid-template-columns: repeat(4, 1fr); */
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    margin: 0 auto;
    grid-auto-rows: 1fr;
    
}


section {
    /* Adjust the margin to match the height of your fixed header */
    /*scroll-margin-top: 100px; */
    scroll-margin-top: 6.25rem; 
    /* Add your section styles */
  }

/* CSS Flexbox */
.grid-box {
    display: flex;
    flex-flow: column nowrap;
  }

/* Place elements at the bottom */
/* .m-top product-price{
    margin-top: auto;
    margin-left: 2rem;
  } */

.m-top_product_order_button{
    /* margin-top: auto; */
    margin-top: auto;
    margin-left: 0.8rem;

}

.m-top-product_price{
    margin-top: auto;
    margin-left: 0.8rem;

}

.p-container {
    display: contents; /* Makes the container's children behave as if they were direct children of the grid's parent */
  }
  
.p-container p {
    height: 100%; /* Forces all <p> elements to occupy the full height of their parent container */
  }

.review-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.column {
    display: flex;
    flex-direction: column;
  }

.column p {
    flex-grow: 1;
  }

footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

#splash {
    grid-column-start: 1;
    grid-column-end: 4;
}

/* == Box Model == */
body {
    margin: 0px;
    padding: 0px;
}

.products div figure {
    margin: 0.43rem;
    padding:  0.43rem;
}

.product-description {
    margin-top: 0.43rem;
}

.review-products {
    margin: 0.43rem;
    padding:  0.43rem;
}

header,
footer{
    padding: 1rem;
}

#splash {
    height: 21.43rem;
    margin-top: 8.4rem;
    position: relative;
    z-index: 0;

}

h2 {
    top: 0.95rem;
    padding: 0rem 0rem 0rem 1rem;;
    bottom: 0rem;
    text-align: center;
}

h3 {
    margin: 0rem;
    padding: 1rem 0rem 0rem 0rem;;
}

.store_locations {
    padding: 3rem 0rem 0rem 1rem;;
    bottom: 0rem;
    text-align: left;
}

.contact_info {
    top: 0.95rem;
    padding: 3rem 0rem 0rem 1rem;;
    bottom: 0rem;
    text-align: center;
}

.about_us {
    padding: 3rem 0rem 0rem 0rem; /* top right bottom left */
    margin-top: 6rem;
    text-align: left;
}

.about_us h2{
    /* padding: 1rem 2rem 1rem 3rem; */
    /* margin-top: 6rem; */
    text-align: center;
}

.about_us_details p {
    padding: 1rem 2rem 1rem 4rem; /* top right bottom left */
    /* margin: 0rem 2rem 0rem 1rem; */
    /*bottom: 0rem;*/
    text-align: left;
}


.environmentally_safe_fabrics {
    padding: 3rem 0rem 0rem 0rem; /* top right bottom left */
    /*bottom: 0rem;*/
    text-align: left;
}

.environmentally_safe_fabrics h2 {
    font-size: 1.87rem;
    line-height: 1.87rem;
    text-align: center;
    padding: 1rem 3rem 0rem 3rem;
}

.environmentally_safe_fabrics_list {
    padding: 0rem 2rem 1rem 4rem; /* top right bottom left */
    /* margin: 0rem 2rem 0rem 1rem; */
    /*bottom: 0rem;*/
    text-align: left;
}

/* h3 {
    font-size: 1.1875rem;
    line-height: 1.1875rem;
} */

.legal {
    padding: 1rem 0rem 0rem 1rem;;
    bottom: 0rem;
    text-align: center;
    justify-content: center;
    grid-template-columns: 1fr;
}

#order_appt {
    top: 0.95rem;
    padding: 1rem 1rem 1rem 1rem;;
    bottom: 10rem;
    margin-top: 10rem;

    /* text-align: center; */
} 

p {
    margin: 0rem;
    padding: 0rem;
}

.nav a {
    margin-top: 1.61rem;
    display: block;
    color: #2490BE;
}

.nav a:hover {
    color: purple;
    text-decoration: underline;
}


.button-image {
    display: inline-block;
    width: 150px;
    height: 45px;
    background-image: url('images/OrderYoursNowButton150x45.png');
    /* background-size: cover;  */
    transition: background-image 0.3s;
    background-clip:padding-box;
    margin-top: auto;
  }
  
  .button-image:hover {
    background-image: url('images/OrderYoursNowIndigoHover150x45.png');
    width: 150px;
    height: 45px;
    background-clip:padding-box;
  }
  


footer div  a {
    display: block;
}

footer div a:hover {
    color: purple;
    text-decoration: underline;
}

/* .products img {
    height: 11.41rem;
    width: 11.41rem;

} */

.social-media i {
    margin-right: 1.5rem;
}

.social-media a:hover {
    color: purple;
    text-decoration: underline;
}

.nav a {
    margin-right: .5rem;
}


/* = Flexbox = */

.nav,
.social-media {
    display: flex;
    align-items: center;
}


.nav,
.social-media {
    align-items: center;
    justify-content: right;
}

#splash {
    display: flex;
}

#splash {
    align-items: center;
    justify-content: center;
    
}

#splash {
    /* Adjust background properties */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
  }

/* = Colors =*/

a {
    color: #2490BE; 
    /* color: darkblue; */
}

h2 {
    color: #2490BE; 
    /* color: darkblue; */
}

h3 {
    color: #2490BE; 
    /* color: darkblue; */
}

.company-logo{
    color: #2490BE; 
    /* color: darkblue; */
    height: 6rem;
    width: 6rem;
    min-width: 100px;
    min-height: 100px;
}

.social-media {
    color: #2490BE; 
    /* color: darkblue; */
}

.footer-social-media {
    color: #2490BE; 
    /* color: darkblue; */
}



/* = Other = */

#mobile-menu {
    /* position: fixed; */
    top: 0rem;
    right: 0rem;
    margin-right: 1.5rem;
    padding: 0rem;
}

#nav a {
    display: block;
    text-align: left; 
    padding: 0.25rem;
}

.nav {
    display: flex;
}

.nav {
    align-items: flex-end;
    justify-content: flex-end;
    white-space: nowrap; 
}


div a:after {
  content: "";
  display: block;
  height: 0;
  width: 0.05rem;
}



/* Order form responsive style */

* {
    box-sizing: border-box;
  }
  
  .row {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    margin: 0 -16px;
  }
  
  .col-25 {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
  }
  
  .col-50 {
    -ms-flex: 50%; /* IE10 */
    flex: 50%;
  }
  
  .col-75 {
    -ms-flex: 75%; /* IE10 */
    flex: 75%;
  }
  
  .col-25,
  .col-50,
  .col-75 {
    padding: 0 16px;
  }
  
  .container {
    background-color: #f2f2f2;
    /*padding: 5px 20px 15px 20px;*/
    padding: 0.3125rem 1.25rem 0.9375rem 1.25rem;
    border: 1px solid lightgrey;
    /*border-radius: 3px;*/
    border-radius: 0.1875rem;    
  }
  
  input[type=text] {
    width: 100%;
    /*margin-bottom: 20px;*/
    margin-bottom: 1.25rem;   
    /*padding: 12px;*/
    padding: 0.75rem;
    /*border: 1px solid #ccc;*/
    border: 0.0625rem solid #ccc;     
    /*border-radius: 3px;*/
    border-radius: 0.1875rem;
  }
  
  label {
    /*margin-bottom: 10px;*/
    margin-bottom: 0.625rem;
    display: block;
  }
  
  .icon-container {
    /*margin-bottom: 20px;*/
    margin-bottom: 1.25rem;
    /*padding: 7px 0;*/
    padding: 0.4375rem 0rem;
    /*font-size: 24px;*/
    font-size: 1.5rem;
  }
  
  .btn {
    background-color: #04AA6D;
    color: white;
    /*padding: 12px;*/
    padding: 0.75rem;
    /*margin: 10px 0;*/
    margin: 0.625rem 0rem;
    border: none;
    width: 100%;
    /*border-radius: 3px;*/
    border-radius: 0.1875rem;    
    cursor: pointer;
    /*font-size: 17px;*/
    font-size: 1.0625rem;    
  }
  
  .btn:hover {
    background-color: #45a049;
  }
  
  a {
    color: #2490BE;
  }
  
  hr {
    /*border: 1px solid lightgrey;*/
    border: 0.0625rem solid lightgrey;
  }
  
  span.price {
    float: right;
    color: grey;
  }
