html{scroll-behavior:smooth}

.slider_img {
  height: 350px;
  /* width: auto;
  margin: 8px;
  display: block;
  /* width: 100%; */
  margin: 30px 0px;
  transition: transform 400ms;
  transform-origin: center center;
}

.order_received {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.order_reply {
  max-width: 1200px;
  width: 92%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* NEW NEW nav */

*{
  padding: 0;
  margin: 0;
}

header{
  background-color: #262626;
}

li{
  list-style: none;
}

a{
  color: white;
  text-decoration: none;
}

input[type=text], select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #6D332A;
  box-sizing: border-box;
  border-radius: 0px;
  max-width: 500px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #FFFFFF;
  color: #6D332A;
}

input[type=email] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #6D332A;
  box-sizing: border-box;
  border-radius: 0px;
  max-width: 500px;
}

textarea {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #6D332A;
  box-sizing: border-box;
  max-width: 500px;
}

input[type=submit] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  background-color: white;
  border: 1px solid #6D332A;
  border-radius: 0px;
  color: #6D332A ;
  box-sizing: border-box;
  max-width: 400px;
  float: right;
}

input[type=submit]:hover {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  background-color: #6D332A;
  border: 1px solid #6D332A;
  color: white;
  box-sizing: border-box;
}

.section.order {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#orders {
  border-collapse: collapse;
  width: 100%;
  color: #454D5C;
}

#orders td {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 29px;
  color: #454D5C;
  text-align: left; 
}

#orders tr {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 29px;
  color: #454D5C;
  text-align: left;
}

#orders th {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 29px;
  color: #454D5C;
  text-align: left;
}

.order_details_wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.order_contact_details_wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-right: 15px;
}

.order_contact_details_wrapper_right {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.order_notes {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 10px 0px;
  }

.align-right {
  text-align: center;
}

.zip_city {
  display: flex;
  flex-direction: row;
}

::placeholder {
  color: #6D332A;
  opacity: 1; 
}

.container{
  max-width: 1200px;
  width: 92%;
  margin: 0 auto;
}

.order_container {
  max-width: 950px;
  width: 92%;
  margin: 0 auto;
}

.navbar{
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-branding{
  font-size: 2rem;
}

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

.nav-link{
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  transition: 0.3s ease-out;
}

.nav-link:hover{
  text-decoration: underline;
}

.hamburger{
  display: none;
  cursor: pointer;
}

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

#wines {
  margin: 30px 0px;
}

#story {
  margin: 30px 0px;
}

#contact {
  margin: 30px 0px;
}

.section.headersection {
  position: static;
  display: flex;
  overflow: hidden;
  height: 100vh;
  padding: 0px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-image: url('../images/header_img3.png');
  background-position: 50% 50%;
  background-size: cover;
  background-attachment: scroll;
}

.section.winesection {
  position: static;
  display: flex;
  overflow: hidden;
  height: 100vh;
  padding: 0px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-image: url('../images/allwines_header.png');
  background-position: 50% 50%;
  background-size: cover;
  background-attachment: scroll;
}

.header_content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.nav_img {
  max-width: 340px;
  max-height: 25px;
}

.logo_img {
  max-width: 300px;
  padding-bottom: 70px; 
}

.origin {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-size: 42px;
  line-height: 56px;
  color: #FFFFFF;
  text-align: center;
  /* text-transform: uppercase; */
}

.header_split {
  width: 35px;
  height: 4px;
  background: #FFFFFF;
  margin: 30px;
}

.result {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 29px;
  color: #FFFFFF;
  text-align: center;
  /* text-transform: uppercase; */
}

.section.wines_index {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.title {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-size: 42px;
  line-height: 56px;
  text-align: center;
  color: #454D5C;
}

.chenin_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 100%;
  margin: 20px 30px;
}

.shiraz_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 100%;
  margin: 20px 30px;
}

.wine_img {
  max-width: 50%;
  width: 520px;
}

.story_img {
  max-width: 50%;
  width: 400px;
}

.contact_img {
  /* max-width: 50%; */
  width: 350px;
  height: 250px;
}

.wine_title {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  color: #454D5C;
  margin-bottom: 15px;
}

.wine_price_wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
}

.wine_price {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 29px;
  color: #000000;
  margin-right: 10px;
}

.wine_quantity {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 29px;
  color: #000000;
}

.story_wrapper {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-direction: row;
  width: 100%;
  margin: 20px 30px;
}

.story_text {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  width: 50%;
  max-width: 600px;
  padding: 20px 0px 20px 20px;
}

.wine_text {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  max-width: 50%;
  width: 500px;
  padding-left: 20px;
}

.wine_desc {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 21px;
  color: #000000;
}
 
.button_main {
  box-sizing: border-box;
  width: 192px;
  height: 39px;
  border: 1px solid #6D332A;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  color: #6D332A;
  padding: 10px;
  text-decoration: none;
  margin: 15px 0px;
}

.button_main:hover {
  color: white;
  background: #6D332A;
}

.section.contact {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.contact_info_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: row;
  max-width: 50%;
  width: 100%;
}

.contact_info {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 29px;
  color: #000000;
  text-decoration: none;
}

.customer_info {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 29px;
  color: #454D5C;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 54px;
  background: #454D5C;
  margin-top: 50px;
}

.footer_link {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #FFFFFF;
  text-decoration: none;
  padding: 0px 15px;
}

@media(max-width:1024px){
  .hamburger{
    display: block;
  }

  .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);
  }

  .nav-menu{
    position: fixed;
    left: -100%;
    top: 70px;
    gap: 0;
    flex-direction: column;
    background-color: #262626;
    width: 100%;
    text-align: center;
    transition: 0.3s;
  }

  .nav-item{
    margin: 16px 0;
  }

  .nav-menu.active{
    left: 0;
  }
}

@media (max-width: 700px){
  .chenin_wrapper {
    flex-wrap: wrap;
    margin: 0px;
    /* padding: 20px; */
    width: 100%;
  }
  .story_wrapper {
    flex-wrap: wrap;
    margin: 0px;
    /* padding: 20px; */
    width: 100%;
  }
  .story_text {
    width: 100%;
    padding: 20px;
  }
  .shiraz_wrapper {
    flex-wrap: wrap-reverse;
    margin: 0px;
    /* padding: 20px; */
    width: 100%;
  }
  .wine_text {
    max-width: 100%;
    width: 100%;
    padding: 20px;
  }
  .wine_img{
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  .story_img {
    display: none;
  }
  .section.contact {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    padding: 20px;
  }
  .contact_img {
    display: none;
  }
}