
/*! Fonts */

@font-face {
  font-family: 'script';
  src: url('../fonts/regular_brush/webfontkit-20241118-134301/regular_brush-webfont.woff2') format('woff2'),
       url('../fonts/regular_brush/webfontkit-20241118-134301/regular_brush-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'afacad';
  src: url('../fonts/Afacad_Flux/transfonter.org-20241202-183111/AfacadFlux-ExtraBold.woff2') format('woff2'),
      url('../fonts/Afacad_Flux/transfonter.org-20241202-183111/AfacadFlux-ExtraBold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'medium';
  src: url('../fonts/Avenir/webfontkit-20241118-133501/avenirltstd_medium-webfont.woff2') format('woff2'),
       url('../fonts/Avenir/webfontkit-20241118-133501/avenirltstd_medium-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'bold';
  src: url('../fonts/Avenir/webfontkit-20241118-133501/avenirltstd_black-webfont.woff2') format('woff2'),
       url('../fonts/Avenir/webfontkit-20241118-133501/avenirltstd_black-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
}


/*! Header */

header {
  background-color: #3e512e;
  width: 100%;
  padding-top: 200px;
  position: relative;
}

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

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

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

button {
  border: none;
}
.menuBtn {
  cursor: pointer;
  appearance: none;
  background-color: inherit;
  position: absolute;
  top: 3rem;
  right: 3rem;
  margin-bottom: 10%;
  width: 100px;
}

.topmenu {
  background-color: #59ab45;
}
.topmenu div {
  display: grid;
  grid-column: auto;
  grid-row: 1fr;
  font-family: 'bold';
  color: white;
  font-size: 1.2rem;
  padding-inline: 1%;
  padding-block: .5em;
  grid-template-columns: 1fr 1fr 1fr 1fr 15% 1fr 1fr 1fr 1fr;
  text-align: center;
}
.logo {
  width:100%;
  position: relative;
  overflow: visible;
}
.topmenu h1 {
  position: absolute;
  margin:0;
  background-image: url(../links/logo.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width:100%;
  color: transparent;
  aspect-ratio: 1 / 1;
  top:10%;
  transform: translateY(-50%);
  left:0;

}

.mlogo {
  width: 22%;
  top: 100%;
  position: absolute;
  overflow: visible;
  bottom: 50px;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

.mlogo h1 {
  position: absolute;
  margin:0;
  background-image: url(../links/logo.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width:100%;
  color: transparent;
  aspect-ratio: 1 / 1;
  top:10%;
  transform: translateY(-50%);
  left:0;
}

h2 {
  font-family: 'script';
  font-size: 6rem;
  color: #3e512e;
  text-align: center;
}

h3 {
  font-family: 'afacad';
  font-size: 10rem;
  text-align: center;
  line-height: 8rem;
  color:#59ab45;
  margin-top: -7rem;
}

/*! Cards */

.cards > section {
  position: relative;
}

.cards button {
  padding-inline: 25px;
  padding-block: 3px;
  cursor: pointer;
}

.c1 {
  background-color: #662317;
  padding: 30px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

.c1 img {
width: 40%;
 object-fit: contain;
}

.c1 div {
  width: 55%;
}

h4 {
  font-family: 'script';
  color: white;
  font-size: 8rem;
  margin-left:-20%;
  margin-block: 0;
}

h5 {
  font-family: 'bold';
  color: white;
  font-size: 1.5rem;
  margin-block: 0 .5em;
}

p {
  font-family: 'medium';
  color: white;
  font-size: 1rem;
  margin-block: 0;
}

.c1 button {
  color: white;
  background-color: #dc4632;
  font-family: 'afacad';
  font-size: 1.5rem;
  text-align: center;
  margin-top: 3%;
}

.c2 {
  background-color: #dc4632;
  padding: 30px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin-top: 120px;
  text-align: right;
}

.c2 h4 {
  text-align: right;
  padding-left: 82%;
  position: relative;
  z-index: 2;
}

.c2 img {
  width: 40%;
 object-fit: contain;
 order: 2;
}

.c2 div {
  width: 55%;
}

.c2 button {
  color: white;
  background-color: #662317;
  font-family: 'afacad';
  font-size: 1.5rem;
  text-align: center;
  margin-top: 3%;
}

.c3 {
  background-color: #59ab45;
  padding: 30px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin-top: 120px;
}

.c3 img {
  width: 40%;
 object-fit: contain;
}

.c3 div {
  width: 55%;
}

.c3 button {
  color: white;
  background-color: #3e512e;
  font-family: 'afacad';
  font-size: 1.5rem;
  text-align: center;
  margin-top: 3%;
}

 /*! ORDER NOW */

.order {
  margin-top: 325px;
}

.order h3 {
  color: black;
  font-size: 200px;
}

.btns {
  display: flex;
  flex-flow: row;
  justify-content: center;
  gap: 50px;
  margin-top: -100px;
}

.menu {
  font-family: 'bold';
  font-size: 3rem;
  padding-inline: 50px;
  padding-block: 20px;
  background-color: #3e512e;
  color: white;
  cursor: pointer;
}

.pickup {
  font-family: 'bold';
  font-size: 3rem;
  padding-inline: 50px;
  padding-inline: 70px;
  background-color: #e6dcc9;
  color: #662317;
  cursor: pointer;
}

.delivery {
  font-family: 'bold';
  font-size: 3rem;
  padding-inline: 50px;
  padding-inline: 70px;
  background-color: #dc4632;
  color: white;
  cursor: pointer;
}

/*! Footer */

footer {
  display: flex;
  flex-flow: row wrap;
  background-color: #e6dcc9;
  margin-top: 200px;
  padding: 3% 5%;
}


form {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
}

footer legend {
  color: black;
  font-size: 5rem;
  text-align: left;
  font-family: 'afacad';
  line-height: 4.2rem;
  width: fit-content;
}

footer span {
display: block;
}


form div {
  width: calc(70% - 6rem);
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  gap: 20px;
}

form .full-name {
  width: calc(50% - 10px);
  padding-block: .2em;
  margin-top: 2rem;
}

form .email {
  width: calc(50% - 10px);
  padding-block: .2em;
  margin-top: 2rem;
}

form .message {
  padding-block: 2em;
  width: 100%;
}

 /*! Click Menu */

 .mlogo {
  display: none;
  }

.slicknav_menu {
	display:none;
}

@media screen and (max-width: 830px) {
	/* #menu is the original menu */
	.topmenu .snav{
		display:none;
	}
	
	.slicknav_menu {
		display:block;
	}

  .mlogo {
    display: block;
  }

  header {
    padding-top: 12%;
  }

  .logo h1 {
    display: none;
  }

  .title h2 {
    font-size: 2rem;
  }

  .title h3 {
    font-size: 6rem;
    line-height: 4rem;
    margin-top: -3rem;
  }
  
  form {
    width: 100%;
    flex-flow: column wrap;
  }
  
  footer span {
  display: inline;
  }
  
  
  form div {
    width: 100%;
  }
  

  input[type="submit"] {
    margin: auto;
  }
}


@media screen and (max-width: 1280px) {

  .topmenu div {
    font-size: 1rem;
  }

  .title h2 {
    font-size: 4rem;
  }

  .title h3 {
    font-size: 8rem;
    line-height: 6rem;
    margin-top: -5rem;
  }

  .order {
    margin-top: 250px;
  }

  .order h3 {
    font-size: 125px;
  }

  .order .btns .menu {
  font-size: 1.5rem;
  padding-block: 15px;
  padding-inline: 35px;
  }

  .order .btns .pickup {
    font-size: 1.5rem;
    padding-inline: 35px;
    }

  .order .btns .delivery {
    font-size: 1.5rem;
    padding-inline: 35px;
    }
}

@media screen and (max-width: 1390px) {

.cards div {
  width: 80%;
}

.cards img {
  width: 90%;
}

.cards h4 {
  margin-left: 0;
  line-height: 150px;
  margin-top: 50px;
}

.c2 img {
  position: relative;
  order: 0;
}

.cards {
  text-align: center;
}

.c1 {
  justify-content: center;
}
.c2 {
  text-align: center;
  justify-content: center;
}

.c3 {
  justify-content: center;
}

.c2 h4 {
  padding-left: 0;
  text-align: center;
}

} 

 /*! Scroll Effect */

.card h4 {
  opacity: 0;
  transform: translateX(250px); /* Default slide from right */
  transition: opacity 0.7s .25s ease-out, transform 0.7s .5s ease-out;
  transition-delay: 250ms;
}

.card {
  opacity: 0;
  transform: translateX(200px); /* Default slide from right */
  transition: opacity 0.7s  ease-out, transform 0.7s ease-out;
}

.card:nth-child(odd) {
  transform: translateX(-200px);
}
.card:nth-child(odd) h2  {
  transform: translateX(-250px);
}

.card.is-visible, .card.is-visible h4 {
  opacity: 1;
  transform: translateX(0);
}