/* ABOUT SECTION styling */


#about {
  max-width: 100vw; /* Set maximum width to viewport width */
  height: auto;
  display: flex;
  justify-content: space-between; /* Space between items horizontally */
  flex-wrap: wrap;
  align-content: space-between; /* Space between items vertically */
  margin-top: 35px;
  row-gap: 50px; /* Gap between rows */
}

/* Responsive layout for smaller screens */
@media only screen and (max-width: 800px) {
  #about {
    flex-direction: column; /* Stack items vertically */
    justify-content: center;
    align-content: center;
    margin-top: 0;
    row-gap: 0;
  }
}

/* Adjust layout for smaller screens */
@media only screen and (max-width: 800px) {
  .bl, .tr, .one, .two {
    min-width: 100%; /* Expand to full width */
  }
}

/* Adjust layout for smaller screens */
@media only screen and (max-width: 800px) {
  .bl, .tr {
    
    padding: 20px 0 40px 0;
  }
}

.bl, .tr {
display: flex;
justify-content: center;
align-content: space-evenly;
flex-direction: column;
flex-basis: 60%;

}

#about img {
  object-fit: cover;
  height: auto;
  width: 40vw; /* Set image width relative to viewport width */
}

/* Responsive image size for smaller screens */
@media only screen and (max-width: 800px) {
  #about img {
    min-width: 100%; /* Expand image to full width */
  }
}

/* Styling for the different sections */
.one, .two, .bl, .tr {
  height: 690px;
}


.tr, .bl {
 max-height: 1000px;
}


.one, .two {
  max-width: 40%;
}

/* Individual section styling */
.one {
  order: 1;
  object-fit: contain;
  justify-self: flex-start;
  display: flex;
}
@media only screen and (max-width: 800px) {
  .one {
    order: 2;
  }
}

.two {
  order: 4;
  object-fit: contain;
  display: flex;
  justify-content: flex-end;
}



.bl {
  order: 3;
}



.tr {
  order: 2;
}

@media only screen and (max-width: 800px) {
  .tr {
    order: 1;
  }
}

/* Styling for heading and paragraph */
h2, p, i {
  padding: 10px;
  font-weight: 200;
  font-family: 'Playfair Display', serif;
  color: rgba(94, 94, 94, 0.9);
  text-align: center;
  margin: 10px;
}

  h3 {
  justify-self: flex-start;
  text-align: start;
  font-size: 1rem;
  font-weight: 300;
  font-family: 'Playfair Display', serif;
  color: rgba(94, 94, 94, 0.9);
}

i {
  text-align: center;
  font-size: 0.8rem;
}

.review h3 {
  font-style: italic;
  text-shadow: 2px 2px 4px rgba(183, 137, 112, 0.8);
}



#about h2 {
  font-size: 27px;
  font-weight: 300;
  letter-spacing: 4px;

}

#about p{
  font-size: 0.95rem;
  margin: 20px 50px 20px 50px; 
  }
  #about h2 {
    margin: 0;
  }


@media (max-width: 1000px) {
  #about p {
    margin: 20px 10px 20px 10px;
  }
}
@media (max-width: 1000px) {
  #about h2 {
    margin: 10px 10px 20px 10px;
    border-bottom: 1px solid rgba(94, 94, 94, 0.2);
  }
}




/* Styling for images within sections */
.one img {
  box-shadow: 2px 2px 6px rgba(183, 137, 112, 0.8);
}

.two img {
  object-fit: contain;
  object-position: 50% 75%;
  box-shadow: -2px -2px 6px rgba(183, 137, 112, 0.8);

}

/*make reveiews fade and rotate in*/

.reviews-container {
  position: relative;
  height: 150px;
}

.review {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;

}

.review i {
  text-shadow: 2px 2px 4px rgba(183, 137, 112, 0.8);
}



/* animation for fade in on scroll */
.appear, .appear2 {
  transition: opacity 0.8s, transform 0.8s;
  opacity: 0;
  transform: translateY(20px);
}

.appear.inview, .appear2.inview2 {
  opacity: 1;
  transform: none;
}

.appear2.inview2:nth-child(1) { transition-delay: 0.3s; }
.appear2.inview2:nth-child(2) { transition-delay: 0.3s; }
.appear2.inview2:nth-child(3) { transition-delay: 0.3s; }
.appear2.inview2:nth-child(4) { transition-delay: 0.3s; }
.appear2.inview2:nth-child(5) { transition-delay: 0.3s; }
