@font-face {
  font-family:CHINGS-Recipe;
  src: url('../../fonts/FontSriracha.woff') format('truetype');
}

.header-banner .field__item {
  position: relative;
  width: 100%;
  height: 320px;
}

.header-banner  .field__item img:nth-of-type(1)  {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.header-banner  .field__item img:nth-of-type(2)  {
  position: absolute;
  left: 2%;
  top: 5%;
  filter: drop-shadow(0 0 1rem rgb(255, 255, 255));
  width: 300px;
  height: 300px;

}

.header-banner .field__item p:nth-of-type(1) {
  position: absolute;
  left: 22%;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 145px;
  margin: 0;
  font-family: CHINGS-Recipe;
}

.header-banner  .field__item p:nth-of-type(2) {
  position: absolute;
  right: 35px;
  top: 10%;
  transform: translateY(-50%);
  margin: 0;
  display: flex;
}

.header-banner  .field__item p:nth-of-type(2) a {
  color: white;
  margin-left: 15px;
  text-decoration: none;
  
}
.header-banner  .field__item p:nth-of-type(2) a img{
  width: 25px;
  height: 25px;
}

/* form */

.layout__region--second {
  display: flex;
  flex-wrap: wrap;
   margin-top: 2rem; 
  padding-top: 1rem;
  justify-content: center;
  max-width: 100%;
  background:white;
  


}

.form-image-pdf img {
  max-width: 99%;
  height: auto;
  border-radius: 10px;
  opacity: .7;
  
 
}

.form-pdf {
  max-width: 400px;
  width: 100%;
  border-radius: 10px;
}

.form-pdf h2 {
  display: none; /* Optional if you don't want the "Webform" heading */
}

.form-pdf form input[type="text"],
form input[type="email"],
form input[type="date"] {
  width: 94%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 600;
  margin-top: 8px;
}

.form-pdf form .form-actions input[type="submit"] {
  width: 100%;
  padding: 12px;
  background-color: #c8102e; /* red color from screenshot */
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: -14px;
  font-family: 'Bangers', cursive;
}

.form-pdf form .form-actions input[type="submit"]:hover {
  background-color: #a50e25;
}

.main-recipe-image{
  margin-top: 2rem; 
  margin-left: 2rem;
  margin-bottom: 2rem;
}

.main-recipe-image img:nth-child(1){
  width: 100%;
  height: 570px;
  display: block;
}
.main-recipe-image img:nth-child(2){
  display: none;
  
}

.banner-description{
  margin-bottom: 2rem;
}
.banner-description img{
  margin-left: 2rem;
}
.layout__region--second label{
  font-size: 16px;
  font-weight: 600;
  font-family: 'Bangers', cursive;
}
.webform-flexbox{
  flex-direction: column;
}
.buy-now{
  width: 94%;
  padding: 12px;
  background-color: #c8102e;
  text-align: center;
  color: white;
  display: block;
  text-decoration: none;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: -14px;
  font-family: 'Bangers', cursive;
}
.js-form-type-checkbox{
  position: relative; ;
}
#edit-age-gating, #edit-marketing-consent-checkbox{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #c00;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  position: absolute;
  margin-right: 10px;
  vertical-align: middle;
  transition: all 0.2s ease-in-out;
}

#edit-age-gating:checked ,#edit-marketing-consent-checkbox:checked{
  background-color: #c00;
  border-color: #c00;
}

#edit-age-gating:checked::after, #edit-marketing-consent-checkbox::after {
  content: '✔';
  color: white;
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
}



#edit-age-gating--description, #edit-marketing-consent-checkbox--description{
display: inline-block;
color: #333;
font-size: 12px;
line-height: 1.5;
max-width: 500px;
margin-left: 5px;
font-family: 'Arial', sans-serif;
}

#edit-age-gating--description p:nth-of-type(2) a{
color: black;
}

@media only screen and (max-width: 768px) {
.header-banner .field__item p:nth-of-type(1){
  left: 14%;
  top: 80%;
  font-size: 35px;
}
.header-banner .field__item img:nth-of-type(2) {
  left: 20%;
  top: 11%;
  width: 200px;
  height: 200px;
}
.layout__region--first{
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.main-recipe-image{
  margin: 0;
}

.main-recipe-image img:nth-child(1){
  display: none;
}
.main-recipe-image img:nth-child(2){
  display: block;
  width: 120px;
  height: 200px;
}
.form-pdf {
  padding: 1rem;
}
.buy-now{
  margin-top: -4px;
}
.form-pdf form .form-actions input[type="submit"]{
  margin-top: 0px;
}

}
@media only screen and (min-width: 769px) and (max-width: 1200px) {
.header-banner .field__item p:nth-of-type(1) {
  left: 43%;
  font-size: 90px;
}
.main-recipe-image img:nth-child(1){
  width: 94%;
  height: 552px;
}
.layout__region--second{
  justify-content: flex-start;

}
.form-pdf{
  max-width: 360px;
}
}
@media only screen and (min-width: 1200px) and (max-width: 1300px) {
.header-banner .field__item p:nth-of-type(1) {
  left: 43%;
  font-size: 90px;
}
}



