/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   address {
    font-style: normal;
    display:block;
   }
    
   .wrapper {
     width: 90%;
     margin: 50px 0;
   }
   body {
    background-color:rgb(170, 131, 135);
  }
  /* =========HEADER ==============*/
  header {
    background-color: #832833;
    font-family: Prata;
    border-bottom: 1px solid #e2e8f0;
    display:flex;
    align-items: center;
  }
  header h1{
    margin-left: 4.2rem;
    font-size:2rem;
    color:#5E894A;
    text-shadow: 1px 2px 2px #d6e0d1;
  }
  /* =========navigation ==============*/
 .navbar {
   display:flex;
   justify-content: space-between;
   align-items: center;
   padding:1rem 1.5rem;
 }
 .hamburger {
  display: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #101010;
}

.nav-menu {
  display:flex;
  justify-content: space-between;
  align-items: center;
}

.nav-item {
  margin-left: 1rem;
}

.nav-link{
  font-size:1.6rem;
  color:#FFFFFF;
}

.nav-link:hover{
  background-color:rgba(255, 255, 255, 0.5);
}
@media only screen and (max-width:768px) {
  .nav-menu {
    position: fixed;
    right:-100%; /*org. left:-100%*/
    top: 3rem;
    flex-direction: column;
    background-color: #832833;
    width: 100%;
    border-radius: 10px;
    text-align: center;
    transition:0.3s;
    box-shadow: 0 10px 27px rgba(0,0,0,0.05);
  }

  .nav-menu.active{
    right:0; /*org. left:0*/
  }
  .nav-item {
    margin: 2.5rem 0;
  }
  .hamburger {
    display: block;
    cursor: pointer;
  }
  .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);
}
}
/* =========HERO ==============*/
  .hero-flower {
    background:url(../img/hero.png);
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
  }

 .hero-flower h5{
  margin-top: 17rem;
  font-size:2rem;
  color:#CF3EA7;
  box-shadow:inset 22px 22px 22px rgba(255, 255, 255, 0.5);
  font-family: 'Princess Sofia', cursive;
  
 }
 /* =========PRODUCTS ==============*/
 .products h2 {
  display:flex;
  justify-content: center;
  align-items: center;
  font-size:2rem;
  font-family: 'Princess Sofia', cursive;
  color:#5E894A;
  margin-top: 2rem;
}
.products h4 {
  display:flex;
  align-content: center;
  justify-content: center;
  margin: 1.5rem;
  color: #FFFFFF;
  font-size:2.3rem;
}
.products{
  display:grid;
  background-color:#C6CD5D;
  padding-bottom:100%;
}

.photo__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 455px;
}

.photo {
  position: relative;
  height: 0;
  padding-top: calc(3 / 5 * 100%);
}


.photo__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: auto;
  object-fit:contain;
  border: 23px outset rgba(34, 34, 34, 0.2);
  margin-left:2rem;
}

.photo h5{
  margin-top: 1.2rem;
 
}
.photo h5,
.photo p {
  display:flex;
  justify-content: center;
  align-items: center;
  font-size:1.5rem;
  
}

.photo p {
  line-height:1.8em;
}

.photo p a {
  color: #832833;

}

.prices {
  margin-top: 73%;
}
.prices p a {
  margin-top: -2.3%;
}
/* =========CONTACT ==============*/
#contact {
  /* padding-top:5%; */
  /* padding: 5% 10% 30%; */
  background-color:#832833;


}

#contact h2 {
  display:flex;
  justify-content: center;
  align-items: center;
  font-size:2rem;
  font-family: 'Princess Sofia', cursive;
  color:#5E894A;
  padding:7%;
  margin-bottom:12%;
  /* padding: 7% 0 20%; */
  /* padding-bottom:20%; */
}
#contact img  {
  width:90%;
  box-shadow: -50px -35px 6px#C4C4C41A;
  margin-left: 7%;
  padding-bottom: 5%;
  
}

.contact p {
color:rgb(241, 238, 238);
margin-top: -1%;
font-family: Prata;
font-size: 2rem;
font-style: normal;
font-weight: 400;
line-height: 53px;
letter-spacing: 0.07em;
text-align: center;
}
.btn {
  width: 12rem;
  border-radius:10%;
  margin-left: 6rem;
  margin-top: 45px;
  background: rgba(196, 196, 196, 0.2);
  font-family: Prata;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 33px;
  letter-spacing: 0em;
  text-align: center;
}

