body, html {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
}
.header {
  width: 100%;
  text-align: center;
}
.logo {
  width: 175px;
  padding: 20px 0;;
}
.hero {
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center center;
  position: relative;
  width: 100%;
  height: auto;
  text-align: left;
  padding: 100px 15%;
}
.hero .text {
  width: 45%;
}
.hero h1 {
  font: 54px 'Rajdhani', sans-serif;
  line-height: 60px;
  font-weight: 700;
  color: #fff;
}
.hero h2 {
  font: 30px 'Rajdhani', sans-serif;
  line-height: 36px;
  font-weight: 400;
  color: #fff;  
}
.title {
  font: 42px 'Rajdhani', sans-serif;
  font-weight: 700;
  width: 100%;
  padding: 50px 0 35px;
}
.calculation {
  display: flex;
  gap: 20px;
}
input[type=checkbox], input[type=radio] {
  width: 30px;
  height: 30px;
  margin: 0;
}
.flour, .sugar, .quantity {
  background-color: #f5f5f5;
  border-radius: 5px;
  text-align: center;
  padding: 30px;
  flex: 1 1 33.333%;
  margin: 0;
}
.radio-wrap, .quantity-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.quantity-wrap {
  margin: 15% 0;
}
label {
  margin-bottom: 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 27px;
  font-weight: 700;
}
.quantity-input {
  font: 27px 'Rajdhani', sans-serif;
  font-weight: 600;
  width: 40%;
  text-align: center;
  padding: 0;
}
select.quantity-select {
  font: 27px 'Rajdhani', sans-serif;
  font-weight: 600;
  width: 30%;
}

img.image {
  mix-blend-mode: multiply;
  width: 100%;
}
.footer {
  width: 100%;
  text-align: center;
}
.btn-calculate {
  background-color: #da3835;
  padding: 5px 5vw;
  color: #fff;
  text-align: center;
  font: 27px 'Rajdhani', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  margin: 30px 0;
  border: 0;
  border-radius: 5px;
}
.btn-submit {
  background-color: #da3835;
  padding: 5px 5vw;
  color: #fff;
  text-align: center;
  font: 27px 'Rajdhani', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  margin: 30px 0 !important;
  border: 0;
  border-radius: 5px;
  width: 100%;
}
button#go-back-btn {
    position: absolute;
    left: 50px;
    background: none;
    border: 0;
    color: red;
    font-weight: 600;
}

.result {
  display: flex;
  gap: 30px;
  margin: 3% 0;
  padding: 3% 0;
  border-bottom: 1px dotted #777;
}
.product-photo {
  flex: 1 1 50%;
  justify-items: center;
}
h3 {
  font: 27px 'Rajdhani', sans-serif;
  font-weight: 600;
  color: #000;
  margin: 30px 0;
}
.product-description {
  flex: 1 1 50%;
  text-align: left;
  font: 18px 'Rajdhani', sans-serif;
  font-weight: 500;
}
.result-btn {
  margin: 30px 0 0;
  background-color: #da3835;
  padding: 5px 4vw;
  min-width: 120px;
  color: #fff;
  text-align: center;
  font: 27px 'Rajdhani', sans-serif;
  font-weight: 600;
  border: 0;
  border-radius: 5px;
}


