@import url("https://fonts.googleapis.com/css2?family=Playfair+Display&family=Raleway:wght@300;400&family=Tinos:ital@0;1&display=swap");

* {
  box-sizing: inherit;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  box-sizing: border-box;
  background-color: #f1e9e4;
  font-family: "Tinos", serif;
  color: #54423c;
}

a {
  text-decoration: none;
  color: #54423c;
}
a:hover {
  color: #bfafa5;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 2px solid #c2b29f;
  margin: 0 20px;
}

h1 {
  font-family: "Playfair Display", serif;
  letter-spacing: 7px;
  font-size: 2rem;
  font-weight: 300;
}

h2 {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  letter-spacing: 2px;
  font-size: 2.5rem;
}

h3 {
  font-family: "Playfair Display", serif;
  color: #91776e;
  letter-spacing: 1px;
  font-weight: 400;
}

h4 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 2px;
}

span {
  text-decoration: underline;
}

.allPosts {
  padding: 0 10px 0 10px;
}

.logo {
  font-family: "Playfair Display", serif;
  letter-spacing: 7px;
  font-size: 2rem;
}

.headerSubscribe {
  letter-spacing: 1px;
  border: 1px solid #54423c;
  padding: 7px 14px;
}

.featuredImg {
  max-width: 60%;
  height: auto;
  object-fit: cover;
}

.featuredPost {
  display: flex;
  max-width: 1500px;
  margin: 0 auto;
  /* margin: 20px; */
  margin-top: 30px;
}

.postInfo {
  display: flex;
  justify-content: space-between;
}

.featuredContainer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: 20px;
  /* border: 1px solid red; */
  max-width: 40%;
}

.featuredTitle {
  margin: 70px 0;
}

.featuredContainer p {
  font-size: 20px;
}

.button1 {
  border: 1px solid #54423c;
  text-align: center;
  padding: 10px 0;
  transition: all 0.3s;
}

.button1:hover {
  background-color: #54423c;
}

.infoDate {
  font-size: 16px;
  padding-left: 20px;
}

.imgText h2 {
  font-size: 2rem;
}

.galleryContainer {
  margin: 0 auto;
  margin-top: 50px;
  max-width: 1500px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  gap: 12px 12px;
  grid-template-areas:
    "squareTop horizontalTop horizontalTop"
    "squareTop horizontalTop horizontalTop"
    "horizontalLong horizontalLong verticalRight"
    "verticalLeft squareCenter verticalRight"
    "verticalLeft squareCenter verticalRight"
    "verticalLeft squareBottom squareRight"
    "verticalLeft squareBottom squareRight";
  /* padding-bottom: 50px; */
}

.sqTop {
  grid-area: squareTop;
}
.hrTop {
  grid-area: horizontalTop;
}
.hrLong {
  grid-area: horizontalLong;
}
.vrRight {
  grid-area: verticalRight;
}
.vrLeft {
  grid-area: verticalLeft;
}
.sqCenter {
  grid-area: squareCenter;
}
.sqBottom {
  grid-area: squareBottom;
}
.sqRight {
  grid-area: squareRight;
}

.imgContainer {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 100%;
}

.imgContainer img {
  width: 100%;
  height: 100%;
  transition: all 0.3s;
  object-fit: cover;
}

.imgText {
  position: absolute;
  top: 5%;
  left: 5%;
  opacity: 0;
  transition: all 0.2s;
}

.imgContainer:hover .imgText,
.imgContainer:hover {
  display: inline-block;
  opacity: 1;
}

.imgContainer:hover img {
  filter: opacity(0.4);
}

.viewAll {
  margin: 30px auto 50px auto;
  padding: 10px 50px;
  grid-column: 1 / -1;
}

/* FOOTER */

footer {
  background-color: #c2b5af;
  padding-top: 50px;
}

.footerHeader {
  color: #54423c;
  letter-spacing: 0px;
  font-size: 16px;
  margin-bottom: 20px;
}

.footerLogo {
  font-family: "Playfair Display", serif;
  letter-spacing: 4px;
  font-size: 20px;
}

.footerInfoContainer {
  /* max-width: 80%; */
  max-width: 1500px;
  margin: 20px auto 70px auto;
  /* margin: 20px 30px 70px 30px; */
  /* padding-bottom: 50px; */
  display: flex;

  padding: 0 20px;
  justify-content: space-between;
}