.contact-info {
  display:flex;
  flex-flow:row wrap;
  width:100%;
  justify-content: space-between;
  align-items: flex-end;
  padding:5%;
  
}
.contact-info p {
  font-size:1.5rem;
  line-height: 1.6;
}

.social {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-flow:row wrap;

}


.social p {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color:rgba(196, 196, 196, 0.2);
  border-radius:50% ;
  height: 40px;
  width: 40px;
  margin-top: 9%;
  
  
}
 .social p i {
  font-size: 1.3125em;
  color:#000;
  padding-top:6%;
}

/*=======Footer=====================*/
.map-address {
  display:flex;
  flex-flow: row wrap;
  justify-content: center;
}

.map-address h5 {
font-family: Princess Sofia;
font-size: 48px;
font-style: normal;
font-weight: 400;
line-height: 74px;
letter-spacing: 0em;
text-align: center;
color:#5e894a;
text-shadow: 1px -1.5px 2px  #d6e0d1; 
padding-top:.91em;
}

 address {
  font-size:1.5rem;
  font-family:'Prata';
  line-height: 1.3;
  display:flex;
  justify-content: center;
  align-items: center;
}
.map-address figure {
  width:100%;
  height:0;
  margin-top: 3rem;
  padding-bottom:120%;
  overflow:hidden;
  position:relative;
}

.wrapper iframe {
  max-width:100%;
  height:100%;
  position: absolute;
  top:0;
  left:0;
} 

.copyright {
  width:100%;
  background-color: #000;
  color: #FFFFFF;
  display:flex;
  align-items: center;
  justify-content: center;
}

   
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 768px) {
    /* =========HEADER ==============*/
 header {
   padding: 2%;
 }
  header h1{
    margin-left: 48%;
  }
    /* =========NAV ==============*/
  .nav-menu {
    top: 5rem;
  }
  /* =========HERO ==============*/
  .hero-flower h5 {
    font-size:4rem;
  }
  /* =========PRODUCTS ==============*/
  .products{
    padding-bottom:50%;
  }

  .products h2{
    margin-bottom: 1rem;
  }
  .products h4 {
    margin:5%;
  
  }
  .photo__gallery {
    display: grid;
    grid-gap: 5px; 
    grid-template-columns:repeat(3, 1fr);
     
  } 

 .products:nth-child(2) {
  padding-top:5%;
 
}

.products:nth-child(3),
.products:nth-child(4),
.products:nth-child(5) {
  margin-top:-5%;
}
/* =========contact ==============*/
.contact {
display: flex;
grid-gap: 400px;/*455px*/


}

#contact h2 {
  padding-bottom:3%;
  
}

.contact p {
  display:flex;
  justify-content: center;
  align-items: center;
  margin-left: 59%;
  margin-top: -45%;  
}


.btn {
margin-left: 68%;
}
.contact-info {
 
  display:flex;
  justify-content: space-between;
  width: 90%;
  
}
.contact-info p{
  font-size:1.5rem;
}
/*========FOOTER==================*/
 .map-address .wrapper { 
  display: flex;
  justify-content: space-between;
 
 }

.wrapper{
  margin-top: -50%;

}
.wrapper h5 {
  margin-top: 56%;
  width:85%;

}

 address {
   padding:10%;
   width:35%;
   margin-top: 50%;
 }

.map-address iframe
 {
  height:50%;
  margin-top: 90%;
}

}


@media only screen and (min-width: 1024px) {
/* =========HERO ==============*/
.hero-flower h5 {
  font-size:5rem;
}
/* =========PRODUCTS ==============*/
.products:nth-child(2) {
  padding-top:3%;

}

.products:nth-child(3),
.products:nth-child(4),
.products:nth-child(5) {
  margin-top:-15%;
}
/* =========contact ==============*/
.contact{
max-width:1280px;
}

#contact h2 {
  font-size:3rem;
 margin-bottom: 4%;
}
.contact figure {
  margin-left: 15%;
  margin-bottom: 5%;
  
}
.contact p {
margin-right: 12%;
}

.btn {
  margin-left: 35em;
  margin-top: -8%;
}
/*======footer===========*/
/* .map-address h5{
  font-size: 4.5rem;
  margin-bottom: 4%;
}
address {
  font-size:2.2rem;
} */

}


@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