/* MODAL STYLES */

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 30px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 10px;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}
.modal-header {
  padding: 10px;
  border-bottom: 0;
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.modal-title {
  font: 30px 'Rajdhani', sans-serif;
  font-weight: 600;
  color: #000;
  width: 100%;
  text-align: center;
  margin-left: 30px;
}
.modal-info {
  display: flex;
  gap: 20px;
  padding: 7px;
  background-color: #da3835;
  border-radius: 5px;
  margin: 0 0 20px;
}
.modal-sku, .modal-type, .modal-qty {
  font: 24px 'Rajdhani', sans-serif;
  font-weight: 500;
  color: #eee;
  flex: 1 1 33%;
  text-align: center;
}
.sku, .type, .qty {
  font-weight: 700;
  color: #fff;
  text-transform: capitalize;
  display: inline;
}
.modal label {
  font-size: 18px;
  width: 100%;
  text-align: right;
}
.modal input {
  width: 100%;
  font-size: 18px;
  margin: 7px 0;
  padding: 5px 10px;
}
.modal textarea {
  width: 100%;
  padding: 5px 10px;
}

.close {
  cursor: pointer;
  color: #777;
  float: right;
  font-size: 30px;
  font-weight: 500;
}

.close:hover,
.close:focus {
  color: #222;
  text-decoration: none;
  cursor: pointer;
}

.inputs {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}



@media only screen and (max-width: 1200px){
 .hero {
   padding: 100px 10%;
 }
 .hero .text {
   width: 40%;
 }
 .hero h1 {
     font-size: 48px;
     line-height: 50px;
  }
  .hero h2 {
     font-size: 27px;
     line-height: 33px;
  }
  .modal-content {
    width: 70%;
  }
}

@media only screen and (max-width: 1000px){
  .modal-content {
    width: 90%;
  }
  .modal label {
    font-size: 18px;
    width: 100%;
    text-align: left;
  }
  .modal-sku, .modal-type, .modal-qty {
    font: 21px 'Rajdhani', sans-serif;
  }
  .pad-right {
       text-align: right;
       width: 60%;
   }
}

@media only screen and (max-width: 767px){
 .hero {
   padding: 30px 5%;
   background-position: 40% center;
 }
 .hero h1 {
    font-size: 30px;
    line-height: 33px;
 }
 .hero h2 {
    font-size: 16px;
    line-height: 20px;
 }
 .calculation {
   display: block;
   padding: 0 5%;
 }
 .flour, .sugar, .quantity {
   display: flex;
   width: 100%;
   gap: 10px;
   padding: 0 0 0 30px;
   margin: 0 0 20px;
 }
 img.image {
   width: 70%;
 }
 .result {
   flex-wrap: wrap;
   margin: 0 0 6%;
   padding: 0 0 6%;
 }
 h3 {
   margin: 0 0 30px 0;
 }
 .product-photo {
   flex: 1 1 100%;
 }
 .product-photo img {
   width: 70%;
 }
 .product-description {
   flex: 1 1 100%;
   padding: 0 5%;
   font: 18px 'Rajdhani', sans-serif;
 }
 .result-btn {
   margin: 20px 0 0;
   width: 100%;
   font: 27px 'Rajdhani', sans-serif;
   font-weight: 600;
 }
 .modal-content {
   background-color: #fefefe;
   margin: auto;
   padding: 15px;
   border: 1px solid #888;
   width: 95%;
   max-height: 98vh;
 }
 .modal-sku, .modal-type, .modal-qty {
   font: 18px 'Rajdhani', sans-serif;
 }
 .sku, .type, .qty {
   display: block;
 }
 .pad-right {
     text-align: right;
     width: 60%;
 }
 .modal {
   padding-top: 1vh;
 }
 .modal label {
   font-size: 16px;
   width: 100%;
   text-align: left;
 }
 .modal input {
   width: 100%;
   font-size: 16px;
   margin: 5px 0;
   padding: 3px 7px;
 }
 .btn-submit {
   margin: 15px 0 !important;
 }
 .alert {
   width: 100%;
 }
}

.search-results {
	border-top: 1px dotted #ccc;
	margin-top: 25px;
	padding-top: 25px;
}

.blurb-section {
  margin-top: 4%;
  font-size: 16px;
  margin-bottom: 3rem;
}

.form-check {
	margin-bottom: 1rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 27px;
  font-weight: 300;
}

.alert {
  padding: 20px;
  background-color: #f44336;
  color: white;
  opacity: 1;
  transition: opacity 0.6s;
  margin-bottom: 15px;
  width: 30%;
  float: right;
  margin-right: 5px;
}

.alert.success {background-color: green;}
.alert.warning {background-color: #ff9800;}

.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: black;
}
.btn:hover {
	color: #fff;
}




.lableCenter{
  display: flex;
    align-items: center;
}

@media only screen and (min-width: 1024px)  and (max-width: 1366px) {

}
