* {
  /*Normalize everything*/
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  width: 100%;
  min-height: 100vh;
  background: rgba(16, 92, 147, 1);
  background: linear-gradient(
    0deg,
    rgba(16, 92, 147, 1) 0%,
    rgba(255, 255, 255, 1) 75%
  );
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "Roboto Condensed", sans-serif;
}
main,
footer {
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 20px;
}

.content-grid {
  display: grid;
  width: 100%;
  grid-template-columns: 2fr 1fr;
  padding: 0 2rem;
  justify-content: center;
}

.logo-container {
  background-color: white;
  max-height: 140px;
  width: 100%;
  position: relative; /*Lets us position our contact information on a desktop browser*/
}

.logo {
  max-width: 730px;
  min-width: 300px;
  height: auto;
  margin: 0 auto;
}

.logo img {
  height: auto;
  width: 100%;
}

.bpsb-logo-container {
  max-width: 400px;
  min-width: 280px;
  padding-left: 4px;
  padding-right: 4px;
}

.bpsb-logo-container img {
  width: 100%;
  height: auto;
}

.header-contact {
  position: absolute;
  right: 30px;
  top: 100px;
}

nav {
  width: 100%;
  height: 40px;
  background-color: #c00000;
}

li {
  display: inline-block;
  font-size: 1.25rem;
  line-height: 40px; /*same as nav height*/
  color: white;
}

li:not(:first-of-type)::before {
  content: "•";
  margin: 0 10px;
}

ul {
  list-style-type: circle;
  text-align: center;
  list-style: none;
}

.login-button {
  font-size: 1.875rem;
  padding-left: 28px;
  padding-right: 28px;
  width: 225px;
  height: 55px;
  cursor: pointer;
}

.request-button {
  font-size: 1.2rem;
  padding-left: 18px;
  padding-right: 18px;
  width: 215px;
  height: 55px;
  cursor: pointer;
}

.button-container {
  justify-self: center;
  align-self: center;
}

.section-pad {
  margin-top: 60px;
}

.vendor-information {
  max-width: 400px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vendor-information p {
  margin-bottom: 14px;
  font-size: 1.625rem;
}

/*Styling for Login and Request Catalogue*/
button {
  background: rgb(97, 13, 13);
  background: linear-gradient(
    -45deg,
    rgba(97, 13, 13, 1) 0%,
    rgba(178, 0, 0, 1) 50%,
    rgba(178, 0, 0, 1) 100%
  );
  border: 2px solid black;
  padding: 5px;
  color: white;
  border-radius: 0.5em;
}

button:hover {
  background: rgb(97, 13, 13);
  background: linear-gradient(
    122deg,
    rgba(97, 13, 13, 1) 0%,
    rgba(178, 0, 0, 1) 50%,
    rgba(178, 0, 0, 1) 100%
  );
}

.request-div {
  width: 225px;
  background-color: white;
  padding: 6px 2px;
  border: 1px solid black;
  text-align: center;
  justify-self: center;
}

.catalog-image-container {
  width: 220px;
  margin-top: 6px;
  text-align: center;
}

.catalog-image-container img {
  width: 100%;
  height: auto;
}

.brands-section {
  border-top: 10px solid rgb(189, 2, 2);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
}

h2 {
  font-size: 2.1875rem;
  text-align: center;
}

/*Container for all icons*/
.icon-grid {
  margin-top: 1rem;
  --auto-grid-min-size: 12rem;
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(var(--auto-grid-min-size), 1fr)
  );
  grid-gap: 1rem;
  padding: 0 1rem;
  align-items: center;
  justify-items: center;
}

.icon-grid img {
  max-width: 200px;
  max-height: 100px;
}

.icon {
  width: 100%;
  height: auto;
  margin-top: 10px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon img {
  height: auto;
  width: auto;
  max-width: 200px;
  max-height: 100px;
}

footer {
  margin-top: 40px;
  margin-bottom: 20px;
  color: white;
}

footer hr {
  height: 3px;
  margin: 0 auto;
  background-color: white;
  width: 98%;
  margin-bottom: 20px;
}

.footer-information {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding-left: 30px;
  padding-right: 30px;
}

.footer-address {
  flex-grow: 3;
  text-align: left;
}

.footer-address p {
  line-height: 24px;
  padding-left: 5px;
}

.footer-social {
  flex-grow: 1;
  border-left: 3px solid white;
}

.footer-social h2 {
  text-align: right;
}

.social-icon-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.social-icon-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 120px;
}

.social-icon {
  height: 50px;
  width: 50px;
  margin: 5px;
}

.social-icon img {
  height: 100%;
  width: 100%;
}

footer h2 {
  font-size: 1.5rem;
  width: 100%;
  margin-bottom: 10px;
  font-weight: 500;
  padding-right: 5px;
}

.request-div a {
  padding: 0;
  margin: 0;
}

.approval-title {
  font-weight: 500;
  text-decoration: underline;
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

.tips-container {
  margin-top: 20px;
}

.company-info {
  display: flex;
  flex-direction: row;
}

.approved-vendor {
  max-width: 300px;
  height: auto;
  margin-left: 80px;
}

.approved-vendor img {
  width: 100%;
}

/*iPad size between 940px-621px*/
@media screen and (max-width: 980px) /*and (min-width: 621px) */ {
  .logo-container {
    max-height: 160px;
    margin-bottom: 10px;
  }

  /*Display header contact centered underneath header-logo*/
  .header-contact {
    display: flex;
    position: static;
    justify-content: flex-end;
    padding-right: 25px;
  }

  .header-contact p {
    display: inline-block;
    margin-left: 5px;
  }
}

/*Phone Size*/
@media screen and (max-width: 620px) {
  .header-contact {
    font-size: 0.75rem;
  }

  .content-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
  }

  nav {
    display: none;
  }

  .section-pad {
    margin-top: 20px;
  }

  header {
    border-bottom: 1px solid rgb(116, 162, 207);
  }

  .footer-information {
    padding-left: 10px;
    padding-right: 10px;
    flex-direction: column;
  }

  .footer-address,
  .footer-social {
    width: 100%;
  }

  .footer-social {
    border-left: 0;
    border-top: 3px solid white;
    margin-top: 20px;
    padding-top: 10px;
  }

  .footer-social h2 {
    text-align: center;
  }

  .social-icon-container {
    width: 100%;
    justify-content: center;
  }
}
