/*-- beginning of global section--*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

main {
  flex-grow: 1;
  padding: 1rem 1.5rem;
}
a {
  text-decoration: none;
  color: inherit;
}
p {
  margin-right: 100px;
  margin-left: 80px;
  padding: 25px;
  background-color: rgba(128, 0, 128, 0.342);
}

/*-- end of global section--*/

/*-- beginning of background gradient styling--*/
.background {
  background-image: url("https://cdn.reliance-foundry.com/media/20220610221235/Bearings-1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  /*--it seems better to put the gap at the top and bottom on the body section-*/
  /*--padding-top: 1rem;--*/
  height: 100%;
}
/*-- end of background gradient styling--*/

/*--beginning of pamphlet sectio--*/

.pamphlet {
  display: flex;
  flex-direction: column;
  width: 70%;
  margin: auto;
  padding-top: 0px;
  padding-bottom: 0px; /*--best place to put the padding for content--*/
  background-color: white;
  border: solid 1px black;
  height: 100%;
  min-height: 100vh;
  overflow: hidden;
}
/*--end of pamphlet sectio--*/
/*--start banner--*/
.container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  padding: 1rem 2rem 1.5rem 0;
  background-color: rgb(255, 239, 0); /*--for visual sake--*/
}

.title {
  padding-left: 50px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: larger;
  border: solid 5px red;
  border-radius: 10px;
  margin: auto;
  padding-right: 50px;
}
.container h2 {
  font-weight: 200;
  font-size: 1rem;
  line-height: 2.4rem;
  text-transform: uppercase;
  text-align: right;
  line-height: 1.5rem;
}
.container span {
  text-transform: none;
  display: block;
}
/*--End banner--*/

/*--info box 1 full width button--*/
/*--info box 1 full width button--*/
/*--info box 1 full width button--*/
.infobox {
  display: flex;
  justify-content: center;
  height: 50px;
  background-color: red;
  border: solid 3px black;
  border-radius: 5px;
  padding-top: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: x-large;
  letter-spacing: 0.2rem;
  color: yellow;
  cursor: pointer;
}
.infobox:hover,
a:hover {
  background-color: blue;
  transition: 0.75s;
}
/*-- End Of info box 1 full width button--*/
/*-- End Of info box 1 full width button--*/

/*-- beginning Of CRUD Form--*/
/*-- beginning Of CRUD Form--*/
/*-- beginning Of CRUD Form--*/

.crud {
  max-width: 80%;
  border: solid 3px red;
  margin: 2rem auto;
  padding: 2rem;
  -webkit-box-shadow: 0px 10px 13px -7px #000000,
    5px 5px 8px 11px rgba(0, 0, 0, 0);
  box-shadow: 0px 10px 13px -7px #000000, 5px 5px 8px 11px rgba(0, 0, 0, 0);
}

label {
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  padding: 10px;
  color: #fff;
  cursor: text;
}
.input-group {
  margin-bottom: 5px;
}
input,
textarea {
  display: block;
  width: 100%;
  padding: 0.25rem;
}

.form label {
  top: 10px;
  left: 8px;
  font-size: 14px;
  color: gray;
}

#crudbut {
  display: inline-flexbox;
  flex-direction: row;
  justify-content: flex-end;
  width: 20%;
  padding: 0.5rem;
  margin: 1rem 0 0 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: large;
  cursor: pointer;
  background-color: red;
  border: solid 3px black;
  border-radius: 3px;
  color: yellow;
  text-transform: uppercase;
}

#crudbut:hover,
a:hover {
  background-color: green;
  transition: 0.5s;
}

/*-- End Of CRUD Form--*/
/*-- End Of CRUD Form--*/
/*-- End Of CRUD Form--*/

/*--start crud close button--*/
/*--start crud close button--*/
/*--start crud close button--*/
.para-1-but {
  height: 25px;
  width: 100px;
  margin: 0 0 30px 83px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  color: yellow;
  background-color: red;
  border: solid 2px black;
  border-radius: 3px;
  cursor: pointer;
}

.para-1-but:hover,
a:hover {
  background-color: blue;
}
/*--End of crud close button--*/
/*--End of crud close button--*/
/*--End of crud close button--*/