.footerInfoContainer p,
.footerInfoContainer a {
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.footerLinks {
  display: flex;
  flex-direction: column;
}

.subscribeForm {
  max-width: 40%;
}

.subscribeForm h2 {
  font-size: 20px;
  margin-bottom: 35px;
}

.subscribeForm form {
  width: 100%;
  border-bottom: 2px solid #8f8374;
}

.subscribeForm input[type="text"] {
  background: transparent;
  border: none;
  width: calc(100% - 90px);
  color: rgb(124, 124, 124);
}

.subscribeForm input[type="text"]:focus {
  outline: none;
}

.subscribeForm input[type="submit"] {
  background: transparent;
  text-transform: uppercase;
  border: none;
  /* font-size: 1.125rem; */
  width: 54px;
  color: rgb(88, 88, 88);
}

.footerFooter {
  border-top: 2px solid #8f8374;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  margin: 0 20px;
}

.footerFooter h2 {
  font-family: "Tinos", serif;
  font-size: 16px;
}

.socialBar {
  width: 200px;
  display: flex;
  justify-content: space-between;
}

.social {
  width: 25px;
  opacity: 0.4;
}

/* -----------------------------ABOUT------------------ */
.aboutHeader {
  text-align: center;
  font-size: 3.5rem;
  font-weight: 300;
  margin: 0 20px;
  padding: 50px 0;
  border-bottom: 2px solid#c2b29f;
}

.aboutInfo {
  margin: 0 20px;
  /* display: flex;
  flex-direction: column;
  justify-content: space-between; */
}

.aboutInfoHeader {
  margin-bottom: 40px;
}

.aboutInfoTop p {
  line-height: 25px;
  font-size: 18px;
}

.aboutInfoTop {
  border-bottom: 2px solid#c2b29f;
  padding-bottom: 50px;
}

.plzFlex {
  display: flex;
}

.aboutInfoBottom {
  padding: 30px 0;
  border-bottom: 2px solid#c2b29f;
}

.aboutInfoLeft {
  width: 50%;
  border-left: 2px solid#c2b29f;
  border-right: 2px solid#c2b29f;
  padding: 0 10px;
}

.aboutInfoLeft p {
  margin-bottom: 20px;
}

.aboutInfoRight {
  padding-left: 10px;
}

.otherPageFooter {
  background-color: #f1e9e4;
}
.samplePost {
  display: flex;
  max-width: 1500px;
  margin: 0 auto;
  margin: 20px;
  margin-top: 30px;
}

.postImg {
  max-width: 60%;
  height: auto;
}

/* ---------------------------------------------------------------------- */
/* -----------------------------SAMPLE POST ----------------------------- */
.samplePost {
  margin-bottom: 50px;
}

.sampleInfo {
  padding-top: 40px;
  max-width: 300px;
  margin: 0 auto;
  font-size: 12px;
}

.postImg {
  max-width: 50%;
  height: auto;
  object-fit: cover;
}

.postHeader {
  text-align: center;
  max-width: 60%;
  margin: 0 auto;
  padding-bottom: 40px;
}

.subtitle {
  font-style: italic;
}

.postTitle {
  font-size: 3.5rem;
  font-weight: 300;
  margin: 0 20px;
  padding: 30px 0;
}

.postContainer {
  padding: 0 20px;
}

.postText p {
  margin-bottom: 20px;
  line-height: 24px;
}

.share {
  display: flex;

  padding-top: 40px;
}

.share h3 {
  margin-right: 30px;
}

.postNav {
  display: flex;
  justify-content: space-between;
  border-top: 2px solid #c2b29f;
  border-bottom: 2px solid #c2b29f;
  padding: 20px 10px;
  margin-top: 60px;
}

.postNav h3 {
  font-size: 14px;
  padding-bottom: 4px;
}

/* -------------------STYLE GUIDE------------- */
.guideIntro {
  text-align: center;
  padding: 50px 20px;
  background-color: #c2b5af;
}
.styleFlex {
  padding: 0 20px;
}
.styleLogo {
  letter-spacing: 3px;
  font-size: 4rem;
}

.typography {
  max-width: 800px;
  height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.styleHeader {
  font-size: 4rem;
  border-top: 2px solid #c2b29f;
  margin: 60px 0 20px 0;
  padding-top: 20px;
}

.styleButton {
  padding: 10px 70px;
  margin: 30px 0;
  max-width: 200px;
}

.styleForm {
  max-width: 100%;
}

.styleImg {
  max-height: 500px;
  max-width: 500px;
  margin: 30px 0;
}

.interactiveFlex {
  height: 800px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.colorFlex {
  display: flex;
  justify-content: space-around;
}

.colorButton {
  font-size: 1rem;
  padding: 60px 40px;
}

.colorOne {
  background-color: #c2b29f;
}

.colorTwo {
  background-color: #8f8374;
}

.colorThree {
  background-color: #54423c;
  color: #f1e9e4;
}

.colorFour {
  background-color: #f1e9e4;
  border: 1px solid #54423c;
}
/* -------------------------------MADE BY ERIK TERWAN https://codepen.io/erikterwan/pen/EVzeRP---------- */
#menuToggle {
  display: block;
  position: relative;
  /* top: 50px; */
  /* left: 50px; */

  z-index: 1;

  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a {
  text-decoration: none;
  color: #232323;

  transition: color 0.3s ease;
}

#menuToggle a:hover {
  color: #8b7973;
}

#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;

  cursor: pointer;

  opacity: 0;
  z-index: 2;

  -webkit-touch-callout: none;
}

#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;

  background: #54423c;
  border-radius: 3px;

  z-index: 1;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #54423c;
}

#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}

#menu {
  position: absolute;
  width: 300px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;

  background: #c2b5af;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;

  transform-origin: 0% 0%;
  transform: translate(-100%, 0);

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}

#menu li {
  padding: 10px 0;
  font-size: 22px;
}

#menuToggle input:checked ~ ul {
  transform: none;
}

/* ----------------------------------------------------------------- */
