/* Website Colors
#F93922
#4D3533
#FFFFFF
#00000
#FA6D28
*/

/* Universal Page Styling ----------------------------------------------*/
* {
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Alfa Slab One", serif;
  font-style: normal;
  letter-spacing: 1px;
}

/* Universal Main body CSS -----------------------------------------------*/
/* Added display grid to the body parent */
body {
  font-family: "Inter", sans-serif;
  font-style: normal;
  color: #4d3533;
  line-height: 1.5;
  margin: 0;
}

main {
  padding: 20px 0px;
  margin: 0 auto;
  width: 100%;
}

/* Header  CSS -------------------------------------------------------------------*/

header {
  width: 100%;
  background-color: #f93922;
  padding: 20px 20px;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

header .StreetSideLogo {
  margin-left: auto;
  height: 39px;
}

.nav1 ul {
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.nav1 li {
  margin: 0;
}

.nav1 a {
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: 0.2s ease;
}

.nav1 a:hover {
  color: #4d3533;
  transform: scale(1.05); /* Makes it grow by 5% */
}

.navwrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.StreetSideLogo {
  height: 60px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* Front Page Section CSS -------------------------------------------------------*/

.contentwrapper {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  padding-top: 25px;
  text-align: center;
  border-top: 1px solid rgba(250, 109, 40, 1);
  padding-top: 20px;
}

.contentwrapper p {
  padding-top: 10px;
}

.fpsection {
  padding-top: 20px;
  padding-left: 25px;
  text-align: center;
  padding-bottom: 20px;
}
.fpsection h1 {
  font-family: "Alfa Slab One", serif;
  font-size: 48px;
  margin-bottom: 15px;
}

.fpsection p {
  font-size: 20px;
}

.fpsectioncontent {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

/* Front Page Top Section CSS -----------------------------------------------------------*/

.fpbox {
  margin-bottom: 100px;
}

/*Front Page Below Section CSS ----------------------------------------------------------------*/
.fpbelow {
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/streetsidekitchenbackgroundimage.png");
  text-align: center;
  width: 100%;
  height: auto;
  padding: 10px;
}

.fpbelow h2 {
  color: #fff;
  letter-spacing: 2px;
}

/* adding flex-wrap:wrap; allows items to move around on smaller screen */
.fpitems {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-wrap: wrap;
}

.fpitems img {
  max-width: 100%;
  height: auto;
  display: block;
  max-width: 400px;
  height: auto;
}
.fpitems a {
  padding: 10px;
  color: white;
}

.fpitems a:hover {
  color: #fa6d28;
  transform: scale(1.05); /* Makes it grow by 5% */
}

/* Menu Page CSS ----------------------------------------------------------------*/

.menucontent {
  text-align: center;
  justify-content: center;
  margin: 0 auto;
  padding-top: 25px;
  padding-bottom: 50px;
  max-width: 1100px;
  border: 5px solid #4d3533;
}
.menucontent h1 {
  font-size: 48px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(250, 109, 40, 1);
}
.menucontent h1,
h2,
h3 {
  padding: 10px;
}

/* Footer CSS Styling ---------------------------------------------------------*/

footer {
  bottom: 0;
  left: 0;
  right: 200px;
  color: #4d3533;
  text-align: center;
  padding: 10px;
  width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.socialmediaicons i {
  padding: 10px;
  font-size: 16px;
  margin-left: 15px;
  color: #4d3533;
}

.socialmediaicons a:hover i {
  color: #fa6d28;
  transform: scale(1.1); /* Makes it grow by 10% */
}

.footerlink a {
  color: #4d3533;
}
.footerlink a:hover {
  color: #fa6d28;
}

/* Contact Page From Styling -------------------------------------------------------------------*/

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

form p {
  margin-bottom: 15px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  font-family: "Alfa Slab One", serif;
  padding: 10px;
  font-size: 24px;
  letter-spacing: 1px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 50%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

textarea {
  min-height: 100px;
  resize: vertical; /* This makes the field able to be resized remember this */
}

input[type="submit"] {
  background-color: #4d3533;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 2.5px;
  cursor: pointer;
  transition: 0.1s ease;
}

input[type="submit"]:hover {
  background-color: #fa6d28;
  transform: scale(1.05); /* Makes it grow by 5% */
}

/* This is css to change the form warning to different colors */

.formwarning {
  color: #fa6d28;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-size: 14px;
}

/* using independent classes to style page with grid ---------------------------------------*/

.item1_header {
  grid-area: header;
}

.item2_main {
  grid-area: main;
}

.item3_footer {
  grid-area: footer;
}

/* this goes on body tag */
.grid_container {
  display: grid;
  grid-template-areas:
    "header header header header header"
    "main main main main main"
    "footer footer footer footer footer";
}

/* ------------------------------------------- MEDIA QUERIES------------------------------*/

@media (max-width: 768px) {
  .fpitems {
    flex-direction: column;
    align-items: center;
  }
  .fpsection h1 {
    font-size: 36px;
  }
  .fpsection p {
    font-size: 18px;
  }

  .menucontent h1 {
    font-size: 36px;
  }

  /* Only really need 1 column for smaller screens, this will make sure that the sections stack vertically on top of each other */
  .grid_container {
    grid-template-areas:
      "header"
      "main"
      "footer";
    grid-template-columns: 1fr;
  }
  .navwrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .StreetSideLogo {
    position: relative; /* removed absolute positioning to fix logo being behind nav a on smaller screens */
    top: auto;
    right: auto;
    transform: none;
    display: block;
    height: 20px;
    order: -1;
  }
}

@media (max-width: 480px) {
  .fpsection h1 {
    font-size: 28px;
  }
  .fpsection p {
    font-size: 16px;
  }
  .fpitems {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  header .StreetSideLogo {
    margin-left: 0;
    height: 39px;
  }
}