/*--info box 2--*/
/*--.infobox-2 {
  display: flex;
  justify-content: center;
  height: 50px;
  background-color: red;
  border: solid 3px black;
  margin-top: 5px;
  border-radius: 5px;
  padding-top: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: x-large;
  letter-spacing: 0.2rem;
  color: yellow;
  cursor: pointer;
}
.infobox-2:hover,
a:hover {
  background-color: blue;
  transition: 0.75s;
}

.para-2 {
  margin: auto;
  padding: 15px 25px 15px 25px;
  background-color: yellow;
}

/*--.para-2-but {
  height: 25px;
  width: 100px;
  margin-left: 180px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  color: yellow;
  background-color: red;
  border: solid 2px black;
  border-radius: 3px;
  cursor: pointer;
}

.para-2-but:hover,
a:hover {
  background-color: blue;
}--*/

/*--info box 3--*/
.infobox-3 {
  display: flex;
  justify-content: center;
  height: 50px;
  background-color: red;
  border: solid 3px black;
  border-radius: 5px;
  margin-top: 5px;
  padding-top: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: x-large;
  letter-spacing: 0.2rem;
  color: yellow;
  cursor: pointer;
}
.infobox-3:hover,
a:hover {
  background-color: blue;
  transition: 0.75s;
}
.invoice-section {
  max-width: 80%;
  border: solid 3px red;
  margin: 2rem auto;
  padding: 2rem;
  -webkit-box-shadow: 0px 10px 13px -7px #000000,
    5px 5px 8px 11px rgba(0, 0, 0, 0);
  box-shadow: 0px 10px 13px -7px #000000, 5px 5px 8px 11px rgba(0, 0, 0, 0);
}
.para-3 {
  margin: auto;
  padding: 15px 25px 15px 25px;
  background-color: white;
}

.para-3-but {
  height: 25px;
  width: 100px;
  margin: 0 0 30px 83px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  color: yellow;
  background-color: red;
  border: solid 2px black;
  border-radius: 3px;
  cursor: pointer;
}

.para-3-but:hover,
a:hover {
  background-color: blue;
}
.items {
  color: red;
  font-size: x-large;
  padding-left: 10px;
  padding-right: 10px;
  background-color: yellow;
  margin: auto;
  border: dotted 1px black;
}

/*-- button 4 --*/
.infobox-4 {
  display: flex;
  justify-content: center;
  height: 50px;
  background-color: red;
  border: solid 3px black;
  margin-top: 5px;
  border-radius: 5px;
  padding-top: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: x-large;
  letter-spacing: 0.2rem;
  color: yellow;
  cursor: pointer;
}
.infobox-4:hover,
a:hover {
  background-color: blue;
  transition: 0.75s;
}

.letter {
  max-width: 80%;
  border: solid 3px red;
  margin: 2rem auto;
  padding: 2rem;
  -webkit-box-shadow: 0px 10px 13px -7px #000000,
    5px 5px 8px 11px rgba(0, 0, 0, 0);
  box-shadow: 0px 10px 13px -7px #000000, 5px 5px 8px 11px rgba(0, 0, 0, 0);
}
.submit {
  height: 25px;
  width: 100px;
  margin-top: 30px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  color: yellow;
  background-color: red;
  border: solid 2px black;
  border-radius: 3px;
  cursor: pointer;
}
.para-4-but {
  height: 25px;
  width: 100px;
  margin: 0 0 30px 83px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  color: yellow;
  background-color: red;
  border: solid 2px black;
  border-radius: 3px;
  cursor: pointer;
}

.para-4-but:hover,
a:hover {
  background-color: blue;
}

/*-- beginning of footer section--*/
footer {
  font-size: 1.4rem;
  background-color: teal;
  color: white;
  display: flex;
  padding: 0.6rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  bottom: 0;
  width: 100%;
}

.foot-bar {
  background-color: yellow;
}

footer .copyright {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 0.85rem;
  margin-left: 1.5rem;
  color: red;
}

/*--Start responsive--*/
/*--Start responsive--*/
/*--Start responsive--*/
/*--Start responsive--*/
